From 8f92aab835b9e25ea5e10069c04075f786a4da03 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 30 Jun 2022 16:43:22 +0200 Subject: [PATCH] Ignorer les binaires --- .gitignore | 3 +- gemgraph/__pycache__/__init__.cpython-310.pyc | Bin 159 -> 176 bytes gemgraph/__pycache__/main.cpython-310.pyc | Bin 2604 -> 2621 bytes gemgraph/__pycache__/window.cpython-310.pyc | Bin 1190 -> 1247 bytes gemgraph/window.py | 8 +-- ui/gemgraph.cmb | 4 +- ui/gemgraph.ui | 58 +++++++++++++++++- 7 files changed, 64 insertions(+), 9 deletions(-) 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 49346e58a923b97d999d9572730854e53ea70884..e656f64dd5169689e503655a3946486632ace647 100644 GIT binary patch delta 80 zcmbQwxPg&7pO=@50SL?r_fF)tu?*JF$j?pH&r8j(&<`le&q^&R*7wOwDoWK&&C_+x a&&@5(E7o^U&DBjWN-W4guoNcd8vp>!HyRlL delta 63 zcmdnMIG>R_pO=@50SIEAZJo$%qv52Vk)NBYpO>0np&w9`pOsottnZ$htD9bwSdgKg L4rA#~Y%l--St=Bq diff --git a/gemgraph/__pycache__/main.cpython-310.pyc b/gemgraph/__pycache__/main.cpython-310.pyc index 3110da20ca19ebafa7e8e2eafa98a931252555a9..5eb8c561565c32890fdbe87c2ed7c34ef51ad8c6 100644 GIT binary patch delta 83 zcmZ1@vR8yVpO=@50SIQ!-@B1}HQhAZfc&c dbAE1aXqRBnEn0YQE*JMGKa{%NSK@b1{ 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 + +
+