[epiphany] prefs-dialog: Rename privacy panel to stored data



commit c857f5bc1a7e2cae4c1f2f020fa4a47a1d170a2d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Jan 22 22:29:48 2017 -0600

    prefs-dialog: Rename privacy panel to stored data
    
    We have this awkward dependency between the enable adblock setting and
    the strengthened DNT setting. They really have to be displayed on the
    same page. And we don't want to hide adblock on the privacy page, so
    the DNT setting has to move to the general page. And it'd be absurd to
    have a privacy page without DNT, so rename it.

 src/prefs-dialog.c                |    8 ++++----
 src/resources/gtk/prefs-dialog.ui |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 8faace6..cf26237 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -89,7 +89,7 @@ struct _PrefsDialog {
   GtkWidget *css_checkbox;
   GtkWidget *css_edit_button;
 
-  /* privacy */
+  /* stored data */
   GtkWidget *always;
   GtkWidget *no_third_party;
   GtkWidget *never;
@@ -595,7 +595,7 @@ prefs_dialog_class_init (PrefsDialogClass *klass)
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, css_checkbox);
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, css_edit_button);
 
-  /* privacy */
+  /* stored data */
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, always);
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, no_third_party);
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, never);
@@ -1707,7 +1707,7 @@ setup_fonts_page (PrefsDialog *dialog)
 }
 
 static void
-setup_privacy_page (PrefsDialog *dialog)
+setup_stored_data_page (PrefsDialog *dialog)
 {
   GSettings *settings;
   GSettings *web_settings;
@@ -1819,7 +1819,7 @@ prefs_dialog_init (PrefsDialog *dialog)
 
   setup_general_page (dialog);
   setup_fonts_page (dialog);
-  setup_privacy_page (dialog);
+  setup_stored_data_page (dialog);
   setup_language_page (dialog);
 #ifdef ENABLE_SYNC
   setup_sync_page (dialog);
diff --git a/src/resources/gtk/prefs-dialog.ui b/src/resources/gtk/prefs-dialog.ui
index 3324727..7245892 100644
--- a/src/resources/gtk/prefs-dialog.ui
+++ b/src/resources/gtk/prefs-dialog.ui
@@ -618,7 +618,7 @@
                       <object class="GtkLabel">
                         <property name="visible">True</property>
                         <property name="halign">start</property>
-                        <property name="label" translatable="yes">Stored Data</property>
+                        <property name="label" translatable="yes">Personal Data</property>
                         <attributes>
                           <attribute name="weight" value="bold"/>
                         </attributes>
@@ -662,7 +662,7 @@
             <child type="tab">
               <object class="GtkLabel">
                 <property name="visible">True</property>
-                <property name="label" translatable="yes">Privacy</property>
+                <property name="label" translatable="yes">Stored Data</property>
               </object>
               <packing>
                 <property name="position">2</property>


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