comparison 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
comparison
equal deleted inserted replaced
253:b932b6928e20 254:9faf34f047b1
488 { 488 {
489 title = _("Add Collection"); 489 title = _("Add Collection");
490 } 490 }
491 491
492 sd->dialog = file_util_file_dlg(title, 492 sd->dialog = file_util_file_dlg(title,
493 "Geeqie", "add_bookmark", button, 493 GQ_WMCLASS, "add_bookmark", button,
494 bar_sort_add_cancel_cb, sd); 494 bar_sort_add_cancel_cb, sd);
495 file_dialog_add_button(sd->dialog, GTK_STOCK_OK, NULL, bar_sort_add_ok_cb, TRUE); 495 file_dialog_add_button(sd->dialog, GTK_STOCK_OK, NULL, bar_sort_add_ok_cb, TRUE);
496 496
497 generic_dialog_add_message(GENERIC_DIALOG(sd->dialog), NULL, title, NULL); 497 generic_dialog_add_message(GENERIC_DIALOG(sd->dialog), NULL, title, NULL);
498 498