|
|
|
@ -340,7 +340,7 @@ void createTQApp()
|
|
|
|
|
#endif // USE_FREEBSD
|
|
|
|
|
#endif // USE_SOLARIS
|
|
|
|
|
|
|
|
|
|
mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("thunderbird"));
|
|
|
|
|
mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("iceweasel") || cmdLine.contains("thunderbird") || cmdLine.contains("icedove"));
|
|
|
|
|
|
|
|
|
|
openOfficeFix = (cmdLine.endsWith("soffice.bin"))
|
|
|
|
|
| (cmdLine.endsWith("swriter.bin"))
|
|
|
|
@ -703,10 +703,9 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa
|
|
|
|
|
TQPushButton button(meepWidget);
|
|
|
|
|
button.setBackgroundOrigin(TQWidget::ParentOrigin);
|
|
|
|
|
button.setGeometry(x, y, w, h);
|
|
|
|
|
if (style->rc_style->bg[GTK_STATE_NORMAL].pixel != 0)
|
|
|
|
|
if (style->rc_style->bg[GTK_STATE_NORMAL].pixel != 0) {
|
|
|
|
|
button.setPaletteBackgroundColor(gdkColorToTQColor(&style->rc_style->bg[GTK_STATE_NORMAL]));
|
|
|
|
|
TQPoint p = button.backgroundOffset();
|
|
|
|
|
TQPoint pos = button.pos();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQStyle::SFlags sflags = stateToSFlags(state);
|
|
|
|
|
|
|
|
|
@ -741,8 +740,6 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa
|
|
|
|
|
button.setGeometry(x, y, w, h);
|
|
|
|
|
if (style->rc_style->bg[GTK_STATE_NORMAL].pixel != 0)
|
|
|
|
|
button.setPaletteBackgroundColor(gdkColorToTQColor(&style->rc_style->bg[GTK_STATE_NORMAL]));
|
|
|
|
|
TQPoint p = button.backgroundOffset();
|
|
|
|
|
TQPoint pos = button.pos();
|
|
|
|
|
|
|
|
|
|
TQStyle::SFlags sflags = stateToSFlags(state);
|
|
|
|
|
|
|
|
|
@ -1813,6 +1810,7 @@ void drawArrow(GdkWindow* window, GtkStyle* style, GtkStateType state, GtkArrowT
|
|
|
|
|
case GTK_ARROW_LEFT: element = TQStyle::PE_ArrowLeft; break;
|
|
|
|
|
case GTK_ARROW_RIGHT: element = TQStyle::PE_ArrowRight; break;
|
|
|
|
|
case GTK_ARROW_NONE: return;
|
|
|
|
|
default: return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|