Changed mode names

This commit is contained in:
Adrien Bourmault 2023-01-25 19:30:40 +01:00
parent 91026f87be
commit aa4395c1ae
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 7 additions and 7 deletions

View File

@ -91,7 +91,7 @@ void on_editmode_action(GSimpleAction *action,
g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self)); g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
ui_set_stack("edit"); ui_set_stack("edition");
} }
void on_runmode_action(GSimpleAction *action, 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("runmode");
ui_enable_action("editmode"); ui_enable_action("editmode");
ui_enable_action("presentmode"); ui_enable_action("presentmode");
ui_set_stack("edit"); ui_set_stack("run");
} }

View File

@ -90,11 +90,11 @@
</child> </child>
<child> <child>
<object class="GtkStackPage"> <object class="GtkStackPage">
<property name="name">edit</property> <property name="name">edition</property>
<property name="child"> <property name="child">
<object class="GtkLabel" id="labelsideedit"> <object class="GtkLabel" id="labelsideedit">
<property name="justify">center</property> <property name="justify">center</property>
<property name="label" translatable="yes">&lt;b&gt;Sidebar: edit mode&lt;/b&gt;</property> <property name="label" translatable="yes">&lt;b&gt;Sidebar: edition mode&lt;/b&gt;</property>
<property name="use-markup">True</property> <property name="use-markup">True</property>
</object> </object>
</property> </property>
@ -142,11 +142,11 @@
</child> </child>
<child> <child>
<object class="GtkStackPage"> <object class="GtkStackPage">
<property name="name">edit</property> <property name="name">edition</property>
<property name="child"> <property name="child">
<object class="GtkLabel"> <object class="GtkLabel">
<property name="halign">center</property> <property name="halign">center</property>
<property name="label" translatable="yes">&lt;b&gt;Main zone: edit mode&lt;/b&gt;</property> <property name="label" translatable="yes">&lt;b&gt;Main zone: edition mode&lt;/b&gt;</property>
<property name="use-markup">True</property> <property name="use-markup">True</property>
</object> </object>
</property> </property>
@ -197,7 +197,7 @@
<item> <item>
<attribute name="icon">document-edit-symbolic</attribute> <attribute name="icon">document-edit-symbolic</attribute>
<attribute name="label" translatable="yes">_Edit</attribute> <attribute name="label" translatable="yes">_Edition</attribute>
<attribute name="action">app.editmode</attribute> <attribute name="action">app.editmode</attribute>
<attribute name="use-icon">True</attribute> <attribute name="use-icon">True</attribute>
</item> </item>