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



commit 098d8a79d8f3674ba34c00ae61b0667ff4e7e6ea
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]