Commit 97f5c6f0 authored by Julian Sparber's avatar Julian Sparber
Browse files

Merge branch 'backport_missed_alarms' into 'librem5-3-32'

Backport missed alarms

See merge request Librem5/gnome-clocks!3
parents 5bd011ef 9e8f6a44
Pipeline #61617 passed with stages
in 7 minutes and 13 seconds
......@@ -114,6 +114,16 @@ stackswitcher button {
from(@warning_color), to(shade(@warning_color,0.9)));
}
.missed .alarm-tile,
.missed .alarm-tile:backdrop {
color: white;
background-color: transparent;
background-image: -gtk-gradient(radial,
center center, 0,
center bottom, 1.0,
from(@error_color), to(shade(@error_color,0.9)));
}
.tile.prelight .snoozing .alarm-tile,
.tile.prelight .snoozing .alarm-tile:backdrop {
color: white;
......
......@@ -19,7 +19,7 @@ Build-Depends: debhelper-compat (= 12),
libgsound-dev (>= 0.98),
libgtk-3-dev (>= 3.20.0),
libgweather-3-dev (>= 3.27.2),
libhandy-0.0-dev (>= 0.0.10),
libhandy-1-dev (>= 1.0.0),
libxml2-utils,
meson (>= 0.46.0),
pkg-config,
......
......@@ -18,8 +18,27 @@ gweather = dependency('gweather-3.0', version: '>=3.27.2')
gnomedesktop = dependency('gnome-desktop-3.0', version: '>=3.8')
geocodeglib = dependency('geocode-glib-1.0', version: '>=1.0')
libgeoclue = dependency('libgeoclue-2.0', version: '>=2.4')
libhandy = dependency('libhandy-0.0', version: '>= 0.0.10')
libfeedback = dependency('libfeedback-0.0', version: '>= 0.0.0')
libhandy = dependency ('libhandy-1', version: '>= 1.0.0', required: false)
if not libhandy.found()
libhandy_subproj = subproject(
'libhandy',
default_options: [
'examples=false',
'glade_catalog=disabled',
'tests=false',
]
)
# When using libhandy as subproject, make sure we get the VAPI file
libhandy = declare_dependency(
dependencies: [
libhandy_subproj.get_variable('libhandy_dep'),
libhandy_subproj.get_variable('libhandy_vapi'),
]
)
endif
cc = meson.get_compiler('c')
math = cc.find_library('m', required: false)
......
This diff is collapsed.
......@@ -22,7 +22,7 @@ int main (string[] args) {
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (Config.GETTEXT_PACKAGE);
Hdy.init (ref args);
Hdy.init ();
Lfb.init(Config.APP_ID);
var app = new Clocks.Application ();
......
......@@ -154,6 +154,9 @@ public class Window : Gtk.ApplicationWindow {
style.add_class ("devel");
}
// Immidiatly check if we need to notifiy the user about alarms
Utils.WallClock.get_default ().tick ();
update_header_bar ();
update_view_switcher_bar ();
......
[wrap-git]
directory=libhandy
url=https://gitlab.gnome.org/GNOME/libhandy.git
revision=1.0.0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment