summaryrefslogtreecommitdiff
path: root/themes/Adwaita/gtk-2.0/apps.rc
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Adwaita/gtk-2.0/apps.rc')
-rw-r--r--themes/Adwaita/gtk-2.0/apps.rc32
1 files changed, 4 insertions, 28 deletions
diff --git a/themes/Adwaita/gtk-2.0/apps.rc b/themes/Adwaita/gtk-2.0/apps.rc
index 6138d557..916acfda 100644
--- a/themes/Adwaita/gtk-2.0/apps.rc
+++ b/themes/Adwaita/gtk-2.0/apps.rc
@@ -1,8 +1,8 @@
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
-
-style "toplevel_hack" {
- engine "adwaita" {}
-}
+#
+# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
+# custom widgets, programs giving us a chance to alter their UI to fit more with
+# the theme or stuff that is supposed to look different, like panels.
# TODO: This could really look nicer
style "gimp_spin_scale" {
@@ -92,32 +92,8 @@ style "chrome_gtk_frame" {
}
-style "chrome_entry" {
- base[NORMAL] = @base_color
- base[INSENSITIVE] = @base_color
-}
-
-style "vim_notebook" {
- bg[NORMAL] = @base_color
- bg[ACTIVE] = @insensitive_bg_color
-}
-
-# Vim puts an eventbox between the tab and the label and colours it,
-# we need to handle that
-widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"
-
-# (he)xchat input box
-class "SexySpellEntry" style:highest "normal_entry"
-
# Disable spin button assets for GimpSpinScale
class "GimpSpinScale" style "gimp_spin_scale"
# Chromium lets us define some colours and settings for better integration
class "ChromeGtkFrame" style "chrome_gtk_frame"
-# Chromium uses base as the fill colour of its own entries
-# This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg
-# That results in Chromium using it for the fill, so we need to handle that
-widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
-
-# Hack to be able to match widgets in LibreOffice
-class "GtkWindow" style "toplevel_hack"