quick frontends (quick widgets): doesn't force anymore "on_new_widget" to None for on_existing_widget=C.WIDGET_RECREATE: the original behaviour for on_new_widget need to be kept

This commit is contained in:
Goffi 2015-02-10 19:08:01 +01:00
commit 1b684d2dba

View file

@ -195,7 +195,6 @@ class QuickWidgetsManager(object):
raise ValueError("force_hash option can't be used with on_existing_widget=RECREATE")
# XXX: keep up-to-date if new special kwargs are added (i.e.: delete these keys here)
new_kwargs['on_new_widget'] = None
new_kwargs['on_existing_widget'] = C.WIDGET_RAISE
hash_idx = 1
while True: