diff options
author | Seth Alves <alves@src.gnome.org> | 2000-04-20 04:55:00 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-04-20 04:55:00 +0800 |
commit | 36dcdf322988d4362b4ff1f245af9d41eabc072b (patch) | |
tree | f79ee70a589d52cc4a37cf28ca20a14605bfc2cf /calendar | |
parent | 91eeef870b8596b7d854cf37ea745016f0858cfd (diff) | |
download | gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.tar gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.tar.gz gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.tar.bz2 gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.tar.lz gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.tar.xz gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.tar.zst gsoc2013-evolution-36dcdf322988d4362b4ff1f245af9d41eabc072b.zip |
changed the order around a bit to avoid a Gtk-CRITICAL crash
* gui/eventedit.c (ee_rp_init_rule): changed the order around
a bit to avoid a Gtk-CRITICAL crash
svn path=/trunk/; revision=2512
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 3 | ||||
-rw-r--r-- | calendar/gui/eventedit.c | 14 |
2 files changed, 12 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 343d456b1c..62e4f049c7 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,8 @@ 2000-04-19 Seth Alves <alves@hungry.com> + * gui/eventedit.c (ee_rp_init_rule): changed the order around + a bit to avoid a Gtk-CRITICAL crash + * gui/gncal-todo.c (gncal_todo_update): fixed code to populate the todo clist diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 0c79bb5d92..3505187035 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -1184,12 +1184,14 @@ ee_rp_init_rule (EventEditor *ee) /* Finish setting this up */ - gtk_notebook_append_page (notebook, none, gtk_label_new ("")); - gtk_notebook_append_page (notebook, daily, gtk_label_new ("")); - gtk_notebook_append_page (notebook, weekly, gtk_label_new ("")); - gtk_notebook_append_page (notebook, monthly, gtk_label_new ("")); - gtk_notebook_append_page (notebook, yearly, gtk_label_new ("")); gtk_notebook_set_show_tabs (notebook, FALSE); + + gtk_notebook_append_page (notebook, none, NULL); + gtk_notebook_append_page (notebook, daily, NULL); + gtk_notebook_append_page (notebook, weekly, NULL); + gtk_notebook_append_page (notebook, monthly, NULL); + gtk_notebook_append_page (notebook, yearly, NULL); + gtk_notebook_set_show_border (notebook, FALSE); gtk_notebook_set_page (notebook, page); @@ -1468,6 +1470,7 @@ ee_init_recurrence_page (EventEditor *ee) gtk_notebook_append_page (GTK_NOTEBOOK (ee->notebook), ee->recur_vbox, ee->recur_page_label); + ee_rp_init_rule (ee); /* pack here so that the box gets inserted after the recurrence rule frame */ @@ -1475,6 +1478,7 @@ ee_init_recurrence_page (EventEditor *ee) ee_rp_init_ending_date (ee); ee_rp_init_exceptions (ee); + } static void |