summaryrefslogtreecommitdiff
path: root/shell/cc-shell-item-view.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-07-14 15:24:03 +0100
committerBastien Nocera <hadess@hadess.net>2011-07-14 15:24:03 +0100
commit2066d456ab1cd3f927ede970fd1ed72167194053 (patch)
tree8897525af9a7c647605981dd91ec2c24af3293e6 /shell/cc-shell-item-view.c
parent11d94b271b85b6146166ac1839ead7de6e5956d9 (diff)
downloadgnome-control-center-2066d456ab1cd3f927ede970fd1ed72167194053.tar.gz
shell: Shrink vertically
So that it has more chances of fitting on a netbook screen. This is done by removing the 6 pixel margin, and the 12 pixel bottom padding. This gives us the whole panel with a height of around 550 pixels with the default text size, which should be enough to display on a 600 pixels high screen. https://bugzilla.gnome.org/show_bug.cgi?id=645808
Diffstat (limited to 'shell/cc-shell-item-view.c')
-rw-r--r--shell/cc-shell-item-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cc-shell-item-view.c b/shell/cc-shell-item-view.c
index 7b0b37ae3..ea4c9cdca 100644
--- a/shell/cc-shell-item-view.c
+++ b/shell/cc-shell-item-view.c
@@ -199,6 +199,7 @@ cc_shell_item_view_init (CcShellItemView *self)
{
self->priv = SHELL_ITEM_VIEW_PRIVATE (self);
+ g_object_set (self, "margin", 0, NULL);
g_signal_connect (self, "item-activated",
G_CALLBACK (iconview_item_activated_cb), self);
g_signal_connect (self, "button-press-event",