diff src/ui_utildlg.c @ 254:9faf34f047b1

Make the wmclass value unique among the code by defining it in main header file as GQ_WMCLASS. Before this patch, it was set using PACKAGE (="geeqie"), or by the hardcoded string "Geeqie". Now all Geeqie windows have the same value for wmclass.
author zas_
date Thu, 03 Apr 2008 23:29:14 +0000
parents 985a9a09c9d1
children 9995c5fb202a
line wrap: on
line diff
--- a/src/ui_utildlg.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/ui_utildlg.c	Thu Apr 03 23:29:14 2008 +0000
@@ -308,7 +308,7 @@
 {
 	GenericDialog *gd;
 
-	gd = generic_dialog_new(heading, PACKAGE, "warning", parent, TRUE, NULL, NULL);
+	gd = generic_dialog_new(heading, GQ_WMCLASS, "warning", parent, TRUE, NULL, NULL);
 	generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, warning_dialog_ok_cb, TRUE);
 
 	generic_dialog_add_message(gd, icon_stock_id, heading, text);