[gnome-builder] editor-controls: show goto-line immediately



commit 3b79ce778767d82e0a9d7b9d7a5a0ddbe40232aa
Author: Christian Hergert <chergert redhat com>
Date:   Wed Nov 2 18:36:21 2016 -0700

    editor-controls: show goto-line immediately
    
    We don't need to wait for the animation when showing the goto-line
    popover. Just make it show up immediately. GtkMenuButton can deal with
    us calling show on the popover immediately.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757885

 libide/editor/ide-editor-layout-stack-addin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/editor/ide-editor-layout-stack-addin.c b/libide/editor/ide-editor-layout-stack-addin.c
index e46dc11..3ea19f3 100644
--- a/libide/editor/ide-editor-layout-stack-addin.c
+++ b/libide/editor/ide-editor-layout-stack-addin.c
@@ -58,7 +58,7 @@ goto_line_activate (GSimpleAction *action,
 
   g_assert (IDE_IS_EDITOR_LAYOUT_STACK_ADDIN (self));
 
-  gtk_widget_activate (GTK_WIDGET (self->controls->goto_line_button));
+  gtk_widget_show (GTK_WIDGET (self->controls->goto_line_popover));
 }
 
 static void


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