Mercurial > geeqie
comparison src/image.c @ 1498:5f49f305a6b6
improved debug messages
author | nadvornik |
---|---|
date | Tue, 31 Mar 2009 20:05:16 +0000 |
parents | dac747d99394 |
children | b5608391f479 |
comparison
equal
deleted
inserted
replaced
1497:2c54f3f71634 | 1498:5f49f305a6b6 |
---|---|
526 { | 526 { |
527 g_assert(imd->image_fd->pixbuf); | 527 g_assert(imd->image_fd->pixbuf); |
528 image_change_pixbuf(imd, imd->image_fd->pixbuf, image_zoom_get(imd), FALSE); | 528 image_change_pixbuf(imd, imd->image_fd->pixbuf, image_zoom_get(imd), FALSE); |
529 } | 529 } |
530 | 530 |
531 file_cache_dump(image_get_cache()); | 531 // file_cache_dump(image_get_cache()); |
532 return success; | 532 return success; |
533 } | 533 } |
534 | 534 |
535 /* | 535 /* |
536 *------------------------------------------------------------------- | 536 *------------------------------------------------------------------- |
1392 imd->state == IMAGE_STATE_NONE /* loading not started, no need to reload */ | 1392 imd->state == IMAGE_STATE_NONE /* loading not started, no need to reload */ |
1393 ) return; | 1393 ) return; |
1394 | 1394 |
1395 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE)) && fd == imd->image_fd) | 1395 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE)) && fd == imd->image_fd) |
1396 { | 1396 { |
1397 DEBUG_1("Notify image: %s %04x", fd->path, type); | |
1397 image_reload(imd); | 1398 image_reload(imd); |
1398 } | 1399 } |
1399 } | 1400 } |
1400 | 1401 |
1401 void image_auto_refresh_enable(ImageWindow *imd, gboolean enable) | 1402 void image_auto_refresh_enable(ImageWindow *imd, gboolean enable) |