[nautilus] toolbar: clarify why let the old icon in view menu



commit 105481ac274814e2c92ca46e0a46c7407d1fde20
Author: Carlos Soriano <csoriano gnome org>
Date:   Sun Aug 16 19:37:14 2015 +0200

    toolbar: clarify why let the old icon in view menu

 src/nautilus-toolbar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index d7899f6..b747ef5 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -855,6 +855,8 @@ nautilus_toolbar_view_icon_transform_to (GBinding     *binding,
 
         icon = g_value_get_object (from_value);
 
+        /* As per design decision, we let the previous used icon if no
+         * view menu is available */
         if (icon) {
                 g_value_set_object (to_value, icon);
         }


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