aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.c6
2 files changed, 12 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 53c58b5099..5e8b2d30d1 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2006-01-05 Johnny Jacob <johnnyjacob@gmail.com>
+
+ Fixes #303193
+ * gui/alarm-notify/alarm-notify-dialog.c (notified_alarms_dialog_new):
+ Changed events handled for edit_btn, snooze_btn from pressed to
+ clicked
+ (snooze_pressed_callback) : Grab keyboard focus to snooze_btn.
+
2006-01-05 P S Chakravarthi <pchakravarthi@novell.com>
Fixes 317808
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);