diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-04-23 05:15:41 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-04-23 05:15:41 +0800 |
commit | f58154d28e8bd4ab287a31f419db93ac4c24fb60 (patch) | |
tree | fc96e2b00ead71ccb49fea2116aa27d6aea845a8 /calendar/gui/alarm-notify | |
parent | c43e7c7ab7a428bdd306e12d1dfd9a499d80451e (diff) | |
download | gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.tar gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.tar.gz gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.tar.bz2 gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.tar.lz gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.tar.xz gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.tar.zst gsoc2013-evolution-f58154d28e8bd4ab287a31f419db93ac4c24fb60.zip |
Fixes part of #41148, #41216 and #41235
2003-04-22 Rodrigo Moya <rodrigo@ximian.com>
Fixes part of #41148, #41216 and #41235
* gui/e-itip-control.c (init):
* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct,
e_meeting_time_selector_add_key_color):
* gui/e-timezone-entry.c (e_timezone_entry_init):
* gui/gnome-cal.c (setup_widgets):
* gui/tasks-control.c (confirm_expunge):
* gui/dialogs/comp-editor.c (setup_widgets):
* gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
* gui/dialogs/meeting-page.c (meeting_page_construct):
* gui/dialogs/recurrence-page.c (make_weekly_special,
make_monthly_special, make_ending_count_special):
* gui/dialogs/schedule-page.c (schedule_page_construct):
use HIG-suggested spacing.
svn path=/trunk/; revision=20927
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index fa04a63daa..d6fda7d37c 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -825,9 +825,12 @@ audio_notification (time_t trigger, CompQueuedAlarms *cqa, const char *url; url = icalattach_get_url (attach); - g_assert (url != NULL); - gnome_sound_play (url); /* this sucks */ + if (url && *url) { + gnome_sound_init ("localhost"); + gnome_sound_play (url); /* this sucks */ + } else + gdk_beep (); } if (attach) |