Mode changing via menu !
This commit is contained in:
parent
bf6db3fa34
commit
9c42fae1f2
|
@ -91,7 +91,7 @@ void on_editmode_action(GSimpleAction *action,
|
|||
|
||||
g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
|
||||
|
||||
g_application_quit(G_APPLICATION(self));
|
||||
uiWindowStackChange("edit");
|
||||
}
|
||||
|
||||
void on_runmode_action(GSimpleAction *action,
|
||||
|
@ -102,7 +102,7 @@ void on_runmode_action(GSimpleAction *action,
|
|||
|
||||
g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
|
||||
|
||||
g_application_quit(G_APPLICATION(self));
|
||||
uiWindowStackChange("run");
|
||||
}
|
||||
|
||||
void on_presentmode_action(GSimpleAction *action,
|
||||
|
@ -113,7 +113,7 @@ void on_presentmode_action(GSimpleAction *action,
|
|||
|
||||
g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
|
||||
|
||||
g_application_quit(G_APPLICATION(self));
|
||||
uiWindowStackChange("presentation");
|
||||
}
|
||||
|
||||
void on_openfile_action(GSimpleAction *action,
|
||||
|
|
Loading…
Reference in New Issue