Commit d02450f9 authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

Always add app actions, irrespective of app menu

parent b7a9b0f9
......@@ -463,16 +463,16 @@ gedit_app_startup (GApplication *application)
/* initial lockdown state */
app->priv->lockdown = gedit_settings_get_lockdown (GEDIT_SETTINGS (app->priv->settings));
g_action_map_add_action_entries (G_ACTION_MAP (app),
app_entries,
G_N_ELEMENTS (app_entries),
app);
/* app menu */
if (_gedit_app_has_app_menu (app))
{
GtkBuilder *builder;
g_action_map_add_action_entries (G_ACTION_MAP (app),
app_entries,
G_N_ELEMENTS (app_entries),
app);
builder = gtk_builder_new ();
if (!gtk_builder_add_from_resource (builder,
"/org/gnome/gedit/ui/gedit-menu.ui",
......
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