From 0f0b139c19e847d3791ef5567168def6a9959721 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Fri, 29 Jul 2005 10:18:20 +0000 Subject: adjust row counts while calling add_detail so that it doesn't overlap the 2005-07-29 Vivek Jain * status-track.c: (track_status): adjust row counts while calling add_detail so that it doesn't overlap the entries. **Fixes #302817 svn path=/trunk/; revision=29936 --- plugins/groupwise-features/ChangeLog | 7 +++++++ plugins/groupwise-features/status-track.c | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 4e98487433..d633e1083e 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,10 @@ +2005-07-29 Vivek Jain + + * status-track.c: (track_status): + adjust row counts while calling add_detail + so that it doesn't overlap the entries. + **Fixes #302817 + 2005-07-29 Vivek Jain * org-gnome-groupwise-features.eplug.xml: diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c index 5accfae565..69ebaffa3e 100644 --- a/plugins/groupwise-features/status-track.c +++ b/plugins/groupwise-features/status-track.c @@ -190,10 +190,11 @@ track_status (EPopup *ep, EPopupItem *item, void *data) if (*temp2) { if (strlen(temp2[0])); if (strlen(temp2[1])) - add_recipient (table, temp2[1], row) ; + add_recipient (table, temp2[1], row++); + /*we will decrement the row if there is info to be displayed in the same line*/ if (strlen(temp2[2])); if (strlen(temp2[3])) - row = add_detail (table,"delivered" , temp2[3], row) ; + row = add_detail (table,"delivered" , temp2[3], --row); if (strlen(temp2[4])) row = add_detail (table,"opened" , temp2[3], row) ; if (strlen(temp2[5])) @@ -205,7 +206,7 @@ track_status (EPopup *ep, EPopupItem *item, void *data) if (strlen(temp2[8])) row = add_detail (table,"completed" , temp2[3], row) ; if (strlen(temp2[9])) - row = add_detail (table,"undelivered" , temp2[3], row) ; + row = add_detail (table,"undelivered" , temp2[3], --row); } str = *(++ptr) ; g_strfreev (temp2) ; -- cgit