mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-09-11 16:26:14 +03:00
Compare commits
2 Commits
a950e54cca
...
e170130e4a
Author | SHA1 | Date | |
---|---|---|---|
|
e170130e4a | ||
|
42ab924113 |
@ -112,7 +112,11 @@ class App(Gtk.Window):
|
||||
for option in FILL_OPTIONS:
|
||||
capitalized_option = option[0].upper() + option[1:]
|
||||
self.fill_option_combo.append_text(capitalized_option)
|
||||
self.fill_option_combo.set_active(0)
|
||||
if self.cf.fill_option in FILL_OPTIONS:
|
||||
active_fill_option_index = FILL_OPTIONS.index(self.cf.fill_option)
|
||||
self.fill_option_combo.set_active(active_fill_option_index)
|
||||
else:
|
||||
self.fill_option_combo.set_active(0)
|
||||
self.fill_option_combo.connect("changed", self.on_fill_option_changed)
|
||||
self.fill_option_combo.set_tooltip_text(self.txt.tip_fill)
|
||||
|
||||
|
@ -136,7 +136,7 @@ class Config:
|
||||
self.swww_transition_angle = 0
|
||||
if 0 > int(self.swww_transition_step) > 255:
|
||||
self.swww_transition_step = 90
|
||||
if 0 > int(self.swww_transition_duration):
|
||||
if 0 > float(self.swww_transition_duration):
|
||||
self.swww_transition_duration = 2
|
||||
if 0 > int(self.swww_transition_fps):
|
||||
self.swww_transition_fps = 60
|
||||
|
Loading…
Reference in New Issue
Block a user