aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);