Merge lp://qastaging/~mitya57/indicator-sound/lp1502480 into lp://qastaging/indicator-sound/15.10
Proposed by
Dmitry Shachnev
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 536 |
Merged at revision: | 536 |
Proposed branch: | lp://qastaging/~mitya57/indicator-sound/lp1502480 |
Merge into: | lp://qastaging/indicator-sound/15.10 |
Diff against target: |
53 lines (+22/-6) 1 file modified
src/service.vala (+22/-6) |
To merge this branch: | bzr merge lp://qastaging/~mitya57/indicator-sound/lp1502480 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charles Kerr (community) | Approve | ||
Alkis Georgopoulos (community) | Approve | ||
Mystic-Mirage (community) | Approve | ||
Alberts Muktupāvels | Approve | ||
Sebastien Bacher | Pending | ||
Ted Gould | Pending | ||
Lars Karlitski | Pending | ||
Review via email: mp+290144@code.qastaging.launchpad.net |
Commit message
Support multiple desktop names in $XDG_CURRENT_
Description of the change
According to the Desktop Entry specification:
If $XDG_CURRENT_
This branch adds support for proper detecting of Unity-derived desktops. It is mainly needed for GNOME Flashback session, which uses unity-control-
To post a comment you must log in.
It looks fine to me.
In shell, to avoid the loop, I do: CURRENT_ DESKTOP: " | grep -q ":Unity:"; then
if echo ":$XDG_
echo yes
else
echo no
fi
Performance-wise it's fine, it needs only one malloc (for strcat) instead of many (for split), but I'm not sure how readable it is.