fix bug [649746] edit accounts: move account reverted
authorPaul Mangan <paul@claws-mail.org>
Mon, 9 Dec 2002 13:52:36 +0000 (13:52 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 9 Dec 2002 13:52:36 +0000 (13:52 +0000)
ChangeLog.claws
configure.in
src/account.c

index a965fb089ef8add967fb10e74fbe670024403f09..ed5e038648a945146f88549ec4bcafc6f5760a9c 100644 (file)
@@ -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 <lukeplant@users.sourceforge.net>
+
 2002-12-09 [colin]     0.8.6claws87
 
        * src/ssl_certificate.c
index 9bd30e3f06ce88309dcd5b8417ee5d2e5898300c..4c2b3bc8eef993ab88ae60326f69541f3ed2c420 100644 (file)
@@ -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
index 2e3a16bd7cb94afc238572090aaf23f364017c54..e92d69961156744e4ef6f2e25f03845543f3bd19 100644 (file)
@@ -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)