[gnome-calendar/search-improvements] window: fix search_button/search_bar binding



commit 912b6af5d77f5580c23f2b4c3f0656dc7781d7e9
Author: Erick PĂ©rez Castellanos <erick red gmail com>
Date:   Fri Dec 26 23:24:02 2014 -0500

    window: fix search_button/search_bar binding
    
    Remove unneeded placeholder declaration
    This code was accidentally touched on commit:
    2970729324f2c442c85df918ea67c13152c60a17
    This is kind-of a revert of that patch

 data/ui/window.ui |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 7549dcc..d0612ca 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -27,6 +27,7 @@
                 <property name="no_show_all">True</property>
                 <property name="hexpand">True</property>
                 <property name="show_close_button">True</property>
+               <property name="search-mode-enabled" bind-source="search_button" bind-property="active" 
bind-flags="bidirectional"/>
                 <signal name="notify::search-mode-enabled" handler="search_toggled" object="GcalWindow" 
swapped="no"/>
                 <child>
                   <object class="GtkGrid" id="search_entry_grid">
@@ -67,9 +68,6 @@
                 <property name="transition_type">slide-left-right</property>
                 <signal name="notify::transition-running" handler="stack_transition_running" 
object="GcalWindow" swapped="no"/>
                 <signal name="notify::visible-child" handler="view_changed" object="GcalWindow" 
swapped="no"/>
-                <child>
-                  <placeholder/>
-                </child>
                 <style>
                   <class name="views"/>
                 </style>


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