diff --git a/.gitignore b/.gitignore index 5d70c70..1e7aad7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -**/*.pyc \ No newline at end of file +**/*.pyc +**/tags.* \ No newline at end of file diff --git a/gemgraph/__pycache__/__init__.cpython-310.pyc b/gemgraph/__pycache__/__init__.cpython-310.pyc index 49346e5..e656f64 100644 Binary files a/gemgraph/__pycache__/__init__.cpython-310.pyc and b/gemgraph/__pycache__/__init__.cpython-310.pyc differ diff --git a/gemgraph/__pycache__/main.cpython-310.pyc b/gemgraph/__pycache__/main.cpython-310.pyc index 3110da2..5eb8c56 100644 Binary files a/gemgraph/__pycache__/main.cpython-310.pyc and b/gemgraph/__pycache__/main.cpython-310.pyc differ diff --git a/gemgraph/__pycache__/window.cpython-310.pyc b/gemgraph/__pycache__/window.cpython-310.pyc index cac39f7..b020bc2 100644 Binary files a/gemgraph/__pycache__/window.cpython-310.pyc and b/gemgraph/__pycache__/window.cpython-310.pyc differ diff --git a/gemgraph/window.py b/gemgraph/window.py index 448044b..1abd0c8 100644 --- a/gemgraph/window.py +++ b/gemgraph/window.py @@ -35,9 +35,9 @@ class AboutDialog(Gtk.AboutDialog): def __init__(self, parent): Gtk.AboutDialog.__init__(self) self.props.program_name = 'GemGraph' - self.props.version = "0.1.0" - self.props.authors = ['Adrien Bourmault'] - self.props.copyright = '2022 Adrien Bourmault' - self.props.logo_icon_name = 'org.example.App' + self.props.version = "0.0.1" + self.props.authors = ['Adrien Bourmault', 'Jean Sirmai'] + self.props.copyright = 'Copyright © 2022 Libre en Communs' + self.props.logo_icon_name = 'application-x-executable' self.props.modal = True self.set_transient_for(parent) diff --git a/ui/gemgraph.cmb b/ui/gemgraph.cmb index 6890133..f32aa7b 100644 --- a/ui/gemgraph.cmb +++ b/ui/gemgraph.cmb @@ -2,7 +2,7 @@ - (1,1,"gem-graph.ui","gem-graph.ui",None,None,None,None,None,None) + (1,1,"gem-graph.ui","gemgraph.ui",None,None,None,None,None,None) (1,1,"GtkApplicationWindow","main",None,None,None,None,None), @@ -22,6 +22,8 @@ (1,3,"GtkMenuButton","direction","none",None,None,None,None,None), (1,6,"GtkButton","icon-name","sidebar-show-symbolic",None,None,None,None,None), (1,7,"GtkPaned","position","250",None,None,None,None,None), + (1,8,"GtkWidget","opacity","0.0",None,None,None,None,None), + (1,9,"GtkWidget","opacity","0.0",None,None,None,None,None), (1,10,"GtkMenuButton","always-show-arrow","True",None,None,None,None,None), (1,10,"GtkMenuButton","icon-name","document-edit-symbolic",None,None,None,None,None) diff --git a/ui/gemgraph.ui b/ui/gemgraph.ui index a056142..e889dba 100644 --- a/ui/gemgraph.ui +++ b/ui/gemgraph.ui @@ -8,24 +8,36 @@ 720 1080 application-x-executable - Gem-graph 0.0.1 + GemGraph 0.0.1 none + main_menu True + True + Change session mode document-edit-symbolic + mode_menu sidebar-show-symbolic + Display/hide sidebar + + + + + + + @@ -33,12 +45,52 @@ 250 - + + 0.0 + - + + 0.0 + + + +
+ + _Preferences + app.preferences + + + _Keyboard Shortcuts + win.show-help-overlay + + + _About GemGraph + app.about + +
+
+ +
+ + Switch session mode + + + _Edit + app.switch_to_edit + + + _Run + app.switch_to_run + + + _Presentation + app.switch_to_presentation + +
+