[totem/gnome-3-8] main: Save sidebar size before hiding it



commit 263219ea40c3177bd2b823bf0e3ec40affbb4849
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 13 11:23:27 2013 +0100

    main: Save sidebar size before hiding it
    
    https://bugzilla.gnome.org/show_bug.cgi?id=596350

 src/totem-object.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 2bcc909..7079350 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2860,6 +2860,7 @@ show_controls (TotemObject *totem, gboolean was_fullscreen)
                        gtk_widget_get_allocation (totem->sidebar, &allocation_sidebar);
                        width += allocation_sidebar.width + handle_size;
                } else {
+                       totem_action_save_size (totem);
                        gtk_widget_hide (totem->sidebar);
                }
 


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