aboutsummaryrefslogtreecommitdiffstats
path: root/lvc/ui/widgets.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-06-01 23:09:18 -0500
committerJesús <heckyel@hyperbola.info>2020-06-01 23:09:18 -0500
commitae25552ed9ffec782750b8bc08151bdb04650d5b (patch)
treecbb93ad53ccfd96dc64282ee9fadf951e7c66dd9 /lvc/ui/widgets.py
parent13e49c206dcddf02abaad7eca90dfc824052d573 (diff)
downloadlibrevideoconverter-ae25552ed9ffec782750b8bc08151bdb04650d5b.tar.lz
librevideoconverter-ae25552ed9ffec782750b8bc08151bdb04650d5b.tar.xz
librevideoconverter-ae25552ed9ffec782750b8bc08151bdb04650d5b.zip
pep8
Diffstat (limited to 'lvc/ui/widgets.py')
-rw-r--r--lvc/ui/widgets.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lvc/ui/widgets.py b/lvc/ui/widgets.py
index 66f34b3..c342cad 100644
--- a/lvc/ui/widgets.py
+++ b/lvc/ui/widgets.py
@@ -252,6 +252,7 @@ class FileDropTarget(widgetset.SolidBackground):
def choose_file(self, widget):
app.widgetapp.choose_file()
+
BUTTON_BACKGROUND = widgetutil.ThreeImageSurface('settings-base')
@@ -668,6 +669,7 @@ class CustomOptions(widgetset.Background):
self._change_setting('aspect-ratio', ratio)
self.force_height_to_aspect_ratio()
+
EMPTY_CONVERTER = ConverterInfo("")
@@ -1548,6 +1550,7 @@ class Application(lvc.Application):
elif setting == 'create-thumbnails':
self.conversion_manager.create_thumbnails = bool(value)
+
if __name__ == "__main__":
sys.dont_write_bytecode = True
app.widgetapp = Application()