diff options
author | Allan Day <allanpday@gmail.com> | 2017-08-17 12:49:18 +0100 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2017-08-20 18:38:23 +0200 |
commit | c7fea8894ff9bbe1391e16308438b81ed8e22c0d (patch) | |
tree | 3d630fb0581100e1077474c75c30692450e22eaa /panels/notifications | |
parent | a9bf8b5b04a195d70639747ad35ca0455b80e7dd (diff) | |
download | gnome-control-center-c7fea8894ff9bbe1391e16308438b81ed8e22c0d.tar.gz |
Give search and notifications consistent row layouts
The search and notification panels have similar list rows,
as they both list applications. This gives the list rows more
consistent layouts - application icons are made to be 32px
throughout and row heights are made to be the same.
Note that the row widths are unfortunately still different.
https://bugzilla.gnome.org/show_bug.cgi?id=786384
Diffstat (limited to 'panels/notifications')
-rw-r--r-- | panels/notifications/cc-notifications-panel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/panels/notifications/cc-notifications-panel.c b/panels/notifications/cc-notifications-panel.c index 8cadb9906..89e33e171 100644 --- a/panels/notifications/cc-notifications-panel.c +++ b/panels/notifications/cc-notifications-panel.c @@ -314,7 +314,8 @@ add_application (CcNotificationsPanel *panel, else g_object_ref (icon); - box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10); + gtk_container_set_border_width (GTK_CONTAINER (box), 10); row = gtk_list_box_row_new (); g_object_set_qdata_full (G_OBJECT (row), application_quark (), @@ -329,9 +330,6 @@ add_application (CcNotificationsPanel *panel, w = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG); gtk_icon_size_lookup (GTK_ICON_SIZE_DND, &size, NULL); gtk_image_set_pixel_size (GTK_IMAGE (w), size); - gtk_widget_set_margin_start (w, 12); - gtk_widget_set_margin_top (w, 8); - gtk_widget_set_margin_bottom (w, 8); gtk_size_group_add_widget (GTK_SIZE_GROUP (gtk_builder_get_object (panel->builder, "sizegroup1")), w); gtk_container_add (GTK_CONTAINER (box), w); g_object_unref (icon); |