summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcharlespyle <[email protected]>2014-02-24 10:17:34 +0100
committerStefano Karapetsas <[email protected]>2014-02-24 10:17:34 +0100
commit829499e5aacd752deb5e3e726aa04a57c137392e (patch)
tree188010d5009c84790cb4ecf82b9066f34bb69fe1
parent02a7da6f1cc616a6a444ba75d78c606810ac8b9b (diff)
downloadmate-utils-829499e5aacd752deb5e3e726aa04a57c137392e.tar.bz2
mate-utils-829499e5aacd752deb5e3e726aa04a57c137392e.tar.xz
gsearchtool: Fix search history entry
Fixes problem of search history entries not showing up on the combobox in mate-search-tool
-rw-r--r--gsearchtool/libmateui-deprecated/gsearchtool-entry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsearchtool/libmateui-deprecated/gsearchtool-entry.c b/gsearchtool/libmateui-deprecated/gsearchtool-entry.c
index 9d39b4ba..cd665a24 100644
--- a/gsearchtool/libmateui-deprecated/gsearchtool-entry.c
+++ b/gsearchtool/libmateui-deprecated/gsearchtool-entry.c
@@ -568,9 +568,10 @@ gsearch_history_entry_new (const gchar *history_id,
store = gtk_list_store_new(1, G_TYPE_STRING);
ret = g_object_new(GSEARCH_TYPE_HISTORY_ENTRY,
+ "has-entry", TRUE,
"history-id", history_id,
"model", store,
- "has-entry", TRUE,
+ "entry-text-column", 0,
NULL);
g_object_unref (store);