Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm-play-gui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roman Alifanov
eepm-play-gui
Commits
c024312b
Commit
c024312b
authored
Sep 30, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
down with unnecessary buttons!
parent
c10967cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
30 deletions
+3
-30
ru.po
po/ru.po
+2
-10
main.py
src/main.py
+0
-5
window.cmb
src/window.cmb
+1
-7
window.ui
src/window.ui
+0
-8
No files found.
po/ru.po
View file @
c024312b
msgid ""
msgstr ""
"Project-Id-Version: ru.eepm.PlayGUI\n"
"POT-Creation-Date: 2024-09-30 20:
28
+0300\n"
"PO-Revision-Date: 2024-09-30 20:
35
+0300\n"
"POT-Creation-Date: 2024-09-30 20:
54
+0300\n"
"PO-Revision-Date: 2024-09-30 20:
54
+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
...
...
@@ -49,13 +49,5 @@ msgid "Apply"
msgstr "Применить"
#: window.ui:120
msgid "_Preferences"
msgstr ""
#: window.ui:124
msgid "_Keyboard Shortcuts"
msgstr ""
#: window.ui:128
msgid "_About Eepm-play-gui"
msgstr "О программе"
src/main.py
View file @
c024312b
...
...
@@ -35,7 +35,6 @@ class EepmPlayGuiApplication(Adw.Application):
flags
=
Gio
.
ApplicationFlags
.
DEFAULT_FLAGS
)
self
.
create_action
(
'quit'
,
lambda
*
_
:
self
.
quit
(),
[
'<primary>q'
])
self
.
create_action
(
'about'
,
self
.
on_about_action
)
self
.
create_action
(
'preferences'
,
self
.
on_preferences_action
)
def
do_activate
(
self
):
"""Called when the application is activated.
...
...
@@ -59,10 +58,6 @@ class EepmPlayGuiApplication(Adw.Application):
copyright
=
'© 2024 Etersoft'
)
about
.
present
()
def
on_preferences_action
(
self
,
widget
,
_
):
"""Callback for the app.preferences action."""
print
(
'app.preferences action activated'
)
def
create_action
(
self
,
name
,
callback
,
shortcuts
=
None
):
"""Add an application action.
...
...
src/window.cmb
View file @
c024312b
...
...
@@ -28,9 +28,7 @@
(1,15,"GtkListBox",None,14,None,"center",None,0,None,None),
(1,17,"(menu)","primary_menu",None,None,None,None,1,None,None),
(1,18,"(section)",None,17,None,None,None,0,None,None),
(1,19,"(item)",None,18,None,None,None,0,None,None),
(1,20,"(item)",None,18,None,None,None,1,None,None),
(1,21,"(item)",None,18,None,None,None,2,None,None),
(1,21,"(item)",None,18,None,None,None,0,None,None),
(1,22,"AdwButtonRow","apply_button",15,None,None,None,0,None,None)
</object>
<object_property>
...
...
@@ -62,10 +60,6 @@
(1,14,"GtkWidget","margin-end","12",0,None,None,None,None,None,None,None,None),
(1,14,"GtkWidget","margin-start","12",0,None,None,None,None,None,None,None,None),
(1,14,"GtkWidget","margin-top","12",0,None,None,None,None,None,None,None,None),
(1,19,"(item)","action","app.preferences",0,None,None,None,None,None,None,None,None),
(1,19,"(item)","label","_Preferences",1,None,None,None,None,None,None,None,None),
(1,20,"(item)","action","win.show-help-overlay",0,None,None,None,None,None,None,None,None),
(1,20,"(item)","label","_Keyboard Shortcuts",1,None,None,None,None,None,None,None,None),
(1,21,"(item)","action","app.about",0,None,None,None,None,None,None,None,None),
(1,21,"(item)","label","_About Eepm-play-gui",1,None,None,None,None,None,None,None,None),
(1,22,"AdwPreferencesRow","title","Apply",1,None,None,None,None,None,None,None,None),
...
...
src/window.ui
View file @
c024312b
...
...
@@ -116,14 +116,6 @@
<menu
id=
"primary_menu"
>
<section>
<item>
<attribute
name=
"action"
>
app.preferences
</attribute>
<attribute
name=
"label"
translatable=
"yes"
>
_Preferences
</attribute>
</item>
<item>
<attribute
name=
"action"
>
win.show-help-overlay
</attribute>
<attribute
name=
"label"
translatable=
"yes"
>
_Keyboard Shortcuts
</attribute>
</item>
<item>
<attribute
name=
"action"
>
app.about
</attribute>
<attribute
name=
"label"
translatable=
"yes"
>
_About Eepm-play-gui
</attribute>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment