diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-19 21:56:25 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-19 21:56:25 +0000 |
commit | 01de1202bcadfadeb42dfb11160088a09a588428 (patch) | |
tree | dd482298a7218563741cffc0728766b69abc6767 /gtk | |
parent | bd8528644e498ac01b25c0fd0d15dd684b348893 (diff) |
Update the statusbar expert info icon when changing profile.
svn path=/trunk/; revision=25491
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 1 | ||||
-rw-r--r-- | gtk/main_statusbar.c | 2 | ||||
-rw-r--r-- | gtk/main_statusbar.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c index 617c510c2a..b6289ed375 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -3271,6 +3271,7 @@ void change_configuration_profile (const gchar *profile_name) /* Recreate the packet list according to new preferences */ packet_list_recreate (); + status_expert_update(); cfile.cinfo.columns_changed = FALSE; /* Reset value */ user_font_apply(prefs.gui_geometry_save_column_width); } diff --git a/gtk/main_statusbar.c b/gtk/main_statusbar.c index 669ab93e1c..2649cd5599 100644 --- a/gtk/main_statusbar.c +++ b/gtk/main_statusbar.c @@ -463,7 +463,7 @@ status_expert_hide(void) gtk_widget_hide(expert_info_none); } -static void +void status_expert_update(void) { status_expert_hide(); diff --git a/gtk/main_statusbar.h b/gtk/main_statusbar.h index 6b6311e167..ac028c6e6d 100644 --- a/gtk/main_statusbar.h +++ b/gtk/main_statusbar.h @@ -27,6 +27,7 @@ void profile_bar_update(void); void packets_bar_update(void); +void status_expert_update(void); /** Push a message referring to the currently-selected field onto the statusbar. * |