~dockbar-main/dockbar/dockbarx

« back to all changes in this revision

Viewing changes to dockx_applets/volume-control.py

  • Committer: Matias Särs
  • Date: 2012-10-23 12:10:44 UTC
  • Revision ID: m7s@bastu.net-20121023121044-dthc2z61dtdmptwo
- Added volume-control applet to setup.py so it gets installed.
- Fixed a bug that stopped volume-control from starting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
        self.themes = [system_theme_name] + sorted(themes) + sorted(os.listdir(moonbeam_theme_dir))
388
388
        
389
389
        if self.applet.get_setting("theme") not in self.themes:
390
 
            self.applet.set_setting("theme", system_theme_name)
 
390
            # Todo: check if there is a problem with using str() here.
 
391
            self.applet.set_setting("theme", str(system_theme_name))
391
392
        combobox_theme = prefs.get_object("combobox-theme")
392
393
        add_cell_renderer_text(combobox_theme)
393
394
        for i in self.themes: