diff src/dupe.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 fa7d69e7d02d
line wrap: on
line diff
--- a/src/dupe.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/dupe.c	Thu Apr 03 23:29:14 2008 +0000
@@ -1893,7 +1893,7 @@
 	
 	if (!di) return;
 
-	gd = file_util_gen_dlg("Image thumbprint debug info", "Geeqie", "thumbprint",
+	gd = file_util_gen_dlg("Image thumbprint debug info", GQ_WMCLASS, "thumbprint",
 			       dw->window, TRUE,
 			       NULL, NULL);
 	generic_dialog_add_button(gd, GTK_STOCK_CLOSE, NULL, NULL, TRUE);
@@ -3108,7 +3108,7 @@
 
 	gtk_window_set_resizable(GTK_WINDOW(dw->window), TRUE);
 	gtk_window_set_title(GTK_WINDOW(dw->window), _("Find duplicates - Geeqie"));
-        gtk_window_set_wmclass(GTK_WINDOW(dw->window), "dupe", "Geeqie");
+        gtk_window_set_wmclass(GTK_WINDOW(dw->window), "dupe", GQ_WMCLASS);
         gtk_container_set_border_width (GTK_CONTAINER (dw->window), 0);
 
         g_signal_connect(G_OBJECT(dw->window), "delete_event",