Don't disable the clipboard icons when they are still incomplete.
This commit is contained in:
parent
bf1aea368f
commit
6cb7c774dd
1
NEWS
1
NEWS
@ -1,3 +1,4 @@
|
|||||||
|
* Don't disable the clipboard icons when they are still incomplete. (tomeu)
|
||||||
* #3053: Fix the distance between the clustered xos and the activity. (marco)
|
* #3053: Fix the distance between the clustered xos and the activity. (marco)
|
||||||
* Make the sizes of mesh icons match Eben spec. (marco)
|
* Make the sizes of mesh icons match Eben spec. (marco)
|
||||||
* #3364: When joining an activity, pick up its sharing scope, so we don't
|
* #3364: When joining an activity, pick up its sharing scope, so we don't
|
||||||
|
@ -49,8 +49,6 @@ class ClipboardIcon(RadioToolButton):
|
|||||||
self.set_icon_widget(self._icon)
|
self.set_icon_widget(self._icon)
|
||||||
self._icon.show()
|
self._icon.show()
|
||||||
|
|
||||||
self.props.sensitive = False
|
|
||||||
|
|
||||||
cb_service = clipboardservice.get_instance()
|
cb_service = clipboardservice.get_instance()
|
||||||
cb_service.connect('object-state-changed', self._object_state_changed_cb)
|
cb_service.connect('object-state-changed', self._object_state_changed_cb)
|
||||||
obj = cb_service.get_object(self._object_id)
|
obj = cb_service.get_object(self._object_id)
|
||||||
@ -132,8 +130,6 @@ class ClipboardIcon(RadioToolButton):
|
|||||||
self.palette.set_state(name, percent, preview, activity,
|
self.palette.set_state(name, percent, preview, activity,
|
||||||
self._is_bundle(obj['FORMATS']))
|
self._is_bundle(obj['FORMATS']))
|
||||||
|
|
||||||
self.props.sensitive = (percent == 100)
|
|
||||||
|
|
||||||
if self.props.active:
|
if self.props.active:
|
||||||
self._put_in_clipboard()
|
self._put_in_clipboard()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user