diff --git a/data/hicolor/apps/scalable/gemgraph.png b/data/hicolor/apps/scalable/gemgraph.png
new file mode 100644
index 0000000..c13ac9a
Binary files /dev/null and b/data/hicolor/apps/scalable/gemgraph.png differ
diff --git a/data/hicolor/apps/scalable/gemgraph.svg b/data/hicolor/apps/scalable/gemgraph.svg
new file mode 100644
index 0000000..880be57
--- /dev/null
+++ b/data/hicolor/apps/scalable/gemgraph.svg
@@ -0,0 +1,365 @@
+
+
+
+
diff --git a/data/hicolor/apps/scalable/gemgraph_désaturé.png b/data/hicolor/apps/scalable/gemgraph_désaturé.png
new file mode 100644
index 0000000..02a0909
Binary files /dev/null and b/data/hicolor/apps/scalable/gemgraph_désaturé.png differ
diff --git a/data/hicolor/apps/scalable/gemgraph_désaturé.svg b/data/hicolor/apps/scalable/gemgraph_désaturé.svg
new file mode 100644
index 0000000..523b449
--- /dev/null
+++ b/data/hicolor/apps/scalable/gemgraph_désaturé.svg
@@ -0,0 +1,394 @@
+
+
+
+
diff --git a/src/ui/application.c b/src/ui/application.c
index a051d19..4dbb032 100644
--- a/src/ui/application.c
+++ b/src/ui/application.c
@@ -114,6 +114,7 @@ static void gem_graph_client_application_init(GemGraphClientApplication *self)
ui_disable_action("editmode");
ui_disable_action("runmode");
ui_disable_action("presentmode");
+ ui_disable_action("togglesidebar");
}
void ui_send_notification(const char *message)
diff --git a/src/ui/events.c b/src/ui/events.c
index f9f7838..ca79755 100644
--- a/src/ui/events.c
+++ b/src/ui/events.c
@@ -159,6 +159,7 @@ void on_closefile_action(GSimpleAction *action,
ui_disable_action("runmode");
ui_disable_action("editmode");
ui_disable_action("presentmode");
+ ui_disable_action("togglesidebar");
ui_set_stack("home");
}
@@ -307,5 +308,6 @@ void on_openfile_response_complete(GObject *source_object,
ui_enable_action("runmode");
ui_enable_action("editmode");
ui_enable_action("presentmode");
+ ui_enable_action("togglesidebar");
ui_set_stack("run");
}
diff --git a/src/ui/gemgraph.ui b/src/ui/gemgraph.ui
index e37fbb9..9956a3e 100644
--- a/src/ui/gemgraph.ui
+++ b/src/ui/gemgraph.ui
@@ -125,10 +125,8 @@
diff --git a/src/ui/window.c b/src/ui/window.c
index fef3a55..3ba7ba3 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -114,7 +114,6 @@ static void gem_graph_client_window_class_init(GemGraphClientWindowClass *klass)
static void gem_graph_client_window_init(GemGraphClientWindow *self)
{
gtk_widget_init_template(GTK_WIDGET(self));
-
window = self;
// Launch with sidebar off