summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 6dc5a9813753..2cdd032ec400 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -2910,6 +2910,12 @@ sal_Bool GtkSalGraphics::NWPaintGTKPopupMenu(
else
nShadowType = GTK_SHADOW_OUT;
+ GtkArrowType eArrow;
+ if( Application::GetSettings().GetLayoutRTL() )
+ eArrow = GTK_ARROW_LEFT;
+ else
+ eArrow = GTK_ARROW_RIGHT;
+
gtk_paint_arrow( gWidgetData[m_nScreen].gMenuItemMenuWidget->style,
gdkDrawable,
nStateType,
@@ -2917,7 +2923,7 @@ sal_Bool GtkSalGraphics::NWPaintGTKPopupMenu(
&clipRect,
gWidgetData[m_nScreen].gMenuItemMenuWidget,
"menuitem",
- GTK_ARROW_RIGHT, TRUE,
+ eArrow, TRUE,
x, y, w, h);
}
}