Mercurial > hg
comparison mcabber/src/main.c @ 1632:d29376ef424d
Remove deprecated option ('hide_offline_buddies')
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 22 Oct 2009 20:13:38 +0200 |
parents | 141ae278e769 |
children | 8c0e173d7d6a |
comparison
equal
deleted
inserted
replaced
1631:546868650bbf | 1632:d29376ef424d |
---|---|
381 | 381 |
382 optstring = settings_opt_get("events_command"); | 382 optstring = settings_opt_get("events_command"); |
383 if (optstring) | 383 if (optstring) |
384 hk_ext_cmd_init(optstring); | 384 hk_ext_cmd_init(optstring); |
385 | 385 |
386 if (settings_opt_get_int("hide_offline_buddies") > 0) { // XXX Deprecated | 386 optstring = settings_opt_get("roster_display_filter"); |
387 scr_RosterDisplay("ofdna"); | 387 if (optstring) |
388 scr_LogPrint(LPRINT_LOGNORM, | 388 scr_RosterDisplay(optstring); |
389 "* Warning: 'hide_offline_buddies' is deprecated."); | 389 // Empty filter isn't allowed... |
390 } else { | 390 if (!buddylist_get_filter()) |
391 optstring = settings_opt_get("roster_display_filter"); | 391 scr_RosterDisplay("*"); |
392 if (optstring) | |
393 scr_RosterDisplay(optstring); | |
394 // Empty filter isn't allowed... | |
395 if (!buddylist_get_filter()) | |
396 scr_RosterDisplay("*"); | |
397 } | |
398 | 392 |
399 chatstates_disabled = settings_opt_get_int("disable_chatstates"); | 393 chatstates_disabled = settings_opt_get_int("disable_chatstates"); |
400 | 394 |
401 /* Initialize FIFO named pipe */ | 395 /* Initialize FIFO named pipe */ |
402 fifo_init(settings_opt_get("fifo_name")); | 396 fifo_init(settings_opt_get("fifo_name")); |