summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qt_qt_wrapper.cpp4
-rw-r--r--src/qt_qt_wrapper.h1
-rw-r--r--src/qt_theme_draw.c4
3 files changed, 6 insertions, 3 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp
index 20dcee7..1dcfa25 100644
--- a/src/qt_qt_wrapper.cpp
+++ b/src/qt_qt_wrapper.cpp
@@ -53,7 +53,6 @@
#define RC_CACHE_VERSION TQString("1")
bool gtkQtEnable = false;
-bool mozillaFix = false;
bool tqAppOwner = false;
gboolean tde_showIconsOnPushButtons = false;
@@ -96,6 +95,7 @@ int isDomino;
int isPolyester;
int eclipseFix;
int openOfficeFix;
+int mozillaFix;
int gtkQtDebug;
Atom kipcCommAtom;
@@ -335,7 +335,7 @@ void createTQApp()
#endif // USE_FREEBSD
#endif // USE_SOLARIS
- mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox"));
+ mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("thunderbird"));
openOfficeFix = (cmdLine.endsWith("soffice.bin"))
| (cmdLine.endsWith("swriter.bin"))
diff --git a/src/qt_qt_wrapper.h b/src/qt_qt_wrapper.h
index 026c7f9..d1bf80c 100644
--- a/src/qt_qt_wrapper.h
+++ b/src/qt_qt_wrapper.h
@@ -74,6 +74,7 @@ extern int isAlloy;
extern int isDomino;
extern int isPolyester;
extern int openOfficeFix;
+extern int mozillaFix;
extern int gtkQtDebug;
#ifdef __cplusplus
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;