[totem] main: Don't show buttons on show-all



commit e9f4203adaf7ee96372604c1736d5ab60e0a5e9f
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Feb 4 08:55:57 2014 +0100

    main: Don't show buttons on show-all

 src/totem-main-toolbar.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-main-toolbar.c b/src/totem-main-toolbar.c
index a45ec22..83e25bb 100644
--- a/src/totem-main-toolbar.c
+++ b/src/totem-main-toolbar.c
@@ -510,6 +510,9 @@ totem_main_toolbar_init (TotemMainToolbar *bar)
 
   gtk_widget_init_template (GTK_WIDGET (bar));
 
+  gtk_widget_set_no_show_all (bar->priv->search_button, TRUE);
+  gtk_widget_set_no_show_all (bar->priv->select_button, TRUE);
+
   /* Back button */
   if (gtk_widget_get_direction (GTK_WIDGET (bar)) == GTK_TEXT_DIR_RTL)
     gtk_image_set_from_icon_name (GTK_IMAGE (bar->priv->back_button_image),


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