summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-03-06 14:44:54 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-03-06 14:44:54 +0000
commit9ef3656dda22454ba97bed03324cdf19dfb28dfe (patch)
treef20519f3848d49867fd3a4f96425b7cf5e513077
parent1809a1e0a51fc6f07510c81aac3510d351535cf3 (diff)
gpe-applauncher: Make sure default loading icon is found.
-rw-r--r--packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty0
-rw-r--r--packages/gpephone/gpe-applauncher-0.7/default-icon.patch20
-rw-r--r--packages/gpephone/gpe-applauncher_0.7.bb4
3 files changed, 23 insertions, 1 deletions
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
--- /dev/null
+++ b/packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty
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'