[opensuse-gnome] Call for testers: notification-daemon change
Hi, I've reworked the notification-daemon package so that we stop using an old unmaintained notification theme (bubble) and instead use a new theme based on the maintained standard theme with only a few changes. A test package will be available soonish at: http://download.opensuse.org/repositories/home:/vuntz:/factory-playground/op... The two main changes are: + let the theme decide if it wants to always stack notifications (instead of having notifications placed near the notification area, -- a good test for this is clicking on a batter item in the menu of the gnome-power-manager notification icon) In previous packages, all themes always stacked notifications, which is a change compared to upstream behavior. Now people can choose the standard theme to get upstream behavior. + the new theme makes it possible to easily change the color of the stripes via the GTK+ theme. For this, you just need to match a widget in a GtkWindow with name "notification-window". I believe this should work (untested) to match the relevant widget: notification-window.GtkEventBox.GtkVBox But I could be wrong, and I'm in no way an expert in gtkrc styles ;-) The two important colors are bg[GTK_STATE_NORMAL] for the stripe in low priority notifications and bg[GTK_STATE_SELECTED] for the stripe in normal priority notifications. You can select which notification theme to use via this gconf key: /apps/notification-daemon/theme. "standard" is the upstream theme and "bubble" is the patched theme (I've kept the same name as the one we had previously for compatibility reasons). I'd love to have people test the package to tell me if there's any regression or if it fixes any known bug for them. And it'd fantastic to have someone play with a GTK+ theme to show that it's possible to change the color of the stripe this way! Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le jeudi 27 mars 2008, à 02:10 +0100, Vincent Untz a écrit :
+ the new theme makes it possible to easily change the color of the stripes via the GTK+ theme. For this, you just need to match a widget in a GtkWindow with name "notification-window". I believe this should work (untested) to match the relevant widget: notification-window.GtkEventBox.GtkVBox But I could be wrong, and I'm in no way an expert in gtkrc styles ;-) The two important colors are bg[GTK_STATE_NORMAL] for the stripe in low priority notifications and bg[GTK_STATE_SELECTED] for the stripe in normal priority notifications.
Was curious, so I tried, and it works. You just have to put this in your gtkrc: style "notification-magic" { bg[NORMAL] = "#defc12" bg[SELECTED] = "#76bf6f" } widget "notification-window.GtkEventBox.GtkVBox" style "notification-magic" Cool, isn't it? :-) (I know, having "*.notification-stripe" would be better than "notification-window.GtkEventBox.GtkVBox", but that's easily fixable) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le jeudi 27 mars 2008, à 02:10 +0100, Vincent Untz a écrit :
Hi,
I've reworked the notification-daemon package so that we stop using an old unmaintained notification theme (bubble) and instead use a new theme based on the maintained standard theme with only a few changes.
A test package will be available soonish at: http://download.opensuse.org/repositories/home:/vuntz:/factory-playground/op...
Since the build service is rebuilding everything, it's still not there. But I have good news! Check out: http://tmp.vuntz.net/opensuse-packages/rpms/ Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (1)
-
Vincent Untz