Commit b3b8fd68 authored by Sébastien Wilmet's avatar Sébastien Wilmet

text-view: add context menu items more to the top

It's better that the suggestion sub-menu is the first element in the
context menu.

GtkSourceView adds Undo/Redo, for example. Now Undo/Redo will be below
spell checking stuff.
parent add37e38
......@@ -293,11 +293,14 @@ set_view (GspellTextView *gspell_view,
gspell_view,
0);
/* G_CONNECT_AFTER, so when menu items are prepended, they have more
* chances to be the first in the menu.
*/
g_signal_connect_object (priv->view,
"populate-popup",
G_CALLBACK (populate_popup_cb),
gspell_view,
0);
G_CONNECT_AFTER);
g_object_notify (G_OBJECT (gspell_view), "view");
}
......
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