Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_file_sharing.py @ 254:0700293df0e6
file sharing: start in MODE_VIEW
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Jan 2019 20:24:48 +0100 |
parents | 7918a5668304 |
children | 1b835bcfa663 |
comparison
equal
deleted
inserted
replaced
253:112ba3295f8f | 254:0700293df0e6 |
---|---|
149 | 149 |
150 class FileSharing(quick_widgets.QuickWidget, cagou_widget.CagouWidget, FilterBehavior, | 150 class FileSharing(quick_widgets.QuickWidget, cagou_widget.CagouWidget, FilterBehavior, |
151 TouchMenuBehaviour): | 151 TouchMenuBehaviour): |
152 SINGLE=False | 152 SINGLE=False |
153 layout = properties.ObjectProperty() | 153 layout = properties.ObjectProperty() |
154 mode = properties.OptionProperty(MODE_LOCAL, options=[MODE_VIEW, MODE_LOCAL]) | 154 mode = properties.OptionProperty(MODE_VIEW, options=[MODE_VIEW, MODE_LOCAL]) |
155 local_dir = properties.StringProperty(expanduser(u'~')) | 155 local_dir = properties.StringProperty(expanduser(u'~')) |
156 remote_dir = properties.StringProperty(u'') | 156 remote_dir = properties.StringProperty(u'') |
157 remote_entity = properties.StringProperty(u'') | 157 remote_entity = properties.StringProperty(u'') |
158 shared_paths = properties.ListProperty() | 158 shared_paths = properties.ListProperty() |
159 signals_registered = False | 159 signals_registered = False |