/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to preferences.py

  • Committer: Jelmer Vernooij
  • Date: 2007-04-30 20:10:40 UTC
  • Revision ID: jelmer@samba.org-20070430201040-blzs1t94fh0pyume
Sort plugins by name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        treeview.append_column(column)
174
174
        
175
175
        import bzrlib.plugin
176
 
        for name, plugin in bzrlib.plugin.all_plugins().items():
177
 
            model.append([name, getattr(plugin, '__file__', None)])
 
176
        plugins = bzrlib.plugin.all_plugins()
 
177
        plugin_names = plugins.keys()
 
178
        plugin_names.sort()
 
179
        for name in plugin_names:
 
180
            model.append([name, getattr(plugins[name], '__file__', None)])
178
181
                 
179
182
        vbox.pack_start(scrolledwindow, expand=True, fill=True)
180
183