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

  • Committer: Curtis Hovey
  • Date: 2011-07-31 15:52:43 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110731155243-ln8istmxbryhb4pz
Mechanical changes made by pygi.convert.sh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
 
17
try:
 
18
    import pygtk
 
19
    pygtk.require("2.0")
 
20
except:
 
21
    pass
 
22
 
17
23
from gi.repository import Gtk
18
24
from bzrlib.plugins.gtk import window
19
25
from bzrlib.plugins.gtk.i18n import _i18n
74
80
        cell = Gtk.CellRendererText()
75
81
        cell.set_property("width-chars", 20)
76
82
        column = Gtk.TreeViewColumn()
77
 
        column.pack_start(cell, True)
 
83
        column.pack_start(cell, True, True, 0)
78
84
        column.add_attribute(cell, "text", 0)
79
85
        self.treeview.append_column(column)
80
86