diff src/ui_tabcomp.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 71e1ebee420e
children 249a9a6cd27f
line wrap: on
line diff
--- a/src/ui_tabcomp.c	Thu Apr 03 22:39:50 2008 +0000
+++ b/src/ui_tabcomp.c	Thu Apr 03 23:29:14 2008 +0000
@@ -856,7 +856,7 @@
 		}
 
 	title = (td->fd_title) ? td->fd_title : _("Select path");
-	td->fd = file_dialog_new(title, PACKAGE, "select_path", td->entry,
+	td->fd = file_dialog_new(title, GQ_WMCLASS, "select_path", td->entry,
 				 tab_completion_select_cancel_cb, td);
 	file_dialog_add_button(td->fd, GTK_STOCK_OK, NULL,
 				 tab_completion_select_ok_cb, TRUE);