Todo : Can't show the preferences

Bug #329879 reported by Julien Lavergne
2
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Undecided
Matt

Bug Description

Right click on the applet > Preferences don't show the pref dialog but this error :
Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/to-do/to-do.py", line 270, in show_prefs
    prefs.Prefs(self.settings)
  File "/usr/share/avant-window-navigator/applets/to-do/prefs.py", line 85, in __init__
    title_entry.set_text(self.settings['title'])
TypeError: GtkEntry.set_text() argument 1 must be string, not None

Extras 0.3.2

Tags: applet to-do
Matt (mjz)
Changed in awn-extras:
assignee: nobody → sharkbaitbobby
Revision history for this message
Matt (mjz) wrote :

Thanks for your bug report.
This should be fixed in r1109, though I'm not sure because I could never reproduce this.

Changed in awn-extras:
status: New → In Progress
Revision history for this message
Julien Lavergne (gilir) wrote :

The patch apply only without the _ for gettext.
But with it, I have still the problem with this traceback :
Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/to-do/to-do.py", line 273, in show_prefs
    prefs.Prefs(self.settings)
  File "/usr/share/avant-window-navigator/applets/to-do/prefs.py", line 147, in __init__
    priority_low_background = self.color2('low')
  File "/usr/share/avant-window-navigator/applets/to-do/prefs.py", line 340, in color2
    color = gtk.gdk.color_parse(self.settings[key])
TypeError: color_parse() argument 1 must be string, not None

It's seems that I again forgot the schemas in my package, the setting is not detected.

Revision history for this message
Matt (mjz) wrote :

To-do now sets the defaults if they weren't as of r1122.

Changed in awn-extras:
status: In Progress → Fix Committed
Mark Lee (malept)
Changed in awn-extras:
milestone: none → 0.3.2.1
Mark Lee (malept)
Changed in awn-extras:
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.