Resetting the settings doesn't work correctly

Bug #950293 reported by Alin Andrei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unsettings
Fix Released
High
Florian Diesch

Bug Description

Resetting the settings doesn't work correctly in Ubuntu 12.04:

- even though I didn't change the theme, clicking the "Set settings to default values" button changes the window titlebar theme to Adwaita (but I was using Ambiance). This happens even without saving the changes. The weird part is that Ambiance is displayed as being used in Unsettings or GNOME Tweak Tool, yet the window titlebar is Adwaita and not Ambiance. To get back to Ambiance, I must select a different window theme and then select Ambiance again.
- the window titlebar font is set to Cantrell, even though I was using the Ubuntu font (bold, 11) for this
- some settings aren't restored: I've disabled Global Menu and Overlay scrollbars and clicking "Set settings to default values" doesn't reset them. There might be other settings that aren't resetted too...

Here's the output I get when selecting to set settings to their default values:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unsettings/main.py", line 217, in on_ac_set_defaults_activate
    self.connections.set_defaults()
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 93, in set_defaults
    conn.set_default()
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 64, in set_default
    self.data_store.set_default(self.data_key)
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 101, in set_default
    self.backends[scheme].set_default(name)
TypeError: set_default() takes exactly 1 argument (2 given)

Tested in Ubuntu 12.04.

description: updated
description: updated
description: updated
description: updated
Revision history for this message
Florian Diesch (diesch) wrote :

Thanks. Will be fixed it v0.05.

Changed in unsettings:
status: New → Fix Committed
assignee: nobody → Florian Diesch (diesch)
importance: Undecided → High
Revision history for this message
Florian Diesch (diesch) wrote :

Fixed in v0.05

Changed in unsettings:
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.