Skip to content

AliasDialog: use ListStore - #1082

Open
danirabbit wants to merge 5 commits into
masterfrom
danirabbit/aliasdialog-liststore
Open

AliasDialog: use ListStore#1082
danirabbit wants to merge 5 commits into
masterfrom
danirabbit/aliasdialog-liststore

Conversation

@danirabbit

Copy link
Copy Markdown
Member

Can't use get_children in GTK4, so use a ListStore

@danirabbit
danirabbit requested a review from a team August 6, 2026 20:19
@danirabbit danirabbit moved this to Needs Review in GTK4 Porting Aug 6, 2026

@jeremypw jeremypw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of inline comments. Also clicking on the add button does nothing. Investigating.

list.set_filter_func ((Gtk.ListBoxFilterFunc) filter_func);
list.set_placeholder (placeholder);
list_box.bind_model (alias_list, (obj) => (Alias) obj);
list_box.set_filter_func ((Gtk.ListBoxFilterFunc) filter_func);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think filter functions are ignored when there is a bound model.

Comment thread src/Dialogs/AliasDialog/AliasDialog.vala Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants