App title, removed preferences button

This commit is contained in:
Daniele Verducci 2024-05-01 10:58:21 +02:00
parent 933e4b9efc
commit 0734153bcf
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Name=lumos Name=Lumos
Exec=lumos Exec=lumos
Icon=eu.ichibi.Lumos Icon=eu.ichibi.Lumos
Terminal=false Terminal=false

View File

@ -62,7 +62,7 @@ class LumosApplication(Adw.Application):
def on_about_action(self, widget, _): def on_about_action(self, widget, _):
"""Callback for the app.about action.""" """Callback for the app.about action."""
about = Adw.AboutWindow(transient_for=self.props.active_window, about = Adw.AboutWindow(transient_for=self.props.active_window,
application_name='lumos', application_name='Lumos',
application_icon='eu.ichibi.Lumos', application_icon='eu.ichibi.Lumos',
developer_name='Daniele Verducci', developer_name='Daniele Verducci',
version='0.1.0', version='0.1.0',

View File

@ -138,10 +138,12 @@
</template> </template>
<menu id="primary_menu"> <menu id="primary_menu">
<section> <section>
<!--
<item> <item>
<attribute name="label" translatable="yes">_Preferences</attribute> <attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute> <attribute name="action">app.preferences</attribute>
</item> </item>
-->
<item> <item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute> <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute> <attribute name="action">win.show-help-overlay</attribute>