Abhijit:

I don't notice this patch updated in spec-files SVN head yet.  Are
you planning to update it there?  Also, note that in the
gnome-panel.spec file that this patch is reported upstream here:

http://bugzilla.gnome.org/show_bug.cgi?id=394249

It would be good to update that bug report with an updated patch
if we have fixed it to work better.  Could you do that when you
add the patch to spec-files SVN head?

Brian


> Please review the patch below for d.o.o Bug #7716 Main Menu and Menu Bar 
> applet don't support gconf restrict_application_launching key.
> This patch is modification on the earlier gnome-panel patch 
> gnome-panel-07-restrict-app-launching.diff.
> Diff was taken on opensolaris-2009-06 spec files.
> 
> Code Changes:
> --- gnome-panel-2.24.2.orig/gnome-panel/menu.c  2009-06-09 
> 17:27:06.124573406 +0530
> +++ gnome-panel-2.24.2/gnome-panel/menu.c       2009-06-09 
> 17:28:50.818229836 +0530
> @@ -1612,12 +1638,18 @@ create_menuitem (GtkWidget          *men
>       g_signal_connect (menuitem, "activate",
>                         G_CALLBACK (activate_app_def), entry);
> 
> -       gtk_widget_show (menuitem);
> +       if (entry != NULL && !panel_lockdown_is_allowed_menu_entry 
> (entry)) {
> +               gtk_widget_hide (menuitem);
> +               *is_hidden = TRUE;
> +       }else {
> +               gtk_widget_show (menuitem);
> +       }
> }
> 
> static void
> create_menuitem_from_alias (GtkWidget      *menu,
> 
> Pls. find the complete patch in the attachment.
> 
> Thanks,
> Abhijit
> 


Reply via email to