[epiphany/wip/bookmarks: 307/315] Remove obsolete EphyTopicsEntry



commit 0b3273829f7ab4a557bede74d23538b9de500172
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Tue Sep 27 18:52:38 2016 +0300

    Remove obsolete EphyTopicsEntry

 src/bookmarks/Makefile.am                |    2 -
 src/bookmarks/ephy-bookmark-properties.c |    9 -
 src/bookmarks/ephy-topics-entry.c        |  594 ------------------------------
 src/bookmarks/ephy-topics-entry.h        |   32 --
 4 files changed, 0 insertions(+), 637 deletions(-)
---
diff --git a/src/bookmarks/Makefile.am b/src/bookmarks/Makefile.am
index 16db3d6..a3c12b2 100644
--- a/src/bookmarks/Makefile.am
+++ b/src/bookmarks/Makefile.am
@@ -28,8 +28,6 @@ libephybookmarks_la_SOURCES =                 \
        ephy-topic-action-group.h       \
        ephy-bookmark-action-group.c    \
        ephy-bookmark-action-group.h    \
-       ephy-topics-entry.c             \
-       ephy-topics-entry.h             \
        ephy-window-action.c            \
        ephy-window-action.h
 
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c
index 0157ac7..32489c0 100644
--- a/src/bookmarks/ephy-bookmark-properties.c
+++ b/src/bookmarks/ephy-bookmark-properties.c
@@ -23,7 +23,6 @@
 #include "ephy-bookmark-properties.h"
 
 #include "ephy-bookmarks-ui.h"
-#include "ephy-topics-entry.h"
 #include "ephy-node-common.h"
 #include "ephy-debug.h"
 #include "ephy-shell.h"
@@ -264,7 +263,6 @@ ephy_bookmark_properties_constructor (GType                  type,
   gboolean lockdown;
   const char   *tmp;
   char         *decoded_url;
-  GtkWidget    *entry;
 
   object = G_OBJECT_CLASS (ephy_bookmark_properties_parent_class)->constructor (type,
                                                                                 n_construct_properties,
@@ -296,13 +294,6 @@ ephy_bookmark_properties_constructor (GType                  type,
   gtk_entry_set_text (properties->adress_entry, decoded_url);
   g_free (decoded_url);
 
-  entry = ephy_topics_entry_new (properties->bookmarks, properties->bookmark);
-  gtk_editable_set_editable (GTK_EDITABLE (entry), !lockdown);
-  gtk_label_set_mnemonic_widget (properties->topics_label, entry);
-  gtk_widget_show (entry);
-  gtk_grid_attach (properties->grid, entry, 1, 2, 1, 1);
-  gtk_widget_set_hexpand (entry, TRUE);
-
   /* TODO bind; and the entry?! */
   gtk_widget_set_sensitive (GTK_WIDGET (properties->topics_scrolled_window), !lockdown);
 


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