mirror of https://github.com/GNOME/gimp.git
Revert "Add a button to create a group layer to the layers dialog"
This reverts commit d2e1f2ac74
. If we
keep the layer group button in 2.7.0 people will expect layer groups
to fully work and get mad when that is not the case. We can enable it
again after the release.
This commit is contained in:
parent
dcfa6b51c3
commit
b72e5a35b1
|
@ -253,8 +253,6 @@ gimp_layer_tree_view_view_iface_init (GimpContainerViewInterface *iface)
|
|||
iface->insert_item = gimp_layer_tree_view_insert_item;
|
||||
iface->select_item = gimp_layer_tree_view_select_item;
|
||||
iface->set_view_size = gimp_layer_tree_view_set_view_size;
|
||||
|
||||
iface->model_is_tree = TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -415,18 +413,13 @@ gimp_layer_tree_view_constructor (GType type,
|
|||
/* hide basically useless edit button */
|
||||
gtk_widget_hide (gimp_item_tree_view_get_edit_button (GIMP_ITEM_TREE_VIEW (layer_view)));
|
||||
|
||||
button = gimp_editor_add_action_button (GIMP_EDITOR (layer_view), "layers",
|
||||
"layers-new-group", NULL);
|
||||
gtk_box_reorder_child (GTK_BOX (GIMP_EDITOR (layer_view)->button_box),
|
||||
button, 2);
|
||||
|
||||
button = gimp_editor_add_action_button (GIMP_EDITOR (layer_view), "layers",
|
||||
"layers-anchor", NULL);
|
||||
gimp_container_view_enable_dnd (GIMP_CONTAINER_VIEW (layer_view),
|
||||
GTK_BUTTON (button),
|
||||
GIMP_TYPE_LAYER);
|
||||
gtk_box_reorder_child (GTK_BOX (GIMP_EDITOR (layer_view)->button_box),
|
||||
button, 6);
|
||||
button, 5);
|
||||
|
||||
return object;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue