From 976159fa565f4e2da85dd0f55b2bc3a659d1d2f1 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 12 Jul 2009 17:55:13 +0000 Subject: calcurse version removed from menu titles --- src/custom.c | 13 +++++-------- src/help.c | 4 ++-- src/notify.c | 5 ++--- 3 files changed, 9 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/custom.c b/src/custom.c index 810679c..c68f0bb 100755 --- a/src/custom.c +++ b/src/custom.c @@ -1,4 +1,4 @@ -/* $calcurse: custom.c,v 1.40 2009/07/12 16:22:00 culot Exp $ */ +/* $calcurse: custom.c,v 1.41 2009/07/12 17:55:13 culot Exp $ */ /* * Calcurse - text-based organizer @@ -448,8 +448,7 @@ display_layout_config (window_t *lwin, int mark, int cursor, int need_reset) { char label[BUFSIZ]; - (void)snprintf (label, BUFSIZ, _("CalCurse %s | layout configuration"), - VERSION); + (void)snprintf (label, BUFSIZ, _("layout configuration")); custom_confwin_init (lwin, label); } @@ -661,7 +660,7 @@ display_color_config (window_t *cwin, int *mark_fore, int *mark_back, if (need_reset) { - (void)snprintf (label, BUFSIZ, _("CalCurse %s | color theme"), VERSION); + (void)snprintf (label, BUFSIZ, _("color theme")); custom_confwin_init (cwin, label); } @@ -1003,8 +1002,7 @@ custom_general_config (conf_t *conf) clear (); conf_set_scrsize (&cwin); - (void)snprintf (cwin.label, BUFSIZ, _("CalCurse %s | general options"), - VERSION); + (void)snprintf (cwin.label, BUFSIZ, _("general options")); wins_scrollwin_init (&cwin); wins_show (cwin.win.p, cwin.label); status_mesg (number_str, keys); @@ -1203,8 +1201,7 @@ custom_keys_config (void) clear (); conf_set_scrsize (&kwin); nbdisplayed = (kwin.win.h - LABELLINES) / LINESPERKEY; - (void)snprintf (kwin.label, BUFSIZ, _("CalCurse %s | keys configuration"), - VERSION); + (void)snprintf (kwin.label, BUFSIZ, _("keys configuration")); wins_scrollwin_init (&kwin); wins_show (kwin.win.p, kwin.label); custom_keys_config_bar (); diff --git a/src/help.c b/src/help.c index 2e67651..a3f7c04 100755 --- a/src/help.c +++ b/src/help.c @@ -1,4 +1,4 @@ -/* $calcurse: help.c,v 1.40 2009/07/05 20:33:19 culot Exp $ */ +/* $calcurse: help.c,v 1.41 2009/07/12 17:55:14 culot Exp $ */ /* * Calcurse - text-based organizer @@ -165,7 +165,7 @@ help_wins_init (scrollwin_t *hwin, int x, int y, int h, int w) hwin->pad.h = BUFSIZ; hwin->pad.w = hwin->win.w - 2 * PADOFFSET + 1; - (void)snprintf (hwin->label, BUFSIZ, _("Calcurse %s | help"), VERSION); + (void)snprintf (hwin->label, BUFSIZ, _("Calcurse help")); wins_scrollwin_init (hwin); wins_show (hwin->win.p, hwin->label); } diff --git a/src/notify.c b/src/notify.c index 9f6b9f7..be2ce29 100755 --- a/src/notify.c +++ b/src/notify.c @@ -1,4 +1,4 @@ -/* $calcurse: notify.c,v 1.39 2009/07/05 20:33:22 culot Exp $ */ +/* $calcurse: notify.c,v 1.40 2009/07/12 17:55:14 culot Exp $ */ /* * Calcurse - text-based organizer @@ -568,8 +568,7 @@ notify_config_bar (void) int ch = 0, change_win = 1; buf = mem_malloc (BUFSIZ); - (void)snprintf (label, BUFSIZ, _("CalCurse %s | notify-bar options"), - VERSION); + (void)snprintf (label, BUFSIZ, _("notify-bar options")); conf_win.p = 0; custom_confwin_init (&conf_win, label); -- cgit v1.2.3-70-g09d2