2
* edit-alarm.h -- Alarm settings dialog
4
* Copyright (C) 2007-2008 Johannes H. Jensen <joh@pseudoberries.com>
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
* Johannes H. Jensen <joh@pseudoberries.com>
27
#include "alarm-applet.h"
31
typedef struct _AlarmSettingsDialog {
36
/* Media player for previews */
40
GtkWidget *clock_toggle, *timer_toggle;
41
GtkWidget *label_entry;
42
GtkWidget *hour_spin, *min_spin, *sec_spin;
45
GtkWidget *repeat_expand;
46
GtkWidget *repeat_label;
47
GtkWidget *repeat_check[7]; /* Mon, tue, ..., sun check boxes */
50
GtkWidget *snooze_check;
51
GtkWidget *snooze_spin;
54
GtkWidget *notify_sound_radio;
55
GtkWidget *notify_sound_box;
56
GtkWidget *notify_sound_stock;
57
GtkWidget *notify_sound_combo;
58
GtkWidget *notify_sound_loop_check;
59
GtkWidget *notify_sound_preview;
61
GtkWidget *notify_app_radio;
62
GtkWidget *notify_app_box;
63
GtkWidget *notify_app_combo;
64
GtkWidget *notify_app_command_box;
65
GtkWidget *notify_app_command_entry;
67
GtkWidget *notify_bubble_check;
69
} AlarmSettingsDialog;
72
display_edit_alarm_dialog (AlarmApplet *applet, Alarm *alarm);
75
alarm_settings_dialog_close (AlarmSettingsDialog *dialog);
77
#endif /*EDITALARM_H_*/