[gnome-control-center/wip/gbsneto/new-goa-panel] online-accounts: add margins to the rows' icons
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/new-goa-panel] online-accounts: add margins to the rows' icons
- Date: Thu, 16 Feb 2017 12:09:33 +0000 (UTC)
commit ab176e8297226e7b946d02c1bedee6bf3a95c229
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Feb 16 10:07:59 2017 -0200
online-accounts: add margins to the rows' icons
Per Allan's request, add more margin to the rows' icons.
https://bugzilla.gnome.org/show_bug.cgi?id=774222
panels/online-accounts/cc-online-accounts-panel.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c
b/panels/online-accounts/cc-online-accounts-panel.c
index c3f8c0a..60dd7c9 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -156,6 +156,7 @@ add_provider_row (CcGoaPanel *self,
image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG);
gtk_container_add (GTK_CONTAINER (row_grid), image);
+ g_object_set (image, "margin", 6, NULL);
markup = g_strdup_printf ("<b>%s</b>", name);
label = gtk_label_new (NULL);
@@ -692,6 +693,8 @@ on_account_added (GoaClient *client,
gtk_image_set_from_gicon (GTK_IMAGE (icon), gicon, GTK_ICON_SIZE_DIALOG);
}
+ g_object_set (icon, "margin", 6, NULL);
+
gtk_container_add (GTK_CONTAINER (box), icon);
/* The name of the provider */
@@ -711,6 +714,7 @@ on_account_added (GoaClient *client,
/* "Needs attention" icon */
icon = gtk_image_new_from_icon_name ("dialog-warning-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_widget_set_no_show_all (icon, TRUE);
+ g_object_set (icon, "margin", 6, NULL);
g_object_bind_property (goa_object_peek_account (object),
"attention-needed",
icon,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]