[gnome-control-center/wip/animated-notebook] shell: Remember the last width



commit 640f7f7ddf72e7e2655ea6b1987be37d2de312cf
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 2 17:56:04 2012 +0100

    shell: Remember the last width

 shell/cc-notebook.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-notebook.c b/shell/cc-notebook.c
index 8094b07..002ee3f 100644
--- a/shell/cc-notebook.c
+++ b/shell/cc-notebook.c
@@ -130,6 +130,8 @@ on_embed_size_allocate (GtkWidget     *embed,
 
                 offset += page_w;
         }
+
+        self->priv->last_width = allocation->width;
 }
 
 static void



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