… | |
… | |
807 | scrollBar.resize (); /* create and map scrollbar */ |
807 | scrollBar.resize (); /* create and map scrollbar */ |
808 | #ifdef HAVE_BG_PIXMAP |
808 | #ifdef HAVE_BG_PIXMAP |
809 | { |
809 | { |
810 | bg_init (); |
810 | bg_init (); |
811 | |
811 | |
812 | #ifdef ENABLE_TRANSPARENCY |
812 | #if ENABLE_TRANSPARENCY |
813 | if (option (Opt_transparent)) |
813 | if (option (Opt_transparent)) |
814 | { |
814 | { |
815 | bg_set_transparent (); |
815 | bg_set_transparent (); |
816 | |
816 | |
817 | if (rs [Rs_blurradius]) |
817 | if (rs [Rs_blurradius]) |
… | |
… | |
1004 | void |
1004 | void |
1005 | rxvt_term::init_xlocale () |
1005 | rxvt_term::init_xlocale () |
1006 | { |
1006 | { |
1007 | set_environ (envv); |
1007 | set_environ (envv); |
1008 | |
1008 | |
1009 | #ifdef USE_XIM |
1009 | #if USE_XIM |
1010 | if (!locale) |
1010 | if (!locale) |
1011 | rxvt_warn ("setting locale failed, continuing without locale support.\n"); |
1011 | rxvt_warn ("setting locale failed, continuing without locale support.\n"); |
1012 | else |
1012 | else |
1013 | { |
1013 | { |
1014 | set_string_property (xa[XA_WM_LOCALE_NAME], locale); |
1014 | set_string_property (xa[XA_WM_LOCALE_NAME], locale); |
… | |
… | |
1277 | } |
1277 | } |
1278 | |
1278 | |
1279 | void |
1279 | void |
1280 | rxvt_term::set_icon (const char *file) |
1280 | rxvt_term::set_icon (const char *file) |
1281 | { |
1281 | { |
1282 | #ifdef HAVE_PIXBUF |
1282 | #if HAVE_PIXBUF |
1283 | GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (file, NULL); |
1283 | GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (file, NULL); |
1284 | if (!pixbuf) |
1284 | if (!pixbuf) |
1285 | { |
1285 | { |
1286 | rxvt_warn ("Loading image icon failed, continuing without.\n"); |
1286 | rxvt_warn ("Loading image icon failed, continuing without.\n"); |
1287 | return; |
1287 | return; |