[Patch] Fix for the bug 132793



Hi,

I have fixed the bug, 132793. Please review it.
It is a bug in panel, drawer applet.

Thanks
Srini.
Index: applet.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/applet.c,v
retrieving revision 1.227
diff -u -r1.227 applet.c
--- applet.c	21 Jan 2004 13:22:41 -0000	1.227
+++ applet.c	3 Feb 2004 06:21:34 -0000
@@ -422,7 +422,7 @@
 	for (l = info->user_menu; l; l = l->next) {
 		AppletUserMenu *user_menu = l->data;
 
-		if (user_menu->is_enabled_func && !user_menu->is_enabled_func ())
+		if (user_menu->is_enabled_func && user_menu->is_enabled_func ())
 			continue;
 
 		add_to_submenus (info, "", user_menu->name, user_menu, 
Index: launcher.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/launcher.c,v
retrieving revision 1.267
diff -u -r1.267 launcher.c
--- launcher.c	21 Jan 2004 13:22:41 -0000	1.267
+++ launcher.c	3 Feb 2004 06:21:34 -0000
@@ -709,9 +709,9 @@
 {
 	if (panel_lockdown_get_locked_down () ||
 	    panel_lockdown_get_disable_command_line ())
-		return FALSE;
+		return TRUE; /* Lockdown Properties*/
 
-	return TRUE;
+	return FALSE; /* UnLock Properties*/
 }
 
 static Launcher *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]