diff options
author | Pablo Barciela <[email protected]> | 2018-01-11 15:30:10 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-14 15:31:54 +0100 |
commit | ced0b3913385748b6490a4215d7cc9a1681bca77 (patch) | |
tree | 13ae2e3809e75e5cfcc2c00665664876cf935937 | |
parent | 179afeb45bbe53f3d159ef987d470807b30681c3 (diff) | |
download | pluma-ced0b3913385748b6490a4215d7cc9a1681bca77.tar.bz2 pluma-ced0b3913385748b6490a4215d7cc9a1681bca77.tar.xz |
put 'peas_engine_enable_loader' in the correct place
and this commit reverts:
https://github.com/mate-desktop/pluma/commit/e81883304c118abc3f8b7198cdc336a9a10f6571
now it isn't needed
-rw-r--r-- | pluma/pluma-plugins-engine.c | 4 | ||||
-rw-r--r-- | pluma/pluma-tab.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c index fcedd86f..e765b0f2 100644 --- a/pluma/pluma-plugins-engine.c +++ b/pluma/pluma-plugins-engine.c @@ -60,14 +60,14 @@ pluma_plugins_engine_init (PlumaPluginsEngine *engine) pluma_debug (DEBUG_PLUGINS); + peas_engine_enable_loader (PEAS_ENGINE (engine), "python"); + engine->priv = G_TYPE_INSTANCE_GET_PRIVATE (engine, PLUMA_TYPE_PLUGINS_ENGINE, PlumaPluginsEnginePrivate); engine->priv->plugin_settings = g_settings_new (PLUMA_SCHEMA); - peas_engine_enable_loader (PEAS_ENGINE (engine), "python"); - /* This should be moved to libpeas */ if (!g_irepository_require (g_irepository_get_default (), "Peas", "1.0", 0, &error)) diff --git a/pluma/pluma-tab.c b/pluma/pluma-tab.c index 02024e89..8e0d4d47 100644 --- a/pluma/pluma-tab.c +++ b/pluma/pluma-tab.c @@ -1031,8 +1031,6 @@ document_loaded (PlumaDocument *document, { GtkWidget *w; - pluma_tab_get_view (tab); - tab->priv->not_editable = TRUE; w = pluma_file_already_open_warning_message_area_new (uri); |