preference dialog fails to change select action options

Bug #591511 reported by eoe42
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DockbarX
Fix Released
Undecided
Unassigned

Bug Description

When attempting to change the "one window open" and "multiple windows open" options in the group button tab of the preference dialog, the selected option will appear in the pulldown menu but the actual function won't change. If the preference dialog is closed and re-opened, the original option will then be in the pulldown menu as if nothing happened. Running dbx_preference.py in a terminal gives:

Traceback (most recent call last):
  File "/usr/bin/dbx_preference.py", line 945, in cb_changed
    GCONF_CLIENT.set_string(GCONF_DIR+'/'+setting_name, smd[value])
UnboundLocalError: local variable 'setting_name' referenced before assignment

when a change is attempted.

I've attached a patch which replaces setting_name with the appropriate string literals.

Revision history for this message
eoe42 (ncybulski) wrote :
Revision history for this message
Matias Särs (msevens) wrote :

Thanks for the report and the patch. I'm bad at cleaning up my copy-pastes it seems.

Revision history for this message
Matias Särs (msevens) wrote :

I implemented your patch. Thanks.

Changed in dockbar:
status: New → Fix Committed
Matias Särs (msevens)
Changed in dockbar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.