X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdialog_setup.cpp;h=2894dda7829c215420bae6e4c20e20b41d8e623b;hb=207785229d58cdebc3012076596fdc255dcf9879;hp=27c018ab2a5efb15cea9c59102708f0ffa1ed0c8;hpb=756c0d29ac1742f231e6615f9a577e574e35a4af;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp index 27c018a..2894dda 100644 --- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp +++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp @@ -195,6 +195,10 @@ Dialog_Setup::Dialog_Setup(): // Misc - restrict_radius_ducks misc_table->attach(toggle_restrict_radius_ducks, 0, 2, 6, 7, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, 0, 0); + // Misc - browser_command + misc_table->attach(*manage(new Gtk::Label(_("Browser Command"))), 0, 1, 7, 8, Gtk::SHRINK|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, 0, 0); + misc_table->attach(textbox_browser_command, 1, 2, 7, 8, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, 0, 0); + show_all_children(); } @@ -233,6 +237,9 @@ Dialog_Setup::on_apply_pressed() // Set the restrict_radius_ducks flag App::restrict_radius_ducks=toggle_restrict_radius_ducks.get_active(); + // Set the browser_command textbox + App::browser_command=textbox_browser_command.get_text(); + App::save_settings(); } @@ -314,6 +321,9 @@ Dialog_Setup::refresh() // Refresh the status of the restrict_radius_ducks flag toggle_restrict_radius_ducks.set_active(App::restrict_radius_ducks); + + // Refresh the browser_command textbox + textbox_browser_command.set_text(App::browser_command); } GammaPattern::GammaPattern():