summaryrefslogtreecommitdiff
path: root/gtk/follow_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-01 17:33:37 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-01 17:33:37 +0000
commit14bf83c340c68b4711ba013bc4f1ed66b464bcaf (patch)
tree3814bde632cb726445e9ef78e7299d877616bce3 /gtk/follow_dlg.c
parent09184b8a03224b26f18c09fb7eeae0333617a075 (diff)
downloadwireshark-14bf83c340c68b4711ba013bc4f1ed66b464bcaf.tar.gz
add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11052
Diffstat (limited to 'gtk/follow_dlg.c')
-rw-r--r--gtk/follow_dlg.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c
index 111afed751..531e52412e 100644
--- a/gtk/follow_dlg.c
+++ b/gtk/follow_dlg.c
@@ -1,6 +1,6 @@
/* follow_dlg.c
*
- * $Id: follow_dlg.c,v 1.64 2004/05/27 23:09:09 ulfl Exp $
+ * $Id: follow_dlg.c,v 1.65 2004/06/01 17:33:36 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -994,11 +994,6 @@ follow_save_as_cmd_cb(GtkWidget *w _U_, gpointer data)
/* Tuck away the follow_info object into the window */
OBJECT_SET_DATA(new_win, E_FOLLOW_INFO_KEY, follow_info);
- /* If we've opened a file, start out by showing the files in the directory
- in which that file resided. */
- if (last_open_dir)
- file_selection_set_current_folder(new_win, last_open_dir);
-
SIGNAL_CONNECT(new_win, "destroy", follow_save_as_destroy_cb, follow_info);
#if (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 4) || GTK_MAJOR_VERSION > 2
@@ -1048,7 +1043,7 @@ follow_save_as_ok_cb(GtkWidget * w _U_, gpointer fs)
directory, and leave the selection box displayed. */
set_last_open_dir(to_name);
g_free(to_name);
- file_selection_set_current_folder(fs, last_open_dir);
+ file_selection_set_current_folder(fs, get_last_open_dir());
return;
}