[libgd] main-toolbar: Specify the alignment for left and right section
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] main-toolbar: Specify the alignment for left and right section
- Date: Mon, 10 Sep 2012 08:46:49 +0000 (UTC)
commit c6831a496ce3c63d86f108f3233e535037b32c89
Author: Stefano Facchini <stefano facchini gmail com>
Date: Sun Sep 9 11:59:35 2012 +0200
main-toolbar: Specify the alignment for left and right section
https://bugzilla.gnome.org/show_bug.cgi?id=683659
libgd/gd-main-toolbar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgd/gd-main-toolbar.c b/libgd/gd-main-toolbar.c
index a6b35cf..9de9ddb 100644
--- a/libgd/gd-main-toolbar.c
+++ b/libgd/gd-main-toolbar.c
@@ -200,6 +200,7 @@ gd_main_toolbar_constructed (GObject *obj)
self->priv->left_grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (self->priv->left_grid), 12);
gtk_container_add (GTK_CONTAINER (self->priv->left_group), self->priv->left_grid);
+ gtk_widget_set_halign (self->priv->left_grid, GTK_ALIGN_START);
/* center section */
self->priv->center_group = gtk_tool_item_new ();
@@ -234,6 +235,7 @@ gd_main_toolbar_constructed (GObject *obj)
self->priv->right_grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (self->priv->right_grid), 12);
gtk_container_add (GTK_CONTAINER (self->priv->right_group), self->priv->right_grid);
+ gtk_widget_set_halign (self->priv->right_grid, GTK_ALIGN_END);
self->priv->size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
gtk_size_group_add_widget (self->priv->size_group, GTK_WIDGET (self->priv->left_group));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]