Commit 667af24c authored by Luca Bacci's avatar Luca Bacci Committed by Mike Fleetwood

Use Gtk::Paned (!25)

Gtk::HPaned and Gtk::VPaned were deprecated in Gtkmm 3.2.  Replace with
plain Gtk::Paned.

Closes !25 - Modern Gtk3 - part 1
parent 07fc4aef
......@@ -216,8 +216,8 @@ private:
std::vector<Operation *> operations;
//gui stuff
Gtk::HPaned hpaned_main;
Gtk::VPaned vpaned_main;
Gtk::Paned hpaned_main;
Gtk::Paned vpaned_main;
Gtk::Box vbox_main;
Gtk::Box vbox_info;
Gtk::Box hbox_toolbar;
......
......@@ -117,6 +117,7 @@ Win_GParted::Win_GParted( const std::vector<Glib::ustring> & user_devices )
//hpaned_main (NOTE: added to vpaned_main)
init_hpaned_main() ;
vpaned_main.set_orientation(Gtk::ORIENTATION_VERTICAL);
vpaned_main .pack1( hpaned_main, true, true ) ;
//vpaned_main....
......@@ -669,6 +670,7 @@ void Win_GParted::init_device_info()
void Win_GParted::init_hpaned_main()
{
hpaned_main.set_orientation(Gtk::ORIENTATION_HORIZONTAL);
//left scrollwindow (holds device info)
scrollwindow = manage( new Gtk::ScrolledWindow() ) ;
scrollwindow ->set_shadow_type( Gtk::SHADOW_ETCHED_IN );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment