dotfiles

config files for my linux setup
git clone git://edryd.org/dotfiles
Log | Files | Refs | README

gtkrc (20374B)


      1 gtk_color_scheme = "bg_color:#073642\nselected_bg_color:#1e5ea3\nbase_color:#F0F0F0" # Background, base.
      2 gtk_color_scheme = "fg_color:#93a1a1\nselected_fg_color:#93a1a1\ntext_color:#93a1a1" # Foreground, text.
      3 gtk_color_scheme = "tooltip_bg_color:#002b36\ntooltip_fg_color:#93a1a1" # Tooltips.
      4 gtk_color_scheme = "link_color:#859900" # Hyperlinks
      5 gtk_color_scheme = "menu_color:#586e75\ntext_color_dark:#586e75" # Dark colors
      6 gtk_color_scheme = "menu_color:#002b36" # Color for menus.
      7 
      8 gtk-icon-sizes = "panel-menu=22,22:gtk-button=16,16"
      9 
     10 gtk-auto-mnemonics = 1
     11 gtk-alternative-sort-arrows = 1
     12 ### EXTERNAL FILES ###
     13 
     14 include "widgets/panel.rc"	# This includes the file that handles the panels.
     15 
     16 style "default" {
     17 	xthickness = 1
     18 	ythickness = 1
     19 
     20 	#######################
     21 	# Style Properties
     22 	#######################
     23 	GtkButton::child-displacement-x = 1
     24 	GtkButton::child-displacement-y = 1
     25 	GtkButton::default-border = { 0, 0, 0, 0 }
     26 
     27 	GtkCheckButton::indicator-size = 16
     28 
     29 	GtkPaned::handle-size = 6
     30 
     31 	GtkRange::trough-border = 0
     32 	GtkRange::slider-width = 14
     33 	GtkRange::stepper-size = 13
     34 	GtkRange::trough-under-steppers = 1
     35 
     36 	GtkScale::trough-border = 0
     37 	GtkScale::slider-width = 23
     38 	GtkScale::slider-length = 14
     39 	GtkScale::trough-side-details = 1
     40 
     41 	GtkScrollbar::activate-slider = 1
     42 	GtkScrollbar::trough-border = 0
     43 	GtkScrollbar::slider-width = 13
     44 	GtkScrollbar::min-slider-length = 31
     45 
     46 	GtkMenuBar::internal-padding = 0
     47 	GtkMenuBar::shadow-type = GTK_SHADOW_NONE
     48 	GtkExpander::expander-size = 11
     49 	GtkToolbar::internal-padding = 1
     50 	GtkToolbar::shadow-type = GTK_SHADOW_NONE
     51 	GtkTreeView::expander-size = 7
     52 	GtkTreeView::vertical-separator = 0
     53 #	GtkTreeView::odd-row-color = shade (0.96, @base_color)
     54 	GtkNotebook::tab-overlap = -1
     55 
     56 	GtkMenu::horizontal-padding = 0
     57 	GtkMenu::vertical-padding = 3
     58 
     59 	WnckTasklist::fade-overlay-rect = 0
     60 	# The following line hints to gecko (and possibly other appliations)
     61 	# that the entry should be drawn transparently on the canvas.
     62 	# Without this, gecko will fill in the background of the entry.
     63 	GtkEntry::honors-transparent-bg-hint = 1
     64 	GtkEntry::state-hint = 0
     65 
     66 	GtkEntry::progress-border = { 2, 2, 2, 2 }
     67 
     68 	GtkProgressBar::min-horizontal-bar-height = 14
     69 	GtkProgressBar::min-vertical-bar-width = 14
     70 	
     71 	GtkImage::x-ayatana-indicator-dynamic = 1
     72 	GtkMenuBar::window-dragging = 1
     73 
     74 	GtkWidget::link-color = @link_color
     75 	GtkWidget::visited-link-color = @text_color
     76 
     77 	GtkWindow::resize-grip-height = 13
     78         GtkWindow::resize-grip-width = 13
     79 
     80 	####################
     81 	# Color Definitions
     82 	####################
     83 	bg[NORMAL]        = @bg_color
     84 	bg[PRELIGHT]      = shade (1.02, @bg_color)
     85 	bg[SELECTED]      = @selected_bg_color
     86 	bg[INSENSITIVE]   = shade (0.95, @bg_color)
     87 	bg[ACTIVE]        = shade (0.9, @bg_color)
     88 
     89 	fg[NORMAL]        = @fg_color
     90 	fg[PRELIGHT]      = @fg_color
     91 	fg[SELECTED]      = @selected_fg_color
     92 	fg[INSENSITIVE]   = darker (@bg_color)
     93 	fg[ACTIVE]        = @fg_color
     94 
     95 	text[NORMAL]      = @text_color
     96 	text[PRELIGHT]    = @text_color
     97 	text[SELECTED]    = @selected_fg_color
     98 	text[INSENSITIVE] = shade (0.8, @bg_color)
     99 	text[ACTIVE]      = darker (@text_color)
    100 
    101 	base[NORMAL]      = @base_color
    102 	base[PRELIGHT]    = shade (0.98, @bg_color)
    103 	base[SELECTED]    = @selected_bg_color
    104 	base[INSENSITIVE] = shade (0.97, @bg_color)
    105 	base[ACTIVE]      = shade (0.94, @bg_color)
    106 
    107 	engine "murrine" {
    108 		contrast = 0.6
    109 		arrowstyle = 2
    110 		reliefstyle = 3
    111 		highlight_shade = 1.0
    112 		glazestyle = 0
    113 		default_button_color = shade (1.1, @selected_bg_color)
    114 		gradient_shades = {1.1, 1.0, 1.0, 0.9}
    115 		roundness = 4
    116 		lightborder_shade = 1.26
    117 		lightborderstyle = 1
    118 		listviewstyle = 2
    119 		progressbarstyle = 0
    120 		colorize_scrollbar = FALSE
    121 		menubaritemstyle = 1
    122 		menubarstyle = 1
    123 		menustyle = 0
    124 		focusstyle = 3
    125 		handlestyle = 1
    126 		sliderstyle = 3
    127 		scrollbarstyle = 2
    128 		stepperstyle = 3
    129 #		rgba = TRUE
    130 	}
    131 }
    132 
    133 style "resize-grip"
    134 {
    135 	engine "pixmap"	{
    136 		image {
    137 			function	= RESIZE_GRIP
    138 			recolorable	= FALSE
    139 			detail		= "statusbar"
    140 			overlay_file	= "resize_grip.png"
    141 			overlay_border	= {0,0,0,0 }
    142 			overlay_stretch	= FALSE
    143 		}
    144         }
    145 }
    146 
    147 style "dark"
    148 {
    149 	color["bg_color_dark"] 	= "#3a3a3a"
    150 	color["fg_color_dark"] 	= "#dcdcdc"
    151 	color["selected_fg_color_dark"] = "#ffffff"
    152 
    153 	fg[NORMAL]        = @fg_color_dark
    154 	fg[PRELIGHT]	  = shade (1.15, @fg_color_dark)
    155 	fg[ACTIVE]	  = @fg_color_dark
    156 	fg[SELECTED]	  = @selected_fg_color_dark
    157 	fg[INSENSITIVE]	  = shade (0.5, @fg_color_dark)
    158   
    159 	bg[NORMAL]        = @bg_color_dark
    160 	bg[ACTIVE]	  = shade (0.8, @bg_color_dark)
    161 	bg[SELECTED]      = @selected_bg_color
    162 	bg[PRELIGHT]      = shade (1.0, "#4D4D4D")
    163 	bg[INSENSITIVE]   = shade (0.85, @bg_color_dark)
    164   	
    165 	text[NORMAL]      = @fg_color_dark
    166 	text[PRELIGHT]	  = shade (1.15, @fg_color_dark)
    167 	text[SELECTED]	  = @selected_fg_color_dark
    168 	text[ACTIVE]      = @fg_color_dark
    169 	text[INSENSITIVE] = mix (0.5, @bg_color, @bg_color_dark)
    170 }
    171 
    172 style "wide" {
    173 	xthickness = 2
    174 	ythickness = 2
    175 }
    176 
    177 style "wider" {
    178 	xthickness = 3
    179 	ythickness = 3
    180 }
    181 
    182 style "entry" {
    183 	xthickness = 3
    184 	ythickness = 3
    185 
    186 	engine "murrine" {
    187 	}
    188 }
    189 
    190 style "vscale" {
    191 }
    192 
    193 style "hscale" {
    194 }
    195 
    196 #style "button" {
    197 #	xthickness = 3
    198 #	ythickness = 3
    199 #
    200 #	bg[NORMAL] = shade (1.07, "#cdcdcd")
    201 #	bg[PRELIGHT] = shade (1.09, "#cdcdcd")
    202 #	bg[ACTIVE] = shade (1.0, "#cdcdcd")
    203 #	bg[INSENSITIVE] = mix (0.25, @bg_color, "#e2e1e1")
    204 #	fg[INSENSITIVE] = "#9c9c9c"
    205 #
    206 #	engine "murrine" {
    207 #		#contrast = 1.0
    208 #		border_shades = {1.04, 0.82}
    209 #		reliefstyle = 5
    210 #		shadow_shades = {1.02, 1.1}
    211 #		textstyle = 1
    212 #		glowstyle = 5
    213 #		glow_shade = 1.1
    214 #		#text_shade = 1.04
    215 #	}
    216 #}
    217 
    218 style "button" {
    219 
    220 	xthickness = 3
    221 	ythickness = 3
    222 
    223 	bg[NORMAL] = shade (1.03, @bg_color)
    224 	bg[PRELIGHT] = shade (1.06, @bg_color)
    225 	bg[ACTIVE] = shade (0.96, @bg_color)
    226 	bg[INSENSITIVE] = @bg_color
    227 	fg[INSENSITIVE] = "#9c9c9c"
    228 
    229 	engine "murrine" {
    230 		#contrast = 1.0
    231 		textstyle = 1
    232 		border_shades = {1.01, 0.8}
    233 		reliefstyle = 0
    234 		shadow_shades = {1.0, 1.1}
    235 		glowstyle = 5
    236 		glow_shade = 1.02
    237 		lightborder_shade = 1.32
    238 #		lightborderstyle = 0
    239 		#text_shade = 1.04
    240 	}
    241 }
    242 
    243 style "notebook_button" = "button" {
    244 }
    245 
    246 style "spinbutton" = "notebook_button" {
    247 	xthickness = 4
    248 
    249 	engine "murrine" {
    250 	}
    251 }
    252 
    253 style "scrollbar" = "button" {
    254 	xthickness = 2
    255 	ythickness = 2
    256 
    257 	bg[NORMAL] = @bg_color
    258 	bg[PRELIGHT] = shade (1.04, @bg_color)
    259 	
    260 	bg[ACTIVE] = shade (0.96, @bg_color)
    261 
    262 	engine "murrine"
    263 	{
    264 		border_shades = {0.95, 0.90}
    265 		roundness = 20
    266 		contrast = 1.0
    267 		trough_shades = {0.92, 0.98}
    268 		lightborder_shade = 1.3
    269 		glowstyle = 5
    270 		glow_shade = 1.02
    271 		gradient_shades = {1.2, 1.0, 1.0, 0.86}
    272 		trough_border_shades = {0.9, 0.98}
    273 	}
    274 }
    275 
    276 style "hscrollbar" {
    277 }
    278 
    279 style "vscrollbar" {
    280 }
    281 
    282 style "overlay_scrollbar"
    283 {
    284 	bg[SELECTED] = shade (1.0, @selected_bg_color)
    285 	bg[INSENSITIVE] = shade (0.85, @bg_color)
    286 	bg[ACTIVE] = shade (0.6, @bg_color)
    287 }
    288 
    289 style "scale" = "button" {
    290 	bg[NORMAL] = @bg_color
    291 	bg[PRELIGHT] = shade (1.06, @bg_color)
    292 	bg[ACTIVE] = shade (0.94, @bg_color)
    293 
    294 	engine "murrine" {
    295 		contrast = 0.6
    296 		border_shades = {0.9, 0.8}
    297 		roundness = 5
    298 		lightborder_shade = 1.32
    299 		gradient_shades = {1.1, 1.0, 1.0, 0.8}
    300 		handlestyle = 2
    301 		trough_border_shades = {0.9, 1.4}
    302 		glow_shade = 1.0
    303 #		reliefstyle = 2
    304 #		shadow_shades = { 1.0, 0.9 }
    305 	}
    306 }
    307 
    308 style "notebook_bg" {
    309 	bg[NORMAL] = shade (1.02, @bg_color)
    310 	bg[ACTIVE] = shade (0.97, @bg_color)
    311 	fg[ACTIVE] = mix (0.8, @fg_color, shade (0.97, @bg_color))
    312 }
    313 
    314 # The color is changed by the notebook_bg style, this style
    315 # changes the x/ythickness
    316 style "notebook" {
    317 	xthickness = 2
    318 	ythickness = 2
    319 	
    320 	engine "murrine" {
    321 		roundness = 3
    322 		contrast = 0.8
    323 		focusstyle = 2
    324 		lightborder_shade = 1.16
    325 		gradient_shades = {1.1, 1.0, 1.0, 0.68}
    326 	}
    327 }
    328 
    329 style "statusbar" {
    330 	engine "murrine" {
    331 		contrast = 1.2
    332 	}
    333 }
    334 
    335 style "comboboxentry" = "notebook_button" {
    336 	xthickness = 3
    337 	ythickness = 3
    338 	
    339 	engine "murrine" {
    340 		textstyle = 1
    341 		glowstyle = 5
    342 		glow_shade = 1.02
    343 	}
    344 }
    345 
    346 style "menubar" = "dark" {
    347 
    348 bg[NORMAL] = "#282828"
    349 
    350 	engine "murrine" {
    351 		textstyle = 2
    352 		text_shade = 0.33
    353 		gradient_shades = {1.0, 1.0, 1.0, 1.0}
    354 		lightborder_shade = 1.0
    355 	}
    356 }
    357 
    358 style "toolbar" {
    359 	engine "murrine" {
    360 		textstyle = 1
    361 		text_shade = 1.32
    362 		lightborder_shade = 1.0
    363 	}
    364 }
    365 
    366 style "toolbar-button" = "notebook_button" {
    367 	engine "murrine" {
    368 	}
    369 }
    370 
    371 style "menu" = "dark" {
    372 xthickness = 0
    373 ythickness = 0
    374 
    375 bg[NORMAL] = "#434343"
    376 bg[INSENSITIVE] = "#8E8B85"
    377 fg[INSENSITIVE]   = "#8E8B85"
    378 
    379 	engine "murrine"
    380 	{
    381 		roundness = 0
    382 	}
    383 }
    384 
    385 style "menu_item" = "menu" {
    386 	xthickness = 2
    387 	ythickness = 3
    388 
    389 	fg[PRELIGHT] = @selected_fg_color
    390 
    391 	engine "murrine"
    392 	{
    393 		glowstyle = 5
    394 		glow_shade = 1.1
    395 		border_shades = {0.95, 0.85}
    396 	}
    397 }
    398 
    399 style "menubar_item" = "menu" {
    400 	xthickness = 2
    401 	ythickness = 3
    402 
    403 	engine "murrine" {
    404 		gradient_shades = {1.1, 1.0, 1.0, 0.88}
    405 		glowstyle = 5
    406 		glow_shade = 1.0
    407 		border_shades = {1.0, 0.9}
    408 		lightborderstyle = 3
    409 		lightborder_shade = 1.26
    410 	}
    411 }
    412 
    413 style "scale_menu_item" = "scale" {
    414 	GtkScale::slider-width = 21
    415 	GtkScale::slider-length = 13
    416 
    417 	bg[ACTIVE] = shade(0.98, "#4D4C48")
    418 	bg[INSENSITIVE] = shade (0.9, @bg_color)
    419 
    420 	engine "murrine" {
    421 		roundness = 20
    422 		border_shades = {1.4, 1.4}
    423 		reliefstyle = 0
    424 		lightborder_shade = 1.36
    425 	}
    426 }
    427 
    428 # This style is there to modify the separator menu items. The goals are:
    429 # 1. Get a specific height.
    430 # 2. The line should go to the edges (ie. no border at the left/right)
    431 style "separator_menu_item" {
    432 	xthickness = 1
    433 	ythickness = 0
    434 
    435 	GtkSeparatorMenuItem::horizontal-padding = 0
    436 	GtkWidget::wide-separators = 1
    437 	GtkWidget::separator-width = 1
    438 	GtkWidget::separator-height = 7
    439 	
    440 	engine "murrine" {
    441 		contrast = 0.6
    442 		separatorstyle = 0
    443 	}
    444 }
    445 
    446 style "separator_tool_item" {
    447 	xthickness = 0
    448 	ythickness = 1
    449 
    450 	GtkVSeparator::vertical-padding = 0
    451 	GtkWidget::wide-separators = 1
    452 	GtkWidget::separator-width = 7
    453 	GtkWidget::separator-height = 1
    454 
    455 	engine "murrine" {
    456 		contrast = 0.6
    457 		separatorstyle = 0
    458 	}
    459 }
    460 
    461 style "frame_title" {
    462 	fg[NORMAL] = lighter (@fg_color)
    463 }
    464 
    465 style "treeview" {
    466 	engine "murrine"
    467 	{
    468 		roundness = 2
    469 		lightborder_shade = 1.1
    470 		gradient_shades = {1.04, 1.0, 1.0, 0.96}
    471 	}
    472 }
    473 
    474 style "progressbar" {
    475 	xthickness = 1
    476 	ythickness = 1
    477 
    478 	bg[ACTIVE] = shade (0.94, @bg_color)
    479 	fg[PRELIGHT] = @selected_fg_color
    480 	#bg[SELECTED] = "#cdcdcd"
    481 
    482 	engine "murrine" {
    483 		#trough_shades = {0.98, 1.02}
    484 		roundness = 8
    485 		lightborderstyle = 1
    486 		lightborder_shade = 1.26
    487 		border_shades = {0.95, 0.85}
    488 		gradient_shades = {1.1, 1.0, 1.0, 0.9}
    489 		trough_border_shades = {0.9, 1.4}
    490 	}
    491 }
    492 
    493 style "progressbar_menu_item" = "progressbar" {
    494 	bg[ACTIVE] = shade(0.98, "#4D4C48")
    495 
    496 	engine "murrine" {
    497 		roundness = 0
    498 	}
    499 }
    500 
    501 # This style is based on the default style, so that the colors from the button
    502 # style are overriden again.
    503 style "treeview_header" = "notebook_button" {
    504 	xthickness = 2
    505 	ythickness = 1
    506 
    507 	engine "murrine" {
    508 		glazestyle = 1
    509 		contrast = 0.8
    510 		lightborder_shade = 1.16
    511 		textstyle = 1
    512 		glow_shade = 1.0
    513 	}
    514 }
    515 
    516 style "treeview_header_scrolled" = "treeview_header" {
    517 }
    518 
    519 style "scrolledwindow" {
    520 	engine "murrine" {
    521 		contrast = 0.6
    522 	}
    523 }
    524 
    525 style "radiocheck"  = "button" {
    526 	text[NORMAL] = shade (0.535, @selected_bg_color)
    527 	text[PRELIGHT] = shade(1.06, shade (0.535, @selected_bg_color))
    528 	bg[NORMAL]   = shade (0.92, @bg_color)
    529 	bg[PRELIGHT] = mix (0.2, @selected_bg_color, shade(1.1, @bg_color))
    530 	fg[INSENSITIVE] = darker (@bg_color)
    531 	fg[ACTIVE] = @fg_color
    532 
    533 	engine "murrine" {
    534 		reliefstyle = 3
    535 		gradient_shades = {1.2, 1.0, 1.0, 0.9}
    536 		shadow_shades = {0.6, 0.5}
    537 		textstyle = 0
    538 	}
    539 }
    540 
    541 style "tooltips" {
    542 	xthickness = 4
    543 	ythickness = 4
    544 
    545 	bg[NORMAL]        = @tooltip_bg_color
    546 	fg[NORMAL]        = @tooltip_fg_color
    547 	bg[SELECTED]      = "#000000"
    548 
    549 	engine "murrine" {
    550 		rgba = TRUE
    551 	}
    552 }
    553 
    554 style "infobar" {
    555 	engine "murrine" {
    556 	}
    557 }
    558 
    559 style "nautilus_location" {
    560 	bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
    561 }
    562 
    563 style "caja_location" {
    564 	bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
    565 
    566 }
    567 
    568 style "calendar" {
    569 	xthickness = 0
    570 	ythickness = 0
    571 
    572 	engine "murrine" {
    573 		roundness = 0
    574 	}
    575 }
    576 
    577 style "calendar_menu_item" = "calendar" {
    578 	base[NORMAL] = "#606060"
    579 	base[ACTIVE] = "#4B4B4B"
    580 }
    581 
    582 style "iconview" {
    583 	engine "murrine" {
    584 		roundness = 6
    585 		border_shades = {1.16, 1.0}
    586 		glow_shade = 1.1
    587 		glowstyle = 5
    588 	}
    589 }
    590 
    591 style "soundfix"
    592 {
    593 }
    594 
    595 # Workaround style for places where the text color is used instead of the fg color.
    596 style "text_is_fg_color_workaround" {
    597 	text[NORMAL]      = @fg_color
    598 	text[PRELIGHT]    = @fg_color
    599 	text[SELECTED]    = @selected_fg_color
    600 	text[ACTIVE]      = @fg_color
    601 	text[INSENSITIVE] = darker (@bg_color)
    602 }
    603 
    604 # Workaround style for menus where the text color is used instead of the fg color.
    605 style "menuitem_text_is_fg_color_workaround" {
    606 	text[NORMAL]        = @fg_color
    607 	text[PRELIGHT]      = @selected_fg_color
    608 	text[SELECTED]      = @selected_fg_color
    609 	text[ACTIVE]        = @fg_color
    610 	text[INSENSITIVE]   = "#949494"
    611 }
    612 
    613 # Workaround style for places where the fg color is used instead of the text color.
    614 style "fg_is_text_color_workaround" {
    615 	fg[NORMAL]        = @text_color
    616 	fg[PRELIGHT]      = @text_color
    617 	fg[SELECTED]      = @selected_fg_color
    618 	fg[ACTIVE]        = @selected_fg_color
    619 	fg[INSENSITIVE]   = darker (@bg_color)
    620 }
    621 
    622 # Style to set the toolbar to use a flat style. This is because the "New" button in
    623 # Evolution is not drawn transparent. So if there is a gradient in the background it will
    624 # look really wrong.
    625 # See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
    626 style "evo_new_button_workaround" {
    627 }
    628 
    629 # Make the XFCE desktop icons text backrounds look prettier (The only change to theme, Code by RAVEfinity Project) 
    630 style "xfdesktop-icon-view" {
    631 
    632 XfdesktopIconView::label-alpha = 100
    633 
    634 base[NORMAL]     	= "#151515"
    635 base[ACTIVE]     	= "#7F7C7C"
    636 base[PRELIGHT]   	= "#7F7C7C"
    637 base[SELECTED]   	= shade (0.98, @selected_bg_color)
    638 
    639 fg[NORMAL] = @selected_fg_color
    640 fg[SELECTED] = @selected_fg_color
    641 fg[ACTIVE] = @selected_fg_color
    642 }
    643 
    644 
    645 ###############################################################################
    646 # The following part of the gtkrc applies the different styles to the widgets.
    647 ###############################################################################
    648 
    649 class "GtkWindow*" style "resize-grip"
    650 
    651 # The default style is applied to every widget
    652 class "GtkWidget" style "default"
    653 
    654 class "GtkSeparator" style "wide"
    655 class "GtkFrame" style "wide"
    656 class "GtkCalendar" style "wide"
    657 class "GtkEntry" style "entry"
    658 class "GtkStatusbar" style "resize-grip"
    659 
    660 class "GtkSpinButton" style "spinbutton"
    661 class "GtkScale" style "scale"
    662 class "GtkVScale" style "vscale"
    663 class "GtkHScale" style "hscale"
    664 class "GtkScrollbar" style "scrollbar"
    665 class "GtkHScrollbar" style "hscrollbar"
    666 class "GtkVScrollbar" style "vscrollbar"
    667 class "GtkCalendar" style "calendar"
    668 class "GtkInfoBar" style "infobar"
    669 class "GtkIconView" style "iconview"
    670 
    671 # General matching follows. The order is choosen so that the right styles override
    672 # each other. EG. progressbar needs to be more important than the menu match.
    673 widget_class "*<GtkNotebook>" style "notebook_bg"
    674 # This is not perfect, it could be done better.
    675 # (That is modify *every* widget in the notebook, and change those back that
    676 # we really don't want changed)
    677 widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
    678 widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
    679 widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
    680 widget_class "*<GtkNotebook>*<GtkLabel>" style "notebook_bg"
    681 
    682 widget_class "*<GtkToolbar>*" style "toolbar"
    683 widget_class "*<GtkScrolledWindow>*" style "scrolledwindow"
    684 
    685 widget_class "*<GtkButton>" style "button"
    686 widget_class "*<GtkButton>*<GtkLabel>" style "button"
    687 widget_class "*<GtkToolbar>.*.<GtkButton>*" style "notebook_button"
    688 widget_class "*<GtkNotebook>" style "notebook"
    689 widget_class "*<GtkStatusbar>" style "statusbar"
    690 widget_class "*<GtkSpinButton>*" style "spinbutton"
    691 widget_class "*<GtkNotebook>*<GtkButton>" style "notebook_button"
    692 widget_class "*<GtkNotebook>*<GtkButton>*<GtkLabel>" style "notebook_button"
    693 widget_class "*<GtkRadioButton>*" style "radiocheck"
    694 widget_class "*<GtkCheckButton>*" style "radiocheck"
    695 
    696 widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
    697 widget_class "*<GtkCombo>*" style "comboboxentry"
    698 
    699 widget_class "*<GtkMenuBar>*" style "menubar"
    700 widget_class "*<GtkMenu>*" style "menu"
    701 widget_class "*<GtkMenuItem>*" style "menu_item"
    702 widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
    703 widget_class "*<GtkSeparatorToolItem>*" style "separator_tool_item"
    704 widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar_item"
    705 
    706 widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
    707 widget_class "*.<GtkTreeView>*" style "treeview"
    708 
    709 widget_class "*<GtkProgress>" style "progressbar"
    710 widget_class "*<GtkMenuItem>.*.<GtkProgressBar>" style "progressbar_menu_item"
    711 widget_class "*<GtkMenuItem>.*.<GtkScale>" style "scale_menu_item"
    712 widget_class "*<GtkMenuItem>.*.<GtkCalendar>" style "calendar_menu_item"
    713 
    714 # Treeview headers (and similar stock GTK+ widgets)
    715 widget_class "*.<GtkScrolledWindow>*<GtkTreeView>*" style "treeview_header_scrolled"
    716 widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
    717 widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
    718 widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
    719 widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
    720 widget_class "*.<GtkTreeView>.<GtkButton>.*<GtkLabel>" style "treeview_header"
    721 widget_class "*.<GtkCTree>.<GtkButton>.*<GtkLabel>" style "treeview_header"
    722 widget_class "*.<GtkList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
    723 widget_class "*.<GtkCList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
    724 
    725 # Overlay scrollbar
    726 widget_class "*<OsScrollbar>" style "overlay_scrollbar"
    727 widget_class "*<OsThumb>" style "overlay_scrollbar"
    728 
    729 # The window of the tooltip is called "gtk-tooltip"
    730 ##################################################################
    731 # FIXME:
    732 # This will not work if one embeds eg. a button into the tooltip.
    733 # As far as I can tell right now we will need to rework the theme
    734 # quite a bit to get this working correctly.
    735 # (It will involve setting different priorities, etc.)
    736 ##################################################################
    737 widget "gtk-tooltip*" style "tooltips"
    738 
    739 ##########################################################################
    740 # Following are special cases and workarounds for issues in applications.
    741 ##########################################################################
    742 
    743 # Workaround for the evolution ETable (bug #527532)
    744 widget_class "*.ETable.ECanvas" style "treeview_header"
    745 # Workaround for the evolution ETree
    746 widget_class "*.ETree.ECanvas" style "treeview_header"
    747 
    748 # Special case the nautilus-extra-view-widget
    749 # ToDo: A more generic approach for all applications that have a widget like this.
    750 widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
    751 
    752 # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
    753 # Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
    754 widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
    755 # This is the part of the workaround that fixes the menus
    756 widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
    757 
    758 # Work around the usage of GtkLabel inside GtkListItems to display text.
    759 # This breaks because the label is shown on a background that is based on the base color.
    760 widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
    761 # GtkCList also uses the fg color to draw text on top of the base colors.
    762 widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
    763 # Nautilus when renaming files, and maybe other places.
    764 widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
    765 # Work around for ubuntu's lucid sound indicator
    766 widget "ido-offscreen-scale" style "soundfix"
    767 # Thickness for indicator menu items
    768 widget "*IdoEntryMenuItem*" style "wide"
    769 
    770 # See the documentation of the style.
    771 widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
    772 
    773 # Makes XFCE desktop icon and text backround tweaks work.
    774 widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
    775 
    776 # Includes
    777 include "apps/caja.rc"
    778 include "apps/chromium.rc"
    779 include "apps/ff.rc"
    780 include "apps/terminal.rc"
    781 include "apps/nautilus.rc"
    782 include "apps/mate-panel.rc"
    783 include "apps/banshee.rc"
    784 include "apps/thunar.rc"	
    785 include "apps/pcmanfm.rc"