Fixed problem in settings for non English locales
authorVlad <vlad@gas.by>
Wed, 4 Aug 2010 07:44:43 +0000 (10:44 +0300)
committerVlad <vlad@gas.by>
Wed, 4 Aug 2010 07:44:43 +0000 (10:44 +0300)
applet/debian/changelog
applet/src/livewp-home-widget.c
applet/src/livewp-settings.c

index 2d92b8d..038515d 100644 (file)
@@ -1,3 +1,9 @@
+live-wallpaper (0.7.1) unstable; urgency=low
+
+  * Fixed problem in settings for non English locales 
+
+ -- Vlad Vasiliev <vlad@gas.by>  Thu, 03 Aug 2010 21:39:10 +0200
+
 live-wallpaper (0.7) unstable; urgency=low
 
   * Done real live background for PR 1.2
index f4395b5..d99b128 100644 (file)
@@ -212,8 +212,6 @@ void
 create_hildon_actor_text(Actor *actor, AWallpaperPlugin *desktop_plugin) 
 {
   GtkWidget *ha = NULL;
-  GdkPixbuf *pixbuf = NULL;
-  GtkWidget *image = NULL;
   GtkWidget *label = NULL;
 
   ha = hildon_animation_actor_new();
index 5fc53d4..6d4911c 100644 (file)
@@ -34,7 +34,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.7 \n Copyright(c) 2010\n \
+    label_about = gtk_label_new (_("Live Wallpaper Version 0.7.1 \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 Andrew Zhilin\n \
@@ -133,23 +133,23 @@ changed_value_theme_cb (HildonPickerButton *picker, Animation_WallpaperPrivate *
     gtk_box_pack_start(GTK_BOX(GTK_DIALOG(priv->window)->vbox),
                                    vbox, TRUE, TRUE, 5);
     if (choice) {
-        if (!strcmp(choice, "Berlin")){
+        if (!strcmp(choice, _("Berlin"))){
             rich_animation_additional_parametr(vbox,priv);
         }
-        if (!strcmp(choice, "Modern")){
+        if (!strcmp(choice, _("Modern"))){
             rich_animation_additional_parametr(vbox,priv);
         }
-        if (!strcmp(choice, "Matrix")){
+        if (!strcmp(choice, _("Matrix"))){
             rich_animation_additional_parametr(vbox,priv);
         }
-        if (!strcmp(choice, "Xsnow")){
+        if (!strcmp(choice, _("Xsnow"))){
             rich_animation_additional_parametr(vbox,priv);
         }
 
-        if (!strcmp(choice, "Accel")){
+        if (!strcmp(choice, _("Accel"))){
             rich_animation_additional_parametr(vbox,priv);
         }
-        if (!strcmp(choice, "Video")){
+        if (!strcmp(choice, _("Video"))){
             additional_parametr_for_theme_video(vbox, priv);
         }
     }