aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-06-19 21:56:25 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-06-19 21:56:25 +0000
commit01de1202bcadfadeb42dfb11160088a09a588428 (patch)
treedd482298a7218563741cffc0728766b69abc6767 /gtk
parentbd8528644e498ac01b25c0fd0d15dd684b348893 (diff)
Update the statusbar expert info icon when changing profile.
svn path=/trunk/; revision=25491
Diffstat (limited to 'gtk')
-rw-r--r--gtk/main.c1
-rw-r--r--gtk/main_statusbar.c2
-rw-r--r--gtk/main_statusbar.h1
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.
*