aboutsummaryrefslogtreecommitdiff
path: root/security/libgnomesu
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-11-22 18:26:06 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-11-22 18:26:06 +0000
commit5965f9f37a586c091a0ff4e707ed6f3ec1de7875 (patch)
treec314e991106783f66d303a6252056cabb8a5cf03 /security/libgnomesu
parentdf8c19d843ec4443e9f03b75ae94433790862fc5 (diff)
downloadports-5965f9f37a586c091a0ff4e707ed6f3ec1de7875.tar.gz
ports-5965f9f37a586c091a0ff4e707ed6f3ec1de7875.zip
Notes
Diffstat (limited to 'security/libgnomesu')
-rw-r--r--security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c b/security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c
new file mode 100644
index 000000000000..a061b2bdb55f
--- /dev/null
+++ b/security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c
@@ -0,0 +1,11 @@
+--- src/gnomesu-auth-dialog.c.orig 2005-05-17 17:23:20.000000000 +0200
++++ src/gnomesu-auth-dialog.c 2010-11-22 19:23:27.000000000 +0100
+@@ -212,7 +212,7 @@
+ gtk_dialog_add_action_widget (dialog, button, GTK_RESPONSE_CANCEL);
+
+ button = create_stock_button (GTK_STOCK_OK, _("C_ontinue"));
+- GTK_WIDGET_SET_FLAGS (button, GTK_HAS_DEFAULT | GTK_CAN_DEFAULT);
++ gtk_widget_set_can_default(button, TRUE);
+ gtk_widget_show (button);
+ gtk_dialog_add_action_widget (dialog, button, GTK_RESPONSE_OK);
+ gtk_widget_grab_default (button);