label only selectable after we have the transfer code
This commit is contained in:
parent
b569a3e56e
commit
0c40acabe9
@ -30,7 +30,6 @@
|
|||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="label" translatable="yes">Drag a file to send</property>
|
<property name="label" translatable="yes">Drag a file to send</property>
|
||||||
<property name="selectable">True</property>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -144,6 +144,7 @@ class DropShip:
|
|||||||
|
|
||||||
line = await self.read_lines(process.stderr, "wormhole receive")
|
line = await self.read_lines(process.stderr, "wormhole receive")
|
||||||
code = line.split()[-1]
|
code = line.split()[-1]
|
||||||
|
self.drop_label.set_selectable(True)
|
||||||
self.drop_label.set_text(code)
|
self.drop_label.set_text(code)
|
||||||
|
|
||||||
self._pending.append(PendingTransfer(code))
|
self._pending.append(PendingTransfer(code))
|
||||||
|
Loading…
Reference in New Issue
Block a user