From 6395ec0243694ee6677e65c4d5fef0731d7c7e86 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Mon, 27 Nov 2006 18:49:11 +0000 Subject: ** Fix for bug #349966 2006-11-28 Daniel Gryniewicz ** Fix for bug #349966 svn path=/trunk/; revision=33026 --- calendar/gui/apps_evolution_calendar.schemas.in.in | 14 ++++++++++++++ calendar/gui/calendar-config-keys.h | 2 +- calendar/gui/dialogs/alarm-dialog.c | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/apps_evolution_calendar.schemas.in.in b/calendar/gui/apps_evolution_calendar.schemas.in.in index 34730bd303..e024826c95 100644 --- a/calendar/gui/apps_evolution_calendar.schemas.in.in +++ b/calendar/gui/apps_evolution_calendar.schemas.in.in @@ -577,5 +577,19 @@ The URL template to use as a free/busy data fallback, %u is replaced by the user part of the mail address and %d is replaced by the domain. + + + /schemas/apps/evolution/calendar/audio_dir + /apps/evolution/calendar/audio_dir + evolution-calendar + string + + Save directory for alarm audio + + Directory for saving alarm audio files + + + + diff --git a/calendar/gui/calendar-config-keys.h b/calendar/gui/calendar-config-keys.h index 2f85954ab7..b1fe13918b 100644 --- a/calendar/gui/calendar-config-keys.h +++ b/calendar/gui/calendar-config-keys.h @@ -91,7 +91,7 @@ G_BEGIN_DECLS /* Free/Busy settings */ #define CALENDAR_CONFIG_TEMPLATE CALENDAR_CONFIG_PREFIX"/publish/template" -#define CALENDAR_CONFIG_SAVE_DIR "/apps/evolution/mail/save_dir" +#define CALENDAR_CONFIG_SAVE_DIR CALENDAR_CONFIG_PREFIX"/audio_dir" G_END_DECLS #endif diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index 90f3e72e2b..d6e03cc036 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -1080,6 +1080,7 @@ action_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) dir = calendar_config_get_dir_path (); if ( dir && *dir ) gnome_file_entry_set_default_path (GNOME_FILE_ENTRY (dialog->aalarm_file_entry), dir); + g_free (dir); check_custom_sound (dialog); break; -- cgit