summaryrefslogtreecommitdiff
path: root/recipes/gpephone/gpe-applauncher-0.7/default-icon.patch
blob: e1ec24f1418a7abd5d6f70014b11fdb6a7f985d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);