meld r1196 - trunk
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1196 - trunk
- Date: Mon, 2 Mar 2009 20:48:18 +0000 (UTC)
Author: vincele
Date: Mon Mar 2 20:48:18 2009
New Revision: 1196
URL: http://svn.gnome.org/viewvc/meld?rev=1196&view=rev
Log:
Use equivalent parent class constructor code
Modified:
trunk/vcview.py
Modified: trunk/vcview.py
==============================================================================
--- trunk/vcview.py (original)
+++ trunk/vcview.py Mon Mar 2 20:48:18 2009
@@ -89,11 +89,7 @@
class VcTreeStore(tree.DiffTreeStore):
def __init__(self):
- types = [type("")] * COL_END
- types[tree.COL_ICON] = type(tree.pixbuf_file)
- gtk.TreeStore.__init__(self, *types)
- self.ntree = 1
- self._setup_default_styles()
+ tree.DiffTreeStore.__init__(self, 1)
self.textstyle[tree.STATE_MISSING] = '<span foreground="#000088" strikethrough="true" weight="bold">%s</span>'
################################################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]