[totem] main: Save sidebar size before hiding it



commit 485f9b743bcdfb4e8fe80c68522c97edb8922982
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 8432247..61cab1f 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2737,6 +2737,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]