Drop support for gtk+ < 2.24

* Bump required gtk+2 version
* Remove pluma-spinner
* Remove pluma-message-are
This commit is contained in:
infirit
2014-05-19 15:45:02 +02:00
parent 51291bf1b2
commit cc28312a3f
25 changed files with 1 additions and 2211 deletions

View File

@@ -1574,30 +1574,6 @@ create_menu_bar_and_toolbar (PlumaWindow *window,
}
g_free (ui_file);
#if !GTK_CHECK_VERSION (2, 17, 4)
/* merge page setup menu manually since we cannot have conditional
* sections in pluma-ui.xml */
{
guint merge_id;
PlumaLockdownMask lockdown;
merge_id = gtk_ui_manager_new_merge_id (manager);
gtk_ui_manager_add_ui (manager,
merge_id,
"/MenuBar/FileMenu/FileOps_5",
"FilePageSetupMenu",
"FilePageSetup",
GTK_UI_MANAGER_MENUITEM,
FALSE);
lockdown = pluma_app_get_lockdown (pluma_app_get_default ());
action = gtk_action_group_get_action (window->priv->action_group,
"FilePageSetup");
gtk_action_set_sensitive (action,
!(lockdown & PLUMA_LOCKDOWN_PRINT_SETUP));
}
#endif
/* show tooltips in the statusbar */
g_signal_connect (manager,
"connect_proxy",
@@ -2661,12 +2637,6 @@ _pluma_window_set_lockdown (PlumaWindow *window,
!(window->priv->state & PLUMA_WINDOW_STATE_PRINTING) &&
!(lockdown & PLUMA_LOCKDOWN_SAVE_TO_DISK));
#if !GTK_CHECK_VERSION (2, 17, 4)
action = gtk_action_group_get_action (window->priv->action_group,
"FilePageSetup");
gtk_action_set_sensitive (action,
!(lockdown & PLUMA_LOCKDOWN_PRINT_SETUP));
#endif
}
static void