From aa4395c1ae23b2f0c7c8aa640f5ddc0c4bcad920 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 25 Jan 2023 19:30:40 +0100 Subject: [PATCH] Changed mode names --- src/ui/actions.c | 4 ++-- src/ui/gemgraph.ui | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ui/actions.c b/src/ui/actions.c index 0c3a844..e6fb1ee 100644 --- a/src/ui/actions.c +++ b/src/ui/actions.c @@ -91,7 +91,7 @@ void on_editmode_action(GSimpleAction *action, g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self)); - ui_set_stack("edit"); + ui_set_stack("edition"); } void on_runmode_action(GSimpleAction *action, @@ -232,5 +232,5 @@ void on_openfile_response_complete(GObject *source_object, ui_enable_action("runmode"); ui_enable_action("editmode"); ui_enable_action("presentmode"); - ui_set_stack("edit"); + ui_set_stack("run"); } diff --git a/src/ui/gemgraph.ui b/src/ui/gemgraph.ui index 4ba441d..fae1850 100644 --- a/src/ui/gemgraph.ui +++ b/src/ui/gemgraph.ui @@ -90,11 +90,11 @@ - edit + edition center - <b>Sidebar: edit mode</b> + <b>Sidebar: edition mode</b> True @@ -142,11 +142,11 @@ - edit + edition center - <b>Main zone: edit mode</b> + <b>Main zone: edition mode</b> True @@ -197,7 +197,7 @@ document-edit-symbolic - _Edit + _Edition app.editmode True