[gnome-control-center] Make custom shortcut dialog non-resizable



commit 37b6e2b3328a6b4841da634a668ae14210c86ea8
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 21 14:41:20 2011 -0500

    Make custom shortcut dialog non-resizable
    
    The shell doesn't allow to resize attached dialogs, so we don't
    want to show resize grips.

 panels/keyboard/keyboard-shortcuts.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index 71599ef..3607145 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -1993,6 +1993,8 @@ setup_dialog (CcPanel *panel, GtkBuilder *builder)
 
   gtk_window_set_transient_for (GTK_WINDOW (custom_shortcut_dialog),
                                 GTK_WINDOW (widget));
+
+  gtk_window_set_resizable (GTK_WINDOW (custom_shortcut_dialog), FALSE);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]