From: Paul Mangan Date: Mon, 9 Dec 2002 13:52:36 +0000 (+0000) Subject: fix bug [649746] edit accounts: move account reverted X-Git-Tag: rel_0_8_7~54 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=8c43dca78fd395067eaef2819e94182ae048d3bc;hp=803483b472573a6937da3c9686662fc997ec1d08 fix bug [649746] edit accounts: move account reverted --- diff --git a/ChangeLog.claws b/ChangeLog.claws index a965fb089..ed5e03864 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,9 @@ +2002-12-09 [paul] 0.8.6claws88 + + * src/account.c + fix bug [649746] edit accounts: move account reverted + Patch submitted by Luke Plant + 2002-12-09 [colin] 0.8.6claws87 * src/ssl_certificate.c diff --git a/configure.in b/configure.in index 9bd30e3f0..4c2b3bc8e 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,7 @@ MINOR_VERSION=8 MICRO_VERSION=6 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws87 +EXTRA_VERSION=claws88 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/account.c b/src/account.c index 2e3a16bd7..e92d69961 100644 --- a/src/account.c +++ b/src/account.c @@ -766,8 +766,10 @@ static void account_up(void) if (!clist->selection) return; row = GPOINTER_TO_INT(clist->selection->data); - if (row > 0) + if (row > 0) { gtk_clist_row_move(clist, row, row - 1); + account_list_set(); + } } static void account_down(void) @@ -778,8 +780,11 @@ static void account_down(void) if (!clist->selection) return; row = GPOINTER_TO_INT(clist->selection->data); - if (row < clist->rows - 1) + if (row < clist->rows - 1) { gtk_clist_row_move(clist, row, row + 1); + account_list_set(); + } + } static void account_set_default(void)