fix for the bug #323499 [calendar]
Chenthill <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
Hi, Have attached the fix for the bug. Listen to changed signal from GtkOptionMenu. thanks, Chenthill. _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
323499.diff
(text/x-patch, 2.5 KB)
Index: ChangeLog =================================================================== RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v retrieving revision 1.3045 diff -u -p -r1.3045 ChangeLog --- ChangeLog 11 May 2006 09:30:10 -0000 1.3045 +++ ChangeLog 11 May 2006 13:02:59 -0000 @@ -1,3 +1,10 @@ +2006-05-11 Chenthill Palanisamy <[email protected]> + + Fixes #323499 + * gui/dialogs/recurrence-page.c: (interval_selection_done_cb), + (ending_selection_done_cb), (init_widgets): Listen to the + changed signal from the GtkOptionMenu. + 2006-04-20 Chenthill Palanisamy <[email protected]> Fixes the events appearing in different timezone appear in Index: gui/dialogs/recurrence-page.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/recurrence-page.c,v retrieving revision 1.77 diff -u -p -r1.77 recurrence-page.c --- gui/dialogs/recurrence-page.c 12 Feb 2006 21:53:32 -0000 1.77 +++ gui/dialogs/recurrence-page.c 11 May 2006 13:03:01 -0000 @@ -2088,7 +2088,7 @@ interval_value_changed_cb (GtkAdjustment * change the contents of the recurrence special widget. */ static void -interval_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) +interval_selection_done_cb (GtkOptionMenu *menu, gpointer data) { RecurrencePage *rpage; @@ -2103,7 +2103,7 @@ interval_selection_done_cb (GtkMenuShell * change the contents of the ending special widget. */ static void -ending_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) +ending_selection_done_cb (GtkOptionMenu *menu, gpointer data) { RecurrencePage *rpage; @@ -2306,7 +2306,6 @@ init_widgets (RecurrencePage *rpage) RecurrencePagePrivate *priv; ECalendar *ecal; GtkAdjustment *adj; - GtkWidget *menu; GtkTreeViewColumn *column; GtkCellRenderer *cell_renderer; @@ -2341,16 +2340,14 @@ init_widgets (RecurrencePage *rpage) rpage); /* Recurrence units */ - - menu = gtk_option_menu_get_menu (GTK_OPTION_MENU (priv->interval_unit)); - g_signal_connect((menu), "selection_done", + + g_signal_connect(GTK_OPTION_MENU (priv->interval_unit), "changed", G_CALLBACK (interval_selection_done_cb), rpage); /* Recurrence ending */ - - menu = gtk_option_menu_get_menu (GTK_OPTION_MENU (priv->ending_menu)); - g_signal_connect((menu), "selection_done", + + g_signal_connect(GTK_OPTION_MENU (priv->ending_menu), "changed", G_CALLBACK (ending_selection_done_cb), rpage); /* Exception buttons */