From 93e6230459c89c220dfe0d2ea4434fda3c85e4e2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 20 Sep 2010 13:36:03 +0200 Subject: don't use gtk_window_present_with_time if timestamp == GDK_CURRENT_TIME (#629922) --- libempathy-gtk/empathy-ui-utils.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index d07ea459d..4014f92b5 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -1606,7 +1606,11 @@ empathy_window_present_with_time (GtkWindow *window, gtk_widget_hide (GTK_WIDGET (window)); } - gtk_window_present_with_time (window, timestamp); + if (timestamp == GDK_CURRENT_TIME) + gtk_window_present (window); + else + gtk_window_present_with_time (window, timestamp); + gtk_window_set_skip_taskbar_hint (window, FALSE); gtk_window_deiconify (window); } -- cgit v1.2.3