[gedit-plugins] git: use an idle to update location when the filebrowser's inserted is emitted
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] git: use an idle to update location when the filebrowser's inserted is emitted
- Date: Tue, 7 Jan 2014 12:30:20 +0000 (UTC)
commit 651440b7869f27641bebcefa312fb0f818dd9c7d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jan 7 13:24:52 2014 +0100
git: use an idle to update location when the filebrowser's inserted is emitted
plugins/git/git/windowactivatable.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/git/windowactivatable.py b/plugins/git/git/windowactivatable.py
index 289de2b..3513165 100644
--- a/plugins/git/git/windowactivatable.py
+++ b/plugins/git/git/windowactivatable.py
@@ -157,7 +157,7 @@ class GitWindowActivatable(GObject.Object, Gedit.WindowActivatable):
self.files[msg.location.get_uri()] = msg.id
self.file_names[msg.location.get_uri()] = msg.name
- self.update_location(msg.location)
+ GLib.idle_add(self.update_location_idle, msg.location)
if msg.is_directory:
self.monitor_directory(msg.location)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]