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.
This commit is contained in:
Erick Pérez Castellanos
2014-12-04 17:10:55 -05:00
parent dc941b6a9d
commit 1c277b99b3
+1 -1
View File
@@ -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>