Files
evolution/my-evolution/e-summary-preferences.h
Ettore Perazzoli a9c6696206 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
2002-03-14 19:28:43 +00:00

39 lines
1.4 KiB
C

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-summary-preferences.h
*
* Copyright (C) 2001 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Iain Holmes
*/
#ifndef __E_SUMMARY_PREFERENCES_H__
#define __E_SUMMARY_PREFERENCES_H__
#include <bonobo/bonobo-ui-component.h>
gboolean e_summary_preferences_restore (ESummaryPrefs *prefs);
void e_summary_preferences_save (ESummaryPrefs *prefs);
void e_summary_preferences_free (ESummaryPrefs *prefs);
ESummaryPrefs *e_summary_preferences_copy (ESummaryPrefs *prefs);
void e_summary_preferences_init (ESummary *summary);
gboolean e_summary_preferences_register_config_control_factory (ESummary *summary);
#endif