[gitg] Use a tagged entry



commit 5b26b856da25d0698e610c6ee886aefb97baeec2
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Feb 18 15:35:39 2013 +0100

    Use a tagged entry

 configure.ac                     |    1 +
 gitg/gitg-window.vala            |    1 +
 gitg/resources/ui/gitg-window.ui |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2395788..a9c886e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -281,6 +281,7 @@ AM_CONDITIONAL(ENABLE_PYTHON, test x"$enable_python" = "xyes")
 
 dnl libgd
 LIBGD_INIT([
+       tagged-entry
        stack
        revealer
        static
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 58b422c..70f8a5d 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -79,6 +79,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
                var search_button = builder.get_object("search-button");
                var revealer = builder.get_object("search-revealer") as Gd.Revealer;
                search_button.bind_property("active", revealer, "reveal-child");
+               var entry = builder.get_object("search-entry") as Gd.TaggedEntry;
 
                var settings = new Settings("org.gnome.gitg.preferences.interface");
 
diff --git a/gitg/resources/ui/gitg-window.ui b/gitg/resources/ui/gitg-window.ui
index 6c4029f..828ba42 100644
--- a/gitg/resources/ui/gitg-window.ui
+++ b/gitg/resources/ui/gitg-window.ui
@@ -120,7 +120,7 @@
                             <property name="can_focus">False</property>
                             <property name="can_focus">False</property>
                             <child>
-                              <object class="GtkSearchEntry" id="search-entry">
+                              <object class="GdTaggedEntry" id="search-entry">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="invisible_char">â</property>


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