[polari/gnome-3-16] Revert "ui: Don't set CellRenderers for entry completion"
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/gnome-3-16] Revert "ui: Don't set CellRenderers for entry completion"
- Date: Wed, 6 May 2015 17:16:12 +0000 (UTC)
commit 75421e48c7783e31d6dc93f518f616d14576411c
Author: Florian Müllner <fmuellner gnome org>
Date: Wed May 6 19:02:43 2015 +0200
Revert "ui: Don't set CellRenderers for entry completion"
GTK+ has reverted back to the (documented) behavior of treating
setting GtkEntryCompletion::text-column differently from calling
gtk_entry_completion_set_text_column()[0]. So we either need to
call the function from code, or set up the cell renderer ourselves.
This reverts commit 36b62329d8c35bae1d3ff9836e578db56bbb2bf3.
[0] https://git.gnome.org/browse/gtk+/commit?id=bbc7cd2351eac6
data/resources/join-room-dialog.ui | 6 ++++++
data/resources/message-user-dialog.ui | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/resources/join-room-dialog.ui b/data/resources/join-room-dialog.ui
index 8057d6d..8cf808d 100644
--- a/data/resources/join-room-dialog.ui
+++ b/data/resources/join-room-dialog.ui
@@ -11,6 +11,12 @@
<property name="model">liststore1</property>
<property name="text_column">0</property>
<property name="inline_completion">True</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext1"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
</object>
<object class="GtkDialog" id="join_room_dialog">
<property name="title" translatable="yes">Join Chat Room</property>
diff --git a/data/resources/message-user-dialog.ui b/data/resources/message-user-dialog.ui
index fa473e7..2ad723b 100644
--- a/data/resources/message-user-dialog.ui
+++ b/data/resources/message-user-dialog.ui
@@ -13,6 +13,12 @@
<property name="text_column">0</property>
<property name="inline_completion">True</property>
<property name="popup_single_match">False</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext1"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
</object>
<object class="GtkDialog" id="message_user_dialog">
<property name="can_focus">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]