summaryrefslogtreecommitdiffstats
path: root/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc')
-rw-r--r--graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc b/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc
new file mode 100644
index 000000000..dfe9587b2
--- /dev/null
+++ b/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc
@@ -0,0 +1,12 @@
+--- src/dialogs/gcs-save-chooser.cc.orig 2009-09-27 01:26:32.000000000 +0200
++++ src/dialogs/gcs-save-chooser.cc 2009-09-27 12:00:37.000000000 +0200
+@@ -40,7 +40,8 @@ namespace gcs
+ m_cancelButton = add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
+ m_okButton = add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK);
+ set_do_overwrite_confirmation();
+- m_okButton->can_default();
++ if (m_okButton->get_can_default())
++ m_okButton->set_can_default();
+
+ // update the last saved location in gconf whenever the user
+ // presses the "OK" button on the SaveChooser dialog