import ibus-table-1.9.18-6.el8
This commit is contained in:
parent
e80dc82e3f
commit
b5bc3774b9
@ -1432,11 +1432,11 @@ diff -Nru ibus-table-1.9.18.orig/engine/table.py ibus-table-1.9.18/engine/table.
|
||||
+ %page_size)
|
||||
+ if page_size == self._editor._page_size:
|
||||
+ return
|
||||
+ if value > len(self._editor._select_keys):
|
||||
+ value = len(self._editor._select_keys)
|
||||
+ if value < 1:
|
||||
+ value = 1
|
||||
+ self._editor._page_size = value
|
||||
+ if page_size > len(self._editor._select_keys):
|
||||
+ page_size = len(self._editor._select_keys)
|
||||
+ if page_size < 1:
|
||||
+ page_size = 1
|
||||
+ self._editor._page_size = page_size
|
||||
+ self._editor._lookup_table = self._editor.get_new_lookup_table(
|
||||
+ page_size = self._editor._page_size,
|
||||
+ select_keys = self._editor._select_keys,
|
||||
@ -1446,7 +1446,7 @@ diff -Nru ibus-table-1.9.18.orig/engine/table.py ibus-table-1.9.18/engine/table.
|
||||
+ self._config.set_value(
|
||||
+ self._config_section,
|
||||
+ 'lookuptablepagesize',
|
||||
+ GLib.Variant.new_int32(value))
|
||||
+ GLib.Variant.new_int32(page_size))
|
||||
+
|
||||
+ def get_page_size(self):
|
||||
+ '''Returns the current page size of the lookup table
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: ibus-table
|
||||
Version: 1.9.18
|
||||
Release: 4%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: The Table engine for IBus platform
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -136,6 +136,14 @@ fi
|
||||
%{_datadir}/installed-tests/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Feb 16 2021 Mike FABIAN <mfabian@redhat.com> - 1.9.18-6
|
||||
- Fix a covscan error
|
||||
- Related: rhbz#1929102
|
||||
|
||||
* Tue Feb 16 2021 Mike FABIAN <mfabian@redhat.com> - 1.9.18-5
|
||||
- Bump release number to add the new subpackage ibus-table-tests
|
||||
- Resolves: rhbz#1929102
|
||||
|
||||
* Sat Jul 25 2020 Mike FABIAN <mfabian@redhat.com> - 1.9.18-4
|
||||
- Add gating tests to ibus-table
|
||||
- Resolves: rhbz#1682163
|
||||
|
Loading…
Reference in New Issue
Block a user