ad52e75e97
- Backport commit to not break applications menu when screen resolution
changes
* debian/patches/fix-hibernate.patch:
- Backport patch to fix checking whether hibernate is allowed
* debian/patches/look-in-data-home-for-themes.patch:
- Backport commit to also look in XDG_DATA_HOME (usually ~/.local/share/)
for user themes
25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
From 6fbc63e9e6f19aa992ba01cbd905bf486a888bba Mon Sep 17 00:00:00 2001
|
|
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
|
Date: Thu, 04 Jul 2013 14:46:25 +0000
|
|
Subject: alternative-status-menu: unpack the result of CanHibernate
|
|
|
|
The DBus call yields a GVariant, which we need to unpack to
|
|
obtain the JS value to compare.
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=702300
|
|
---
|
|
diff --git a/extensions/alternative-status-menu/extension.js b/extensions/alternative-status-menu/extension.js
|
|
index 44c4f75..4285edd 100644
|
|
--- a/extensions/alternative-status-menu/extension.js
|
|
+++ b/extensions/alternative-status-menu/extension.js
|
|
@@ -47,7 +47,7 @@ function loginManager_canHibernate(asyncCallback) {
|
|
let result, error;
|
|
|
|
try {
|
|
- result = proxy.call_finish(asyncResult);
|
|
+ result = proxy.call_finish(asyncResult).deep_unpack();
|
|
} catch(e) {
|
|
error = e;
|
|
}
|
|
|