[gedit-plugins] dashboard: use SignalFlags.RUN_FIRST instead of deprecated SIGNAL_RUN_FIRST



commit 653291bfdc6d38333e61813ebcabb3a7caebb633
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Mar 14 18:45:33 2015 +0100

    dashboard: use SignalFlags.RUN_FIRST instead of deprecated SIGNAL_RUN_FIRST

 plugins/dashboard/dashboard/dashboard.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/plugins/dashboard/dashboard/dashboard.py b/plugins/dashboard/dashboard/dashboard.py
index f9a37fa..47cdae6 100644
--- a/plugins/dashboard/dashboard/dashboard.py
+++ b/plugins/dashboard/dashboard/dashboard.py
@@ -139,15 +139,15 @@ class DashView(Gtk.Box):
 class SearchEntry(Gtk.Entry):
 
     __gsignals__ = {
-        "clear": (GObject.SIGNAL_RUN_FIRST,
+        "clear": (GObject.SignalFlags.RUN_FIRST,
+                  GObject.TYPE_NONE,
+                  ()),
+        "search": (GObject.SignalFlags.RUN_FIRST,
                    GObject.TYPE_NONE,
-                   ()),
-        "search": (GObject.SIGNAL_RUN_FIRST,
-                    GObject.TYPE_NONE,
-                    (GObject.TYPE_STRING,)),
-        "close": (GObject.SIGNAL_RUN_FIRST,
-                   GObject.TYPE_NONE,
-                   ()),
+                   (GObject.TYPE_STRING,)),
+        "close": (GObject.SignalFlags.RUN_FIRST,
+                  GObject.TYPE_NONE,
+                  ()),
     }
 
     search_timeout = 0


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