diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-07-04 15:28:59 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-07-04 15:28:59 +0800 |
commit | d0d4630a002e37e92d8c0fe3afe63db6fc7effe3 (patch) | |
tree | 7774db3db3705a5bd0565504868914a605d7555b /calendar/gui/dialogs/alarm-list-dialog.c | |
parent | bf9a3cc4fdb5f4c52901e74725c67888e26d272b (diff) | |
download | gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.tar gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.tar.gz gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.tar.bz2 gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.tar.lz gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.tar.xz gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.tar.zst gsoc2013-evolution-d0d4630a002e37e92d8c0fe3afe63db6fc7effe3.zip |
Fix for bug #445526
svn path=/trunk/; revision=33753
Diffstat (limited to 'calendar/gui/dialogs/alarm-list-dialog.c')
-rw-r--r-- | calendar/gui/dialogs/alarm-list-dialog.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/alarm-list-dialog.c b/calendar/gui/dialogs/alarm-list-dialog.c index 803324b949..95850a089b 100644 --- a/calendar/gui/dialogs/alarm-list-dialog.c +++ b/calendar/gui/dialogs/alarm-list-dialog.c @@ -220,6 +220,20 @@ selection_changed_cb (GtkTreeSelection *selection, gpointer data) sensitize_buttons (dialog); } +void +alarm_list_dialog_set_client (GtkWidget *dlg_box, ECal *client) +{ + Dialog *dialog; + + if (!dlg_box) return; + + dialog = g_object_get_data (G_OBJECT (dlg_box), "dialog"); + if (dialog) { + dialog->ecal = client; + sensitize_buttons (dialog); + } +} + /* Hooks the widget signals */ static void init_widgets (Dialog *dialog) |