From: Jean-Philippe Orsini Date: Thu, 2 May 2013 08:39:56 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=commitdiff_plain;h=defb62b702251f80cc0e0847b6872eb95a6fc9d0 --- diff --git a/src/glade/prss.glade b/src/glade/prss.glade index 31908ba..1c7a070 100644 --- a/src/glade/prss.glade +++ b/src/glade/prss.glade @@ -21,6 +21,8 @@ + + @@ -461,6 +463,7 @@ True True headline_store + True @@ -472,6 +475,8 @@ fixed 300 Headline + True + 0 @@ -486,6 +491,8 @@ fixed 50 Date + True + 3 diff --git a/src/main.c b/src/main.c index 72770ff..e122bfa 100644 --- a/src/main.c +++ b/src/main.c @@ -52,7 +52,8 @@ enum { enum { COL_HEADLINE_TITLE, COL_HEADLINE_ID, - COL_HEADLINE_DATE + COL_HEADLINE_DATE, + COL_HEADLINE_EPOCH_TIME }; static struct option long_options[] = { @@ -342,6 +343,8 @@ int feed_cursor_changed_cbk(GtkTreeView *treeview, gpointer data) h->id, COL_HEADLINE_DATE, date, + COL_HEADLINE_EPOCH_TIME, + h->date, -1); g_free(title); @@ -395,6 +398,7 @@ int headline_cursor_changed_cbk(GtkTreeView *treeview, gpointer data) &iter, COL_HEADLINE_TITLE, headline->title, COL_HEADLINE_DATE, date, + COL_HEADLINE_EPOCH_TIME, headline->date, -1); free(date); } else {