diff options
author | Milan Crha <mcrha@redhat.com> | 2009-01-19 22:14:56 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-01-19 22:14:56 +0800 |
commit | d63754acb1a37037ce09251c00fefa5e689f780b (patch) | |
tree | fd94473f060473b0918700d0e457b85903b6a3c5 /calendar/gui/dialogs/cal-prefs-dialog.glade | |
parent | 2be7cd3b2ab50047820da4a1e873785b53f41acd (diff) | |
download | gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.tar gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.tar.gz gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.tar.bz2 gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.tar.lz gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.tar.xz gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.tar.zst gsoc2013-evolution-d63754acb1a37037ce09251c00fefa5e689f780b.zip |
** Part of fix for bug #260853
2009-01-19 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #260853
* gui/calendar-config-keys.h:
* gui/calendar-config.h:
(calendar_config_get_ba_reminder), (calendar_config_set_ba_reminder):
* gui/calendar-config.c:
(calendar_config_get_ba_reminder), (calendar_config_set_ba_reminder),
(string_to_units), (calendar_config_get_default_reminder_units):
* gui/dialogs/cal-prefs-dialog.glade:
* gui/dialogs/cal-prefs-dialog.h: (struct _CalendarPrefsDialog):
* gui/dialogs/cal-prefs-dialog.c: (ba_reminder_toggled),
(ba_reminder_interval_changed), (ba_reminder_units_changed),
(setup_changes), (show_config), (calendar_prefs_dialog_construct):
User interface and related function to allow use change setup of
the alarm for Birthdays and Anniversaries calendar.
svn path=/trunk/; revision=37098
Diffstat (limited to 'calendar/gui/dialogs/cal-prefs-dialog.glade')
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.glade | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.glade b/calendar/gui/dialogs/cal-prefs-dialog.glade index 9f7f6a8092..b8947b4c44 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.glade +++ b/calendar/gui/dialogs/cal-prefs-dialog.glade @@ -950,6 +950,98 @@ Days</property> <property name="fill">True</property> </packing> </child> + + <child> + <widget class="GtkHBox" id="hbox25"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">4</property> + + <child> + <widget class="GtkCheckButton" id="ba_reminder"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="label" translatable="yes">Show a _reminder</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <property name="active">False</property> + <property name="inconsistent">False</property> + <property name="draw_indicator">True</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkSpinButton" id="ba_reminder_interval"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="climb_rate">1</property> + <property name="digits">0</property> + <property name="numeric">False</property> + <property name="update_policy">GTK_UPDATE_ALWAYS</property> + <property name="snap_to_ticks">False</property> + <property name="wrap">False</property> + <property name="adjustment">0 0 9999 1 10 10</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkComboBox" id="ba_reminder_units"> + <property name="visible">True</property> + <property name="items" translatable="yes">Minutes +Hours +Days</property> + <property name="add_tearoffs">False</property> + <property name="focus_on_click">True</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="ba_reminder_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">before every anniversary/birthday</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> </widget> <packing> <property name="padding">0</property> |