Merge lp:~mitya57/indicator-session/multiple-names-in-current-desktop into lp:indicator-session/15.04
Proposed by
Dmitry Shachnev
Status: | Merged |
---|---|
Approved by: | Charles Kerr |
Approved revision: | 461 |
Merged at revision: | 461 |
Proposed branch: | lp:~mitya57/indicator-session/multiple-names-in-current-desktop |
Merge into: | lp:indicator-session/15.04 |
Diff against target: |
31 lines (+18/-2) 1 file modified
src/backend-dbus/actions.c (+18/-2) |
To merge this branch: | bzr merge lp:~mitya57/indicator-session/multiple-names-in-current-desktop |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charles Kerr (community) | Approve | ||
Alberts Muktupāvels | Approve | ||
Ted Gould | Pending | ||
Indicator Applet Developers | Pending | ||
Review via email: mp+243234@code.launchpad.net |
Commit message
Support multiple desktop names in XDG_CURRENT_
Description of the change
The Desktop Entry Specification says:
If $XDG_CURRENT_
In GNOME Flashback session, we currently have:
dmitry@
GNOME-
… and we still want to use unity-control-
To post a comment you must log in.
Sorry, looks like this is wrong too. We should not pass NULL to g_strsplit...
const gchar *current_desktop;
current_desktop = g_getenv( "XDG_CURRENT_ DESKTOP" );
if (!current_desktop)
current_desktop = "";
desktop_names = g_strsplit (current_desktop, ":", 0);
for (i = 0; desktop_names[i]; ++i)
...