[gedit-plugins] git: use Property instead of deprecated property



commit bd5a5945a9fe1ac6828f7fa303a7ab5892a2f839
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Mar 14 18:28:28 2015 +0100

    git: use Property instead of deprecated property

 plugins/git/git/appactivatable.py    |    2 +-
 plugins/git/git/viewactivatable.py   |    4 ++--
 plugins/git/git/windowactivatable.py |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/git/git/appactivatable.py b/plugins/git/git/appactivatable.py
index 86add41..17926f7 100644
--- a/plugins/git/git/appactivatable.py
+++ b/plugins/git/git/appactivatable.py
@@ -21,7 +21,7 @@ from gi.repository import GLib, GObject, Gio, Gedit, Ggit
 
 
 class GitAppActivatable(GObject.Object, Gedit.AppActivatable):
-    app = GObject.property(type=Gedit.App)
+    app = GObject.Property(type=Gedit.App)
 
     __instance = None
 
diff --git a/plugins/git/git/viewactivatable.py b/plugins/git/git/viewactivatable.py
index 122feda..d370053 100644
--- a/plugins/git/git/viewactivatable.py
+++ b/plugins/git/git/viewactivatable.py
@@ -35,9 +35,9 @@ class LineContext:
 
 
 class GitViewActivatable(GObject.Object, Gedit.ViewActivatable):
-    view = GObject.property(type=Gedit.View)
+    view = GObject.Property(type=Gedit.View)
 
-    status = GObject.property(type=Ggit.StatusFlags,
+    status = GObject.Property(type=Ggit.StatusFlags,
                               default=Ggit.StatusFlags.CURRENT)
 
     def __init__(self):
diff --git a/plugins/git/git/windowactivatable.py b/plugins/git/git/windowactivatable.py
index 7d23c37..676b61b 100644
--- a/plugins/git/git/windowactivatable.py
+++ b/plugins/git/git/windowactivatable.py
@@ -104,7 +104,7 @@ class GitStatusThread(WorkerThread):
 
 
 class GitWindowActivatable(GObject.Object, Gedit.WindowActivatable):
-    window = GObject.property(type=Gedit.Window)
+    window = GObject.Property(type=Gedit.Window)
 
     windows = weakref.WeakValueDictionary()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]