[gnome-clocks] Reset World Clocks View when timer rings



commit 2adb62ce1e73c9aeb6c776babc94ef5d6f63ad56
Author: Daniel Renninghoff <daniel renninghoff gmail com>
Date:   Sat Nov 16 15:26:06 2013 +0100

    Reset World Clocks View when timer rings
    
    When a timer rings, the headerbar changes to the timer tab. So the world
    clocks view should be reset.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700997

 src/window.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 9927a0b..2f9992d 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -92,6 +92,7 @@ public class Window : Gtk.ApplicationWindow {
         });
 
         ((Timer.MainPanel)panels[PanelId.TIMER]).ring.connect ((w) => {
+            ((World.MainPanel)panels[PanelId.WORLD]).reset_view ();
             stack.visible_child = w;
         });
 


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