[Xfce4-commits] <ristretto:master> Do not show thumbnailbar when leaving fullscreen

Stephan Arts noreply at xfce.org
Mon Oct 17 16:06:02 CEST 2011


Updating branch refs/heads/master
         to 6c2f625f610079bf986579d72c56571d82db7fdb (commit)
       from 288473e9c4ba15878205602fb2e3443ba3ce414d (commit)

commit 6c2f625f610079bf986579d72c56571d82db7fdb
Author: Stephan Arts <stephan at xfce.org>
Date:   Mon Oct 17 16:04:50 2011 +0200

    Do not show thumbnailbar when leaving fullscreen

 src/main_window.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 83c5af2..5b8040b 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -1919,7 +1919,10 @@ cb_rstto_main_window_state_event(GtkWidget *widget, GdkEventWindowState *event,
 
             if (rstto_settings_get_boolean_property (window->priv->settings_manager, "show-thumbnailbar"))
             {
-                gtk_widget_show (window->priv->thumbnailbar);
+                if (rstto_image_list_get_n_images (window->priv->props.image_list) > 0)
+                {
+                    gtk_widget_show (window->priv->thumbnailbar);
+                }
             }
             
         }


More information about the Xfce4-commits mailing list