[gitg] Ellipsize parent commit message at end



commit f079c4733c6648be3e253c4bc952aa796cba54d8
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sat May 29 21:32:29 2010 +0200

    Ellipsize parent commit message at end

 gitg/gitg-revision-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gitg/gitg-revision-view.c b/gitg/gitg-revision-view.c
index f4cc262..e038d0c 100644
--- a/gitg/gitg-revision-view.c
+++ b/gitg/gitg-revision-view.c
@@ -678,7 +678,7 @@ update_parents(GitgRevisionView *self, GitgRevision *revision)
 		{
 			GtkWidget *subject = gtk_label_new(NULL);
 
-			gchar *text = g_markup_printf_escaped ("(<i>%s</i>)", gitg_revision_get_subject(revision));
+			gchar *text = g_markup_printf_escaped (": <i>%s</i>", gitg_revision_get_subject(revision));
 
 			gtk_label_set_markup(GTK_LABEL(subject), text);
 
@@ -687,7 +687,7 @@ update_parents(GitgRevisionView *self, GitgRevision *revision)
 			gtk_widget_show(subject);
 
 			gtk_misc_set_alignment(GTK_MISC(subject), 0.0, 0.5);
-			gtk_label_set_ellipsize(GTK_LABEL(subject), PANGO_ELLIPSIZE_MIDDLE);
+			gtk_label_set_ellipsize(GTK_LABEL(subject), PANGO_ELLIPSIZE_END);
 			gtk_label_set_single_line_mode(GTK_LABEL(subject), TRUE);
 
 			gtk_table_attach(self->priv->parents, subject, 1, 2, i, i + 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_SHRINK, 0, 0);



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