diff --git a/old_python_code/window.py b/old_python_code/window.py index 6736a24..1b0be65 100644 --- a/old_python_code/window.py +++ b/old_python_code/window.py @@ -73,7 +73,7 @@ class AboutDialog(Gtk.AboutDialog): def __init__(self, parent): Gtk.AboutDialog.__init__(self) self.props.program_name = 'GemGraph' - self.props.version = "0.0.1" + self.props.version = "0.0.0" self.props.authors = ['Adrien Bourmault', 'Jean Sirmai'] self.props.copyright = 'Copyright © 2022 Libre en Communs' self.props.logo_icon_name = 'application-x-executable' diff --git a/src/application.c b/src/application.c index 77af316..18040ee 100644 --- a/src/application.c +++ b/src/application.c @@ -74,7 +74,9 @@ gem_graph_client_application_about_action (GSimpleAction *action, GVariant *parameter, gpointer user_data) { - static const char *authors[] = {"neox", NULL}; + static const char *authors[] = { "Adrien Bourmault ", + "Jean Sirmai ", + NULL}; GemGraphClientApplication *self = user_data; GtkWindow *window = NULL; @@ -83,11 +85,11 @@ gem_graph_client_application_about_action (GSimpleAction *action, window = gtk_application_get_active_window(GTK_APPLICATION (self)); gtk_show_about_dialog(window, - "program-name", "gem-graph-client", - "logo-icon-name", "org.alec.gemgraph", + "program-name", "Gem-graph", + "logo-icon-name", "application-x-executable", "authors", authors, "version", "0.1.0", - "copyright", "© 2023 neox", + "copyright", "Copyright © 2022 Libre en Communs", NULL); } diff --git a/src/window.c b/src/window.c index 5f03046..8d9578a 100644 --- a/src/window.c +++ b/src/window.c @@ -195,11 +195,15 @@ void on_activate(GtkApplication *app, gpointer user_data) struct _GemGraphClientWindow { - GtkApplicationWindow parent_instance; + GtkApplicationWindow parent_instance; - /* Template widgets */ - GtkHeaderBar *main_titlebar; - //GtkLabel *label; + /* Template widgets */ + GtkHeaderBar *main_titlebar; + GtkStack *main_stack; + GtkStack *side_stack; + GtkPaned *main_paned; + GtkMenuButton *main_button_mode; + GtkToggleButton *main_button_sidebar; }; G_DEFINE_FINAL_TYPE (GemGraphClientWindow, @@ -224,9 +228,21 @@ static void gem_graph_client_window_class_init(GemGraphClientWindowClass *klass) gtk_widget_class_bind_template_child(widget_class, GemGraphClientWindow, main_titlebar); - //gtk_widget_class_bind_template_child(widget_class, - // GemGraphClientWindow, - // label); + gtk_widget_class_bind_template_child(widget_class, + GemGraphClientWindow, + main_stack); + gtk_widget_class_bind_template_child(widget_class, + GemGraphClientWindow, + side_stack); + gtk_widget_class_bind_template_child(widget_class, + GemGraphClientWindow, + main_paned); + gtk_widget_class_bind_template_child(widget_class, + GemGraphClientWindow, + main_button_mode); + gtk_widget_class_bind_template_child(widget_class, + GemGraphClientWindow, + main_button_sidebar); } static void gem_graph_client_window_init(GemGraphClientWindow *self) diff --git a/ui/gemgraph.ui b/ui/gemgraph.ui index f8e9e47..2aeba62 100644 --- a/ui/gemgraph.ui +++ b/ui/gemgraph.ui @@ -8,7 +8,7 @@ 720 1080 application-x-executable - GemGraph 0.0.1 + GemGraph 0.1.0