aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-01 20:14:47 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-01 20:14:47 +0000
commit447ade94b5df23fa00d5310c6d864eb8cd26a2ac (patch)
tree9d0b13905d567e7e7da2f59ebaedeec19042ec91 /fileset.c
parent5ec061bf0c152ff07820a351b5e09506c3fe5282 (diff)
Add a window pointer so that we can figure out from whence we came.
Bring the timestamp output more in line with ISO 8601. svn path=/trunk/; revision=45240
Diffstat (limited to 'fileset.c')
-rw-r--r--fileset.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fileset.c b/fileset.c
index 8b47164..4112fdb 100644
--- a/fileset.c
+++ b/fileset.c
@@ -267,7 +267,7 @@ fileset_sort_compare(gconstpointer a, gconstpointer b)
/* add all file set entries to the dialog */
-void fileset_update_dlg(void)
+void fileset_update_dlg(void *window)
{
GList *le;
@@ -275,7 +275,7 @@ void fileset_update_dlg(void)
/* add all entires to the dialog */
le = g_list_first(set.entries);
while(le) {
- fileset_dlg_add_file((fileset_entry *)le->data);
+ fileset_dlg_add_file((fileset_entry *)le->data, window);
le = g_list_next(le);
}
}
@@ -283,7 +283,7 @@ void fileset_update_dlg(void)
/* walk through the directory of the loaded file and add every file matching the current file */
void
-fileset_add_dir(const char *fname)
+fileset_add_dir(const char *fname, void *window)
{
WS_DIR *dir; /* scanned directory */
WS_DIRENT *file; /* current file */
@@ -325,7 +325,7 @@ fileset_add_dir(const char *fname)
/* sort entries by creation time */
set.entries = g_list_sort(set.entries, fileset_sort_compare);
- fileset_update_dlg();
+ fileset_update_dlg(window);
}
@@ -430,5 +430,3 @@ void fileset_delete(void)
set.dirname = NULL;
}
}
-
-