changeset 3514:b1ebeecfd2aa

[gaim-migrate @ 3586] another set of docklet bug fixes for robot101 committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 15 Sep 2002 15:46:06 +0000
parents ab939e746bdd
children 54c508cce1bc
files plugins/docklet/docklet.c src/away.c src/ui.h
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/docklet/docklet.c	Sun Sep 15 14:37:54 2002 +0000
+++ b/plugins/docklet/docklet.c	Sun Sep 15 15:46:06 2002 +0000
@@ -239,7 +239,7 @@
 	oldstatus = status;
 
 	if (connections) {
-		if (imaway) {
+		if (awaymessage) {
 			if (message_queue) {
 				status = away_pending;
 			} else {
--- a/src/away.c	Sun Sep 15 14:37:54 2002 +0000
+++ b/src/away.c	Sun Sep 15 15:46:06 2002 +0000
@@ -157,10 +157,10 @@
 		g_free(qar);
 	}
 
-	serv_set_away_all(NULL);
 	awaymessage = NULL;
 	clistqueue = NULL;
 	clistqueuesw = NULL;
+	serv_set_away_all(NULL);
 }
 
 
--- a/src/ui.h	Sun Sep 15 14:37:54 2002 +0000
+++ b/src/ui.h	Sun Sep 15 15:46:06 2002 +0000
@@ -269,7 +269,6 @@
 extern int auto_away;
 extern GtkWidget *awaymenu;
 extern GtkWidget *clistqueue; 
-extern GtkWidget *imaway;
 
 /* Globals in buddy.c */
 extern GtkWidget *buddies;