Commit a14aed95 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

MainWindow: don't use gtk_menu_popup() (deprecated)

For the GtkNotebook tab label right-click menu.
parent 2a1db380
......@@ -476,7 +476,7 @@ public class MainWindow : ApplicationWindow
_documents_panel.right_click.connect ((event) =>
{
Gtk.Menu popup_menu = _ui_manager.get_widget ("/NotebookPopup") as Gtk.Menu;
popup_menu.popup (null, null, null, event.button, event.time);
popup_menu.popup_at_pointer (event);
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment