Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tuneit
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
Ximper Linux
tuneit
Commits
8ca39c43
Commit
8ca39c43
authored
Jan 27, 2026
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widgets: fix initialization order, defer value loading
parent
d4392266
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
16 deletions
+1
-16
BooleanWidget.py
src/settings/setting/widgets/BooleanWidget.py
+0
-1
ChoiceWidget.py
src/settings/setting/widgets/ChoiceWidget.py
+0
-5
EntryWidget.py
src/settings/setting/widgets/EntryWidget.py
+0
-6
NumStepper.py
src/settings/setting/widgets/NumStepper.py
+1
-4
No files found.
src/settings/setting/widgets/BooleanWidget.py
View file @
8ca39c43
...
...
@@ -19,7 +19,6 @@ class BooleanWidget(BaseWidget):
control_box
.
append
(
self
.
switch
)
self
.
row
.
add_suffix
(
control_box
)
self
.
_update_initial_state
()
return
self
.
row
def
_update_initial_state
(
self
):
...
...
src/settings/setting/widgets/ChoiceWidget.py
View file @
8ca39c43
...
...
@@ -15,16 +15,11 @@ class ChoiceWidget(BaseWidget):
self
.
row
.
set_activatable_widget
(
self
.
dropdown
)
self
.
_rebuild_items
()
self
.
_update_dropdown_selection
()
control_box
=
Gtk
.
Box
(
spacing
=
6
,
orientation
=
Gtk
.
Orientation
.
HORIZONTAL
)
control_box
.
append
(
self
.
reset_revealer
)
control_box
.
append
(
self
.
dropdown
)
self
.
row
.
add_suffix
(
control_box
)
self
.
_update_reset_visibility
()
return
self
.
row
def
update_display
(
self
):
...
...
src/settings/setting/widgets/EntryWidget.py
View file @
8ca39c43
...
...
@@ -8,9 +8,6 @@ class EntryWidget(BaseWidget):
self
.
entry
=
Gtk
.
Entry
()
self
.
entry
.
set_halign
(
Gtk
.
Align
.
CENTER
)
self
.
entry
.
set_text
(
str
(
self
.
setting
.
_get_backend_value
()
or
""
))
self
.
entry
.
connect
(
"activate"
,
self
.
_on_text_changed
)
...
...
@@ -25,9 +22,6 @@ class EntryWidget(BaseWidget):
control_box
.
append
(
self
.
entry
)
self
.
row
.
add_suffix
(
control_box
)
self
.
_update_reset_visibility
()
return
self
.
row
def
update_display
(
self
):
...
...
src/settings/setting/widgets/NumStepper.py
View file @
8ca39c43
...
...
@@ -21,7 +21,7 @@ class NumStepper(BaseWidget):
lower
,
upper
,
step
,
digits
=
self
.
_get_range_values
(
map_data
)
adjustment
=
Gtk
.
Adjustment
(
value
=
self
.
setting
.
_get_backend_value
()
or
lower
,
value
=
lower
,
lower
=
lower
,
upper
=
upper
,
step_increment
=
step
,
...
...
@@ -42,9 +42,6 @@ class NumStepper(BaseWidget):
row
.
add_suffix
(
control_box
)
self
.
spin_handler_id
=
self
.
spin
.
connect
(
"value-changed"
,
self
.
_on_num_changed
)
self
.
_update_reset_visibility
()
return
self
.
row
def
update_display
(
self
):
...
...
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