comparison src/view_file_list.c @ 792:99ea3d973ad3

added NotifyType
author nadvornik
date Fri, 06 Jun 2008 22:11:03 +0000
parents 6d65167764ea
children a25b228978a0
comparison
equal deleted inserted replaced
791:6d65167764ea 792:99ea3d973ad3
48 48
49 49
50 static gint vflist_row_is_selected(ViewFile *vf, FileData *fd); 50 static gint vflist_row_is_selected(ViewFile *vf, FileData *fd);
51 static gint vflist_row_rename_cb(TreeEditData *td, const gchar *old, const gchar *new, gpointer data); 51 static gint vflist_row_rename_cb(TreeEditData *td, const gchar *old, const gchar *new, gpointer data);
52 static void vflist_populate_view(ViewFile *vf); 52 static void vflist_populate_view(ViewFile *vf);
53 static void vflist_notify_cb(FileData *fd, gpointer data); 53 static void vflist_notify_cb(FileData *fd, NotifyType type, gpointer data);
54 54
55 55
56 /* 56 /*
57 *----------------------------------------------------------------------------- 57 *-----------------------------------------------------------------------------
58 * misc 58 * misc
1873 *----------------------------------------------------------------------------- 1873 *-----------------------------------------------------------------------------
1874 * maintenance (for rename, move, remove) 1874 * maintenance (for rename, move, remove)
1875 *----------------------------------------------------------------------------- 1875 *-----------------------------------------------------------------------------
1876 */ 1876 */
1877 1877
1878 static void vflist_notify_cb(FileData *fd, gpointer data) 1878 static void vflist_notify_cb(FileData *fd, NotifyType type, gpointer data)
1879 { 1879 {
1880 ViewFile *vf = data; 1880 ViewFile *vf = data;
1881 gboolean refresh; 1881 gboolean refresh;
1882 1882
1883 if (vf->refresh_idle_id != -1) return; 1883 if (vf->refresh_idle_id != -1) return;