diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-12-04 18:00:50 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-12-04 18:00:50 +0000 |
commit | c0c7a64d71811f76fa319930d1cf41078ac97c7f (patch) | |
tree | 794ce63f5584fa31552f7d76030156ba3106d19b /ui/gtk/main_toolbar.c | |
parent | 9ca3f30f7589f9b508aae43f6f05f9fffdcc6813 (diff) |
Replace GTK_STOCK_SAVE with WIRESHARK_STOCK_FILE in a few places,
including the GTK+ and Qt main toolbars.
svn path=/trunk/; revision=46374
Diffstat (limited to 'ui/gtk/main_toolbar.c')
-rw-r--r-- | ui/gtk/main_toolbar.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ui/gtk/main_toolbar.c b/ui/gtk/main_toolbar.c index 29ceefa2f4..d55520d50d 100644 --- a/ui/gtk/main_toolbar.c +++ b/ui/gtk/main_toolbar.c @@ -68,7 +68,7 @@ static GtkToolItem *capture_options_button, *new_button, *stop_button, *clear_bu static GtkToolItem *capture_filter_button, *autoscroll_button; #endif /* HAVE_LIBPCAP */ static GtkToolItem *open_button, *save_button, *close_button, *reload_button; -static GtkToolItem *print_button, *find_button, *history_forward_button, *history_back_button; +static GtkToolItem *find_button, *history_forward_button, *history_back_button; static GtkToolItem *go_to_button, *go_to_top_button, *go_to_bottom_button; static GtkToolItem *display_filter_button; static GtkToolItem *zoom_in_button, *zoom_out_button, *zoom_100_button, *colorize_button; @@ -185,8 +185,6 @@ void set_toolbar_for_capture_stopping(void) { void set_toolbar_for_captured_packets(gboolean have_captured_packets) { if (toolbar_init) { - gtk_widget_set_sensitive(GTK_WIDGET(print_button), - have_captured_packets); gtk_widget_set_sensitive(GTK_WIDGET(find_button), have_captured_packets); gtk_widget_set_sensitive(GTK_WIDGET(history_back_button), @@ -321,7 +319,7 @@ toolbar_new(void) GTK_STOCK_OPEN, "Open a capture file...", file_open_cmd_cb, NULL); toolbar_item(save_button, main_tb, - GTK_STOCK_SAVE, "Save this capture file", file_save_cmd_cb, NULL); + WIRESHARK_STOCK_FILE, "Save this capture file", file_save_cmd_cb, NULL); toolbar_item(close_button, main_tb, GTK_STOCK_CLOSE, "Close this capture file", file_close_cmd_cb, NULL); @@ -329,9 +327,6 @@ toolbar_new(void) toolbar_item(reload_button, main_tb, GTK_STOCK_REFRESH, "Reload this capture file", file_reload_cmd_cb, NULL); - toolbar_item(print_button, main_tb, - GTK_STOCK_PRINT, "Print packet(s)...", file_print_cmd_cb, NULL); - toolbar_append_separator(main_tb); toolbar_item(find_button, main_tb, |