[gedit-plugins] dashboard: use SignalFlags.RUN_FIRST instead of deprecated SIGNAL_RUN_FIRST
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] dashboard: use SignalFlags.RUN_FIRST instead of deprecated SIGNAL_RUN_FIRST
- Date: Sat, 14 Mar 2015 17:46:05 +0000 (UTC)
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]