summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Monnerat <[email protected]>2019-05-27 15:56:31 +0200
committerraveit65 <[email protected]>2019-06-06 15:21:32 +0200
commitd76c3e37d1212eaa3cac2f293d539bddf9a250f9 (patch)
tree8146ccc128fd1e43585540ff458f8405534bdeec
parent6895034bba7626fb1dab792f56babaf022ca5913 (diff)
downloadpluma-d76c3e37d1212eaa3cac2f293d539bddf9a250f9.tar.bz2
pluma-d76c3e37d1212eaa3cac2f293d539bddf9a250f9.tar.xz
Switch to Python 3
-rw-r--r--configure.ac2
-rw-r--r--plugins/externaltools/externaltools.plugin.desktop.in2
-rw-r--r--plugins/pythonconsole/pythonconsole.plugin.desktop.in2
-rw-r--r--plugins/quickopen/quickopen.plugin.desktop.in2
-rw-r--r--plugins/snippets/snippets.plugin.desktop.in2
-rw-r--r--pluma/pluma-plugins-engine.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index ceb9a5cd..c381583e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,7 +189,7 @@ else
have_introspection=no
fi
-AM_PATH_PYTHON([2.7])
+AM_PATH_PYTHON([3.0])
dnl ================================================================
dnl GSettings related settings
diff --git a/plugins/externaltools/externaltools.plugin.desktop.in b/plugins/externaltools/externaltools.plugin.desktop.in
index b3261e77..b1a7f8ba 100644
--- a/plugins/externaltools/externaltools.plugin.desktop.in
+++ b/plugins/externaltools/externaltools.plugin.desktop.in
@@ -1,5 +1,5 @@
[Plugin]
-Loader=python
+Loader=python3
Module=externaltools
IAge=2
_Name=External Tools
diff --git a/plugins/pythonconsole/pythonconsole.plugin.desktop.in b/plugins/pythonconsole/pythonconsole.plugin.desktop.in
index 50d2a7a7..4ecbd304 100644
--- a/plugins/pythonconsole/pythonconsole.plugin.desktop.in
+++ b/plugins/pythonconsole/pythonconsole.plugin.desktop.in
@@ -1,5 +1,5 @@
[Plugin]
-Loader=python
+Loader=python3
Module=pythonconsole
IAge=2
_Name=Python Console
diff --git a/plugins/quickopen/quickopen.plugin.desktop.in b/plugins/quickopen/quickopen.plugin.desktop.in
index 891a0c3f..547e4309 100644
--- a/plugins/quickopen/quickopen.plugin.desktop.in
+++ b/plugins/quickopen/quickopen.plugin.desktop.in
@@ -1,5 +1,5 @@
[Plugin]
-Loader=python
+Loader=python3
Module=quickopen
IAge=2
_Name=Quick Open
diff --git a/plugins/snippets/snippets.plugin.desktop.in b/plugins/snippets/snippets.plugin.desktop.in
index ea960f3e..ba1ecbc5 100644
--- a/plugins/snippets/snippets.plugin.desktop.in
+++ b/plugins/snippets/snippets.plugin.desktop.in
@@ -1,5 +1,5 @@
[Plugin]
-Loader=python
+Loader=python3
Module=snippets
IAge=2
_Name=Snippets
diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c
index e765b0f2..c670e620 100644
--- a/pluma/pluma-plugins-engine.c
+++ b/pluma/pluma-plugins-engine.c
@@ -60,7 +60,7 @@ pluma_plugins_engine_init (PlumaPluginsEngine *engine)
pluma_debug (DEBUG_PLUGINS);
- peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
+ peas_engine_enable_loader (PEAS_ENGINE (engine), "python3");
engine->priv = G_TYPE_INSTANCE_GET_PRIVATE (engine,
PLUMA_TYPE_PLUGINS_ENGINE,