Create new widget and store for choosing status primitives

Review Request #1218 — Created Jan. 7, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

Also port the status and substatus editors to the new widget and store.

Messed around with the status and substatus editor a lot, seems to be okay.

Summary ID
Create new widget and store for choosing status primitives
Also port the status and substatus editors to the new widget and store.
764571e090c60c5b7c916b106f1043f12d8e4595
Description From Last Updated

Why the <pidgin/...> as oppose to "..." like above?

QuLogicQuLogic

Is there a reason you couldn't keep calling this instead of the two calls below? Is the id from STATUS_COLUMN_STATUS_ID …

QuLogicQuLogic

Ah, so related to the previous question, I guess the status ID is not the same as the primitive ID?

QuLogicQuLogic

Wrong description.

QuLogicQuLogic

Not a combo box.

QuLogicQuLogic

This leaks the GList?

QuLogicQuLogic

Why clear before set, which should do that?

QuLogicQuLogic
QuLogic
  1. 
      
  2. pidgin/gtksavedstatuses.c (Diff revision 1)
     
     
     
    Show all issues

    Why the <pidgin/...> as oppose to "..." like above?

  3. pidgin/gtksavedstatuses.c (Diff revision 1)
     
     
    Show all issues

    Is there a reason you couldn't keep calling this instead of the two calls below? Is the id from STATUS_COLUMN_STATUS_ID different from the combo box IDs?

  4. pidgin/gtksavedstatuses.c (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    Show all issues

    Ah, so related to the previous question, I guess the status ID is not the same as the primitive ID?

    1. correct they are different. All statuses have a primitive which has it's own id. The primitives are like available, away, offline, etc, and a status includes that primitive and additional attributes.

      For example, XMPP has an available status, with primitive available and an attribute of message. Where IRC's available status, has a primitive of available and no attributes.

  5. pidgin/pidginstatusprimitivestore.h (Diff revision 1)
     
     
     
    Show all issues

    Wrong description.

  6. pidgin/pidginstatusprimitivestore.h (Diff revision 1)
     
     
    Show all issues

    Not a combo box.

  7. pidgin/pidginstatusprimitivestore.c (Diff revision 1)
     
     
    Show all issues

    This leaks the GList?

  8. pidgin/pidginstatusprimitivestore.c (Diff revision 1)
     
     
     
    Show all issues

    Why clear before set, which should do that?

  9. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed