mirror of https://github.com/GNOME/gimp.git
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:
parent
d4ebac156c
commit
f9793499b0
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue