summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/native_menu_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/native_menu_gtk.cc')
-rw-r--r--views/controls/menu/native_menu_gtk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc
index 78a4f68..c75ac2f 100644
--- a/views/controls/menu/native_menu_gtk.cc
+++ b/views/controls/menu/native_menu_gtk.cc
@@ -193,6 +193,8 @@ void NativeMenuGtk::Rebuild() {
AddMenuItemAt(i, NULL, accel_group);
}
}
+ if (!menu_hidden_)
+ gtk_menu_reposition(GTK_MENU(menu_));
}
void NativeMenuGtk::UpdateStates() {