From 700fef758ba004facd408b3919466d196c1132a0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 26 Jun 2014 17:04:56 -0400 Subject: Removed the special-casing of GtkLayout to have transparent frames: this breaks the Ubuntu GTK+ 3 themes (Ambianace and Radiance) with their correct renderer (see https://github.com/andlabs/ui/pull/19#issuecomment-47273597), and the KDE bug has now been fixed. --- gtkcalls_unix.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gtkcalls_unix.go') diff --git a/gtkcalls_unix.go b/gtkcalls_unix.go index 766c3fe..2934c7c 100644 --- a/gtkcalls_unix.go +++ b/gtkcalls_unix.go @@ -37,17 +37,6 @@ thanks tristan in irc.gimp.net/#gtk+ * { -GtkProgressBar-min-horizontal-bar-width: 1; } - -/* -on some themes, such as oxygen-gtk, GtkLayout draws a solid-color background, not the window background (as GtkFixed and GtkDrawingArea do) -this CSS fixes it -thanks to drahnr and ptomato in http://stackoverflow.com/questions/22940588/how-do-i-really-make-a-gtk-3-gtklayout-transparent-draw-theme-background -this has now been reported to the Oyxgen maintainers (https://bugs.kde.org/show_bug.cgi?id=333983); I'm not sure if I'll remove this or not when that's fixed (only if it breaks other styles... I *think* it breaks elementary OS? need to check again) -TODO write a program that does the comparison -*/ -GtkLayout { - background-color: transparent; -} `) func gtk_init() error { -- cgit v1.2.3