changeset 18643:3bf2e6cb8e35

Prevent some more window titles from being "pidgin.exe" on Windows. Fixes #1767
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 25 Jul 2007 03:54:29 +0000
parents 3f0204c58dfa
children a5b37b3f02c6 e9abf085d519
files pidgin/gtkutils.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Wed Jul 25 03:43:51 2007 +0000
+++ b/pidgin/gtkutils.c	Wed Jul 25 03:54:29 2007 +0000
@@ -137,6 +137,10 @@
 	wnd = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL));
 	if (title)
 		gtk_window_set_title(wnd, title);
+#ifdef _WIN32
+	else
+		gtk_window_set_title(wnd, PIDGIN_ALERT_TITLE);
+#endif
 	gtk_container_set_border_width(GTK_CONTAINER(wnd), border_width);
 	if (role)
 		gtk_window_set_role(wnd, role);