Mercurial > geeqie
comparison src/layout.c @ 390:39369521e263
Fix two errors made in revision 473.
author | zas_ |
---|---|
date | Wed, 16 Apr 2008 22:21:01 +0000 |
parents | 5afe77bb563a |
children | 9fe0ca1b5263 |
comparison
equal
deleted
inserted
replaced
389:b78077f65eff | 390:39369521e263 |
---|---|
928 if (!lw->path) return; | 928 if (!lw->path) return; |
929 | 929 |
930 lw->last_time = filetime(lw->path); | 930 lw->last_time = filetime(lw->path); |
931 | 931 |
932 gtk_entry_set_text(GTK_ENTRY(lw->path_entry), lw->path); | 932 gtk_entry_set_text(GTK_ENTRY(lw->path_entry), lw->path); |
933 vd_set_path(lw->vd, lw->path); | 933 if (lw->vd) vd_set_path(lw->vd, lw->path); |
934 | 934 |
935 if (lw->vfl) vflist_set_path(lw->vfl, lw->path); | 935 if (lw->vfl) vflist_set_path(lw->vfl, lw->path); |
936 if (lw->vfi) vficon_set_path(lw->vfi, lw->path); | 936 if (lw->vfi) vficon_set_path(lw->vfi, lw->path); |
937 } | 937 } |
938 | 938 |
1002 | 1002 |
1003 static void layout_refresh_lists(LayoutWindow *lw) | 1003 static void layout_refresh_lists(LayoutWindow *lw) |
1004 { | 1004 { |
1005 if (lw->path) lw->last_time = filetime(lw->path); | 1005 if (lw->path) lw->last_time = filetime(lw->path); |
1006 | 1006 |
1007 vd_refresh(lw->vd); | 1007 if (lw->vd) vd_refresh(lw->vd); |
1008 | 1008 |
1009 if (lw->vfl) vflist_refresh(lw->vfl); | 1009 if (lw->vfl) vflist_refresh(lw->vfl); |
1010 if (lw->vfi) vficon_refresh(lw->vfi); | 1010 if (lw->vfi) vficon_refresh(lw->vfi); |
1011 } | 1011 } |
1012 | 1012 |