+2004-12-10 Vivek Jain <jvivek@novell.com>

* gui/dialogs/calendar-setup.c : Changed the window title based upon
the source.

svn path=/trunk/; revision=28112
This commit is contained in:
Jain Vivek
2004-12-13 03:58:16 +00:00
parent 5311702079
commit 102f8ffa61
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-12-13 Vivek Jain <jvivek@novell.com>
* gui/dialogs/calendar-setup.c : Changed the window title based upon
the source.
2003-12-09 Rodrigo Moya <rodrigo@novell.com>
* gui/e-calendar-view.c (on_unrecur_appointment): keep a local copy

View File

@ -371,7 +371,6 @@ calendar_setup_edit_calendar (struct _GtkWindow *parent, ESource *source, ESourc
} else {
GConfClient *gconf;
GSList *l;
sdialog->source = e_source_new ("", "");
gconf = gconf_client_get_default ();
sdialog->source_list = e_source_list_new_for_gconf (gconf, "/apps/evolution/calendar/sources");
@ -397,8 +396,11 @@ calendar_setup_edit_calendar (struct _GtkWindow *parent, ESource *source, ESourc
target = e_cal_config_target_new_source (ec, sdialog->source);
e_config_set_target ((EConfig *) ec, (EConfigTarget *) target);
sdialog->window = e_config_create_window ((EConfig *)ec, NULL, _("Calendar Properties"));
if (source)
sdialog->window = e_config_create_window ((EConfig *)ec, NULL, _("Calendar Properties"));
else
sdialog->window = e_config_create_window ((EConfig *)ec, NULL, _("New Calendar"));
/* forces initial validation */
if (!sdialog->original_source)
e_config_target_changed ((EConfig *)ec, E_CONFIG_TARGET_CHANGED_STATE);