[gnome-calendar] window: connect signal to the right object
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-calendar] window: connect signal to the right object
- Date: Thu,  4 Dec 2014 22:46:13 +0000 (UTC)
commit 1c277b99b391b1bc9096a9d256cdc7e0d12d970f
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Thu Dec 4 09:48:09 2014 -0500
    window: connect signal to the right object
    
    The ::remove_event handler was not connected to the GtkRevealer so it
    was not executing itself when the notification was closed. That caused
    the application never removed any events. Fixed now.
 data/ui/window.ui |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 3dbd112..0dfaeaa 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -98,6 +98,7 @@
             <property name="halign">center</property>
             <property name="valign">start</property>
             <property name="transition_duration">100</property>
+            <signal name="notify::child-revealed" handler="remove_event" object="GcalWindow" swapped="no"/>
             <child>
               <object class="GtkFrame">
                 <property name="visible">True</property>
@@ -146,7 +147,6 @@
                         <property name="relief">none</property>
                         <property name="focus_on_click">False</property>
                         <signal name="clicked" handler="hide_notification" object="GcalWindow" swapped="no"/>
-                        <signal name="notify::child-revealed" handler="remove_event" object="GcalWindow" 
swapped="no"/>
                         <child>
                           <object class="GtkImage">
                             <property name="visible">True</property>
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]