[gnome-builder/gnome-builder-3-32] greeter: disable surfaces while opening project



commit 5838ce1e558476782af168276c33028edfc35b24
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jun 26 20:01:45 2019 -0700

    greeter: disable surfaces while opening project
    
    Fixes #936

 src/libide/greeter/ide-greeter-workspace.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/libide/greeter/ide-greeter-workspace.c b/src/libide/greeter/ide-greeter-workspace.c
index 0c8726161..a62db38d2 100644
--- a/src/libide/greeter/ide-greeter-workspace.c
+++ b/src/libide/greeter/ide-greeter-workspace.c
@@ -768,6 +768,8 @@ ide_greeter_workspace_begin (IdeGreeterWorkspace *self)
 {
   g_return_if_fail (IDE_IS_GREETER_WORKSPACE (self));
 
+  gtk_widget_set_sensitive (GTK_WIDGET (self->sections), FALSE);
+
   dzl_gtk_widget_action_set (GTK_WIDGET (self), "win", "open",
                              "enabled", FALSE,
                              NULL);
@@ -795,6 +797,8 @@ ide_greeter_workspace_end (IdeGreeterWorkspace *self)
   dzl_gtk_widget_action_set (GTK_WIDGET (self), "win", "surface",
                              "enabled", TRUE,
                              NULL);
+
+  gtk_widget_set_sensitive (GTK_WIDGET (self->sections), TRUE);
 }
 
 /**


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