[Pkg-bazaar-commits] ./bzr-gtk/unstable r292: Merge my preferences fixes.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:49:30 UTC 2009


------------------------------------------------------------
revno: 292
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2007-10-02 23:48:19 +0200
message:
  Merge my preferences fixes.
modified:
  NEWS
  preferences.py
    ------------------------------------------------------------
    revno: 291.1.1
    committer: Jelmer Vernooij <jelmer at samba.org>
    branch nick: jelmer
    timestamp: Tue 2007-10-02 19:23:52 +0200
    message:
      Avoid deprecation warning for all_plugins() in gpreferences.
    modified:
      NEWS
      preferences.py
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2007-10-02 04:59:13 +0000
+++ b/NEWS	2007-10-02 17:23:52 +0000
@@ -29,6 +29,8 @@
 
   * Add check command to setup.py. (Jelmer)
 
+  * Avoid deprecation warning for all_plugins() in gpreferences. (Jelmer)
+
 0.91.0	2007-09-24
 
  UI

=== modified file 'preferences.py'
--- a/preferences.py	2007-07-19 13:09:18 +0000
+++ b/preferences.py	2007-10-02 17:23:52 +0000
@@ -119,7 +119,7 @@
         table.set_col_spacings(6)
 
         def row_selected(tv, path, tvc):
-            p = bzrlib.plugin.all_plugins()[model[path][0]]
+            p = bzrlib.plugin.plugins()[model[path][0]]
             from inspect import getdoc
 
             for w in table.get_children():
@@ -184,7 +184,7 @@
         treeview.append_column(column)
         
         import bzrlib.plugin
-        plugins = bzrlib.plugin.all_plugins()
+        plugins = bzrlib.plugin.plugins()
         plugin_names = plugins.keys()
         plugin_names.sort()
         for name in plugin_names:



More information about the Pkg-bazaar-commits mailing list