changeset 1321:e9888db0eb0c frontends_multi_profiles

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
author Goffi <goffi@goffi.org>
date Tue, 10 Feb 2015 19:08:01 +0100
parents 3012c2f15dae
children 1f13a837e4b2 7c2289090b9b
files frontends/src/quick_frontend/quick_widgets.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: