/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: Jelmer Vernooij
  • Date: 2011-12-11 17:14:12 UTC
  • Revision ID: jelmer@samba.org-20111211171412-cgcn0yas3zlcahzg
StartĀ onĀ 0.104.0.

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