[gimp] Remove all padding from the "visible" and "linked" toggles
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Remove all padding from the "visible" and "linked" toggles
- Date: Fri, 28 Aug 2009 09:12:55 +0000 (UTC)
commit c0785cfc67783dd688b7b51ea515b13f6b1d287e
Author: Michael Natterer <mitch gimp org>
Date: Fri Aug 28 11:11:19 2009 +0200
Remove all padding from the "visible" and "linked" toggles
Makes the layers, channels and path dialogs much more compact.
app/widgets/gimpitemtreeview.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpitemtreeview.c b/app/widgets/gimpitemtreeview.c
index 2d3a50b..472262e 100644
--- a/app/widgets/gimpitemtreeview.c
+++ b/app/widgets/gimpitemtreeview.c
@@ -343,6 +343,10 @@ gimp_item_tree_view_constructor (GType type,
gtk_tree_view_insert_column (tree_view->view, column, 0);
item_view->priv->eye_cell = gimp_cell_renderer_toggle_new (GIMP_STOCK_VISIBLE);
+ g_object_set (item_view->priv->eye_cell,
+ "xpad", 0,
+ "ypad", 0,
+ NULL);
gtk_tree_view_column_pack_start (column, item_view->priv->eye_cell, FALSE);
gtk_tree_view_column_set_attributes (column, item_view->priv->eye_cell,
"active",
@@ -360,6 +364,10 @@ gimp_item_tree_view_constructor (GType type,
gtk_tree_view_insert_column (tree_view->view, column, 1);
item_view->priv->chain_cell = gimp_cell_renderer_toggle_new (GIMP_STOCK_LINKED);
+ g_object_set (item_view->priv->chain_cell,
+ "xpad", 0,
+ "ypad", 0,
+ NULL);
gtk_tree_view_column_pack_start (column, item_view->priv->chain_cell, FALSE);
gtk_tree_view_column_set_attributes (column, item_view->priv->chain_cell,
"active",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]