[gnome-logs] Add the full log text as a tooltip to each row



commit f0a018b36420a83d27cc026d6c5c83da25e3da3b
Author: David King <davidk gnome org>
Date:   Thu Nov 12 17:49:46 2015 +0000

    Add the full log text as a tooltip to each row
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756899

 src/gl-eventviewrow.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-eventviewrow.c b/src/gl-eventviewrow.c
index 5765e5f..ce4977b 100644
--- a/src/gl-eventviewrow.c
+++ b/src/gl-eventviewrow.c
@@ -288,6 +288,9 @@ gl_event_view_row_constructed (GObject *object)
     g_free (time);
     g_object_unref (tmp_entry);
 
+    gtk_widget_set_tooltip_text (GTK_WIDGET (row),
+                                 gl_journal_entry_get_message (entry));
+
     gtk_widget_show_all (GTK_WIDGET (row));
 
     G_OBJECT_CLASS (gl_event_view_row_parent_class)->constructed (object);


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