changeset 3271:66445abf1736

[gaim-migrate @ 3289] Fix for "away" pop-up menu "sticking." (Thanks, Jason Willis) committer: Tailor Script <tailor@pidgin.im>
author Jim Seymour <jseymour>
date Thu, 23 May 2002 00:47:30 +0000
parents 6231e0f0ee9e
children a0676e830051
files src/buddy.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu May 23 00:06:01 2002 +0000
+++ b/src/buddy.c	Thu May 23 00:47:30 2002 +0000
@@ -1552,11 +1552,10 @@
 		gtk_signal_connect(GTK_OBJECT(menuitem), "activate",
 				   GTK_SIGNAL_FUNC(do_away_message), a);
 		gtk_widget_show(menuitem);
-
 		awy = awy->next;
 	}
 
-	gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 1, time(NULL));
+	gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 1, GDK_CURRENT_TIME );
 }
 
 void rem_bp(GtkWidget *w, struct buddy_pounce *b)