[gnome-calendar/ui-rewrite] 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/ui-rewrite] window: connect signal to the right object
- Date: Thu, 4 Dec 2014 21:31:53 +0000 (UTC)
commit a0686f7d0bfb314a3798076c80ba1c86d36ecac5
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]