Ignorer les binaires
This commit is contained in:
parent
b5f40e4767
commit
8f92aab835
|
@ -1 +1,2 @@
|
||||||
**/*.pyc
|
**/*.pyc
|
||||||
|
**/tags.*
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -35,9 +35,9 @@ class AboutDialog(Gtk.AboutDialog):
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
Gtk.AboutDialog.__init__(self)
|
Gtk.AboutDialog.__init__(self)
|
||||||
self.props.program_name = 'GemGraph'
|
self.props.program_name = 'GemGraph'
|
||||||
self.props.version = "0.1.0"
|
self.props.version = "0.0.1"
|
||||||
self.props.authors = ['Adrien Bourmault']
|
self.props.authors = ['Adrien Bourmault', 'Jean Sirmai']
|
||||||
self.props.copyright = '2022 Adrien Bourmault'
|
self.props.copyright = 'Copyright © 2022 Libre en Communs'
|
||||||
self.props.logo_icon_name = 'org.example.App'
|
self.props.logo_icon_name = 'application-x-executable'
|
||||||
self.props.modal = True
|
self.props.modal = True
|
||||||
self.set_transient_for(parent)
|
self.set_transient_for(parent)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE cambalache-project SYSTEM "cambalache-project.dtd">
|
<!DOCTYPE cambalache-project SYSTEM "cambalache-project.dtd">
|
||||||
<cambalache-project version="0.10.2" target_tk="gtk-4.0">
|
<cambalache-project version="0.10.2" target_tk="gtk-4.0">
|
||||||
<ui>
|
<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>
|
</ui>
|
||||||
<object>
|
<object>
|
||||||
(1,1,"GtkApplicationWindow","main",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,3,"GtkMenuButton","direction","none",None,None,None,None,None),
|
||||||
(1,6,"GtkButton","icon-name","sidebar-show-symbolic",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,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","always-show-arrow","True",None,None,None,None,None),
|
||||||
(1,10,"GtkMenuButton","icon-name","document-edit-symbolic",None,None,None,None,None)
|
(1,10,"GtkMenuButton","icon-name","document-edit-symbolic",None,None,None,None,None)
|
||||||
</object_property>
|
</object_property>
|
||||||
|
|
|
@ -8,24 +8,36 @@
|
||||||
<property name="default-height">720</property>
|
<property name="default-height">720</property>
|
||||||
<property name="default-width">1080</property>
|
<property name="default-width">1080</property>
|
||||||
<property name="icon-name">application-x-executable</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">
|
<child type="titlebar">
|
||||||
<object class="AdwHeaderBar" id="main_titlebar">
|
<object class="AdwHeaderBar" id="main_titlebar">
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GtkMenuButton" id="main_button_menu">
|
<object class="GtkMenuButton" id="main_button_menu">
|
||||||
<property name="direction">none</property>
|
<property name="direction">none</property>
|
||||||
|
<property name="menu-model">main_menu</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="start">
|
<child type="start">
|
||||||
<object class="GtkMenuButton" id="main_button_mode">
|
<object class="GtkMenuButton" id="main_button_mode">
|
||||||
<property name="always-show-arrow">True</property>
|
<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="icon-name">document-edit-symbolic</property>
|
||||||
|
<property name="menu-model">mode_menu</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToggleButton" id="main_button_sidebar">
|
<object class="GtkToggleButton" id="main_button_sidebar">
|
||||||
<property name="icon-name">sidebar-show-symbolic</property>
|
<property name="icon-name">sidebar-show-symbolic</property>
|
||||||
|
<property name="tooltip-text" translatable="yes">Display/hide sidebar</property>
|
||||||
</object>
|
</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>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -33,12 +45,52 @@
|
||||||
<object class="GtkPaned" id="main_paned">
|
<object class="GtkPaned" id="main_paned">
|
||||||
<property name="position">250</property>
|
<property name="position">250</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkFrame" id="main_sideframe"/>
|
<object class="GtkFrame" id="main_sideframe">
|
||||||
|
<property name="opacity">0.0</property>
|
||||||
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkFrame" id="main_frame"/>
|
<object class="GtkFrame" id="main_frame">
|
||||||
|
<property name="opacity">0.0</property>
|
||||||
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</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>
|
</interface>
|
||||||
|
|
Loading…
Reference in New Issue