[master][PATCH] Use inline completion for the region/city selection

Vratislav Podzimek vpodzime at redhat.com
Tue Jul 9 10:34:20 UTC 2013


Due to the still unresolved Gtk bug #907946, the completion for regions and
cities doesn't work properly. As it seem nobody will resolve the bug soon, I'd
like to use inline completion in the meantime. It doesn't provide such good
functionality as it appears only when there is unique match, but it's better
than nothing.

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/gui/spokes/datetime_spoke.glade | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.glade b/pyanaconda/ui/gui/spokes/datetime_spoke.glade
index 880daf4..a01e514 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.glade
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.glade
@@ -30,6 +30,7 @@
   <object class="GtkEntryCompletion" id="cityCompletion">
     <property name="model">citiesSort</property>
     <property name="text_column">0</property>
+    <property name="inline_completion">True</property>
     <signal name="match-selected" handler="on_completion_match_selected" object="cityCombobox" swapped="no"/>
   </object>
   <object class="GtkTreeModelFilter" id="citiesFilter">
@@ -650,6 +651,7 @@
   <object class="GtkEntryCompletion" id="regionCompletion">
     <property name="model">regions</property>
     <property name="text_column">0</property>
+    <property name="inline_completion">True</property>
     <signal name="match-selected" handler="on_completion_match_selected" object="regionCombobox" swapped="no"/>
   </object>
   <object class="GtkListStore" id="months">
-- 
1.7.11.7



More information about the anaconda-patches mailing list