[epiphany] Remove personal data manager



commit d84c226b9093befcdfc270640c0f9cb6480062a5
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Dec 9 18:25:31 2013 +0100

    Remove personal data manager
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720113

 po/POTFILES.in                             |    1 -
 src/Makefile.am                            |    2 -
 src/ephy-shell.c                           |   34 -
 src/ephy-shell.h                           |    2 -
 src/ephy-window.c                          |    6 +-
 src/pdm-dialog.c                           | 1428 ----------------------------
 src/pdm-dialog.h                           |   73 --
 src/resources/epiphany-application-menu.ui |    5 -
 src/resources/epiphany-ui.xml              |    1 -
 src/resources/epiphany.ui                  |  492 ----------
 src/window-commands.c                      |   16 -
 src/window-commands.h                      |    2 -
 12 files changed, 1 insertions(+), 2061 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index adf5e02..f49734d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -56,7 +56,6 @@ src/ephy-search-provider.c
 src/ephy-session.c
 src/ephy-shell.c
 src/ephy-window.c
-src/pdm-dialog.c
 src/popup-commands.c
 src/prefs-dialog.c
 src/clear-data-dialog.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 9c94a9a..544bac3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,7 +29,6 @@ NOINST_H_FILES = \
        ephy-toolbar.h                          \
        ephy-window-action.h                    \
        languages.h                             \
-       pdm-dialog.h                            \
        clear-data-dialog.h                     \
        cookies-dialog.h                        \
        popup-commands.h                        \
@@ -67,7 +66,6 @@ libephymain_la_SOURCES = \
        ephy-toolbar.c                          \
        ephy-window.c                           \
        ephy-window-action.c                    \
-       pdm-dialog.c                            \
        clear-data-dialog.c                     \
        cookies-dialog.c                        \
        popup-commands.c                        \
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index f0a0a90..4f182e7 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -41,7 +41,6 @@
 #include "ephy-type-builtins.h"
 #include "ephy-web-view.h"
 #include "ephy-window.h"
-#include "pdm-dialog.h"
 #include "prefs-dialog.h"
 #include "window-commands.h"
 
@@ -63,7 +62,6 @@ struct _EphyShellPrivate {
   GNetworkMonitor *network_monitor;
   GtkWidget *bme;
   GtkWidget *history_window;
-  GObject *pdm_dialog;
   GObject *prefs_dialog;
   GList *del_on_exit;
   EphyShellStartupContext *startup_context;
@@ -197,14 +195,6 @@ show_preferences (GSimpleAction *action,
 }
 
 static void
-show_pdm (GSimpleAction *action,
-          GVariant *parameter,
-          gpointer user_data)
-{
-  window_cmd_edit_personal_data (NULL, NULL);
-}
-
-static void
 show_help (GSimpleAction *action,
            GVariant *parameter,
            gpointer user_data)
@@ -242,7 +232,6 @@ static GActionEntry app_entries[] = {
   { "bookmarks", show_bookmarks, NULL, NULL, NULL },
   { "history", show_history, NULL, NULL, NULL },
   { "preferences", show_preferences, NULL, NULL, NULL },
-  { "pdm", show_pdm, NULL, NULL, NULL },
   { "help", show_help, NULL, NULL, NULL },
   { "about", show_about, NULL, NULL, NULL },
   { "quit", quit_application, NULL, NULL, NULL },
@@ -673,7 +662,6 @@ ephy_shell_dispose (GObject *object)
   g_clear_object (&priv->lockdown);
   g_clear_pointer (&priv->bme, gtk_widget_destroy);
   g_clear_pointer (&priv->history_window, gtk_widget_destroy);
-  g_clear_object (&priv->pdm_dialog);
   g_clear_object (&priv->prefs_dialog);
   g_clear_object (&priv->bookmarks);
   g_clear_object (&priv->network_monitor);
@@ -989,28 +977,6 @@ ephy_shell_get_history_window (EphyShell *shell)
 }
 
 /**
- * ephy_shell_get_pdm_dialog:
- *
- * Return value: (transfer none):
- **/
-GObject *
-ephy_shell_get_pdm_dialog (EphyShell *shell)
-{
-  if (shell->priv->pdm_dialog == NULL) {
-    GObject **dialog;
-
-    shell->priv->pdm_dialog = g_object_new (EPHY_TYPE_PDM_DIALOG, NULL);
-
-    dialog = &shell->priv->pdm_dialog;
-
-    g_object_add_weak_pointer (shell->priv->pdm_dialog,
-                               (gpointer *)dialog);
-  }
-
-  return shell->priv->pdm_dialog;
-}
-
-/**
  * ephy_shell_get_prefs_dialog:
  *
  * Return value: (transfer none):
diff --git a/src/ephy-shell.h b/src/ephy-shell.h
index 2011fd4..404fcb8 100644
--- a/src/ephy-shell.h
+++ b/src/ephy-shell.h
@@ -167,8 +167,6 @@ GtkWidget       *ephy_shell_get_bookmarks_editor         (EphyShell *shell);
 
 GtkWidget       *ephy_shell_get_history_window           (EphyShell *shell);
 
-GObject         *ephy_shell_get_pdm_dialog               (EphyShell *shell);
-
 GObject         *ephy_shell_get_prefs_dialog             (EphyShell *shell);
 
 guint           ephy_shell_get_n_windows                (EphyShell *shell);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 754eebe..67bbf06 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -144,8 +144,6 @@ static const GtkActionEntry ephy_menu_entries [] = {
          G_CALLBACK (window_cmd_edit_history) },
        { "EditPreferences", NULL, N_("Pr_eferences"), "<control>e", NULL,
          G_CALLBACK (window_cmd_edit_preferences) },
-       { "EditPersonalData", NULL, N_("_Personal Data"), "<control>m", NULL,
-         G_CALLBACK (window_cmd_edit_personal_data) },
 
        /* View actions. */
 
@@ -3214,8 +3212,7 @@ static const char* disabled_actions_for_app_mode[] = { "FileOpen",
                                                       "FileBookmarkPage",
                                                       "EditBookmarks",
                                                       "EditHistory",
-                                                      "EditPreferences",
-                                                      "EditPersonalData" };
+                                                      "EditPreferences"};
 
 static gboolean
 _gtk_css_provider_load_from_resource (GtkCssProvider* provider,
@@ -3245,7 +3242,6 @@ static const gchar* app_actions[] = {
        "FileNewWindow",
        "FileNewWindowIncognito",
        "EditPreferences",
-       "EditPersonalData",
        "EditBookmarks",
        "EditHistory",
        "FileQuit",
diff --git a/src/resources/epiphany-application-menu.ui b/src/resources/epiphany-application-menu.ui
index 96b1419..abc2eaf 100644
--- a/src/resources/epiphany-application-menu.ui
+++ b/src/resources/epiphany-application-menu.ui
@@ -32,11 +32,6 @@
     </section>
     <section>
       <item>
-        <attribute name="label" translatable="yes">_Personal Data</attribute>
-        <attribute name="action">app.pdm</attribute>
-        <attribute name="accel">&lt;Primary&gt;m</attribute>
-      </item>
-      <item>
         <attribute name="label" translatable="yes">Pr_eferences</attribute>
         <attribute name="action">app.preferences</attribute>
         <attribute name="accel">&lt;Primary&gt;e</attribute>
diff --git a/src/resources/epiphany-ui.xml b/src/resources/epiphany-ui.xml
index c4854ec..a7cb649 100644
--- a/src/resources/epiphany-ui.xml
+++ b/src/resources/epiphany-ui.xml
@@ -79,7 +79,6 @@
                 <menuitem name="FilePrintMenu" action="FilePrint"/>
                 <menuitem name="EditFindMenu" action="EditFind"/>
                 <menuitem name="EditPreferencesMenu" action="EditPreferences"/>
-                <menuitem name="EditPersonalDataMenu" action="EditPersonalData"/>
                 <separator name="FileSep5"/>
                 <menuitem name="HistoryEditMenu" action="EditHistory"/>
                 <menuitem name="BookmarksEditMenu" action="EditBookmarks"/>
diff --git a/src/resources/epiphany.ui b/src/resources/epiphany.ui
index 6913810..07a684b 100644
--- a/src/resources/epiphany.ui
+++ b/src/resources/epiphany.ui
@@ -1,209 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
-  <object class="GtkDialog" id="cookie_properties_dialog">
-    <property name="can_focus">False</property>
-    <property name="border_width">5</property>
-    <property name="title" translatable="yes">Cookie properties</property>
-    <property name="modal">True</property>
-    <property name="destroy_with_parent">True</property>
-    <property name="type_hint">dialog</property>
-    <property name="transient_for">pdm_dialog</property>
-    <child internal-child="vbox">
-      <object class="GtkBox" id="dialog-vbox4">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="orientation">vertical</property>
-        <property name="spacing">2</property>
-        <child internal-child="action_area">
-          <object class="GtkButtonBox" id="dialog-action_area4">
-            <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
-            <child>
-              <object class="GtkButton" id="close_cookie_properties_button">
-                <property name="label">gtk-close</property>
-                <property name="use_action_appearance">False</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_action_appearance">False</property>
-                <property name="use_stock">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">0</property>
-              </packing>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
-        <child>
-          <object class="GtkGrid" id="grid1">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="border_width">6</property>
-            <property name="row_spacing">6</property>
-            <property name="column_spacing">12</property>
-            <child>
-              <object class="GtkLabel" id="content_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label" translatable="yes">Content:</property>
-                <attributes>
-                  <attribute name="weight" value="bold"/>
-                </attributes>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="path_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label" translatable="yes">Path:</property>
-                <attributes>
-                  <attribute name="weight" value="bold"/>
-                </attributes>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">1</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="send_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label" translatable="yes">Send for:</property>
-                <attributes>
-                  <attribute name="weight" value="bold"/>
-                </attributes>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">2</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="expires_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label" translatable="yes">Expires:</property>
-                <attributes>
-                  <attribute name="weight" value="bold"/>
-                </attributes>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">3</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="content_val_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label">label</property>
-                <property name="selectable">True</property>
-                <property name="ellipsize">end</property>
-              </object>
-              <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">0</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="path_val_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label">label</property>
-                <property name="selectable">True</property>
-                <property name="ellipsize">end</property>
-              </object>
-              <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">1</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="send_val_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label">label</property>
-                <property name="selectable">True</property>
-                <property name="ellipsize">end</property>
-              </object>
-              <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">2</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="expires_val_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">start</property>
-                <property name="label">label</property>
-                <property name="selectable">True</property>
-                <property name="ellipsize">end</property>
-              </object>
-              <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">3</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
-              <placeholder/>
-            </child>
-            <child>
-              <placeholder/>
-            </child>
-            <child>
-              <placeholder/>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
-        </child>
-      </object>
-    </child>
-    <action-widgets>
-      <action-widget response="0">close_cookie_properties_button</action-widget>
-    </action-widgets>
-  </object>
   <object class="GtkDialog" id="encoding_dialog">
     <property name="can_focus">False</property>
     <property name="border_width">5</property>
@@ -387,293 +184,4 @@
       <action-widget response="-11">encoding_help_button</action-widget>
     </action-widgets>
   </object>
-  <object class="GtkDialog" id="pdm_dialog">
-    <property name="width_request">400</property>
-    <property name="height_request">300</property>
-    <property name="can_focus">False</property>
-    <property name="border_width">5</property>
-    <property name="title" translatable="yes">Personal Data</property>
-    <property name="role">epiphany-cookie-manager</property>
-    <property name="destroy_with_parent">True</property>
-    <property name="type_hint">normal</property>
-    <child internal-child="vbox">
-      <object class="GtkBox" id="dialog-vbox27">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="orientation">vertical</property>
-        <property name="spacing">2</property>
-        <child internal-child="action_area">
-          <object class="GtkButtonBox" id="dialog-action_area27">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
-            <child>
-              <object class="GtkButton" id="helpbutton1">
-                <property name="label">gtk-help</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_action_appearance">False</property>
-                <property name="use_stock">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">0</property>
-                <property name="secondary">True</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkButton" id="removeallbutton">
-                <property name="label">gtk-clear</property>
-                <property name="use_action_appearance">False</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="can_default">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_action_appearance">False</property>
-                <property name="use_stock">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">False</property>
-                <property name="position">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkButton" id="closebutton1">
-                <property name="label">gtk-close</property>
-                <property name="use_action_appearance">False</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="can_default">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_action_appearance">False</property>
-                <property name="use_stock">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">False</property>
-                <property name="position">2</property>
-              </packing>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
-        <child>
-          <object class="GtkNotebook" id="pdm_notebook">
-            <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="border_width">5</property>
-            <child>
-              <object class="GtkHBox" id="hbox87">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="border_width">12</property>
-                <property name="spacing">6</property>
-                <child>
-                  <object class="GtkScrolledWindow" id="scrolledwindow1139">
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="shadow_type">in</property>
-                    <child>
-                      <object class="GtkTreeView" id="cookies_treeview">
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <child internal-child="selection">
-                          <object class="GtkTreeSelection" id="treeview-selection1"/>
-                        </child>
-                      </object>
-                    </child>
-                  </object>
-                  <packing>
-                    <property name="expand">True</property>
-                    <property name="fill">True</property>
-                    <property name="position">0</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkVButtonBox" id="vbuttonbox1">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="spacing">6</property>
-                    <property name="layout_style">start</property>
-                    <child>
-                      <object class="GtkButton" id="cookies_remove_button">
-                        <property name="label">gtk-remove</property>
-                        <property name="use_action_appearance">False</property>
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                        <property name="can_focus">True</property>
-                        <property name="can_default">True</property>
-                        <property name="receives_default">False</property>
-                        <property name="use_action_appearance">False</property>
-                        <property name="use_stock">True</property>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">False</property>
-                        <property name="position">0</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkButton" id="cookies_properties_button">
-                        <property name="label">gtk-properties</property>
-                        <property name="use_action_appearance">False</property>
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                        <property name="can_focus">True</property>
-                        <property name="can_default">True</property>
-                        <property name="receives_default">False</property>
-                        <property name="use_action_appearance">False</property>
-                        <property name="use_stock">True</property>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">False</property>
-                        <property name="position">1</property>
-                      </packing>
-                    </child>
-                  </object>
-                  <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">False</property>
-                    <property name="position">1</property>
-                  </packing>
-                </child>
-              </object>
-            </child>
-            <child type="tab">
-              <object class="GtkLabel" id="label1227">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Cookies</property>
-              </object>
-              <packing>
-                <property name="tab_fill">False</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkVBox" id="vbox149">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="border_width">12</property>
-                <property name="spacing">6</property>
-                <child>
-                  <object class="GtkHBox" id="hbox88">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="spacing">6</property>
-                    <child>
-                      <object class="GtkScrolledWindow" id="scrolledwindow1140">
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="shadow_type">in</property>
-                        <child>
-                          <object class="GtkTreeView" id="passwords_treeview">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <child internal-child="selection">
-                              <object class="GtkTreeSelection" id="treeview-selection2"/>
-                            </child>
-                          </object>
-                        </child>
-                      </object>
-                      <packing>
-                        <property name="expand">True</property>
-                        <property name="fill">True</property>
-                        <property name="position">0</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkVButtonBox" id="vbuttonbox2">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="spacing">6</property>
-                        <property name="layout_style">start</property>
-                        <child>
-                          <object class="GtkButton" id="passwords_remove_button">
-                            <property name="label">gtk-remove</property>
-                            <property name="use_action_appearance">False</property>
-                            <property name="visible">True</property>
-                            <property name="sensitive">False</property>
-                            <property name="can_focus">True</property>
-                            <property name="can_default">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="use_action_appearance">False</property>
-                            <property name="use_stock">True</property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">True</property>
-                        <property name="position">1</property>
-                      </packing>
-                    </child>
-                  </object>
-                  <packing>
-                    <property name="expand">True</property>
-                    <property name="fill">True</property>
-                    <property name="position">0</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkCheckButton" id="passwords_show_button">
-                    <property name="label" translatable="yes">_Show passwords</property>
-                    <property name="use_action_appearance">False</property>
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">False</property>
-                    <property name="use_action_appearance">False</property>
-                    <property name="use_underline">True</property>
-                    <property name="draw_indicator">True</property>
-                  </object>
-                  <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">False</property>
-                    <property name="position">1</property>
-                  </packing>
-                </child>
-              </object>
-              <packing>
-                <property name="position">1</property>
-              </packing>
-            </child>
-            <child type="tab">
-              <object class="GtkLabel" id="label1228">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Passwords</property>
-              </object>
-              <packing>
-                <property name="position">1</property>
-                <property name="tab_fill">False</property>
-              </packing>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">True</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
-        </child>
-      </object>
-    </child>
-    <action-widgets>
-      <action-widget response="1">removeallbutton</action-widget>
-      <action-widget response="-11">helpbutton1</action-widget>
-      <action-widget response="-7">closebutton1</action-widget>
-    </action-widgets>
-  </object>
 </interface>
diff --git a/src/window-commands.c b/src/window-commands.c
index 3da0252..0918656 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -51,7 +51,6 @@
 #include "ephy-web-app-utils.h"
 #include "ephy-web-dom-utils.h"
 #include "ephy-zoom.h"
-#include "pdm-dialog.h"
 
 #include <gio/gio.h>
 #include <glib.h>
@@ -1216,21 +1215,6 @@ window_cmd_edit_preferences (GtkAction *action,
 }
 
 void
-window_cmd_edit_personal_data (GtkAction *action,
-                              EphyWindow *window)
-{
-       PdmDialog *dialog;
-       
-       dialog = EPHY_PDM_DIALOG (ephy_shell_get_pdm_dialog (ephy_shell_get_default ()));
-       /* FIXME?: pdm_dialog_open is supposed to scroll to the host passed
-        * as second parameters in the cookies tab. Honestly I think this
-        * has been broken for a while. In any case it's probably not
-        * relevant here, although we could get the host of the last active
-        * ephy window, I guess. */
-       pdm_dialog_open (dialog, NULL);
-}
-
-void
 window_cmd_view_fullscreen (GtkAction *action,
                            EphyWindow *window)
 {
diff --git a/src/window-commands.h b/src/window-commands.h
index ddc85ea..4877e44 100644
--- a/src/window-commands.h
+++ b/src/window-commands.h
@@ -114,8 +114,6 @@ void window_cmd_file_new_incognito_window (GtkAction  *action,
                                            EphyWindow *window);
 void window_cmd_edit_preferences          (GtkAction  *action,
                                            EphyWindow *window);
-void window_cmd_edit_personal_data        (GtkAction  *action,
-                                           EphyWindow *window);
 
 G_END_DECLS
 


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