diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2007-03-06 14:44:54 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2007-03-06 14:44:54 +0000 |
commit | 9ef3656dda22454ba97bed03324cdf19dfb28dfe (patch) | |
tree | f20519f3848d49867fd3a4f96425b7cf5e513077 /packages/gpephone/gpe-applauncher-0.7/default-icon.patch | |
parent | 1809a1e0a51fc6f07510c81aac3510d351535cf3 (diff) |
gpe-applauncher: Make sure default loading icon is found.
Diffstat (limited to 'packages/gpephone/gpe-applauncher-0.7/default-icon.patch')
-rw-r--r-- | packages/gpephone/gpe-applauncher-0.7/default-icon.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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); |