diff src/bar_sort.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 343e560f8e15
children 9995c5fb202a
line wrap: on
line diff
--- a/src/bar_sort.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/bar_sort.c	Thu Apr 03 23:29:14 2008 +0000
@@ -490,7 +490,7 @@
 		}
 
 	sd->dialog = file_util_file_dlg(title,
-				       "Geeqie", "add_bookmark", button,
+				       GQ_WMCLASS, "add_bookmark", button,
 				       bar_sort_add_cancel_cb, sd);
 	file_dialog_add_button(sd->dialog, GTK_STOCK_OK, NULL, bar_sort_add_ok_cb, TRUE);