Ignorer les binaires

This commit is contained in:
Adrien Bourmault 2022-06-30 16:43:22 +02:00
parent b5f40e4767
commit 8f92aab835
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
7 changed files with 64 additions and 9 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
**/*.pyc
**/tags.*

View File

@ -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)

View File

@ -2,7 +2,7 @@
<!DOCTYPE cambalache-project SYSTEM "cambalache-project.dtd">
<cambalache-project version="0.10.2" target_tk="gtk-4.0">
<ui>
(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)
</ui>
<object>
(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)
</object_property>

View File

@ -8,24 +8,36 @@
<property name="default-height">720</property>
<property name="default-width">1080</property>
<property name="icon-name">application-x-executable</property>
<property name="title">Gem-graph 0.0.1</property>
<property name="title">GemGraph 0.0.1</property>
<child type="titlebar">
<object class="AdwHeaderBar" id="main_titlebar">
<child type="end">
<object class="GtkMenuButton" id="main_button_menu">
<property name="direction">none</property>
<property name="menu-model">main_menu</property>
</object>
</child>
<child type="start">
<object class="GtkMenuButton" id="main_button_mode">
<property name="always-show-arrow">True</property>
<property name="use-underline">True</property>
<property name="tooltip-text" translatable="yes">Change session mode</property>
<property name="icon-name">document-edit-symbolic</property>
<property name="menu-model">mode_menu</property>
</object>
</child>
<child>
<object class="GtkToggleButton" id="main_button_sidebar">
<property name="icon-name">sidebar-show-symbolic</property>
<property name="tooltip-text" translatable="yes">Display/hide sidebar</property>
</object>
<!-- <object class="GtkLabel" id="is_modified"> -->
<!-- <property name="halign">end</property> -->
<!-- <property name="hexpand">true</property> -->
<!-- <property name="label">•</property> -->
<!-- <property name="margin-end">6</property> -->
<!-- <property name="visible">true</property> -->
<!-- </object> -->
</child>
</object>
</child>
@ -33,12 +45,52 @@
<object class="GtkPaned" id="main_paned">
<property name="position">250</property>
<child>
<object class="GtkFrame" id="main_sideframe"/>
<object class="GtkFrame" id="main_sideframe">
<property name="opacity">0.0</property>
</object>
</child>
<child>
<object class="GtkFrame" id="main_frame"/>
<object class="GtkFrame" id="main_frame">
<property name="opacity">0.0</property>
</object>
</child>
</object>
</child>
</template>
<menu id="main_menu">
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About GemGraph</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
</menu>
<menu id="mode_menu">
<section>
<attribute name="label" translatable="yes">Switch session mode</attribute>
<item>
<attribute name="label" translatable="yes">_Edit</attribute>
<attribute name="action">app.switch_to_edit</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Run</attribute>
<attribute name="action">app.switch_to_run</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Presentation</attribute>
<attribute name="action">app.switch_to_presentation</attribute>
</item>
</section>
</menu>
</interface>