[gedit] Snippets: fix bug for showing the completion
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Snippets: fix bug for showing the completion
- Date: Fri, 1 Feb 2013 17:45:38 +0000 (UTC)
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]