Convert PidginAccountsEnabledMenu to the list model

Review Request #3954 — Created April 1, 2025 and submitted

Information

pidgin/pidgin
default

Reviewers

Again, not exactly what PIDGIN-18066 requested, but should be a reasonable version of it.

Opened Pidgin with no accounts enabled, and the menu was empty. Enabled an account and it moved there, disable the account and it was removed.

Also, started Pidgin with an account enabled, and it appeared in the lower menu as expected.

Summary ID
Convert PidginAccountsEnabledMenu to the list model
bc74b90650447ecb539bf1d91b8f0322b8be3f12
QuLogic
  1. 
      
  2. pidgin/pidginaccountsenabledmenu.c (Diff revision 1)
     
     

    Note, I changed this from 0, 0 to 1, 1 since we had some issues with GListModel::items-changed. I don't know if that affects GMenuModel, but better to be safe.

  3. 
      
grim
  1. Great work, thanks!!

  2. 
      
grim
Review request changed
Status:
Completed
Loading...