[gnome-menus] desktop-entries: fix trivial bug in handling of multiple desktops in XDG_CURRENT_DESKTOP.
- From: Josselin Mouette <jmouette src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-menus] desktop-entries: fix trivial bug in handling of multiple desktops in XDG_CURRENT_DESKTOP.
- Date: Sun, 14 Dec 2014 19:38:28 +0000 (UTC)
commit 4befe76fbdb76aa6a986297ef71d1601b2ced42e
Author: Josselin Mouette <joss debian org>
Date: Sun Dec 14 20:36:36 2014 +0100
desktop-entries: fix trivial bug in handling of multiple desktops in
XDG_CURRENT_DESKTOP.
https://bugzilla.gnome.org/show_bug.cgi?id=741505
libmenu/desktop-entries.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libmenu/desktop-entries.c b/libmenu/desktop-entries.c
index bd4f886..a463d79 100644
--- a/libmenu/desktop-entries.c
+++ b/libmenu/desktop-entries.c
@@ -97,7 +97,7 @@ get_current_desktops (void)
desktops = g_getenv ("XDG_CURRENT_DESKTOP");
- if (desktops)
+ if (!desktops)
desktops = "";
tmp = g_strsplit (desktops, ":", 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]