Commit cf136155 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/gui/file-open-menu.c app/gui/file-save-menu.c app/gui/image-menu.c

2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/image-menu.c
	* app/gui/menus.c
	* app/gui/plug-in-menus.c: when dynamically creating menu entries,
	pass static_entry == FALSE to gimp_item_factory_create_item() so a
	*copy* of the the help_id is attached to the menu item.
	Fixes help for plug-in menu entries.
parent e8b27df0
2004-01-20 Michael Natterer <mitch@gimp.org>
* app/gui/file-open-menu.c
* app/gui/file-save-menu.c
* app/gui/image-menu.c
* app/gui/menus.c
* app/gui/plug-in-menus.c: when dynamically creating menu entries,
pass static_entry == FALSE to gimp_item_factory_create_item() so a
*copy* of the the help_id is attached to the menu item.
Fixes help for plug-in menu entries.
2004-01-20 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in.[ch]: changed member
......@@ -108,7 +108,7 @@ file_open_menu_setup (GimpItemFactory *factory)
gimp_item_factory_create_item (factory,
&entry,
locale_domain,
file_proc, 2, TRUE);
file_proc, 2, FALSE);
if (is_xcf)
{
......
......@@ -109,7 +109,7 @@ file_save_menu_setup (GimpItemFactory *factory)
gimp_item_factory_create_item (factory,
&entry,
locale_domain,
file_proc, 2, TRUE);
file_proc, 2, FALSE);
if (is_xcf)
{
......
......@@ -1156,7 +1156,7 @@ image_menu_setup (GimpItemFactory *factory)
gimp_item_factory_create_item (factory,
&entry,
NULL,
factory->gimp, 2, TRUE);
factory->gimp, 2, FALSE);
}
}
}
......
......@@ -356,7 +356,7 @@ menus_last_opened_add (GimpItemFactory *item_factory)
gimp_item_factory_create_items (item_factory,
n_last_opened_entries, last_opened_entries,
item_factory->gimp, 2, TRUE);
item_factory->gimp, 2, FALSE);
gimp_item_factory_set_sensitive (GTK_ITEM_FACTORY (item_factory),
"/File/Open Recent/(None)",
......
......@@ -201,8 +201,7 @@ plug_in_menus_create_entry (GimpItemFactory *item_factory,
gimp_item_factory_create_item (item_factory,
&entry,
locale_domain,
&proc_def->db_info, 2,
TRUE);
&proc_def->db_info, 2, FALSE);
}
}
else
......@@ -218,7 +217,7 @@ plug_in_menus_create_entry (GimpItemFactory *item_factory,
gimp_item_factory_create_item (item_factory,
&entry,
locale_domain,
&proc_def->db_info, 2, TRUE);
&proc_def->db_info, 2, FALSE);
}
}
......
......@@ -108,7 +108,7 @@ file_open_menu_setup (GimpItemFactory *factory)
gimp_item_factory_create_item (factory,
&entry,
locale_domain,
file_proc, 2, TRUE);
file_proc, 2, FALSE);
if (is_xcf)
{
......
......@@ -109,7 +109,7 @@ file_save_menu_setup (GimpItemFactory *factory)
gimp_item_factory_create_item (factory,
&entry,
locale_domain,
file_proc, 2, TRUE);
file_proc, 2, FALSE);
if (is_xcf)
{
......
......@@ -1156,7 +1156,7 @@ image_menu_setup (GimpItemFactory *factory)
gimp_item_factory_create_item (factory,
&entry,
NULL,
factory->gimp, 2, TRUE);
factory->gimp, 2, FALSE);
}
}
}
......
......@@ -356,7 +356,7 @@ menus_last_opened_add (GimpItemFactory *item_factory)
gimp_item_factory_create_items (item_factory,
n_last_opened_entries, last_opened_entries,
item_factory->gimp, 2, TRUE);
item_factory->gimp, 2, FALSE);
gimp_item_factory_set_sensitive (GTK_ITEM_FACTORY (item_factory),
"/File/Open Recent/(None)",
......
......@@ -201,8 +201,7 @@ plug_in_menus_create_entry (GimpItemFactory *item_factory,
gimp_item_factory_create_item (item_factory,
&entry,
locale_domain,
&proc_def->db_info, 2,
TRUE);
&proc_def->db_info, 2, FALSE);
}
}
else
......@@ -218,7 +217,7 @@ plug_in_menus_create_entry (GimpItemFactory *item_factory,
gimp_item_factory_create_item (item_factory,
&entry,
locale_domain,
&proc_def->db_info, 2, TRUE);
&proc_def->db_info, 2, FALSE);
}
}
......
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