Cleanup; see issue #656
This commit is contained in:
@@ -31,7 +31,6 @@ ICMPanel::ICMPanel () : Gtk::VBox(), FoldableToolPanel(this), iunchanged(NULL),
|
|||||||
// set_border_width (4);
|
// set_border_width (4);
|
||||||
|
|
||||||
ipDialog = Gtk::manage (new Gtk::FileChooserButton (M("TP_ICM_INPUTDLGLABEL"), Gtk::FILE_CHOOSER_ACTION_OPEN));
|
ipDialog = Gtk::manage (new Gtk::FileChooserButton (M("TP_ICM_INPUTDLGLABEL"), Gtk::FILE_CHOOSER_ACTION_OPEN));
|
||||||
opDialog = Gtk::manage (new Gtk::FileChooserButton (M("TP_ICM_INPUTDLGLABEL"), Gtk::FILE_CHOOSER_ACTION_OPEN));
|
|
||||||
|
|
||||||
Gtk::Label* ilab = Gtk::manage (new Gtk::Label ());
|
Gtk::Label* ilab = Gtk::manage (new Gtk::Label ());
|
||||||
ilab->set_alignment (0.0, 0.5);
|
ilab->set_alignment (0.0, 0.5);
|
||||||
@@ -116,12 +115,9 @@ ICMPanel::ICMPanel () : Gtk::VBox(), FoldableToolPanel(this), iunchanged(NULL),
|
|||||||
|
|
||||||
ipDialog->add_filter (filter_icc);
|
ipDialog->add_filter (filter_icc);
|
||||||
ipDialog->add_filter (filter_any);
|
ipDialog->add_filter (filter_any);
|
||||||
opDialog->add_filter (filter_icc);
|
|
||||||
opDialog->add_filter (filter_any);
|
|
||||||
|
|
||||||
if (safe_file_test (options.rtSettings.iccDirectory, Glib::FILE_TEST_IS_DIR)) {
|
if (safe_file_test (options.rtSettings.iccDirectory, Glib::FILE_TEST_IS_DIR)) {
|
||||||
ipDialog->set_current_folder (options.rtSettings.iccDirectory);
|
ipDialog->set_current_folder (options.rtSettings.iccDirectory);
|
||||||
opDialog->set_current_folder (options.rtSettings.iccDirectory);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
oldip = "";
|
oldip = "";
|
||||||
|
@@ -42,7 +42,6 @@ class ICMPanel : public Gtk::VBox, public FoldableToolPanel {
|
|||||||
Gtk::RadioButton* ofromfile;
|
Gtk::RadioButton* ofromfile;
|
||||||
Gtk::RadioButton* iunchanged;
|
Gtk::RadioButton* iunchanged;
|
||||||
Gtk::FileChooserButton* ipDialog;
|
Gtk::FileChooserButton* ipDialog;
|
||||||
Gtk::FileChooserButton* opDialog;
|
|
||||||
Gtk::RadioButton::Group opts;
|
Gtk::RadioButton::Group opts;
|
||||||
Gtk::Button* saveRef;
|
Gtk::Button* saveRef;
|
||||||
sigc::connection ipc;
|
sigc::connection ipc;
|
||||||
|
Reference in New Issue
Block a user