diff options
author | Vivek Jain <jvivek@novell.com> | 2005-07-29 18:18:20 +0800 |
---|---|---|
committer | Jain Vivek <jvivek@src.gnome.org> | 2005-07-29 18:18:20 +0800 |
commit | 0f0b139c19e847d3791ef5567168def6a9959721 (patch) | |
tree | 1c781f69575d0a46211501efe7e0802ed754bdb5 /plugins | |
parent | 1ba95b54bf62b1f1d0a8b49da28c938caf2b1d8f (diff) | |
download | gsoc2013-evolution-0f0b139c19e847d3791ef5567168def6a9959721.tar.gz gsoc2013-evolution-0f0b139c19e847d3791ef5567168def6a9959721.tar.zst gsoc2013-evolution-0f0b139c19e847d3791ef5567168def6a9959721.zip |
adjust row counts while calling add_detail so that it doesn't overlap the
2005-07-29 Vivek Jain <jvivek@novell.com>
* 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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 7 | ||||
-rw-r--r-- | 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,4 +1,11 @@ 2005-07-29 Vivek Jain <jvivek@novell.com> + + * 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 <jvivek@novell.com> * org-gnome-groupwise-features.eplug.xml: for status strack removed "Item" tag entries, included a factory method 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) ; |