From 9ef3656dda22454ba97bed03324cdf19dfb28dfe Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Tue, 6 Mar 2007 14:44:54 +0000 Subject: gpe-applauncher: Make sure default loading icon is found. --- packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty | 0 .../gpephone/gpe-applauncher-0.7/default-icon.patch | 20 ++++++++++++++++++++ packages/gpephone/gpe-applauncher_0.7.bb | 4 +++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty create mode 100644 packages/gpephone/gpe-applauncher-0.7/default-icon.patch diff --git a/packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty b/packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gpephone/gpe-applauncher-0.7/default-icon.patch b/packages/gpephone/gpe-applauncher-0.7/default-icon.patch new file mode 100644 index 0000000000..e1ec24f141 --- /dev/null +++ b/packages/gpephone/gpe-applauncher-0.7/default-icon.patch @@ -0,0 +1,20 @@ +Index: applications.c +=================================================================== +--- applications.c (Revision 598) ++++ applications.c (Arbeitskopie) +@@ -463,8 +463,13 @@ + applauncher_settings.themename ? applauncher_settings.themename : "default", + THEMEFOLDER, ICON_LOADING, NULL); + } +- +- g_print ("\nloading icon: %s\n", file); ++ ++ if (!g_file_test (file, G_FILE_TEST_EXISTS)) ++ { ++ g_free (file); ++ file = g_build_filename (LOCAL_THEMEDIR, "default", ++ THEMEFOLDER, ICON_LOADING, NULL); ++ } + + nc_window = gtk_app_notification_new(); + gtk_widget_set_size_request(GTK_WIDGET(nc_window), -1, 70); diff --git a/packages/gpephone/gpe-applauncher_0.7.bb b/packages/gpephone/gpe-applauncher_0.7.bb index ae6cd31d9a..349330047b 100644 --- a/packages/gpephone/gpe-applauncher_0.7.bb +++ b/packages/gpephone/gpe-applauncher_0.7.bb @@ -2,13 +2,15 @@ LICENSE = "GPL" DESCRIPTION = "A cellphone application launcher." SECTION = "gpe" PRIORITY = "optional" -PR = "r0" +PR = "r1" DEPENDS = "gtk+ libgpewidget libgpephone libgpelaunch dbus-glib libxsettings-client" GPE_TARBALL_SUFFIX= "gz" inherit gpephone autotools +SRC_URI += " file://default-icon.patch;patch=1;pnum=0" + #EXTRA_OECONF = "--enable-gridlayout" FILES_${PN} += '${datadir}/themes' -- cgit v1.2.3