Mercurial > pidgin
comparison src/gtkmain.c @ 12857:e5f780a6137b
[gaim-migrate @ 15208]
This is the ability to set a startup status to be used instead of the status when you last exited. The savedstatus stuff was missing from Changelog.API, so I added it.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 13 Jan 2006 02:47:12 +0000 |
parents | 95d350f56998 |
children | 5efbb0162f86 |
comparison
equal
deleted
inserted
replaced
12856:be1cd5952a48 | 12857:e5f780a6137b |
---|---|
725 gaim_savedstatus_activate(saved_status); | 725 gaim_savedstatus_activate(saved_status); |
726 } | 726 } |
727 else | 727 else |
728 { | 728 { |
729 /* Everything is good to go--sign on already */ | 729 /* Everything is good to go--sign on already */ |
730 gaim_accounts_restore_previous_statuses(); | 730 if (!gaim_prefs_get_bool("/core/savedstatus/startup_current_status")) |
731 gaim_savedstatus_activate(gaim_savedstatus_get_startup()); | |
732 gaim_accounts_restore_current_statuses(); | |
731 } | 733 } |
732 | 734 |
733 if (gaim_accounts_get_all_active() == NULL) | 735 if (gaim_accounts_get_all_active() == NULL) |
734 { | 736 { |
735 gaim_gtk_accounts_window_show(); | 737 gaim_gtk_accounts_window_show(); |