Commit 6f0e1171 authored by Scott Reeves's avatar Scott Reeves

don't try and add menu item when no help

svn path=/trunk/; revision=160
parent 3a7449ce
2007-02-01 Scott Reeves <sreeves@novell.com>
* application-tile.c: small fixup of previous patch to not try and
add the menu item when no help available.
2007-02-01 Rodrigo Moya <rodrigo@gnome-db.org>
* application-tile.c (application_tile_setup): don't show the 'Help
......
......@@ -333,6 +333,7 @@ application_tile_setup (ApplicationTile *this)
TILE_ACTION_OPENS_NEW_WINDOW | TILE_ACTION_OPENS_HELP);
menu_item = GTK_WIDGET (tile_action_get_menu_item (action));
gtk_container_add (menu_ctnr, menu_item);
}
else {
action = NULL;
......@@ -340,8 +341,6 @@ application_tile_setup (ApplicationTile *this)
actions [APPLICATION_TILE_ACTION_HELP] = action;
gtk_container_add (menu_ctnr, menu_item);
/* insert separator */
if (action != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment