removed button 'sound' from theme Video
authorvlad <vlad@vlanout.(none)>
Sun, 22 Aug 2010 15:32:49 +0000 (18:32 +0300)
committervlad <vlad@vlanout.(none)>
Sun, 22 Aug 2010 15:32:49 +0000 (18:32 +0300)
applet/debian/changelog
applet/src/livewp-scene.c
applet/src/livewp-settings.c

index 4d9442a..ed9b8b1 100644 (file)
@@ -1,3 +1,15 @@
+live-wallpaper (0.8.3) unstable; urgency=low
+
+  * Removed options 'Sound' from theme Video 
+
+ -- Vlad Vasiliev <vlad@gas.by>  Sun, 22 Aug 2010 18:39:10 +0200
+
+live-wallpaper (0.8.2) unstable; urgency=low
+
+  * Updated Finish and Russian translation
+
+ -- Vlad Vasiliev <vlad@gas.by>  Sun, 22 Aug 2010 11:39:10 +0200
+
 live-wallpaper (0.8.1) unstable; urgency=low
 
   * Fixed problem in parsing of xml files 
index c62d0fd..f1d5229 100644 (file)
@@ -270,9 +270,12 @@ init_scene_Video(AWallpaperPlugin *desktop_plugin)
     }
     file_plus_uri = g_strdup_printf("file://%s",desktop_plugin->priv->theme_string_parametr1);
     g_object_set (G_OBJECT (bin), "uri", file_plus_uri, NULL );
+#if 0
+    /* Doesn't work in real device. Hardware volume buttons can to change volume for mutted track */
     /* Set Mute */
     if (!desktop_plugin->priv->theme_bool_parametr1)
         g_object_set (G_OBJECT (bin), "mute", TRUE, NULL );
+#endif
     g_object_set (G_OBJECT (videosink), "force-aspect-ratio", TRUE, NULL  );
 
     if (GST_IS_X_OVERLAY (videosink))
index 258920a..69d1b4d 100644 (file)
@@ -539,7 +539,6 @@ void
 additional_parametr_for_theme_video(GtkWidget *vbox, Animation_WallpaperPrivate *priv){
 
     GtkWidget *file_button;
-    GtkWidget *sound_button;
     GtkWidget *rich_animation_button;
 
     if (priv->theme_string_parametr1)
@@ -560,13 +559,16 @@ additional_parametr_for_theme_video(GtkWidget *vbox, Animation_WallpaperPrivate
                                    rich_animation_button, TRUE, TRUE, 5);
     g_object_set_data(G_OBJECT(priv->window), "rich_animation_button", rich_animation_button);
     /* Create sound button */  
+#if 0
+
+    /* Doesn't work in real device. Hardware volume buttons can to change volume for mutted track */
     sound_button = create_bool_button(priv->theme_bool_parametr1, _("Sound"));
     gtk_box_pack_start(GTK_BOX(vbox),
                                    sound_button, TRUE, TRUE, 5);
     g_object_set_data(G_OBJECT(priv->window), "sound_button", sound_button);
-
-    gtk_widget_show (file_button);
     gtk_widget_show (sound_button);
+#endif
+    gtk_widget_show (file_button);
     gtk_widget_show (rich_animation_button);
 
 }
@@ -684,14 +686,15 @@ lw_theme_settings(GtkWidget *button, Animation_WallpaperPrivate *priv) {
                             g_free(priv->theme_string_parametr1);
                         priv->theme_string_parametr1 = g_strdup((gchar*)hildon_button_get_value (HILDON_BUTTON(button1)));
                     }
+                    /* 
                     temp_button = g_object_get_data(G_OBJECT(priv->window), "sound_button");
                     if (temp_button){
-                        /* Check rich animation */
                         if (hildon_check_button_get_active (HILDON_CHECK_BUTTON(temp_button)))
                             priv->theme_bool_parametr1 = TRUE;
                         else
                             priv->theme_bool_parametr1 = FALSE;
                     }
+                    */
                 }
                 /* Check external themes */
                 GSList *store = priv->extheme_list;