Preferences: It doesn't save some settings

Bug #846956 reported by Juan Simón
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity Mail
Fix Released
High
Dmitry Shachnev

Bug Description

I activate, in Preferences window, the "show icon in notifications" setting, I press Apply and Cancel (to close the window).
But when I open Preferences window again, the "show icon in notifications" setting is disabled.
---
Architecture: amd64
DistroRelease: Ubuntu 11.04
NonfreeKernelModules: nvidia
Package: unity-mail 0.8.4.2
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.0.0-11.17-core2 3.0.4-ck1
Tags: natty running-unity
Uname: Linux 3.0.0-11-core2 x86_64
UnreportableReason: Este no es un paquete oficial de Ubuntu
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom fuse lp lpadmin netdev nopasswdlogin plugdev sambashare vboxusers video

Revision history for this message
Juan Simón (simonbcn) wrote : Dependencies.txt

apport information

tags: added: apport-collected natty running-unity
description: updated
Revision history for this message
Juan Simón (simonbcn) wrote : ProcEnviron.txt

apport information

Revision history for this message
Juan Simón (simonbcn) wrote : Re: Preferences: It doesn't save "show icon in notifications"

When I execute it in console:
$ um-config
Traceback (most recent call last):
  File "/usr/bin/unity-mail", line 237, in response
    self.save_all_settings()
  File "/usr/bin/unity-mail", line 258, in save_all_settings
    config.set_value('General', 'NotificationsHaveIcons', True)
  File "/usr/bin/unity-mail", line 350, in set_value
    self.parser.set(section, item, value)
  File "/usr/lib/python2.7/ConfigParser.py", line 388, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'General'

Revision history for this message
Juan Simón (simonbcn) wrote :

It's worst: it doesn't save the URLs tab.

summary: - Preferences: It doesn't save "show icon in notifications"
+ Preferences: It doesn't save some settings
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Commited the fix!

Changed in unity-mail:
status: New → Fix Committed
assignee: nobody → Dmitry Shachnev (mitya57)
importance: Undecided → High
Revision history for this message
Juan Simón (simonbcn) wrote :

Thanks, how fast!! ;-)
I'll test when it updates.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This bug was fixed in the package unity-mail - 0.8.5

---------------
unity-mail (0.8.5) oneiric; urgency=low

  * New release
    - ConfigFile: create non-existent sections (LP: #846956)
    - Greatly simplify init_config procedures
    - Add ability to change Messaging Menu icon color (LP: #846968)
  * Update translations template

 -- Dmitry Shachnev <email address hidden> Sun, 11 Sep 2011 17:38:13 +0400

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