[gnome-software/745-better-term-than-all] View switcher: rename 'All' to 'Explore'



commit 6c8261fe7ca96c322f0aab3456414371844567dd
Author: Allan Day <allanpday gmail com>
Date:   Fri Jul 19 16:23:33 2019 +0100

    View switcher: rename 'All' to 'Explore'
    
    'All' is a bit ambiguous. 'Explore' gives a better hint at what
    the view is for, and what users should do with it.
    
    Closes #745

 src/gnome-software.ui | 4 ++--
 src/gs-shell.c        | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 3f49e3ed..cb0db967 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -92,12 +92,12 @@
                       <class name="linked"/>
                     </style>
                     <child>
-                      <object class="GtkToggleButton" id="button_all">
+                      <object class="GtkToggleButton" id="button_explore">
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
                         <property name="use_underline">True</property>
-                        <property name="label" translatable="yes" comments="Translators: A label for a 
button to show all available software.">_All</property>
+                        <property name="label" translatable="yes" comments="Translators: A label for a 
button to show all available software.">_Explore</property>
                         <style>
                           <class name="toolbar-primary-buttons-software"/>
                         </style>
diff --git a/src/gs-shell.c b/src/gs-shell.c
index d12e79f0..7aa4be5b 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -259,7 +259,7 @@ gs_shell_change_mode (GsShell *shell,
 
        /* update main buttons according to mode */
        priv->ignore_primary_buttons = TRUE;
-       widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_all"));
+       widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_explore"));
        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), mode == GS_SHELL_MODE_OVERVIEW);
 
        widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_installed"));
@@ -742,7 +742,7 @@ gs_shell_main_window_realized_cb (GtkWidget *widget, GsShell *shell)
                    GtkWidget *buttonbox = GTK_WIDGET (gtk_builder_get_object (priv->builder, 
"buttonbox_main"));
 
                    gtk_container_child_set (GTK_CONTAINER (buttonbox),
-                                            GTK_WIDGET (gtk_builder_get_object (priv->builder, 
"button_all")),
+                                            GTK_WIDGET (gtk_builder_get_object (priv->builder, 
"button_explore")),
                                             "non-homogeneous", TRUE,
                                             NULL);
                    gtk_container_child_set (GTK_CONTAINER (buttonbox),
@@ -1932,7 +1932,7 @@ gs_shell_setup (GsShell *shell, GsPluginLoader *plugin_loader, GCancellable *can
        widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_back"));
        g_signal_connect (widget, "clicked",
                          G_CALLBACK (gs_shell_back_button_cb), shell);
-       widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_all"));
+       widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_explore"));
        g_object_set_data (G_OBJECT (widget),
                           "gnome-software::overview-mode",
                           GINT_TO_POINTER (GS_SHELL_MODE_OVERVIEW));


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