Link Here
|
1 |
--- src/cairo-dock-menu.c.orig 2012-03-10 14:07:34.504001097 +0200 |
2 |
+++ src/cairo-dock-menu.c 2012-03-10 14:07:43.434017412 +0200 |
3 |
@@ -293,7 +293,7 @@ |
4 |
return ; |
5 |
} |
6 |
} |
7 |
- gchar *cCommand = g_strdup_printf ("cp '/usr/share/applications/cairo-dock%s.desktop' '%s'", (g_bForceCairo ? "-cairo" : ""), cCairoAutoStartDirPath); |
8 |
+ gchar *cCommand = g_strdup_printf ("cp '/usr/local/share/applications/cairo-dock%s.desktop' '%s'", (g_bForceCairo ? "-cairo" : ""), cCairoAutoStartDirPath); |
9 |
int r = system (cCommand); |
10 |
g_free (cCommand); |
11 |
g_free (cCairoAutoStartDirPath); |
12 |
@@ -861,11 +861,11 @@ |
13 |
|
14 |
// on trouve le .desktop du programme. |
15 |
cd_debug ("%s (%s)\n", __func__, icon->cClass); |
16 |
- gchar *cDesktopFilePath = g_strdup_printf ("/usr/share/applications/%s.desktop", icon->cClass); |
17 |
+ gchar *cDesktopFilePath = g_strdup_printf ("/usr/local/share/applications/%s.desktop", icon->cClass); |
18 |
if (! g_file_test (cDesktopFilePath, G_FILE_TEST_EXISTS)) // on n'a pas trouve la, on cherche chez KDE. |
19 |
{ |
20 |
g_free (cDesktopFilePath); |
21 |
- cDesktopFilePath = g_strdup_printf ("/usr/share/applications/kde4/%s.desktop", icon->cClass); |
22 |
+ cDesktopFilePath = g_strdup_printf ("/usr/local/share/applications/kde4/%s.desktop", icon->cClass); |
23 |
if (! g_file_test (cDesktopFilePath, G_FILE_TEST_EXISTS)) // toujours rien, on utilise locate. |
24 |
{ |
25 |
g_free (cDesktopFilePath); |