summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-06 01:22:15 +0100
committerStefano Karapetsas <[email protected]>2013-11-06 01:22:15 +0100
commitcc5426de20fdf4421d63b7e77cbc02d0f44673b0 (patch)
treee1d02117ebbd736d59ee7c9f9f8572ee33a9bfa7
parent39bcb8d6bfb00ab8fcf7408a595163888d41f9b4 (diff)
downloadpluma-cc5426de20fdf4421d63b7e77cbc02d0f44673b0.tar.bz2
pluma-cc5426de20fdf4421d63b7e77cbc02d0f44673b0.tar.xz
Fix search fields in GTK3
-rw-r--r--pluma/pluma-history-entry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pluma/pluma-history-entry.c b/pluma/pluma-history-entry.c
index bb772594..3f28e8ad 100644
--- a/pluma/pluma-history-entry.c
+++ b/pluma/pluma-history-entry.c
@@ -529,7 +529,12 @@ pluma_history_entry_new (const gchar *history_id,
ret = g_object_new (PLUMA_TYPE_HISTORY_ENTRY,
"history-id", history_id,
"model", store,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ "has-entry", TRUE,
+ "id-column", 0,
+#else
"text-column", 0,
+#endif
NULL);
g_object_unref (store);