vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit e0dea29e27c18698af65386db0a7e3b5b140c3dc Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 28 20:56:51 2015 +0100 gtk3: render the frames, looking more like the real thing now Change-Id: I8e0f708fcdcbf8a3cfa2df381908dcf7e91ab8ef diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index aad0ca5..957cab6 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -960,6 +960,10 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co { gtk_style_context_add_class(context, styleClass); } + if (nType == CTRL_TAB_HEADER || nType == CTRL_TAB_PANE) + { + gtk_style_context_add_class(context, GTK_STYLE_CLASS_FRAME); + } switch(renderType) { @@ -1150,7 +1154,6 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar gtk_style_context_add_region(mpNoteBookStyle, GTK_STYLE_REGION_TAB, GTK_REGION_ONLY); gtk_style_context_add_class(mpNoteBookStyle, GTK_STYLE_CLASS_TOP); - aEditRect = AdjustRectForTextBordersPadding(mpSpinStyle, rValue.getNumericVal(), rControlRegion); gtk_style_context_restore(mpNoteBookStyle);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits