[gnome-control-center] shell: Use gtk_widget_show instead of _show_all in gnome_control_center_show



commit 90e25402f3f4302635a462e1d8426197bb396481
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Tue Sep 20 13:29:56 2011 +0200

    shell: Use gtk_widget_show instead of _show_all in gnome_control_center_show
    
    Using gtk_widget_show_all will make all invisible widgets show up when a
    second instance of the shell is run from the command line.
    
    https://bugs.launchpad.net/gnome-control-center/+bug/854544

 shell/gnome-control-center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 789f970..624fd1c 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -1134,5 +1134,5 @@ gnome_control_center_show (GnomeControlCenter *center,
 			   GtkApplication     *app)
 {
   gtk_window_set_application (GTK_WINDOW (center->priv->window), app);
-  gtk_widget_show_all (gtk_bin_get_child (GTK_BIN (center->priv->window)));
+  gtk_widget_show (gtk_bin_get_child (GTK_BIN (center->priv->window)));
 }



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