[gnome-control-center] online-accounts: Add margins to the rows' icons
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] online-accounts: Add margins to the rows' icons
- Date: Fri, 17 Feb 2017 16:24:20 +0000 (UTC)
commit 13da84e451d4b2ed873d1bb4f80fa9ac007c52ad
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 2c70b6c..b711416 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -153,6 +153,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);
@@ -609,6 +610,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 */
@@ -628,6 +631,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]