11# main.py
22#
3- # Copyright 2025 Carbon751
3+ # Copyright 2025 CodeLeech
44#
55# This program is free software: you can redistribute it and/or modify
66# it under the terms of the GNU General Public License as published by
@@ -35,7 +35,6 @@ def __init__(self):
3535 flags = Gio .ApplicationFlags .DEFAULT_FLAGS )
3636 self .create_action ('quit' , lambda * _ : self .quit (), ['<primary>q' ])
3737 self .create_action ('about' , self .on_about_action )
38- self .create_action ('preferences' , self .on_preferences_action )
3938
4039 def do_activate (self ):
4140 """Called when the application is activated.
@@ -50,20 +49,14 @@ def do_activate(self):
5049
5150 def on_about_action (self , * args ):
5251 """Callback for the app.about action."""
53- about = Adw .AboutDialog (application_name = 'pytimer ' ,
52+ about = Adw .AboutDialog (application_name = 'PyTimer ' ,
5453 application_icon = 'code.leech.pytimer' ,
55- developer_name = 'Carbon751 ' ,
54+ developer_name = 'CodeLeech ' ,
5655 version = '0.1.0' ,
57- developers = ['Carbon751' ],
58- copyright = '© 2025 Carbon751' )
59- # Translators: Replace "translator-credits" with your name/username, and optionally an email or URL.
60- about .set_translator_credits (_ ('translator-credits' ))
56+ developers = ['CodeLeech https://github.com/code-leech' , 'GTK Devs https://gtk.org' ],
57+ copyright = '© 2025 CodeLeech' )
6158 about .present (self .props .active_window )
6259
63- def on_preferences_action (self , widget , _ ):
64- """Callback for the app.preferences action."""
65- print ('app.preferences action activated' )
66-
6760 def create_action (self , name , callback , shortcuts = None ):
6861 """Add an application action.
6962
0 commit comments