[gitg/gnome-3-20] libgitg: show the complete message, not only the subject



commit 394262b346c8fc0b584a2b6c56938fb684ec8fa4
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jun 22 15:26:57 2016 +0200

    libgitg: show the complete message, not only the subject
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767891

 libgitg/gitg-diff-view-commit-details.vala         |    6 +++---
 .../resources/ui/gitg-diff-view-commit-details.ui  |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgitg/gitg-diff-view-commit-details.vala b/libgitg/gitg-diff-view-commit-details.vala
index d0d5f9c..20aeb7f 100644
--- a/libgitg/gitg-diff-view-commit-details.vala
+++ b/libgitg/gitg-diff-view-commit-details.vala
@@ -35,8 +35,8 @@ class Gitg.DiffViewCommitDetails : Gtk.Grid
        [GtkChild( name = "label_committer_date" )]
        private Gtk.Label d_label_committer_date;
 
-       [GtkChild( name = "label_subject" )]
-       private Gtk.Label d_label_subject;
+       [GtkChild( name = "label_message" )]
+       private Gtk.Label d_label_message;
 
        [GtkChild( name = "label_sha1" )]
        private Gtk.Label d_label_sha1;
@@ -182,7 +182,7 @@ class Gitg.DiffViewCommitDetails : Gtk.Grid
                        return;
                }
 
-               d_label_subject.label = commit.get_subject();
+               d_label_message.label = commit.get_message();
                d_label_sha1.label = commit.get_id().to_string();
 
                var author = commit.get_author();
diff --git a/libgitg/resources/ui/gitg-diff-view-commit-details.ui 
b/libgitg/resources/ui/gitg-diff-view-commit-details.ui
index f3bdad3..f8d4b22 100644
--- a/libgitg/resources/ui/gitg-diff-view-commit-details.ui
+++ b/libgitg/resources/ui/gitg-diff-view-commit-details.ui
@@ -121,12 +121,12 @@
           </packing>
         </child>
         <child>
-          <object class="GtkLabel" id="label_subject">
+          <object class="GtkLabel" id="label_message">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="halign">start</property>
             <property name="valign">start</property>
-            <property name="label">Subject</property>
+            <property name="label">Message</property>
             <property name="wrap">True</property>
             <property name="selectable">True</property>
             <property name="ellipsize">end</property>


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