Merge lp:~muktupavels/gnome-menus/fix-typo-in-support-multile-desktops-patch into lp:ubuntu/vivid/gnome-menus

Proposed by Alberts Muktupāvels
Status: Merged
Approved by: Brian Murray
Approved revision: 146
Merged at revision: 146
Proposed branch: lp:~muktupavels/gnome-menus/fix-typo-in-support-multile-desktops-patch
Merge into: lp:ubuntu/vivid/gnome-menus
Diff against target: 25 lines (+2/-2)
2 files modified
debian/patches/support_multiple_desktops.patch (+1/-1)
libmenu/desktop-entries.c (+1/-1)
To merge this branch: bzr merge lp:~muktupavels/gnome-menus/fix-typo-in-support-multile-desktops-patch
Reviewer Review Type Date Requested Status
Brian Murray Approve
Review via email: mp+246019@code.launchpad.net

Commit message

Fix small bug in support_multiple_desktops patch.

Description of the change

Fix small bug in support_multiple_desktops patch.

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :
review: Approve
Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded this to vivid, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/patches/support_multiple_desktops.patch'
2--- debian/patches/support_multiple_desktops.patch 2014-11-17 18:42:20 +0000
3+++ debian/patches/support_multiple_desktops.patch 2015-01-09 22:31:03 +0000
4@@ -35,7 +35,7 @@
5 - else
6 - current_desktop = g_strdup (desktop);
7 - }
8-+ if (desktops)
9++ if (!desktops)
10 + desktops = "";
11
12 - /* Using "*" means skipping desktop-related checks */
13
14=== modified file 'libmenu/desktop-entries.c'
15--- libmenu/desktop-entries.c 2014-11-17 18:42:20 +0000
16+++ libmenu/desktop-entries.c 2015-01-09 22:31:03 +0000
17@@ -99,7 +99,7 @@
18
19 desktops = g_getenv ("XDG_CURRENT_DESKTOP");
20
21- if (desktops)
22+ if (!desktops)
23 desktops = "";
24
25 tmp = g_strsplit (desktops, ":", 0);

Subscribers

People subscribed via source and target branches