comparison src/img-view.c @ 288:d1f74154463e

Replace occurences of Geeqie / geeqie by constants defined in main.h.
author zas_
date Wed, 09 Apr 2008 13:53:01 +0000
parents 9995c5fb202a
children 6a7298988a7a
comparison
equal deleted inserted replaced
287:fd5c62403498 288:d1f74154463e
849 geometry.min_width = 8; 849 geometry.min_width = 8;
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), GQ_APPNAME);
855 gtk_window_set_wmclass(GTK_WINDOW(vw->window), "view", GQ_WMCLASS); 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);
861 861
862 image_background_set_color(vw->imd, user_specified_window_background ? &window_background_color : NULL); 862 image_background_set_color(vw->imd, user_specified_window_background ? &window_background_color : NULL);
863 863
864 image_attach_window(vw->imd, vw->window, NULL, "Geeqie", TRUE); 864 image_attach_window(vw->imd, vw->window, NULL, GQ_APPNAME, TRUE);
865 865
866 image_auto_refresh(vw->imd, 0); 866 image_auto_refresh(vw->imd, 0);
867 image_top_window_set_sync(vw->imd, TRUE); 867 image_top_window_set_sync(vw->imd, TRUE);
868 868
869 gtk_container_add(GTK_CONTAINER(vw->window), vw->imd->widget); 869 gtk_container_add(GTK_CONTAINER(vw->window), vw->imd->widget);