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
aa29546d
Commit
aa29546d
authored
Oct 15, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added reset button
parent
4fca6280
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
10 deletions
+27
-10
ru.po
po/ru.po
+11
-7
window.cmb
src/window.cmb
+5
-2
window.py
src/window.py
+4
-0
window.ui
src/window.ui
+7
-1
No files found.
po/ru.po
View file @
aa29546d
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: ru.eepm.PlayGUI\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-1
4 21:46
+0300\n"
"PO-Revision-Date: 2024-10-1
4 21:46
+0300\n"
"POT-Creation-Date: 2024-10-1
5 00:03
+0300\n"
"PO-Revision-Date: 2024-10-1
5 00:03
+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
...
...
@@ -52,19 +52,19 @@ msgid ""
msgstr ""
"Иногда помогает получить последнюю версию программы. (Не рекомендуется)"
#: window.py:1
29
#: window.py:1
33
msgid "Remove and install applications"
msgstr "Удалить и установить программы"
#: window.py:13
0
#: window.py:13
4
msgid "Install applications"
msgstr "Установить программы"
#: window.py:13
1
#: window.py:13
5
msgid "Remove applications"
msgstr "Удалить программы"
#: window.py:13
2
window.ui:117
#: window.py:13
6
window.ui:117
msgid "Update applications"
msgstr "Обновить программы"
...
...
@@ -96,7 +96,11 @@ msgstr "Изменённые"
msgid "Flag Selection dialog"
msgstr "Диалог выбора флагов"
#: window.ui:174
#: window.ui:144
msgid "Reset"
msgstr "Ресет"
#: window.ui:180
msgid "_About Eepm-play-gui"
msgstr "_О программе"
...
...
src/window.cmb
View file @
aa29546d
...
...
@@ -38,7 +38,8 @@
(1,29,"AdwClamp",None,28,None,None,None,0,None,None),
(1,30,"GtkListBox",None,29,None,None,None,0,None,None),
(1,31,"AdwButtonRow","apply_button",30,None,None,None,0,None,None),
(1,32,"GtkButton","flags_button",28,None,"end",None,1,None,None)
(1,32,"GtkButton","flags_button",28,None,"end",None,1,None,None),
(1,33,"GtkButton","reset_button",28,None,"start",None,2,None,None)
</object>
<object_property>
(1,1,"GtkWidget","height-request","294",0,None,None,None,None,None,None,None,None),
...
...
@@ -91,7 +92,9 @@
(1,29,"GtkWidget","margin-start","12",None,None,None,None,None,None,None,None,None),
(1,31,"AdwPreferencesRow","title","Update applications",1,None,None,None,None,None,None,None,None),
(1,32,"GtkButton","icon-name","emoji-flags-symbolic",None,None,None,None,None,None,None,None,None),
(1,32,"GtkWidget","tooltip-text","Flag Selection dialog",1,None,None,None,None,None,None,None,None)
(1,32,"GtkWidget","tooltip-text","Flag Selection dialog",1,None,None,None,None,None,None,None,None),
(1,33,"GtkButton","icon-name","view-refresh-symbolic",None,None,None,None,None,None,None,None,None),
(1,33,"GtkWidget","tooltip-text","Reset",1,None,None,None,None,None,None,None,None)
</object_property>
<object_data>
(1,14,"GtkStringList",1,1,None,None,None,None,None,None),
...
...
src/window.py
View file @
aa29546d
...
...
@@ -44,6 +44,8 @@ class EepmPlayGuiWindow(Adw.ApplicationWindow):
main_stack
=
Gtk
.
Template
.
Child
()
search_dropdown
=
Gtk
.
Template
.
Child
()
choice_listbox
=
Gtk
.
Template
.
Child
()
reset_button
=
Gtk
.
Template
.
Child
()
apply_button
=
Gtk
.
Template
.
Child
()
flags_button
=
Gtk
.
Template
.
Child
()
...
...
@@ -52,6 +54,8 @@ class EepmPlayGuiWindow(Adw.ApplicationWindow):
self
.
set_title
(
"EPM PLAY"
)
self
.
checkboxes
=
None
self
.
reset_button
.
connect
(
"clicked"
,
lambda
_
:
self
.
update_ui
())
self
.
apply_button
.
connect
(
"activated"
,
self
.
on_apply_clicked
)
self
.
flagsdialog
=
FlagsDialog
()
...
...
src/window.ui
View file @
aa29546d
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.92.
0
-->
<!-- Created with Cambalache 0.92.
1
-->
<interface
domain=
"eepm-play-gui"
>
<!-- interface-name window.ui -->
<requires
lib=
"gio"
version=
"2.0"
/>
...
...
@@ -138,6 +138,12 @@
<property
name=
"tooltip-text"
translatable=
"yes"
>
Flag Selection dialog
</property>
</object>
</child>
<child
type=
"start"
>
<object
class=
"GtkButton"
id=
"reset_button"
>
<property
name=
"icon-name"
>
view-refresh-symbolic
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Reset
</property>
</object>
</child>
</object>
</child>
</object>
...
...
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