[bijiben] selectionToolbar: make the buttons as center vertically



commit f6185f320e97fbaf1ad5acf33abe39fbfdbd51c4
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Mon Sep 2 00:23:32 2013 +0300

    selectionToolbar: make the buttons as center vertically
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707219

 src/bjb-selection-toolbar.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/bjb-selection-toolbar.c b/src/bjb-selection-toolbar.c
index c7e7dff..06901f7 100644
--- a/src/bjb-selection-toolbar.c
+++ b/src/bjb-selection-toolbar.c
@@ -242,6 +242,7 @@ bjb_selection_toolbar_init (BjbSelectionToolbar *self)
 
   /* Trash notes */
   priv->toolbar_trash = gtk_button_new_with_label (_("Delete"));
+  gtk_widget_set_valign (priv->toolbar_trash, GTK_ALIGN_CENTER);
   gtk_header_bar_pack_start (priv->bar, priv->toolbar_trash);
 
 
@@ -249,11 +250,13 @@ bjb_selection_toolbar_init (BjbSelectionToolbar *self)
   priv->toolbar_color = bjb_color_button_new ();
   gtk_widget_set_tooltip_text (GTK_WIDGET (priv->toolbar_color),
                                _("Note color"));
+  gtk_widget_set_valign (priv->toolbar_color, GTK_ALIGN_CENTER);
   gtk_header_bar_pack_end (priv->bar, priv->toolbar_color);
 
 
   /* Notes tags */
   priv->toolbar_tag = gtk_button_new_with_label (_("Add to Collection"));
+  gtk_widget_set_valign (priv->toolbar_tag, GTK_ALIGN_CENTER);
   gtk_header_bar_pack_end (priv->bar, priv->toolbar_tag);
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]