/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/plugins.py

  • Committer: Curtis Hovey
  • Date: 2011-09-05 03:44:26 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110905034426-p98pxnay9rmzkr99
Fix the initializer for many classes.
Replace Gtk.Dialog.vbox with .get_content_area().

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from gi.repository import Gtk
18
18
 
19
19
 
20
 
class PluginsPage(Gtk.Paned):
 
20
class PluginsPage(Gtk.VPaned):
21
21
 
22
22
    def __init__(self):
23
23
        super(PluginsPage, self).__init__()
24
 
        self.set_orientation(Gtk.Orientation.VERTICAL)
25
24
        self.set_border_width(12)
26
25
        self.set_position(216)
27
26
 
73
72
    def row_selected(self, tv, path=None, tvc=None):
74
73
        if path is None:
75
74
            (path, focus) = tv.get_cursor()
76
 
        if path is None:
77
 
            # The event was fired as the widget was destroyed.
78
 
            return
79
75
        import bzrlib
80
76
        p = bzrlib.plugin.plugins()[self.model[path][0]].module
81
77
        from inspect import getdoc