[nautilus] toolbar: show operations popover at start



commit 5ce09ad04b94c4f1652afaa96852437ec40fc934
Author: Carlos Soriano <csoriano gnome org>
Date:   Mon Dec 14 11:51:16 2015 +0100

    toolbar: show operations popover at start
    
    It was not noticeable enough when a operation started.
    For 3.18 we don't have much more room to experiment ways to
    increase it, so go for the easier solution and show the popover
    when a operation starts.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753728

 src/nautilus-toolbar.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 6e2a74a..aa4e7dc 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -608,6 +608,10 @@ update_operations (NautilusToolbar *self)
                 gtk_revealer_set_reveal_child (GTK_REVEALER (self->priv->operations_revealer),
                                                TRUE);
                 gtk_widget_queue_draw (self->priv->operations_icon);
+
+                /* Show the popover at start to increase visibility */
+                gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (self->priv->operations_button),
+                                              TRUE);
         }
 }
 


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