Advertisement
Guest User

Untitled

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