From: Vlad Date: Wed, 1 Sep 2010 09:54:42 +0000 (+0300) Subject: moved number version to ac file X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=7c2a9a0c02e9414e77da1bec62d565f2bfe7fa74;p=livewp moved number version to ac file --- diff --git a/applet/configure.ac b/applet/configure.ac index 1c2b470..6c7c696 100644 --- a/applet/configure.ac +++ b/applet/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.61) AC_INIT([livewp], [0.4]) AC_CONFIG_SRCDIR([src/livewp-home-widget.c]) AC_CONFIG_HEADER([src/config.h:src/config.h.in]) -AM_INIT_AUTOMAKE(livewp, 0.7) +AM_INIT_AUTOMAKE(livewp, 0.9) AC_PROG_LIBTOOL AC_PROG_INTLTOOL([0.23]) diff --git a/applet/src/livewp-settings.c b/applet/src/livewp-settings.c index cbf1da7..8184a24 100644 --- a/applet/src/livewp-settings.c +++ b/applet/src/livewp-settings.c @@ -25,7 +25,8 @@ #include "livewp-settings.h" /*******************************************************************************/ void lw_about(void){ - + + gchar *about_string; GtkWidget *window = NULL, *vbox = NULL, *label_about = NULL; @@ -34,7 +35,7 @@ void lw_about(void){ gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); gtk_window_set_modal(GTK_WINDOW(window), TRUE); vbox = gtk_vbox_new (FALSE, 5); - label_about = gtk_label_new (_("Live Wallpaper Version 0.9 \n Copyright(c) 2010\n \ + about_string = g_strdup_printf(_("Live Wallpaper Version %s \n Copyright(c) 2010\n \ Tanya Makova\n Vlad Vasiliev\n \ Copyright(c) 2010 for design themes Berlin, Modern and Accel Vasya Bobrikov\n \ Copyright(c) 2010 for design theme Matrix and icons Andrew Zhilin\n \ @@ -43,7 +44,9 @@ Finnish - Marko Vertainen\n \ Spain - Alejandro López\n \ Italian - Emanuele Cassioli\n \ Russian - Tanya Makova \n \ - Vlad Vasiliev\n")); + Vlad Vasiliev\n"), VERSION); + + label_about = gtk_label_new (about_string); gtk_box_pack_start (GTK_BOX (vbox), label_about, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox), vbox, TRUE, TRUE, 0);