[gnome-characters/bilelmoussaoui/gtk4: 11/71] window: fix post wrapping listbox in a bin usage
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/bilelmoussaoui/gtk4: 11/71] window: fix post wrapping listbox in a bin usage
- Date: Thu, 25 Nov 2021 11:03:10 +0000 (UTC)
commit 94ac584d7a6e8f6e10c2137ef532f30472696afe
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Nov 19 12:18:24 2021 +0100
window: fix post wrapping listbox in a bin usage
src/window.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index 434345f..df96380 100644
--- a/src/window.js
+++ b/src/window.js
@@ -140,11 +140,11 @@ var MainWindow = GObject.registerClass({
_selectFirstSubcategory() {
let categoryList;
if (this._mainView.recentCharacters.length !== 0) {
- categoryList = this._categoryListView.getCategoryByName('recent');
+ categoryList = this._categoryListView.getCategoryByName('recent').list;
} else {
- categoryList = this._categoryListView.getCategoryByName('emojis');
+ categoryList = this._categoryListView.getCategoryByName('emojis').list;
}
- categoryList.select_row(categoryList.get_row_at_index(0));
+ categoryList.select_row(categoryListget_row_at_index(0));
}
get search_active() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]