[gnome-builder] prefs: don't allow switching to prefs in genesis



commit 09780756c83820a5a516bfc22e8c14e231c7325b
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 27 21:02:34 2016 -0700

    prefs: don't allow switching to prefs in genesis
    
    There currently isn't a way to switch back, so disable this for now.

 libide/ide-application-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-application-actions.c b/libide/ide-application-actions.c
index ae515d9..b6910da 100644
--- a/libide/ide-application-actions.c
+++ b/libide/ide-application-actions.c
@@ -58,7 +58,7 @@ ide_application_actions_preferences (GSimpleAction *action,
 
       name = ide_workbench_get_visible_perspective_name (IDE_WORKBENCH (window));
 
-      if (!ide_str_equal0 (name, "greeter"))
+      if (!ide_str_equal0 (name, "greeter") && !ide_str_equal0 (name, "genesis"))
         {
           ide_workbench_set_visible_perspective_name (IDE_WORKBENCH (window), "preferences");
           IDE_EXIT;


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