From 3e4dfbcb39f9a6a3fe2bc8a88cc87da749961b48 Mon Sep 17 00:00:00 2001 From: vlad Date: Sun, 22 Aug 2010 20:00:04 +0300 Subject: [PATCH] fixed named Sherman's Aquarium --- applet/debian/changelog | 6 ++++++ applet/src/livewp-settings.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/applet/debian/changelog b/applet/debian/changelog index ed9b8b1..f3e77f8 100644 --- a/applet/debian/changelog +++ b/applet/debian/changelog @@ -1,3 +1,9 @@ +live-wallpaper (0.8.4) unstable; urgency=low + + * Fixed name for Sherman's Aquarium theme + + -- Vlad Vasiliev Sun, 22 Aug 2010 20:10:10 +0200 + live-wallpaper (0.8.3) unstable; urgency=low * Removed options 'Sound' from theme Video diff --git a/applet/src/livewp-settings.c b/applet/src/livewp-settings.c index 69d1b4d..0f45947 100644 --- a/applet/src/livewp-settings.c +++ b/applet/src/livewp-settings.c @@ -316,14 +316,14 @@ fill_theme_button (Animation_WallpaperPrivate *priv, GtkWidget *button, gchar *c if (!strcmp(category, "Unknown")){ store = priv->extheme_list; while (store){ - if (!strcmp("Sherman's Aquarium" , g_hash_table_lookup(store->data, "name"))){ + if (!strcmp("Shermans Aquarium" , g_hash_table_lookup(store->data, "name"))){ flag = TRUE; break; } store = g_slist_next(store); } if (!flag) - hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (selector), "Sherman's Aquarium"); + hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (selector), "Shermans Aquarium"); } hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (button), @@ -659,7 +659,7 @@ lw_theme_settings(GtkWidget *button, Animation_WallpaperPrivate *priv) { } } /* Check Xsnow program */ - if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), "Sherman's Aquarium")){ + if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), "Shermans Aquarium")){ if (access("/usr/bin/shermans", F_OK) != 0){ hildon_banner_show_information(GTK_WIDGET(button), NULL, _("You haven't got the installed package 'Sherman's Aquarium'. Please install it via using Application Manager")); -- 1.7.9.5