Fixed uninitialized self.target_fileentry
svn: r687
This commit is contained in:
parent
6444289b5d
commit
be5e9ee4dd
@ -386,6 +386,8 @@ class ReportDialog:
|
|||||||
# Save Frame
|
# Save Frame
|
||||||
frame = GtkFrame(_("Save As"))
|
frame = GtkFrame(_("Save As"))
|
||||||
frame.set_border_width(ReportDialog.frame_pad)
|
frame.set_border_width(ReportDialog.frame_pad)
|
||||||
|
self.target_fileentry = GnomeFileEntry(hid,_("Save As"))
|
||||||
|
|
||||||
hbox = GtkHBox()
|
hbox = GtkHBox()
|
||||||
hbox.set_border_width(ReportDialog.border_pad)
|
hbox.set_border_width(ReportDialog.border_pad)
|
||||||
if (self.get_target_is_directory()):
|
if (self.get_target_is_directory()):
|
||||||
@ -400,7 +402,6 @@ class ReportDialog:
|
|||||||
if hid[-4:]==".xml":
|
if hid[-4:]==".xml":
|
||||||
hid = hid[0:-4]
|
hid = hid[0:-4]
|
||||||
|
|
||||||
self.target_fileentry = GnomeFileEntry(hid,_("Save As"))
|
|
||||||
hbox.add(self.target_fileentry)
|
hbox.add(self.target_fileentry)
|
||||||
frame.add(hbox)
|
frame.add(hbox)
|
||||||
self.window.vbox.add(frame)
|
self.window.vbox.add(frame)
|
||||||
|
Loading…
Reference in New Issue
Block a user