[gnome-clocks/wip/exalm/libhandy-1: 16/18] window: Make non-deletable on the ringing alarm panel
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/wip/exalm/libhandy-1: 16/18] window: Make non-deletable on the ringing alarm panel
- Date: Sun, 7 Jun 2020 23:29:04 +0000 (UTC)
commit 2675a4de4bf875d539befdf325582d9ff69a29ef
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue May 26 22:56:26 2020 +0500
window: Make non-deletable on the ringing alarm panel
src/window.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/window.vala b/src/window.vala
index d3fab36..bd472c6 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -371,6 +371,8 @@ public class Window : Hdy.ApplicationWindow {
} else {
title = _("Clocks");
}
+
+ deletable = (alarm_deck.visible_child != alarm_ringing_panel);
}
[GtkCallback]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]