Updating branch refs/heads/bluesabre/display-settings
         to e100731d07a5e4b3acb33c7060b6daf9b624c416 (commit)
       from 77342010611fbc0f3c5766ec7a6c016c1b8909a2 (commit)

commit e100731d07a5e4b3acb33c7060b6daf9b624c416
Author: Jérôme Guelfucci <jero...@xfce.org>
Date:   Sun Dec 23 14:13:46 2012 +0100

    Revert "Keep the shortcut dialog above other windows."
    
    This reverts commit a04edfc41ab2035383793ca8315e2e61351108c2.

 dialogs/keyboard-settings/xfce-keyboard-settings.c |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/dialogs/keyboard-settings/xfce-keyboard-settings.c 
b/dialogs/keyboard-settings/xfce-keyboard-settings.c
index 34ae50e..5e7a01d 100644
--- a/dialogs/keyboard-settings/xfce-keyboard-settings.c
+++ b/dialogs/keyboard-settings/xfce-keyboard-settings.c
@@ -662,12 +662,6 @@ xfce_keyboard_settings_edit_shortcut (XfceKeyboardSettings 
*settings,
       /* Request a new shortcut from the user */
       dialog = xfce_shortcut_dialog_new ("commands", command, command);
       g_signal_connect (dialog, "validate-shortcut", G_CALLBACK 
(xfce_keyboard_settings_validate_shortcut), settings);
-
-      /* Try to keep the window above as it grabs the keyboard, we don't
-       * want users to wonder why the keyboard does not work in another
-       * window */
-      gtk_window_set_keep_above (GTK_WINDOW (dialog), TRUE);
-
       response = xfce_shortcut_dialog_run (XFCE_SHORTCUT_DIALOG (dialog), 
gtk_widget_get_toplevel (GTK_WIDGET (tree_view)));
 
       if (G_LIKELY (response == GTK_RESPONSE_OK))
@@ -980,11 +974,6 @@ xfce_keyboard_settings_add_button_clicked 
(XfceKeyboardSettings *settings,
       shortcut_dialog = xfce_shortcut_dialog_new ("commands", command, 
command);
       g_signal_connect (shortcut_dialog, "validate-shortcut", G_CALLBACK 
(xfce_keyboard_settings_validate_shortcut), settings);
 
-      /* Try to keep the window above as it grabs the keyboard, we don't
-       * want users to wonder why the keyboard does not work in another
-       * window */
-      gtk_window_set_keep_above (GTK_WINDOW (shortcut_dialog), TRUE);
-
       /* Run shortcut dialog until a valid shortcut is entered or the dialog 
is cancelled */
       parent = gtk_builder_get_object (GTK_BUILDER (settings), 
"keyboard-shortcuts-dialog");
       response = xfce_shortcut_dialog_run (XFCE_SHORTCUT_DIALOG 
(shortcut_dialog), GTK_WIDGET (parent));
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to