Mercurial > geeqie.yaz
comparison src/ui_utildlg.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 | 985a9a09c9d1 |
children | 9995c5fb202a |
comparison
equal
deleted
inserted
replaced
253:b932b6928e20 | 254:9faf34f047b1 |
---|---|
306 GenericDialog *warning_dialog(const gchar *heading, const gchar *text, | 306 GenericDialog *warning_dialog(const gchar *heading, const gchar *text, |
307 const gchar *icon_stock_id, GtkWidget *parent) | 307 const gchar *icon_stock_id, GtkWidget *parent) |
308 { | 308 { |
309 GenericDialog *gd; | 309 GenericDialog *gd; |
310 | 310 |
311 gd = generic_dialog_new(heading, PACKAGE, "warning", parent, TRUE, NULL, NULL); | 311 gd = generic_dialog_new(heading, GQ_WMCLASS, "warning", parent, TRUE, NULL, NULL); |
312 generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, warning_dialog_ok_cb, TRUE); | 312 generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, warning_dialog_ok_cb, TRUE); |
313 | 313 |
314 generic_dialog_add_message(gd, icon_stock_id, heading, text); | 314 generic_dialog_add_message(gd, icon_stock_id, heading, text); |
315 | 315 |
316 gtk_widget_show(gd->dialog); | 316 gtk_widget_show(gd->dialog); |