Mercurial > geeqie
comparison src/img-view.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 | fa0e05f985c3 |
children | 9995c5fb202a |
comparison
equal
deleted
inserted
replaced
253:b932b6928e20 | 254:9faf34f047b1 |
---|---|
850 geometry.min_height = 8; | 850 geometry.min_height = 8; |
851 gtk_window_set_geometry_hints(GTK_WINDOW(vw->window), NULL, &geometry, GDK_HINT_MIN_SIZE); | 851 gtk_window_set_geometry_hints(GTK_WINDOW(vw->window), NULL, &geometry, GDK_HINT_MIN_SIZE); |
852 | 852 |
853 gtk_window_set_resizable(GTK_WINDOW(vw->window), TRUE); | 853 gtk_window_set_resizable(GTK_WINDOW(vw->window), TRUE); |
854 gtk_window_set_title (GTK_WINDOW(vw->window), "Geeqie"); | 854 gtk_window_set_title (GTK_WINDOW(vw->window), "Geeqie"); |
855 gtk_window_set_wmclass(GTK_WINDOW(vw->window), "view", "Geeqie"); | 855 gtk_window_set_wmclass(GTK_WINDOW(vw->window), "view", GQ_WMCLASS); |
856 gtk_container_set_border_width(GTK_CONTAINER(vw->window), 0); | 856 gtk_container_set_border_width(GTK_CONTAINER(vw->window), 0); |
857 | 857 |
858 window_set_icon(vw->window, PIXBUF_INLINE_ICON_VIEW, NULL); | 858 window_set_icon(vw->window, PIXBUF_INLINE_ICON_VIEW, NULL); |
859 | 859 |
860 vw->imd = image_new(FALSE); | 860 vw->imd = image_new(FALSE); |