[Xfce4-commits] <libxfce4ui:jeromeg/keyboard-shortcuts> Use parent when showing warning.

Jérôme Guelfucci noreply at xfce.org
Sat Dec 22 10:36:01 CET 2012


Updating branch refs/heads/jeromeg/keyboard-shortcuts
         to 60ee8b36952ab4fd8157b27cf413f4e74771b898 (commit)
       from 77eded0c2c4dd95e7117db4bce6634f998a825aa (commit)

commit 60ee8b36952ab4fd8157b27cf413f4e74771b898
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sat Dec 22 10:32:33 2012 +0100

    Use parent when showing warning.

 libxfce4kbd-private/xfce-shortcuts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libxfce4kbd-private/xfce-shortcuts.c b/libxfce4kbd-private/xfce-shortcuts.c
index ba8019e..45357fb 100644
--- a/libxfce4kbd-private/xfce-shortcuts.c
+++ b/libxfce4kbd-private/xfce-shortcuts.c
@@ -96,7 +96,7 @@ xfce_shortcut_conflict_dialog (GtkWindow   *parent,
       /* This shortcut already exists in the provider, we don't want it twice */
 
       /* Warn the user */
-      xfce_dialog_show_warning (NULL, _("Please use another key combination."),
+      xfce_dialog_show_warning (parent, _("Please use another key combination."),
                                 _("%s already triggers this action."), shortcut);
 
       return GTK_RESPONSE_REJECT;


More information about the Xfce4-commits mailing list