[Pkg-deepin-devel] Bug#916173: granite-demo: crashes with missing io.elementary.desktop.wingpanel.datetime schema
Jeremy Bicha
jbicha at debian.org
Mon Dec 10 21:29:06 GMT 2018
Package: granite-demo
Version: 5.2.1-1
Severity: serious
X-Debbugs-CC: byang at debian.org
granite-demo crashes when I try to run it because it can't find the
io.elementary.desktop.wingpanel.datetime gsettings schema.
This is a regression since 5.1.0-2.
I see this change in the code. Maybe we should change it back in Debian?
diff -Nru granite-5.1.0/lib/DateTime.vala granite-5.2.1/lib/DateTime.vala
--- granite-5.1.0/lib/DateTime.vala 2018-08-23 23:54:44.000000000 +0000
+++ granite-5.2.1/lib/DateTime.vala 2018-11-07 19:18:54.000000000 +0000
@@ -110,7 +110,7 @@
* @return true if the clock format is 12h based, false otherwise.
*/
private static bool is_clock_format_12h () {
- var h24_settings = new Settings ("org.gnome.desktop.interface");
+ var h24_settings = new Settings
("io.elementary.desktop.wingpanel.datetime");
var format = h24_settings.get_string ("clock-format");
return (format.contains ("12h"));
}
Thanks,
Jeremy Bicha
More information about the Pkg-deepin-devel
mailing list