[gnome-builder] editor-properties: be able to show it after spellchecker use



commit 3ebe8cd36d744f9b637f96d4b1cfaf624edf35c1
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Wed Jul 26 19:45:45 2017 +0200

    editor-properties: be able to show it after spellchecker use
    
    This is a fix for when you trigger the spellchecker panel,
    then want to show the document properties.
    
    before this fix, it constantly show the spellchecker panel
    when asking for the document properties

 libide/editor/ide-editor-perspective.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/editor/ide-editor-perspective.c b/libide/editor/ide-editor-perspective.c
index 64247dc..ceb656c 100644
--- a/libide/editor/ide-editor-perspective.c
+++ b/libide/editor/ide-editor-perspective.c
@@ -782,5 +782,6 @@ _ide_editor_perspective_show_properties (IdeEditorPerspective *self,
 
   ide_editor_properties_set_view (self->properties, view);
   ide_layout_transient_sidebar_set_view (sidebar, (IdeLayoutView *)view);
+  ide_layout_transient_sidebar_set_panel (sidebar, GTK_WIDGET (self->properties));
   g_object_set (self, "right-visible", view != NULL, NULL);
 }


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