[gnumeric] comment_display: use spacing rather padding.



commit 9b4a84da69319deeeef2dd9d5869d18e92a5afeb
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Mon Apr 22 10:16:41 2013 -0600

    comment_display: use spacing rather  padding.
    
    2013-04-22  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        * src/sheet-control-gui.c (scg_comment_display): use spacing rather
        than padding.

 ChangeLog               | 5 +++++
 src/sheet-control-gui.c | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d409f93..31bb54e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-22  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+       * src/sheet-control-gui.c (scg_comment_display): use spacing rather
+       than padding.
+
 2013-04-22  Morten Welinder  <terra gnome org>
 
        * src/sheet-control-gui.c (scg_comment_display): Display by-line.
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index 8c11744..f46523d 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -3044,7 +3044,7 @@ scg_comment_display (SheetControlGUI *scg, GnmComment *cc,
                        PangoAttribute *attr;
 
                        /* xgettext: this is a by-line for cell comments */
-                       text = g_strdup_printf (_("By %s:\n"), comment_author);
+                       text = g_strdup_printf (_("By %s:"), comment_author);
                        label = gtk_label_new (text);
                        g_free (text);
 
@@ -3057,7 +3057,8 @@ scg_comment_display (SheetControlGUI *scg, GnmComment *cc,
                        pango_attr_list_unref (attrs);
 
                        gtk_widget_set_halign (label, GTK_ALIGN_START);
-                       gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 10);
+                       gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0);
+                       gtk_box_set_spacing (GTK_BOX (box), 10);
                }
 
                label = gtk_label_new (comment_text);


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