diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-17 19:50:22 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-17 19:50:22 +0000 |
commit | 4cd366783231a8c98f5947c39d377855b3797b81 (patch) | |
tree | 769064e2b7156203df41b983de9c677bf03754d3 /gtk/main_statusbar.c | |
parent | d630c26a291f62ee8123eb977e1babc5277d2400 (diff) | |
download | wireshark-4cd366783231a8c98f5947c39d377855b3797b81.tar.gz wireshark-4cd366783231a8c98f5947c39d377855b3797b81.tar.bz2 wireshark-4cd366783231a8c98f5947c39d377855b3797b81.zip |
Popup a menu with configuration profiles instead of the profile dlg
when clicking the profile in the statusbar. Much easier to use.
svn path=/trunk/; revision=25468
Diffstat (limited to 'gtk/main_statusbar.c')
-rw-r--r-- | gtk/main_statusbar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/main_statusbar.c b/gtk/main_statusbar.c index 661cc0289e..669ab93e1c 100644 --- a/gtk/main_statusbar.c +++ b/gtk/main_statusbar.c @@ -346,10 +346,10 @@ profile_bar_new(void) profile_bar_event = gtk_event_box_new(); profile_bar = gtk_statusbar_new(); gtk_container_add(GTK_CONTAINER(profile_bar_event), profile_bar); - g_signal_connect(profile_bar_event, "button_press_event", G_CALLBACK(profile_dialog_cb), NULL); + g_signal_connect(profile_bar_event, "button_press_event", G_CALLBACK(profile_show_popup_cb), NULL); profile_ctx = gtk_statusbar_get_context_id(GTK_STATUSBAR(profile_bar), "profile"); gtk_tooltips_set_tip (tooltips, profile_bar_event, - "Click to change configuration profile.", NULL); + "Click to change configuration profile", NULL); profile_bar_update(); gtk_widget_show(profile_bar); |