[evince] sidebar-bookmarks: Improve margins of action buttons
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] sidebar-bookmarks: Improve margins of action buttons
- Date: Mon, 16 Jul 2018 01:50:22 +0000 (UTC)
commit d45d52f7d4bb3528aa557ed85d38148df4b0d108
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Sun Jul 15 21:49:06 2018 -0400
sidebar-bookmarks: Improve margins of action buttons
shell/ev-sidebar-bookmarks.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/shell/ev-sidebar-bookmarks.c b/shell/ev-sidebar-bookmarks.c
index 2a93cf32..03cd6779 100644
--- a/shell/ev-sidebar-bookmarks.c
+++ b/shell/ev-sidebar-bookmarks.c
@@ -463,10 +463,7 @@ ev_sidebar_bookmarks_init (EvSidebarBookmarks *sidebar_bookmarks)
gtk_widget_show (priv->tree_view);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_widget_set_margin_top (hbox, 2);
- gtk_widget_set_margin_bottom (hbox, 2);
- gtk_widget_set_margin_start (hbox, 2);
- gtk_widget_set_margin_end (hbox, 2);
+ g_object_set (hbox, "margin", 6, NULL);
gtk_widget_set_halign (hbox, GTK_ALIGN_CENTER);
priv->add_button = gtk_button_new_with_label ("+");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]