diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 705f82388..4c890ba92 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2004-05-11 Alex Roitman + * src/plugins/EventCmp.py: Remove extra code. + * src/plugins/eventcmp.glade: Remove extra widgets. + 2004-05-10 Alex Roitman * src/plugins/FilterEditor.py: Clean up window management. * src/rule.glade: Define event handlers. diff --git a/gramps2/src/plugins/EventCmp.py b/gramps2/src/plugins/EventCmp.py index f88232025..b6302e8bd 100644 --- a/gramps2/src/plugins/EventCmp.py +++ b/gramps2/src/plugins/EventCmp.py @@ -411,16 +411,11 @@ class DisplayChart: self.form = gtk.glade.XML(self.glade_file,"dialog1","gramps") self.form.signal_autoconnect({ "on_save_clicked" : self.on_save_clicked, - "on_html_toggled" : self.on_html_toggled, "destroy_passed_object" : Utils.destroy_passed_object }) self.save_form = self.form.get_widget("dialog1") self.save_form.show_all() - def on_html_toggled(self,obj): - active = self.form.get_widget("html").get_active() - self.form.get_widget("htmltemplate").set_sensitive(active) - def on_save_clicked(self,obj): name = unicode(self.form.get_widget("filename").get_text()) diff --git a/gramps2/src/plugins/eventcmp.glade b/gramps2/src/plugins/eventcmp.glade index 1fdf4f4f9..bfcb4b1cb 100644 --- a/gramps2/src/plugins/eventcmp.glade +++ b/gramps2/src/plugins/eventcmp.glade @@ -69,7 +69,7 @@ True - 6 + 2 3 False 6 @@ -78,7 +78,7 @@ True - <b>File _name</b> + <b>_File name</b> True True GTK_JUSTIFY_CENTER @@ -101,77 +101,6 @@ - - - True - True - OpenOffice.org _Spreadsheet - True - GTK_RELIEF_NORMAL - True - True - False - True - - - 1 - 3 - 3 - 4 - 6 - fill - - - - - - - True - _HTML - True - GTK_RELIEF_NORMAL - True - False - False - True - openoffice - - - - 1 - 3 - 4 - 5 - 6 - fill - - - - - - - HTML _Template: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 5 - 0 - htmlfile - - - 1 - 2 - 5 - 6 - 6 - - - - True @@ -185,6 +114,7 @@ True + Select file to save OpenOffice.org spreadsheet True True True @@ -205,69 +135,9 @@ - - - - False - HtmlTemplate - 10 - Choose the HTML template - False - False - False - - - - True - True - True - True - 0 - - True - * - False - - - - - 2 - 3 - 5 - 6 - 6 - - - - - - - True - <b>_Format</b> - True - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - openoffice - - - 0 - 3 - 2 - 3 - 6 - fill - - - - 0 + 6 True True