[gedit] Snippets: fix bug for showing the completion



commit 12d1b56ce59316acca56253ee44664b8d5b61197
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Fri Feb 1 18:42:10 2013 +0100

    Snippets: fix bug for showing the completion

 plugins/snippets/snippets/document.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/snippets/snippets/document.py b/plugins/snippets/snippets/document.py
index 971cf48..d3917b9 100644
--- a/plugins/snippets/snippets/document.py
+++ b/plugins/snippets/snippets/document.py
@@ -150,7 +150,7 @@ class Document(GObject.Object, Gedit.ViewActivatable, Signals):
                 else:
                         # Do the fancy completion dialog
                         self.provider.set_proposals(snippets)
-                        self.view.show_completion((self,))
+                        self.view.emit("show-completion")
 
                 return True
 



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