remove "dead" code, approved by BrianM
svn: r20055
This commit is contained in:
parent
07942011c1
commit
8bb7e19145
@ -4,7 +4,7 @@
|
||||
# Copyright (C) 2001-2006 Donald N. Allingham
|
||||
# Copyright (C) 2008 Brian G. Matherly
|
||||
# Copyright (C) 2010 Jakim Friant
|
||||
# Copyright (C) 2011 Paul Franklin
|
||||
# Copyright (C) 2011-2012 Paul Franklin
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -186,7 +186,6 @@ class ReportDialog(ManagedWindow):
|
||||
# frame and to create other frames
|
||||
self.add_user_options()
|
||||
|
||||
self.setup_main_options()
|
||||
self.setup_init()
|
||||
self.setup_format_frame()
|
||||
self.setup_target_frame()
|
||||
@ -378,8 +377,6 @@ class ReportDialog(ManagedWindow):
|
||||
|
||||
def setup_other_frames(self):
|
||||
for key in self.frame_names:
|
||||
if key == "":
|
||||
continue
|
||||
flist = self.frames[key]
|
||||
table = gtk.Table(3, len(flist))
|
||||
table.set_col_spacings(12)
|
||||
@ -403,21 +400,6 @@ class ReportDialog(ManagedWindow):
|
||||
yoptions=gtk.SHRINK)
|
||||
row += 1
|
||||
|
||||
def setup_main_options(self):
|
||||
if "" in self.frames:
|
||||
flist = self.frames[""]
|
||||
for (text, widget) in flist:
|
||||
label = gtk.Label("<b>%s</b>" % text)
|
||||
label.set_use_markup(True)
|
||||
label.set_alignment(0.0, 0.5)
|
||||
|
||||
self.tbl.set_border_width(12)
|
||||
self.tbl.attach(label, 0, 4, self.row, self.row+1)
|
||||
self.row += 1
|
||||
|
||||
self.tbl.attach(widget, 2, 4, self.row, self.row+1)
|
||||
self.row += 1
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Customization hooks for stand-alone reports (subclass ReportDialog)
|
||||
|
Loading…
x
Reference in New Issue
Block a user