diff src/collect-dlg.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 f6e307c7bad6
children 9995c5fb202a
line wrap: on
line diff
--- a/src/collect-dlg.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/collect-dlg.c	Thu Apr 03 23:29:14 2008 +0000
@@ -65,7 +65,7 @@
 		{
 		GenericDialog *gd;
 
-		gd = file_util_gen_dlg(_("Overwrite File"), "Geeqie", "dlg_confirm",
+		gd = file_util_gen_dlg(_("Overwrite File"), GQ_WMCLASS, "dlg_confirm",
 					GENERIC_DIALOG(fd)->dialog, TRUE,
 					collection_confirm_cancel_cb, fd);
 
@@ -192,7 +192,7 @@
 	cw = collection_window_find(cd);
 	if (cw) parent = cw->window;
 
-	fd = file_util_file_dlg(title, "Geeqie", "dlg_collection", parent,
+	fd = file_util_file_dlg(title, GQ_WMCLASS, "dlg_collection", parent,
 			     collection_save_or_load_dialog_close_cb, cd);
 
 	generic_dialog_add_message(GENERIC_DIALOG(fd), NULL, title, NULL);