taskbar/taskbar.h \
taskbar/task.h \
tooltip/tooltip.c \
- tooltip/tooltip.h
+ tooltip/tooltip.h \
+ version.h
if ENABLE_BATTERY
DEFS += -DENABLE_BATTERY
x -= xoff;
y -= yoff;
}
- //printf("x %d, y %d\n", x, y);
XSetTSOrigin(server.dsp, server.gc, -x, -y);
XFillRectangle(server.dsp, p->area.pix, server.gc, 0, 0, p->area.width, p->area.height);
}
#include <Imlib2.h>
#include <signal.h>
+#include "version.h"
#include "server.h"
#include "window.h"
#include "config.h"
exit(0);
}
if (!strcmp(argv[i], "-v") || !strcmp(argv[i], "--version")) {
- printf("tint2 version 0.8\n");
+ printf("tint2 version %s\n", VERSION_STRING);
exit(0);
}
if (!strcmp(argv[i], "-c")) {
if ENABLE_TINT2CONF
bin_PROGRAMS = tint2conf
dist_bin_SCRIPTS = tintwizard.py
-tint2conf_SOURCES = main.c theme_view.c theme_view.h ../util/common.c
+tint2conf_SOURCES = main.c theme_view.c theme_view.h ../util/common.c ../version.h
INCLUDES = -I../util
AM_CFLAGS += @TINT2CONF_CFLAGS@
#include <glib/gstdio.h>
#include <glib/gi18n.h>
+#include "version.h"
#include "common.h"
#include "theme_view.h"
-#define LONG_VERSION_STRING "0.7"
-
// default config file and directory
char *g_path_config = 0;
gtk_show_about_dialog( parent, "name", g_get_application_name( ),
"comments", _("Theming tool for tint2 panel"),
- "version", LONG_VERSION_STRING,
+ "version", VERSION_STRING,
"copyright", _("Copyright 2009 tint2 team\nTint2 License GNU GPL version 2\nTintwizard License GNU GPL version 3"),
"logo-icon-name", NULL, "authors", authors,
/* Translators: translate "translator-credits" as
--- /dev/null
+
+
+#define VERSION_STRING "0.9rc1"
+