Mercurial > libervia-desktop-kivy
comparison src/profile_manager.kv @ 5:33b619506832
profile manger: launch plug process when "Connect" button is pressed (full plugging is not working yet)
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Jul 2016 09:39:21 +0200 |
parents | 440a743b58ee |
children |
comparison
equal
deleted
inserted
replaced
4:440a743b58ee | 5:33b619506832 |
---|---|
152 | 152 |
153 | 153 |
154 <ConnectButton>: | 154 <ConnectButton>: |
155 text: "Connect" | 155 text: "Connect" |
156 size_hint: 1, 0.1 | 156 size_hint: 1, 0.1 |
157 disabled: not self.ps.list_adapter.selection | 157 disabled: not self.profile_screen.list_adapter.selection |
158 on_press: self.pm._onConnectProfiles() | |
158 | 159 |
159 | 160 |
160 <ProfileItem>: | 161 <ProfileItem>: |
161 background_normal: "button_selected.png" if self.is_selected else "button.png" | 162 background_normal: "button_selected.png" if self.is_selected else "button.png" |
162 deselected_color: 1,1,1,1 | 163 deselected_color: 1,1,1,1 |