undeprecated by using a GtkUIManager for creating the toolbar. Some

2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/uniteditor.c: undeprecated by using a
	GtkUIManager for creating the toolbar. Some cleanup and code
	reordering.
This commit is contained in:
Michael Natterer 2004-11-04 15:58:49 +00:00 committed by Michael Natterer
parent d4ebac156c
commit f9793499b0
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-11-04 Michael Natterer <mitch@gimp.org>
* plug-ins/common/uniteditor.c: undeprecated by using a
GtkUIManager for creating the toolbar. Some cleanup and code
reordering.
2004-11-04 Michael Natterer <mitch@gimp.org>
* configure.in: disable the whole bunch of FOO_DISABLE_DEPRECATED

View File

@ -117,13 +117,13 @@ static GtkActionEntry actions[] =
},
{ "unit-editor-new", GTK_STOCK_NEW,
N_("New"), NULL,
NULL, NULL,
N_("Create a new unit from scratch."),
G_CALLBACK (new_callback)
},
{ "unit-editor-duplicate", GIMP_STOCK_DUPLICATE,
N_("Duplicate"), NULL,
NULL, NULL,
N_("Create a new unit with the currently "
"selected unit as template."),
G_CALLBACK (duplicate_callback)
@ -423,6 +423,7 @@ unit_editor_dialog (void)
ui_manager = gtk_ui_manager_new ();
group = gtk_action_group_new ("unit-editor");
gtk_action_group_set_translation_domain (group, NULL);
gtk_action_group_add_actions (group, actions, G_N_ELEMENTS (actions), tv);
gtk_ui_manager_insert_action_group (ui_manager, group, -1);