aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-05 05:06:49 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-05 05:06:49 +0800
commit45ebcc48ee83de3c5a991ffd4095280770cb22b1 (patch)
treee07956a3a64e67cbc59f12405a71230a7f9756de /calendar/gui
parent524de5fe838f5d8d6569d81ac1484fd771d025d6 (diff)
downloadgsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.tar
gsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.tar.gz
gsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.tar.bz2
gsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.tar.lz
gsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.tar.xz
gsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.tar.zst
gsoc2013-evolution-45ebcc48ee83de3c5a991ffd4095280770cb22b1.zip
vCalendar gets fully saved -mig
svn path=/trunk/; revision=107
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar.c2
-rw-r--r--calendar/gui/main.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index d2f164a49c..581a75ee2f 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -201,6 +201,7 @@ calendar_load (Calendar *cal, char *fname)
vcal = Parse_MIME_FromFileName (fname);
calendar_load_from_vobject (cal, vcal);
cleanVObject (vcal);
+ cleanStrTbl ();
}
void
@@ -226,5 +227,6 @@ calendar_save (Calendar *cal, char *fname)
}
writeVObjectToFile (fname, vcal);
cleanVObject (vcal);
+ cleanStrTbl ();
}
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index b8e3f2fb9e..d499992b1c 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -208,13 +208,13 @@ GnomeUIInfo gnome_cal_menu [] = {
};
GnomeUIInfo gnome_toolbar [] = {
- { GNOME_APP_UI_ITEM, N_("Prev"), N_("Previous"), previous_clicked, 0, 0,
+ { GNOME_APP_UI_ITEM, N_("Prev"), NULL, previous_clicked, 0, 0,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_BACK },
- { GNOME_APP_UI_ITEM, N_("Today"), N_("Today"), today_clicked, 0, 0,
+ { GNOME_APP_UI_ITEM, N_("Today"), NULL, today_clicked, 0, 0,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_BACK },
- { GNOME_APP_UI_ITEM, N_("Next"), N_("Next"), next_clicked, 0, 0,
+ { GNOME_APP_UI_ITEM, N_("Next"), NULL, next_clicked, 0, 0,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_FORWARD },
GNOMEUIINFO_END