[gnome-clocks/bilelmoussaoui/timer-fixes] Window: don't set needs-attention for timer
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/bilelmoussaoui/timer-fixes] Window: don't set needs-attention for timer
- Date: Mon, 3 Feb 2020 00:38:17 +0000 (UTC)
commit 8a8ddf946560c3e9ccb0ccf93ddece655990acf3
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Mon Feb 3 01:37:35 2020 +0100
Window: don't set needs-attention for timer
we already set it as the visible child, needs-attention isn't needed
src/window.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 03b5649..e85b681 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -106,10 +106,6 @@ public class Window : Gtk.ApplicationWindow {
stack.visible_child = w;
});
- timer.notify["state"].connect ((w) => {
- stack.child_set_property (timer, "needs-attention", timer.state == Timer.Face.State.RUNNING);
- });
-
unowned Gtk.BindingSet binding_set = Gtk.BindingSet.by_class (get_class ());
// plain ctrl+page_up/down is easten by the scrolled window...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]