Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
This commit is contained in:
@@ -33,6 +33,7 @@ ExifPanel::ExifPanel() :
|
||||
changeList(new rtengine::procparams::ExifPairs),
|
||||
defChangeList(new rtengine::procparams::ExifPairs)
|
||||
{
|
||||
set_orientation(Gtk::ORIENTATION_VERTICAL);
|
||||
recursiveOp = true;
|
||||
|
||||
exifTree = Gtk::manage (new Gtk::TreeView());
|
||||
@@ -475,11 +476,11 @@ void ExifPanel::addPressed ()
|
||||
{
|
||||
|
||||
Gtk::Dialog* dialog = new Gtk::Dialog (M ("EXIFPANEL_ADDTAGDLG_TITLE"), * ((Gtk::Window*)get_toplevel()), true);
|
||||
dialog->add_button (Gtk::Stock::OK, Gtk::RESPONSE_OK);
|
||||
dialog->add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
dialog->add_button ("_OK", Gtk::RESPONSE_OK);
|
||||
dialog->add_button ("_Cancel", Gtk::RESPONSE_CANCEL);
|
||||
|
||||
Gtk::HBox* hb1 = new Gtk::HBox ();
|
||||
Gtk::HBox* hb2 = new Gtk::HBox ();
|
||||
Gtk::Box* hb1 = new Gtk::Box ();
|
||||
Gtk::Box* hb2 = new Gtk::Box ();
|
||||
|
||||
Gtk::Label* tlabel = new Gtk::Label (M ("EXIFPANEL_ADDTAGDLG_SELECTTAG") + ":");
|
||||
MyComboBoxText* tcombo = new MyComboBoxText ();
|
||||
|
Reference in New Issue
Block a user