Changeset b38f655 for protocols/purple


Ignore:
Timestamp:
2015-05-28T05:26:30Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
6191263, d2d2b80
Parents:
0864a52
git-author:
dequis <dx@…> (28-05-15 03:41:37)
git-committer:
dequis <dx@…> (28-05-15 05:26:30)
Message:

Rename mail notification related settings for consistency

  • GMail notifications stuff is now just 'mail_notifications'
  • sed -i s/notify_handle/mail_notifications_handle/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r0864a52 rb38f655  
    239239                s->flags |= ACC_SET_OFFLINE_ONLY;
    240240
    241                 s = set_add(&acc->set, "notify_handle", NULL, NULL, acc);
     241                s = set_add(&acc->set, "mail_notifications_handle", NULL, NULL, acc);
    242242                s->flags |= ACC_SET_OFFLINE_ONLY | SET_NULL_OK;
    243243        }
     
    336336        purple_account_set_enabled(pd->account, "BitlBee", TRUE);
    337337
    338         if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "notify_handle")) {
    339                 imcb_add_buddy(ic, set_getstr(&acc->set, "notify_handle"), NULL);
     338        if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "mail_notifications_handle")) {
     339                imcb_add_buddy(ic, set_getstr(&acc->set, "mail_notifications_handle"), NULL);
    340340        }
    341341}
Note: See TracChangeset for help on using the changeset viewer.