Commit d780ca64 authored by Luca Bacci's avatar Luca Bacci Committed by Mike Fleetwood

Use Gtk::Box for Dialog_Rescue_Data (!25)

Gtk::HBox and Gtk::VBox were deprecated in Gtkmm 3.2.  Replace with
plain Gtk::Box.

This commit makes the change for

Closes !25 - Modern Gtk3 - part 1
parent cc6a085e
......@@ -85,7 +85,7 @@ void Dialog_Rescue_Data::draw_dialog()
info_txt+=_("All mounted views will be unmounted when you close this dialog.");
Gtk::HBox *infoBox=manage(new Gtk::HBox());
Gtk::Box *infoBox = manage(new Gtk::Box(Gtk::ORIENTATION_HORIZONTAL));
Gtk::Image *infoImg = Utils::mk_image(Gtk::Stock::DIALOG_INFO, Gtk::ICON_SIZE_DIALOG);
Gtk::Label *infoLabel= manage(new Gtk::Label (info_txt));
......@@ -103,7 +103,7 @@ void Dialog_Rescue_Data::draw_dialog()
* Create the list of the filesystems found */
void Dialog_Rescue_Data::create_list_of_fs()
Gtk::VBox *vb=manage(new Gtk::VBox());
Gtk::Box *vb = manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
this->frm=Gtk::manage(new Gtk::Frame(_("File systems")));
......@@ -134,7 +134,7 @@ void Dialog_Rescue_Data::create_list_of_fs()
fsLbl->set_label(fsLbl->get_label().append(" (!)"));
Gtk::HBox *hb=manage(new Gtk::HBox());
Gtk::Box *hb = manage(new Gtk::Box(Gtk::ORIENTATION_HORIZONTAL));
Gtk::Button *btn=manage(new Gtk::Button(_("View")));
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