added CrazyChickens check
authorVlad <vlad@gas.by>
Tue, 7 Sep 2010 09:55:23 +0000 (12:55 +0300)
committerVlad <vlad@gas.by>
Tue, 7 Sep 2010 09:55:23 +0000 (12:55 +0300)
applet/src/livewp-settings.c

index 90310ac..0a29765 100644 (file)
@@ -752,6 +752,15 @@ lw_theme_settings(GtkWidget *button, Animation_WallpaperPrivate *priv) {
                         break;
                     }
                 }
+                /* Check CrazyChickens program */
+                if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), "CrazyChickens")){
+                    if (access("/usr/bin/crazychickens", F_OK) != 0){
+                        show_problem_package(button,"'Crazy Chickens'");
+                        /* if not scuccess exit from wthout saving */ 
+                        break;
+                    }
+                }
+
                 /* Check Colorflood program */
                 if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), "Colorflood")){
                     if (access("/usr/bin/colorflood", F_OK) != 0){