[gnome-control-center] region: Use new delayed search entry API



commit f9db0a832d390345630069643e4ac064ec6eb1de
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jul 30 16:53:47 2013 +0200

    region: Use new delayed search entry API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705151

 panels/region/cc-format-chooser.c |    2 +-
 panels/region/cc-input-chooser.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/region/cc-format-chooser.c b/panels/region/cc-format-chooser.c
index c694d31..7cb53ad 100644
--- a/panels/region/cc-format-chooser.c
+++ b/panels/region/cc-format-chooser.c
@@ -543,7 +543,7 @@ cc_format_chooser_new (GtkWidget *parent)
 
         add_all_regions (GTK_DIALOG (chooser));
 
-        g_signal_connect_swapped (priv->filter_entry, "changed",
+        g_signal_connect_swapped (priv->filter_entry, "search-changed",
                                   G_CALLBACK (filter_changed), chooser);
 
         g_signal_connect (priv->list, "row-activated",
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
index f761f26..a6c1c4b 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -1145,7 +1145,7 @@ cc_input_chooser_new (GtkWindow    *main_window,
   g_signal_connect (priv->list, "row-activated", G_CALLBACK (row_activated), chooser);
   g_signal_connect (priv->list, "row-selected", G_CALLBACK (row_selected), chooser);
 
-  g_signal_connect_swapped (priv->filter_entry, "changed", G_CALLBACK (filter_changed), chooser);
+  g_signal_connect_swapped (priv->filter_entry, "search-changed", G_CALLBACK (filter_changed), chooser);
 
   get_locale_infos (chooser);
 #ifdef HAVE_IBUS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]