Changeset bb5ce568


Ignore:
Timestamp:
2012-06-07T22:41:17Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e222c36
Parents:
aa88e50
Message:

s/ACC_SET_NOSAVE/SET_NOSAVE/.

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    raa88e50 rbb5ce568  
    5353       
    5454        s = set_add( &a->set, "auto_connect", "true", set_eval_account, a );
    55         s->flags |= ACC_SET_NOSAVE;
     55        s->flags |= SET_NOSAVE;
    5656       
    5757        s = set_add( &a->set, "auto_reconnect", "true", set_eval_bool, a );
     
    6161       
    6262        s = set_add( &a->set, "nick_source", "handle", set_eval_nick_source, a );
    63         s->flags |= ACC_SET_NOSAVE; /* Just for bw compatibility! */
     63        s->flags |= SET_NOSAVE; /* Just for bw compatibility! */
    6464       
    6565        s = set_add( &a->set, "password", NULL, set_eval_account, a );
    66         s->flags |= ACC_SET_NOSAVE | SET_NULL_OK | SET_PASSWORD;
     66        s->flags |= SET_NOSAVE | SET_NULL_OK | SET_PASSWORD;
    6767       
    6868        s = set_add( &a->set, "tag", NULL, set_eval_account, a );
    69         s->flags |= ACC_SET_NOSAVE;
     69        s->flags |= SET_NOSAVE;
    7070       
    7171        s = set_add( &a->set, "username", NULL, set_eval_account, a );
    72         s->flags |= ACC_SET_NOSAVE | ACC_SET_OFFLINE_ONLY;
     72        s->flags |= SET_NOSAVE | ACC_SET_OFFLINE_ONLY;
    7373        set_setstr( &a->set, "username", user );
    7474       
  • protocols/account.h

    raa88e50 rbb5ce568  
    6161typedef enum
    6262{
    63         ACC_SET_NOSAVE = 0x01,          /* Don't save this setting (i.e. stored elsewhere). */
    6463        ACC_SET_OFFLINE_ONLY = 0x02,    /* Allow changes only if the acct is offline. */
    6564        ACC_SET_ONLINE_ONLY = 0x04,     /* Allow changes only if the acct is online. */
  • protocols/jabber/jabber.c

    raa88e50 rbb5ce568  
    8080       
    8181        s = set_add( &acc->set, "server", NULL, set_eval_account, acc );
    82         s->flags |= ACC_SET_NOSAVE | ACC_SET_OFFLINE_ONLY | SET_NULL_OK;
     82        s->flags |= SET_NOSAVE | ACC_SET_OFFLINE_ONLY | SET_NULL_OK;
    8383       
    8484        s = set_add( &acc->set, "ssl", "false", set_eval_bool, acc );
  • protocols/msn/msn.c

    raa88e50 rbb5ce568  
    3939       
    4040        s = set_add( &acc->set, "display_name", NULL, set_eval_display_name, acc );
    41         s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY;
     41        s->flags |= SET_NOSAVE | ACC_SET_ONLINE_ONLY;
    4242       
    4343        set_add( &acc->set, "mail_notifications", "false", set_eval_bool, acc );
  • protocols/oscar/oscar.c

    raa88e50 rbb5ce568  
    378378                    icq ? AIM_DEFAULT_LOGIN_SERVER_ICQ
    379379                        : AIM_DEFAULT_LOGIN_SERVER_AIM, set_eval_account, acc);
    380         s->flags |= ACC_SET_NOSAVE | ACC_SET_OFFLINE_ONLY;
     380        s->flags |= SET_NOSAVE | ACC_SET_OFFLINE_ONLY;
    381381       
    382382        if (icq) {
  • protocols/skype/skype.c

    raa88e50 rbb5ce568  
    15091509        s = set_add(&acc->set, "display_name", NULL, skype_set_display_name,
    15101510                acc);
    1511         s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY;
     1511        s->flags |= SET_NOSAVE | ACC_SET_ONLINE_ONLY;
    15121512
    15131513        s = set_add(&acc->set, "call", NULL, skype_set_call, acc);
    1514         s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY;
     1514        s->flags |= SET_NOSAVE | ACC_SET_ONLINE_ONLY;
    15151515
    15161516        s = set_add(&acc->set, "balance", NULL, skype_set_balance, acc);
    1517         s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY;
     1517        s->flags |= SET_NOSAVE | ACC_SET_ONLINE_ONLY;
    15181518
    15191519        s = set_add(&acc->set, "skypeout_offline", "true", set_eval_bool, acc);
  • set.h

    raa88e50 rbb5ce568  
    4545typedef enum
    4646{
    47         SET_NOSAVE = 0x0001,
    48         SET_NULL_OK = 0x0100,
    49         SET_HIDDEN = 0x0200,
    50         SET_PASSWORD = 0x0400,
    51         SET_HIDDEN_DEFAULT = 0x0800,
     47        SET_NOSAVE = 0x0001,   /* Don't save this setting (i.e. stored elsewhere). */
     48        SET_NULL_OK = 0x0100,  /* set->value == NULL is allowed. */
     49        SET_HIDDEN = 0x0200,   /* Don't show up in setting lists. Mostly for internal storage. */
     50        SET_PASSWORD = 0x0400, /* Value shows up in settings list as "********". */
     51        SET_HIDDEN_DEFAULT = 0x0800, /* Hide unless changed from default. */
    5252} set_flags_t;
    5353
  • storage_xml.c

    raa88e50 rbb5ce568  
    310310               
    311311                for( set = acc->set; set; set = set->next )
    312                         if( set->value && !( set->flags & ACC_SET_NOSAVE ) )
     312                        if( set->value && !( set->flags & SET_NOSAVE ) )
    313313                        {
    314314                                struct xt_node *xset;
Note: See TracChangeset for help on using the changeset viewer.