Mercurial > pidgin.yaz
comparison src/idle.c @ 1895:e65b9942f649
[gaim-migrate @ 1905]
gah. why didn't i see this earlier.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 25 May 2001 11:46:49 +0000 |
parents | ecf15840ad7d |
children | 39df68320a82 |
comparison
equal
deleted
inserted
replaced
1894:1c6ffcb4bbde | 1895:e65b9942f649 |
---|---|
72 debug_printf("making %s away automatically\n", gc->username); | 72 debug_printf("making %s away automatically\n", gc->username); |
73 set_default_away((GtkWidget*)NULL, (gpointer)g_slist_index(away_messages, default_away)); | 73 set_default_away((GtkWidget*)NULL, (gpointer)g_slist_index(away_messages, default_away)); |
74 if (!gc->away) { | 74 if (!gc->away) { |
75 if (g_slist_length(connections) == 1) | 75 if (g_slist_length(connections) == 1) |
76 do_away_message(NULL, default_away); | 76 do_away_message(NULL, default_away); |
77 else | 77 else if (default_away) |
78 serv_set_away(gc, GAIM_AWAY_CUSTOM, default_away->message); | 78 serv_set_away(gc, GAIM_AWAY_CUSTOM, default_away->message); |
79 gc->is_auto_away = 1; | 79 gc->is_auto_away = 1; |
80 } else | 80 } else |
81 gc->is_auto_away = 2; | 81 gc->is_auto_away = 2; |
82 } else if (gc->is_auto_away && idle_time < 60 * auto_away) { | 82 } else if (gc->is_auto_away && idle_time < 60 * auto_away) { |