diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-15 03:28:43 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-15 03:28:43 +0800 |
commit | a9c669620607f3b9027a9840004fc66a3c3527eb (patch) | |
tree | f1bcba021ffe5ef7a38b58e80a5515a820d26525 /my-evolution/e-summary-factory.c | |
parent | 87c61411fad4f9f2b14513b3642b5d9a82932703 (diff) | |
download | gsoc2013-evolution-a9c669620607f3b9027a9840004fc66a3c3527eb.tar.gz gsoc2013-evolution-a9c669620607f3b9027a9840004fc66a3c3527eb.tar.zst gsoc2013-evolution-a9c669620607f3b9027a9840004fc66a3c3527eb.zip |
Call `e_summary_preferences_register_config_control_factory()'.
* e-summary-factory.c (e_summary_factory_new_control): Call
`e_summary_preferences_register_config_control_factory()'.
* e-summary-preferences.c: Remove member `box' from struct
PropertyData. Added member `config_control'.
(e_summary_configure): Removed.
(property_box_destroy_cb): Removed.
(property_box_clicked_cb): Removed.
(property_box_apply_cb): New.
(config_control_destroy_cb): New.
(factory_fn): New, factory function for the
EvolutionConfigControl.
(e_summary_preferences_register_config_control_factory): New.
(mail_show_full_path_toggled_cb): Invoke ::changed on
pd->config_control.
(add_dialog_clicked_cb): Likewise.
(rdf_refresh_value_changed_cb): Likewise.
(rdf_limit_value_changed_cb): Likewise.
(mail_etable_item_changed_cb): Likewise.
(rdf_etable_item_changed_cb): Likewise.
(weather_etable_item_changed_cb): Likewise.
(weather_refresh_value_changed_cb): Likewise.
(weather_metric_toggled_cb): Likewise.
(weather_imperial_toggled_cb): Likewise.
(calendar_one_toggled_cb): Likewise.
(calendar_five_toggled_cb): Likewise.
(calendar_week_toggled_cb): Likewise.
(calendar_month_toggled_cb): Likewise.
(calendar_all_toggled_cb): Likewise.
(calendar_today_toggled_cb): Likewise.
(config_control_destroy_cb): Don't set ->prefs_window to NULL.
* my-evolution.glade: Renamed "notebook2" to "notebook". Also
change its parent into a GtkWindow as libglade seems to have some
kind of problem with the GnomePropertyBox [glade_xml_get_widget()
for "notebook" always returned NULL].
* e-summary.h: Remove member `prefs_window' from `ESummary'.
svn path=/trunk/; revision=16162
Diffstat (limited to 'my-evolution/e-summary-factory.c')
-rw-r--r-- | my-evolution/e-summary-factory.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c index 9344f70016..cdf813aaf7 100644 --- a/my-evolution/e-summary-factory.c +++ b/my-evolution/e-summary-factory.c @@ -39,7 +39,6 @@ BonoboUIVerb verbs[] = { BONOBO_UI_VERB ("PrintMyEvolution", e_summary_print), - BONOBO_UI_VERB ("ToolsSettings", e_summary_configure), BONOBO_UI_VERB ("Reload", e_summary_reload), BONOBO_UI_VERB_END }; @@ -47,7 +46,6 @@ BonoboUIVerb verbs[] = { static EPixmap pixmaps [] = { E_PIXMAP ("/commands/PrintMyEvolution", "print.xpm"), - E_PIXMAP ("/commands/ToolsSettings", "configure_16_mail.xpm"), E_PIXMAP ("/Toolbar/PrintMyEvolution", "buttons/print.png"), E_PIXMAP_END }; @@ -153,5 +151,10 @@ e_summary_factory_new_control (const char *uri, gtk_signal_connect (GTK_OBJECT (control), "destroy", control_destroy_cb, summary); + /* FIXME: We register the factory here as it needs the summary object. + Sigh, this is really wrong. */ + + e_summary_preferences_register_config_control_factory (summary); + return control; } |