summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgue5t <gue5t@midori.launchpad>2015-08-09 19:11:32 -0500
committergue5t <gue5t@midori.launchpad>2015-08-09 19:11:32 -0500
commitfc336a138914377676e4e560d48b5b77c6f064e4 (patch)
treeef7885e64b5bec4db32774b1f067e837fe586988
parent1164627b2580cbf6ffd379d92ff19b3da7912ed0 (diff)
downloadmidori-fc336a138914377676e4e560d48b5b77c6f064e4.tar.gz
Fix fallout (broken bookmarks and history panel search) from tweaks to GTK2 entry placeholder
-rw-r--r--panels/midori-bookmarks.c2
-rw-r--r--panels/midori-history.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c
index a237f9a7..62905a52 100644
--- a/panels/midori-bookmarks.c
+++ b/panels/midori-bookmarks.c
@@ -1327,7 +1327,7 @@ midori_bookmarks_filter_entry_changed_cb (GtkEntry* entry,
if (bookmarks->filter_timeout)
g_source_remove (bookmarks->filter_timeout);
- if (!g_object_get_data (G_OBJECT (entry), "sokoke_has_default"))
+ if (!g_object_get_data (G_OBJECT (entry), "sokoke_showing_default"))
katze_assign (bookmarks->filter, g_strdup (gtk_entry_get_text (entry)));
else
katze_assign (bookmarks->filter, NULL);
diff --git a/panels/midori-history.c b/panels/midori-history.c
index 5d6f2e65..9a50b733 100644
--- a/panels/midori-history.c
+++ b/panels/midori-history.c
@@ -897,7 +897,7 @@ midori_history_filter_entry_changed_cb (GtkEntry* entry,
history->filter_timeout = midori_timeout_add (COMPLETION_DELAY,
midori_history_filter_timeout_cb, history, NULL);
- if (!g_object_get_data (G_OBJECT (entry), "sokoke_has_default"))
+ if (!g_object_get_data (G_OBJECT (entry), "sokoke_showing_default"))
katze_assign (history->filter, g_strdup (gtk_entry_get_text (entry)));
else
katze_assign (history->filter, NULL);