Re: app-helper menus with blank pixmap?



>  Some app-helper menu items use a blank pixmap (I think the should use
>  GNOME_APP_PIXMAP_NONE)
>  
>  gnome-app-helper.c:
>  { GNOME_APP_UI_ITEM, N_("Create New _Window"), N_("Create a new
>  window"),
>  NULL, NULL, NULL,
>  GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_BLANK,
>  GNOME_KEY_NAME_NEW_WINDOW, GNOME_KEY_MOD_NEW_WINDOW, NULL },
>  
>  Why?

Historical reasons.  Before we had the GtkPixmapMenuItem widget, we
needed a way to pad items without pixmaps, so we just put in a blank
pixmap.  Feel free to fix them on HEAD :-)

  Federico



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