Mercurial > pidgin.yaz
comparison src/idle.c @ 1141:8f4ce8b74901
[gaim-migrate @ 1151]
bah
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 27 Nov 2000 02:45:07 +0000 |
parents | c73736fa0b7c |
children | b5783215b245 |
comparison
equal
deleted
inserted
replaced
1140:249b040f6a83 | 1141:8f4ce8b74901 |
---|---|
76 struct away_message *a; | 76 struct away_message *a; |
77 set_default_away((GtkWidget*)NULL, (gpointer)default_away); | 77 set_default_away((GtkWidget*)NULL, (gpointer)default_away); |
78 a = g_slist_nth_data(away_messages, default_away); | 78 a = g_slist_nth_data(away_messages, default_away); |
79 do_away_message((GtkWidget*)NULL, a); | 79 do_away_message((GtkWidget*)NULL, a); |
80 auto_is_away = 1; | 80 auto_is_away = 1; |
81 } else if (auto_is_away == 1 && awaymessage != NULL && | 81 } else if (auto_is_away == 1 && idle_time < 60*auto_away) { |
82 idle_time < 60*auto_away) { | |
83 do_im_back((GtkWidget*)NULL, (GtkWidget*)NULL); | |
84 auto_is_away = 0; | 82 auto_is_away = 0; |
83 if (awaymessage != NULL) | |
84 do_im_back((GtkWidget*)NULL, (GtkWidget*)NULL); | |
85 } | 85 } |
86 if (auto_is_away == 1 && awaymessage == NULL) | |
87 auto_is_away = 0; | |
88 | 86 |
89 | 87 |
90 /* If we're not reporting idle times to the server, still use Gaim | 88 /* If we're not reporting idle times to the server, still use Gaim |
91 usage for auto-away, but quit here so we don't report to the | 89 usage for auto-away, but quit here so we don't report to the |
92 server */ | 90 server */ |