diff src/info.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 79ef86f3b325
children 35f9083c6b95
line wrap: on
line diff
--- a/src/info.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/info.c	Thu Apr 03 23:29:14 2008 +0000
@@ -774,7 +774,7 @@
 
 	gtk_window_set_resizable(GTK_WINDOW(id->window), TRUE);
 	gtk_window_set_title(GTK_WINDOW(id->window), _("Image properties - Geeqie"));
-	gtk_window_set_wmclass(GTK_WINDOW(id->window), "properties", "Geeqie");
+	gtk_window_set_wmclass(GTK_WINDOW(id->window), "properties", GQ_WMCLASS);
 
 	geometry.min_width = 32;
 	geometry.min_height = 32;