[Xfce4-commits] CVS: xfce4/xfdesktop/src menu.c,1.65,1.66

Brian J. Tarricone bjt23 at cornell.edu
Tue May 11 17:05:10 CEST 2004


jasper-

i'm fairly sure i already know what the problem is.  it seems libtool is 
somewhat b0rked again, and it's creating shared libs without the .so 
extension in some cases.  this makes the new settings dialog not get 
loaded, and so it doesn't set the default values to show the menu.  
xfdesktop doesn't see any prefs about the menu, and, because of how i 
have it reacting to that pref, it doesn't load the menu properly.  my 
fault, i'll have it fixed in a min.

	-brian

On Tue, 11 May 2004, Jasper Huysmans wrote:

> Update of /var/cvs/xfce/xfce4/xfdesktop/src
> In directory dbguin.lunar-linux.org:/tmp/cvs-serv28693/src
> 
> Modified Files:
> 	menu.c 
> Log Message:
> Add a couple of debug statements
> 
> Index: menu.c
> ===================================================================
> RCS file: /var/cvs/xfce/xfce4/xfdesktop/src/menu.c,v
> retrieving revision 1.65
> retrieving revision 1.66
> diff -u -d -r1.65 -r1.66
> --- menu.c	3 May 2004 13:12:47 -0000	1.65
> +++ menu.c	11 May 2004 14:55:35 -0000	1.66
> @@ -309,9 +309,12 @@
>  #ifdef USE_DESKTOP_MENU
>  	GtkWidget *menu_widget;
>  	
> +    	DBG ("popup menu");
>  	if(!module_desktop_menu)
>  		return;
>  	
> +    	DBG ("desktop menu module found");
> +
>  	if(!desktop_menu)
>  		desktop_menu = xfce_desktop_menu_new(NULL, FALSE);
>  	else if(xfce_desktop_menu_need_update(desktop_menu))
> @@ -450,6 +453,7 @@
>  {
>  	McsSetting *setting;
>  	
> +	DBG ("menu_init_global");
>  #ifdef HAVE_SIGNAL_H
>  	signal(SIGCHLD, SIG_IGN);
>  #endif
> @@ -457,6 +461,7 @@
>  	if(MCS_SUCCESS == mcs_client_get_setting(client, "showwl",
>  			BACKDROP_CHANNEL, &setting))
>  	{
> +		DBG ("window list");
>  		show_windowlist = setting->data.v_int == 0 ? FALSE : TRUE;
>  		mcs_setting_free(setting);
>  	}
> @@ -464,6 +469,7 @@
>  	if(MCS_SUCCESS == mcs_client_get_setting(client, "showwli",
>  			BACKDROP_CHANNEL, &setting))
>  	{
> +		DBG ("window list icons");
>  		show_windowlist_icons = setting->data.v_int == 0 ? FALSE : TRUE;
>  		mcs_setting_free(setting);
>  	}
> @@ -472,6 +478,7 @@
>  	if(MCS_SUCCESS == mcs_client_get_setting(client, "showdm",
>  			BACKDROP_CHANNEL, &setting))
>  	{
> +		DBG ("desktop menu");
>  		if(setting->data.v_int != 0 && !module_desktop_menu) {
>  			if((module_desktop_menu=xfce_desktop_menu_stub_init())) {
>  				desktop_menu = xfce_desktop_menu_new(NULL, TRUE);
> @@ -493,6 +500,7 @@
>  	if(MCS_SUCCESS == mcs_client_get_setting(client, "showdmi",
>  			BACKDROP_CHANNEL, &setting))
>  	{
> +	    	DBG ("desktop menu icons");
>  		if(desktop_menu) {
>  			xfce_desktop_menu_set_show_icons(desktop_menu,
>  					setting->data.v_int == 0 ? FALSE : TRUE);
> 
> _______________________________________________
> Xfce4-commits mailing list
> Xfce4-commits at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-commits
> 
> 




More information about the Xfce4-dev mailing list