summaryrefslogtreecommitdiffstats
path: root/src/qt_theme_draw.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-24 23:21:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-24 23:21:18 +0000
commitd2d0260170fa062dc6fb9261bb6d9fb8afd33711 (patch)
tree40a363f812bbabadedec3c0cbf95d5a96dae4344 /src/qt_theme_draw.c
parent4b23394a5f3a52557a2bfaa55dd8203fd65ff69e (diff)
downloadgtk-qt-engine-d2d0260170fa062dc6fb9261bb6d9fb8afd33711.tar.gz
gtk-qt-engine-d2d0260170fa062dc6fb9261bb6d9fb8afd33711.zip
Fix menu bar drawing failures on Firefox v4+ and Thunderbird when used with the GTK Qt Theme Engine
This partially resolves Bug 546 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1260478 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/qt_theme_draw.c')
-rw-r--r--src/qt_theme_draw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c
index 02e462f..885a836 100644
--- a/src/qt_theme_draw.c
+++ b/src/qt_theme_draw.c
@@ -702,7 +702,9 @@ draw_box(GtkStyle * style,
if (DETAIL("menubar"))
{
if (openOfficeFix == 1)
- parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
+ parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
+ else if (mozillaFix == 1)
+ parent_class->draw_box (style, window, state_type, GTK_SHADOW_NONE, area, widget, detail, x, y, width, height);
else
drawMenubar(window,style,state_type,x,y,width,height);
return;