Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevoku@xamarin.com>2016-01-17 14:22:26 +0300
committerVsevolod Kukol <sevoku@xamarin.com>2016-01-17 15:51:22 +0300
commitb4940a68d66f9c1355e7f2dfb67392f1eb1fa629 (patch)
treea4311ef22f43c691f90596486efab7bde85a1d3d /main/src/core/MonoDevelop.Ide/gtkrc.win32
parentdfc6d154c02c694f49192848c0e277bd7ce9117d (diff)
[Ide] Fix link label hover background
This is a temp workaround. Link label drawing must be fixed in the Gtk engine. It should not draw any prelight background at all.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtkrc.win32')
-rw-r--r--main/src/core/MonoDevelop.Ide/gtkrc.win328
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtkrc.win32 b/main/src/core/MonoDevelop.Ide/gtkrc.win32
index bb261fecb3..585c54c529 100644
--- a/main/src/core/MonoDevelop.Ide/gtkrc.win32
+++ b/main/src/core/MonoDevelop.Ide/gtkrc.win32
@@ -384,6 +384,11 @@ style "scale" = "default"
}
}
+style "link-label-fix"
+{
+ base[PRELIGHT] = @bg_color # disable link hover background
+}
+
### Apply the styles
class "GtkWidget" style "default"
@@ -440,3 +445,6 @@ widget_class "*.<GtkToolbar>.<GtkComboBox>.<GtkButton>" style "toolbar-combo-box
widget "*MainToolbar*.GtkComboBox.*" style:highest "toolbar-combo-box"
widget "gtk-tooltip*" style "tooltip"
+
+# disable hover background on link labels
+class "GtkLabel" style "link-label-fix"