From 25957763cc652f5ca1fd50771c6316cb6083be69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Wauthy?= <pollux@xfce.org>
Date: Sun, 29 Oct 2006 14:51:56 +0000
Subject: [PATCH] allow the usage of 'Alt+C' in shortcuts (unfortunately it
 adds a string too)

(Old svn revision: 23546)
---
 mcs-plugin/xfwm4_shortcuteditor.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/mcs-plugin/xfwm4_shortcuteditor.c b/mcs-plugin/xfwm4_shortcuteditor.c
index 5d98abc37..753b0da82 100644
--- a/mcs-plugin/xfwm4_shortcuteditor.c
+++ b/mcs-plugin/xfwm4_shortcuteditor.c
@@ -843,8 +843,11 @@ cb_activate_treeview3 (GtkWidget * treeview, GtkTreePath * path, GtkTreeViewColu
 
     /* Create dialog */
     dialog =
-        gtk_dialog_new_with_buttons (_("Compose shortcut"), NULL, GTK_DIALOG_MODAL,
-        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
+        gtk_dialog_new_with_buttons (_("Compose shortcut"), NULL, GTK_DIALOG_MODAL, NULL);
+
+    button = xfce_create_mixed_button (GTK_STOCK_CANCEL, _("Cancel"));
+    gtk_widget_show (button);
+    gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_CANCEL);
 
     button = xfce_create_mixed_button (GTK_STOCK_CLEAR, _("No shortcut"));
     gtk_widget_show (button);
-- 
GitLab