summaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-11-12 09:16:42 -0500
committerChris Lumens <clumens@redhat.com>2012-11-12 09:16:42 -0500
commitaf679e4cbc3f3a72bac44c55441e36edc5d5ff79 (patch)
treeecef3161cf838f2c1f871da35b5f01b7d9b29b21 /widgets
parent07961f35d4b372cc5bd699fddfd24e237be0220d (diff)
downloadanaconda-af679e4cbc3f3a72bac44c55441e36edc5d5ff79.tar.gz
anaconda-af679e4cbc3f3a72bac44c55441e36edc5d5ff79.tar.xz
anaconda-af679e4cbc3f3a72bac44c55441e36edc5d5ff79.zip
Adjust right margin for MountpointSelector (mizmo).
The mountpoint selector has a problem where all mountpoints except the selected one are flush with 0 margin against the right wall of the box they're in, and the selected mountpoint gets 6 px of margin between it and the wall. This patch makes that margin more consistent, so both selected and unselected mountpoints in the mountpoint selector list on the left hand side of the custom partitioning spoke get a consistent 12 px margin.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/src/MountpointSelector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/src/MountpointSelector.c b/widgets/src/MountpointSelector.c
index cf62d06bb..8ba7d84e8 100644
--- a/widgets/src/MountpointSelector.c
+++ b/widgets/src/MountpointSelector.c
@@ -196,7 +196,6 @@ static void anaconda_mountpoint_selector_init(AnacondaMountpointSelector *mountp
pixmap_path = find_pixmap("right-arrow-icon.png");
mountpoint->priv->arrow = gtk_image_new_from_file(pixmap_path);
gtk_widget_set_no_show_all(GTK_WIDGET(mountpoint->priv->arrow), TRUE);
- gtk_widget_set_margin_right(GTK_WIDGET(mountpoint->priv->arrow), 6);
g_free(pixmap_path);
/* Set some properties. */
@@ -230,6 +229,7 @@ static void anaconda_mountpoint_selector_init(AnacondaMountpointSelector *mountp
gtk_grid_attach(GTK_GRID(mountpoint->priv->grid), mountpoint->priv->size_label, 1, 0, 1, 2);
gtk_grid_attach(GTK_GRID(mountpoint->priv->grid), mountpoint->priv->arrow, 2, 0, 1, 2);
gtk_grid_attach(GTK_GRID(mountpoint->priv->grid), mountpoint->priv->mountpoint_label, 0, 1, 1, 2);
+ gtk_widget_set_margin_right(GTK_WIDGET(mountpoint->priv->grid), 12);
gtk_container_add(GTK_CONTAINER(mountpoint), mountpoint->priv->grid);
}