diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-31 16:53:46 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-31 16:53:46 +0800 |
commit | ab12a84ac4b241aed23eafdccb8cc6a99053b562 (patch) | |
tree | aac72d8e310b5488a3323bb82ef4b894bfbd6bfc | |
parent | cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255 (diff) | |
download | gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.gz gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.zst gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.zip |
Fixes #323499.
svn path=/trunk/; revision=32441
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 15 |
2 files changed, 13 insertions, 9 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index aa401c61b2..d8bb0afb2c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-07-31 Chenthill Palanisamy <pchenthill@novell.com> + + 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-07-27 Chenthill Palanisamy <pchenthill@novell.com> Fixes #345646 diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index ed070f057b..b4eafd468c 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -2092,7 +2092,7 @@ interval_value_changed_cb (GtkAdjustment *adj, gpointer data) * 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; @@ -2107,7 +2107,7 @@ interval_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) * 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; @@ -2310,7 +2310,6 @@ init_widgets (RecurrencePage *rpage) RecurrencePagePrivate *priv; ECalendar *ecal; GtkAdjustment *adj; - GtkWidget *menu; GtkTreeViewColumn *column; GtkCellRenderer *cell_renderer; @@ -2345,16 +2344,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 */ |