[gnome-clocks] Remove unused signal



commit 9856f1d7787ce53ed9a3347d3cc2ff17c4f7dfc4
Author: Paolo Borelli <pborelli gnome org>
Date:   Wed Sep 5 23:10:55 2012 +0200

    Remove unused signal

 gnomeclocks/app.py    |    4 +++-
 gnomeclocks/clocks.py |    3 ---
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index 623a010..bdff31b 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -76,10 +76,12 @@ class Window(Gtk.ApplicationWindow):
 
         self.vbox.pack_end(self.notebook, True, True, 0)
         for view in self.views:
-            view.connect("show-standalone", self._on_show_standalone)
             self.notebook.append_page(view, None)
         self.notebook.append_page(self.single_evbox, None)
 
+        self.world.connect("show-standalone", self._on_show_standalone)
+        self.alarm.connect("show-standalone", self._on_show_standalone)
+
         self.toolbar.connect("view-clock", self._on_view_clock)
         self.vbox.show_all()
         self.show_all()
diff --git a/gnomeclocks/clocks.py b/gnomeclocks/clocks.py
index 414ee56..65658a5 100644
--- a/gnomeclocks/clocks.py
+++ b/gnomeclocks/clocks.py
@@ -21,9 +21,6 @@ from gi.repository import GObject, Gtk
 
 class Clock(Gtk.EventBox):
     __gsignals__ = {
-        'show-requested': (GObject.SignalFlags.RUN_LAST,
-                           None,
-                           ()),
         'show-standalone': (GObject.SignalFlags.RUN_LAST,
                             None,
                             (GObject.TYPE_PYOBJECT, )),



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