aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-20 04:55:00 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-20 04:55:00 +0800
commit36dcdf322988d4362b4ff1f245af9d41eabc072b (patch)
treef79ee70a589d52cc4a37cf28ca20a14605bfc2cf /calendar/gui
parent91eeef870b8596b7d854cf37ea745016f0858cfd (diff)
downloadgsoc2013-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/gui')
-rw-r--r--calendar/gui/eventedit.c14
1 files changed, 9 insertions, 5 deletions
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