Merge lp:~dylanmccall/ubuntu/natty/gnome-settings-daemon/fix-748805 into lp:ubuntu/natty/gnome-settings-daemon
Proposed by
Dylan McCall
Status: | Work in progress |
---|---|
Proposed branch: | lp:~dylanmccall/ubuntu/natty/gnome-settings-daemon/fix-748805 |
Merge into: | lp:ubuntu/natty/gnome-settings-daemon |
Diff against target: |
204 lines (+41/-28) 2 files modified
debian/changelog (+8/-0) debian/patches/16_use_synchronous_notifications.patch (+33/-28) |
To merge this branch: | bzr merge lp:~dylanmccall/ubuntu/natty/gnome-settings-daemon/fix-748805 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Coulson (community) | Needs Information | ||
Ubuntu branches | Pending | ||
Review via email: mp+56096@code.launchpad.net |
Description of the change
This is a fix for bug #748805. It replaces the code to select an icon for the volume change notification bubble. My replacement uses the same approach as indicator-sound, to resolve consistency issues between these two.
In the same vein, I added support for the notification-
To post a comment you must log in.
Unmerged revisions
- 129. By Dylan McCall
-
* debian/
patches/ 16_use_ synchronous_ notifications. patch:
- Choose icons the same way as indicator-sound (LP: #748805)
- Use notification-audio-volume- off icon
From the bug you said "I decided to change our patch for gnome-settings- daemon, since the existing stuff was a little complex and it wouldn't look pretty inside indicator-sound. (I assume the settings daemon patch inherits that complexity from the original overlay, which had a fancy fading effect)".
Note that this complexity in the code exists to make it easily portable to other applications (we copy and paste the exact same code in gnome-power-manager for example. Even though gnome-power-manager uses a different number of icons, we're able to do this because the thresholds were spaced out in a linear fashion). However, this change actually makes virtually all of gsd-osd- notification. {c/h} pretty pointless now, so you could probably strip most of it out. With the spacing between the icon thresholds being completely uneven, it makes it virtually impossible for this code to be portable anymore.