[Xfce4-commits] CVS: xfce4/xfdesktop/src menu-dentry.c,1.7,1.8

Jasper Huijsmans jasper at xfce.org
Thu Feb 26 08:19:05 CET 2004


Op do 26-02-2004, om 04:14 schreef Brian Tarricone:
> Update of /var/cvs/xfce/xfce4/xfdesktop/src
> In directory dbguin.lunar-linux.org:/tmp/cvs-serv5021
> 
> Modified Files:
> 	menu-dentry.c 
> Log Message:
> add a 'blacklist' of gnome/kde control panels that don't have an 
> OnlyShowIn= property
> 
> 
> Index: menu-dentry.c
> ===================================================================
> RCS file: /var/cvs/xfce/xfce4/xfdesktop/src/menu-dentry.c,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -d -r1.7 -r1.8
> --- menu-dentry.c	25 Feb 2004 08:11:02 -0000	1.7
> +++ menu-dentry.c	26 Feb 2004 03:14:42 -0000	1.8
> @@ -66,6 +66,18 @@
>  	"/usr/share/gnome/apps/",
>  };
>  
> +/* these .desktop files _should_ have an OnlyShowIn key, but don't.  i'm going
> + * to match by the Exec field. */
> +static char *blacklist[] = {
> +	"gnome-control-center",
> +	"kmenuedit",
> +	"kcmshell",
> +	"kcontrol",
> +	"kpersonalizer",
> +	"kappfinder",
> +	NULL
> +};
> +	

Hmm, I'm not sure this is a good idea. If you are using gnome or kde
apps, these programs could be useful, couldn't they?

	Jasper





More information about the Xfce4-dev mailing list