Correct vertical scrollbar position after sorting in FListView

This commit is contained in:
Markus Gans 2018-11-27 01:32:21 +01:00
parent 7f5901d237
commit c3847b6b05
3 changed files with 34 additions and 41 deletions

View File

@ -1,3 +1,6 @@
2018-11-27 Markus Gans <guru.mail@muenster.de>
* Correct vertical scrollbar position after sorting in FListView
2018-11-25 Markus Gans <guru.mail@muenster.de>
* Version 0.5.0
* Namespace fix in FTermFreeBSD and FTermOpenBSD

View File

@ -4,23 +4,30 @@
# Copyright (c) 2018 by Markus Gans
#
Name: @PACKAGE@
%define libname libfinal
%define libsoname %{libname}0
Version: @VERSION@
Release: %{buildno}
License: LGPL-3.0
Summary: The Final Cut
Url: https://github.com/gansm/finalcut/
Group: System/Libraries
Source: finalcut-%{version}.tar.gz
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc-c++
Name: @PACKAGE@
Version: @VERSION@
Release: %{buildno}
Summary: The Final Cut
License: LGPL-3.0-only
Group: System/Libraries
Url: https://github.com/gansm/finalcut/
Source: finalcut-%{version}.tar.gz
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
Requires: autoconf-archive
Requires: bdftopcf
Requires: gcc-c++
Requires: grep
Requires: gzip
Requires: sed
Requires: tr
# Additionally required for tool operations
Requires: xxd
%if 0%{?suse_version}
%if 0%{?suse_version} > 1130
BuildRequires: gpm-devel
@ -31,19 +38,6 @@ BuildRequires: gpm
BuildRequires: gpm-devel
%endif
# Additionally required for tool operations
Requires: xxd
Requires: sed
Requires: tr
Requires: grep
Requires: gzip
Requires: bdftopcf
Requires: autoconf-archive
Requires: gcc-c++
Prefix: %_prefix
BuildRoot: %{_tmppath}/finalcut-%{version}-build
%description
The Final Cut is a class library and widget toolkit with full mouse
support for creating a text-based user interface. The library supports
@ -54,10 +48,10 @@ common controls like dialog windows, push buttons, check boxes,
radio buttons, input lines, list boxes, status bars and so on.
%package devel
Group: Development/Libraries/C and C++
Summary: Development files for the final cut library
Requires: %{libname} = %{version}
Requires: %{name} = %{version}
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: %{name} = %{version}
%description devel
The Final Cut is a class library and widget toolkit with full mouse
@ -69,10 +63,10 @@ common controls like dialog windows, push buttons, check boxes,
radio buttons, input lines, list boxes, status bars and so on.
%package -n %{libsoname}
Group: System/Libraries
Summary: Console widget toolkit
Provides: %{libname} = %{version}
Provides: %{name} = %{version}
Summary: Console widget toolkit
Group: System/Libraries
Provides: %{libname} = %{version}
Provides: %{name} = %{version}
%description -n %{libsoname}
The Final Cut is a class library and widget toolkit with full mouse
@ -84,8 +78,8 @@ common controls like dialog windows, push buttons, check boxes,
radio buttons, input lines, list boxes, status bars and so on.
%package static
Group: System/Libraries
Summary: Console widget toolkit
Summary: Console widget toolkit
Group: System/Libraries
%description static
The Final Cut is a class library and widget toolkit with full mouse

View File

@ -2105,12 +2105,8 @@ void FListView::mouseHeaderClicked()
sort();
if ( isVisible() )
{
drawHeadlines();
drawList();
updateTerminal();
flush_out();
}
updateDrawing (true, false);
break;
}