Index: views/controls/menu/native_menu_gtk.cc |
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc |
index 7954d20057ebc416589ff239baf6dfd120a23e3b..b65d7e58e21cc5942246c13734b6c25c95682ae3 100644 |
--- a/views/controls/menu/native_menu_gtk.cc |
+++ b/views/controls/menu/native_menu_gtk.cc |
@@ -195,6 +195,10 @@ void NativeMenuGtk::RemoveMenuListener(MenuListener* listener) { |
} |
} |
+void NativeMenuGtk::SetMinimumWidth(int width) { |
+ gtk_widget_set_size_request(menu_, width, -1); |
+} |
+ |
bool NativeMenuGtk::Dispatch(GdkEvent* event) { |
if (menu_hidden_) { |
// The menu has been closed but the message loop is still nested. Don't |