Changeset b38f655 for protocols/msn


Ignore:
Timestamp:
2015-05-28T05:26:30Z (9 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/msn/msn.c

    r0864a52 rb38f655  
    4949        s->flags |= ACC_SET_OFFLINE_ONLY;
    5050
    51         s = set_add(&acc->set, "notify_handle", NULL, NULL, acc);
     51        s = set_add(&acc->set, "mail_notifications_handle", NULL, NULL, acc);
    5252        s->flags |= ACC_SET_OFFLINE_ONLY | SET_NULL_OK;
    5353
     
    8787                       set_getint(&ic->acc->set, "port"));
    8888
    89         if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "notify_handle")) {
    90                 imcb_add_buddy(ic, set_getstr(&acc->set, "notify_handle"), NULL);
     89        if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "mail_notifications_handle")) {
     90                imcb_add_buddy(ic, set_getstr(&acc->set, "mail_notifications_handle"), NULL);
    9191        }
    9292}
Note: See TracChangeset for help on using the changeset viewer.