Skip to content
Browse files

Be more well-behaved and only override the GTK+ style for the bar pro…

…per.

This should fix the style-clobbering of the calendar widget reported by jhup
  • Loading branch information...
1 parent 4702dd2 commit 2e60a955a08889d1b9f7876b005ba4484567f0f2 @travitch committed Aug 16, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/System/Taffybar.hs
  2. +1 −1 taffybar.rc
View
1 src/System/Taffybar.hs
@@ -196,6 +196,7 @@ taffybarMain cfg = do
True -> screenGetMonitorGeometry screen (monitorNumber cfg)
window <- windowNew
+ widgetSetName window "Taffybar"
let Rectangle x y w _ = monitorSize
windowSetTypeHint window WindowTypeHintDock
windowSetScreen window screen
View
2 taffybar.rc
@@ -9,5 +9,5 @@ style "notification-button" = "default" {
fg[NORMAL] = "#FF0000"
}
-class "GtkWidget" style "default"
+widget "Taffybar*" style "default"
widget "*NotificationCloseButton" style "notification-button"

0 comments on commit 2e60a95

Please sign in to comment.
Something went wrong with that request. Please try again.