# HG changeset patch # User Goffi # Date 1423591681 -3600 # Node ID e9888db0eb0cda2c5feb26a8230d141050b18ab5 # Parent 3012c2f15dae1a5b165cc7e4fb40946c950a3631 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 diff -r 3012c2f15dae -r e9888db0eb0c frontends/src/quick_frontend/quick_widgets.py --- a/frontends/src/quick_frontend/quick_widgets.py Mon Feb 09 21:40:45 2015 +0100 +++ b/frontends/src/quick_frontend/quick_widgets.py Tue Feb 10 19:08:01 2015 +0100 @@ -195,7 +195,6 @@ 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: