diff src/search.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 22ed43d4c849
children 9995c5fb202a
line wrap: on
line diff
--- a/src/search.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/search.c	Thu Apr 03 23:29:14 2008 +0000
@@ -2557,7 +2557,7 @@
 
 	gtk_window_set_resizable(GTK_WINDOW(sd->window), TRUE);
 	gtk_window_set_title(GTK_WINDOW(sd->window), _("Image search - Geeqie"));
-	gtk_window_set_wmclass(GTK_WINDOW(sd->window), "search", "Geeqie");
+	gtk_window_set_wmclass(GTK_WINDOW(sd->window), "search", GQ_WMCLASS);
 
 	geometry.min_width = 32;
 	geometry.min_height = 32;