summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-12 17:55:13 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-12 17:55:13 +0000
commit976159fa565f4e2da85dd0f55b2bc3a659d1d2f1 (patch)
tree2a4e1ebcdafd7e39f8c44895af3b72f2f3ad2801
parent834a7e9aafbc8c07aad3d7f067cca42e6d2e33ed (diff)
downloadcalcurse-976159fa565f4e2da85dd0f55b2bc3a659d1d2f1.zip
calcurse version removed from menu titles
-rwxr-xr-xChangeLog7
-rwxr-xr-xsrc/custom.c13
-rwxr-xr-xsrc/help.c4
-rwxr-xr-xsrc/notify.c5
4 files changed, 15 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 39b1eb0..6cb1990 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,12 @@
* configure.ac
* src/var.h: sdtbool header removed, unsigned type use instead
- * mem.c (xmalloc, xcalloc, xrealloc, xstrdup, xfree): new functions
+ * mem.c (xmalloc, xcalloc, xrealloc, xstrdup, xfree): new
+ functions
+
+ * src/custom.c
+ * src/help.c
+ * src/notify.c: calcurse version removed from menu titles
2009-07-11 Frederic Culot <frederic@culot.org>
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);