dockbarx doesn't save pinned applications
Bug #602960 reported by
Tom Klaver
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DockbarX |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Pinned applications do not reappear when closing/starting dockbarx.
The following error shows up when i click 'Pin application':
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
launchers)
TypeError: value should be a string
DockBarX 0.39.4, gconf 2.28.1
Changed in dockbar: | |
status: | In Progress → Fix Committed |
Changed in dockbar: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Apparently identifier is unicode on my machine and therefore it's not saving a list of strings.
Quick fix: replaced launchers_ list(self) :
launchers_ list = self.groups. get_launchers_ list()
gconf_ launchers = []
identifier = ''
gconf_ launchers. append( identifier. encode( 'utf-8' ) + ';' + path) .append( identifier + ';' + path)
self.globals. set_launchers_ list(gconf_ launchers)
def update_
# Saves launchers_list to gconf.
for identifier, path in launchers_list:
if identifier == None:
#old: gconf_launchers
in dockbar.py @ line 1079