Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37570618
en ru br
ALT Linux repositórios
S:2.24.4-alt12
5.0: 2.24.1-alt1
4.1: 2.22.0-alt1.1
4.0: 2.16.3-alt3
3.0: 1.0.5-alt7.1

Group :: Sistema/Bibliotecas
RPM: gnome-vfs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gnome-vfs-2.17.91-onlyshow.patch
Download


--- gnome-vfs-2.17.91/libgnomevfs/gnome-vfs-mime-info-cache.c.onlyshow	2007-03-01 11:15:45.000000000 +0100
+++ gnome-vfs-2.17.91/libgnomevfs/gnome-vfs-mime-info-cache.c	2007-03-01 13:29:22.000000000 +0100
@@ -487,6 +487,13 @@
 			if (strcmp (only_show_in_list[i], "GNOME") == 0) {
 				can_show_in = TRUE;
 				break;
+			} else {
+				if (g_getenv("KDE_FULL_SESSION") &&
+				    (strcmp (only_show_in_list[i], "KDE") == 0)) {
+					can_show_in = TRUE;
+					break;
+			
+				}
 			}
 		}
 
@@ -511,10 +518,18 @@
 		}
 
 		for (i = 0; not_show_in_list[i] != NULL; i++) {
-			if (strcmp (not_show_in_list[i], "GNOME") == 0) {
+			if (g_getenv("GNOME_DESKTOP_SESSION_ID") && strcmp (not_show_in_list[i], "GNOME") == 0) {
 				can_show_in = FALSE;
 				break;
+			} else {
+				if (g_getenv("KDE_FULL_SESSION") &&
+					(strcmp (not_show_in_list[i], "KDE") == 0)) {
+					can_show_in = FALSE;
+					break;
+			
+				}
 			}
+
 		}
 
 		g_strfreev (not_show_in_list);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009