aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c12
-rw-r--r--src/ephy-history-window.c12
2 files changed, 1 insertions, 23 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 81b03aaa3..0cd9e1274 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1382,9 +1382,7 @@ static GtkWidget *
build_search_box (EphyBookmarksEditor *editor)
{
GtkWidget *box;
- GtkWidget *label;
GtkWidget *entry;
- char *str;
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_set_border_width (GTK_CONTAINER (box), 6);
@@ -1401,16 +1399,6 @@ build_search_box (EphyBookmarksEditor *editor)
gtk_widget_show_all (entry);
- label = gtk_label_new (NULL);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- str = g_strconcat ("<b>", _("_Search:"), "</b>", NULL);
- gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), str);
- g_free (str);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
- gtk_widget_show (label);
-
- gtk_box_pack_start (GTK_BOX (box),
- label, FALSE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (box),
entry, TRUE, TRUE, 0);
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index f84501747..70daa107b 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -776,7 +776,7 @@ time_combo_changed_cb (GtkWidget *combo, EphyHistoryWindow *editor)
static GtkWidget *
build_search_box (EphyHistoryWindow *editor)
{
- GtkWidget *box, *label, *entry;
+ GtkWidget *box, *entry;
GtkWidget *combo;
char *str;
@@ -791,14 +791,6 @@ build_search_box (EphyHistoryWindow *editor)
gtk_widget_show_all (entry);
- label = gtk_label_new (NULL);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- str = g_strconcat ("<b>", _("_Search:"), "</b>", NULL);
- gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), str);
- g_free (str);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
- gtk_widget_show (label);
-
combo = gtk_combo_box_text_new ();
gtk_widget_show (combo);
@@ -829,8 +821,6 @@ build_search_box (EphyHistoryWindow *editor)
editor->priv->time_combo = combo;
gtk_box_pack_start (GTK_BOX (box),
- label, FALSE, TRUE, 0);
- gtk_box_pack_start (GTK_BOX (box),
entry, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (box),
combo, FALSE, TRUE, 0);