Advertisement
Guest User

Untitled

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