moved number version to ac file
authorVlad <vlad@gas.by>
Wed, 1 Sep 2010 09:54:42 +0000 (12:54 +0300)
committerVlad <vlad@gas.by>
Wed, 1 Sep 2010 09:54:42 +0000 (12:54 +0300)
applet/configure.ac
applet/src/livewp-settings.c

index 1c2b470..6c7c696 100644 (file)
@@ -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])
 
index cbf1da7..8184a24 100644 (file)
@@ -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);