[gtksourceview/wip/compact-completion: 3/6] Completion: add a comment



commit 0424169a7b1956e16a3b40d9c85b1001bb208dbb
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Apr 28 19:34:25 2013 +0200

    Completion: add a comment

 gtksourceview/gtksourcecompletion.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index c1b6ee0..bc079bd 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -1414,6 +1414,10 @@ populating_done (GtkSourceCompletion        *completion,
 
        if (!check_first_selected (completion))
        {
+               /* Update the window position only if the first proposal is not
+                * selected, because if it is selected, the window position will
+                * already be updated.
+                */
                update_window_position (completion);
        }
 }


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