Blame SOURCES/gedit-plugins-disable-python3.patch

4a062d
--- a/configure.ac
4a062d
+++ b/configure.ac
4a062d
@@ -126,7 +126,7 @@ AM_CONDITIONAL([ENABLE_ZEITGEIST], test
4a062d
 # ================================================================
4a062d
 if test "x$enable_python" = "xyes"
4a062d
 then
4a062d
-	AM_PATH_PYTHON(3)
4a062d
+	AM_PATH_PYTHON
4a062d
 	PLUGINS="$PLUGINS $PY_PLUGINS"
4a062d
 
4a062d
 	# ================================================================
4a062d
--- a/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in
4a062d
+++ b/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=bracketcompletion
7e665f
 IAge=3
7e665f
 _Name=Bracket Completion
4a062d
--- a/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in
4a062d
+++ b/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=bracketcompletion
7e665f
 IAge=3
7e665f
 _Name=Bracket Completion
4a062d
--- a/plugins/charmap/charmap.plugin.desktop.in
4a062d
+++ b/plugins/charmap/charmap.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=charmap
7e665f
 IAge=3
7e665f
 _Name=Character Map
4a062d
--- a/plugins/charmap/charmap.plugin.desktop.in.in
4a062d
+++ b/plugins/charmap/charmap.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=charmap
7e665f
 IAge=3
7e665f
 _Name=Character Map
4a062d
--- a/plugins/codecomment/codecomment.plugin.desktop.in
4a062d
+++ b/plugins/codecomment/codecomment.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=codecomment
7e665f
 IAge=3
4a062d
 _Name=Code Comment
4a062d
--- a/plugins/codecomment/codecomment.plugin.desktop.in.in
4a062d
+++ b/plugins/codecomment/codecomment.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=codecomment
7e665f
 IAge=3
4a062d
 _Name=Code Comment
4a062d
--- a/plugins/colorpicker/colorpicker.plugin.desktop.in
4a062d
+++ b/plugins/colorpicker/colorpicker.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=colorpicker
7e665f
 IAge=3
7e665f
 _Name=Color Picker
4a062d
--- a/plugins/colorpicker/colorpicker.plugin.desktop.in.in
4a062d
+++ b/plugins/colorpicker/colorpicker.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=colorpicker
7e665f
 IAge=3
7e665f
 _Name=Color Picker
4a062d
--- a/plugins/colorschemer/colorschemer.plugin.desktop.in
4a062d
+++ b/plugins/colorschemer/colorschemer.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=colorschemer
7e665f
 IAge=3
7e665f
 _Name=Color Scheme Editor
4a062d
--- a/plugins/colorschemer/colorschemer.plugin.desktop.in.in
4a062d
+++ b/plugins/colorschemer/colorschemer.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=colorschemer
7e665f
 IAge=3
7e665f
 _Name=Color Scheme Editor
4a062d
--- a/plugins/commander/commander.plugin.desktop.in
4a062d
+++ b/plugins/commander/commander.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=commander
7e665f
 IAge=3
7e665f
 _Name=Commander
4a062d
--- a/plugins/commander/commander.plugin.desktop.in.in
4a062d
+++ b/plugins/commander/commander.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=commander
7e665f
 IAge=3
7e665f
 _Name=Commander
4a062d
--- a/plugins/dashboard/dashboard.plugin.desktop.in
4a062d
+++ b/plugins/dashboard/dashboard.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=dashboard
7e665f
 IAge=3
7e665f
 _Name=Dashboard
4a062d
--- a/plugins/dashboard/dashboard.plugin.desktop.in.in
4a062d
+++ b/plugins/dashboard/dashboard.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=dashboard
7e665f
 IAge=3
7e665f
 _Name=Dashboard
4a062d
--- a/plugins/joinlines/joinlines.plugin.desktop.in
4a062d
+++ b/plugins/joinlines/joinlines.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=joinlines
7e665f
 IAge=3
7e665f
 _Name=Join/Split Lines
4a062d
--- a/plugins/joinlines/joinlines.plugin.desktop.in.in
4a062d
+++ b/plugins/joinlines/joinlines.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=joinlines
7e665f
 IAge=3
7e665f
 _Name=Join/Split Lines
4a062d
--- a/plugins/multiedit/multiedit.plugin.desktop.in
4a062d
+++ b/plugins/multiedit/multiedit.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=multiedit
7e665f
 IAge=3
7e665f
 _Name=Multi Edit
4a062d
--- a/plugins/multiedit/multiedit.plugin.desktop.in.in
4a062d
+++ b/plugins/multiedit/multiedit.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=multiedit
7e665f
 IAge=3
7e665f
 _Name=Multi Edit
4a062d
--- a/plugins/smartspaces/smartspaces.plugin.desktop.in
4a062d
+++ b/plugins/smartspaces/smartspaces.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=smartspaces
7e665f
 IAge=3
7e665f
 _Name=Smart Spaces
4a062d
--- a/plugins/smartspaces/smartspaces.plugin.desktop.in.in
4a062d
+++ b/plugins/smartspaces/smartspaces.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=smartspaces
7e665f
 IAge=3
7e665f
 _Name=Smart Spaces
4a062d
--- a/plugins/synctex/synctex.plugin.desktop.in
4a062d
+++ b/plugins/synctex/synctex.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=synctex
7e665f
 IAge=3
7e665f
 _Name=SyncTeX
4a062d
--- a/plugins/synctex/synctex.plugin.desktop.in.in
4a062d
+++ b/plugins/synctex/synctex.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=synctex
7e665f
 IAge=3
7e665f
 _Name=SyncTeX
4a062d
--- a/plugins/terminal/terminal.plugin.desktop.in
4a062d
+++ b/plugins/terminal/terminal.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=terminal
7e665f
 IAge=3
7e665f
 _Name=Embedded Terminal
4a062d
--- a/plugins/terminal/terminal.plugin.desktop.in.in
4a062d
+++ b/plugins/terminal/terminal.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=terminal
7e665f
 IAge=3
7e665f
 _Name=Embedded Terminal
4a062d
--- a/plugins/textsize/textsize.plugin.desktop.in
4a062d
+++ b/plugins/textsize/textsize.plugin.desktop.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=textsize
7e665f
 IAge=3
7e665f
 _Name=Text Size
4a062d
--- a/plugins/textsize/textsize.plugin.desktop.in.in
4a062d
+++ b/plugins/textsize/textsize.plugin.desktop.in.in
7e665f
@@ -1,5 +1,5 @@
7e665f
 [Plugin]
7e665f
-Loader=python3
7e665f
+Loader=python
7e665f
 Module=textsize
7e665f
 IAge=3
7e665f
 _Name=Text Size
4a062d
--- a/plugins/commander/commander/entry.py
4a062d
+++ b/plugins/commander/commander/entry.py
4a062d
@@ -89,7 +89,7 @@ class Entry(Gtk.Box):
4a062d
 
4a062d
     def _setup_keybindings(self):
4a062d
         css = Gtk.CssProvider()
4a062d
-        css.load_from_data(bytes("""
4a062d
+        css.load_from_data("""
4a062d
 @binding-set terminal-like-bindings {
4a062d
     unbind "<Control>A";
4a062d
 
4a062d
@@ -110,7 +110,7 @@ GtkEntry#gedit-commander-entry {
4a062d
     border: 0;
4a062d
 }
4a062d
 
4a062d
-""", 'utf-8'))
4a062d
+""")
4a062d
 
4a062d
         self._entry.get_style_context().add_provider(css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
4a062d
 
4a062d
--- a/plugins/commander/commander/info.py
4a062d
+++ b/plugins/commander/commander/info.py
4a062d
@@ -93,11 +93,11 @@ class Info(Gtk.Box):
4a062d
         self._sw.set_border_width(6)
4a062d
 
4a062d
         css = Gtk.CssProvider()
4a062d
-        css.load_from_data(bytes("""
4a062d
+        css.load_from_data("""
4a062d
 .trough {
4a062d
     background: transparent;
4a062d
 }
4a062d
-""", 'utf-8'))
4a062d
+""")
4a062d
 
4a062d
         self._sw.get_vscrollbar().get_style_context().add_provider(css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
4a062d
 
60bd5a
--- a/plugins/multiedit/multiedit/signals.py
60bd5a
+++ b/plugins/multiedit/multiedit/signals.py
60bd5a
@@ -19,7 +19,7 @@
60bd5a
 #  Foundation, Inc., 51 Franklin Street, Fifth Floor,
60bd5a
 #  Boston, MA 02110-1301, USA.
60bd5a
 
60bd5a
-class Signals:
60bd5a
+class Signals(object):
60bd5a
     def __init__(self):
60bd5a
         self._signals = {}
60bd5a
 
60bd5a
--- a/plugins/textsize/textsize/signals.py
60bd5a
+++ b/plugins/textsize/textsize/signals.py
60bd5a
@@ -19,7 +19,7 @@
60bd5a
 #  Foundation, Inc., 51 Franklin Street, Fifth Floor,
60bd5a
 #  Boston, MA 02110-1301, USA.
60bd5a
 
60bd5a
-class Signals:
60bd5a
+class Signals(object):
60bd5a
     def __init__(self):
60bd5a
         self._signals = {}
60bd5a