diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/calendar.c | 2 | ||||
-rw-r--r-- | calendar/gui/main.c | 6 |
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 |