aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-01-05 15:02:14 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-01-05 15:02:14 +0800
commit26ffb596c39b80acb420d1448a0c28f976a2270b (patch)
tree96d6290f0f79643a83c16f666130a8d80c806ace /calendar/gui/alarm-notify
parentc4d47316235afab9b11afae003358efed4ad75cd (diff)
downloadgsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.tar
gsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.tar.gz
gsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.tar.bz2
gsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.tar.lz
gsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.tar.xz
gsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.tar.zst
gsoc2013-evolution-26ffb596c39b80acb420d1448a0c28f976a2270b.zip
fixes #303193
svn path=/trunk/; revision=31059
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c
index 9ce09b96d6..630c5c7302 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.c
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c
@@ -183,6 +183,8 @@ snooze_pressed_cb (GtkButton *button, gpointer user_data)
AlarmFuncInfo *funcinfo = NULL;
GtkTreeSelection *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (an->treeview));
+ gtk_widget_grab_focus (button);
+
if (gtk_tree_selection_get_selected (selection, &model, &iter))
gtk_tree_model_get (model, &iter, ALARM_FUNCINFO_COLUMN, &funcinfo, -1);
@@ -286,8 +288,8 @@ notified_alarms_dialog_new (void)
gtk_image_set_from_file (GTK_IMAGE (image), icon_path);
g_free (icon_path);
- g_signal_connect (edit_btn, "pressed", G_CALLBACK (edit_pressed_cb), an);
- g_signal_connect (snooze_btn, "pressed", G_CALLBACK (snooze_pressed_cb), an);
+ g_signal_connect (edit_btn, "clicked", G_CALLBACK (edit_pressed_cb), an);
+ g_signal_connect (snooze_btn, "clicked", G_CALLBACK (snooze_pressed_cb), an);
g_signal_connect (G_OBJECT (an->dialog), "response", G_CALLBACK (dialog_response_cb), an);
g_signal_connect (G_OBJECT (an->dialog), "destroy", G_CALLBACK (dialog_destroyed_cb), an);