[gimp] Revert "Add a button to create a group layer to the layers dialog"
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Revert "Add a button to create a group layer to the layers dialog"
- Date: Sat, 15 Aug 2009 07:47:06 +0000 (UTC)
commit b72e5a35b1e943a9b7017273a3580a11eebf18bc
Author: Martin Nordholts <martinn src gnome org>
Date: Sat Aug 15 09:41:20 2009 +0200
Revert "Add a button to create a group layer to the layers dialog"
This reverts commit d2e1f2ac7402916644e4362c7fa11698e5f80064. 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.
app/widgets/gimplayertreeview.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/app/widgets/gimplayertreeview.c b/app/widgets/gimplayertreeview.c
index 55f320c..7d60bf7 100644
--- a/app/widgets/gimplayertreeview.c
+++ b/app/widgets/gimplayertreeview.c
@@ -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
@@ -416,17 +414,12 @@ gimp_layer_tree_view_constructor (GType type,
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]