diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-09-08 09:35:10 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-09-08 09:35:10 +0000 |
commit | 1a046d693b9dc8c805c2ece35277c989e00c97ac (patch) | |
tree | 009e808dd13ccefdf589a1d05121c157dd275d25 /gtk/main.c | |
parent | 62894613b0f82178ecbbbc7466ca41ab5629cced (diff) | |
download | wireshark-1a046d693b9dc8c805c2ece35277c989e00c97ac.tar.gz wireshark-1a046d693b9dc8c805c2ece35277c989e00c97ac.tar.bz2 wireshark-1a046d693b9dc8c805c2ece35277c989e00c97ac.zip |
From Edwin Groothuis via bug 6207:
Added Filter Toolbar Save functionality.
From me:
Removed unused code.
svn path=/trunk/; revision=38937
Diffstat (limited to 'gtk/main.c')
-rw-r--r-- | gtk/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/main.c b/gtk/main.c index ffdc062db2..7095801170 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -162,6 +162,7 @@ #include "gtk/prefs_dlg.h" #include "gtk/proto_help.h" #include "gtk/new_packet_list.h" +#include "gtk/filter_expression_save_dlg.h" #include "gtk/old-gtk-compat.h" @@ -3779,6 +3780,7 @@ void change_configuration_profile (const gchar *profile_name) /* Set profile name and update the status bar */ set_profile_name (profile_name); profile_bar_update (); + filter_expression_reinit(FILTER_EXPRESSION_REINIT_DESTROY); /* Reset current preferences and apply the new */ prefs_reset(); @@ -3806,6 +3808,7 @@ void change_configuration_profile (const gchar *profile_name) /* Update window view and redraw the toolbar */ update_main_window_title(); + filter_expression_reinit(FILTER_EXPRESSION_REINIT_CREATE); toolbar_redraw_all(); /* Enable all protocols and disable from the disabled list */ |