aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main_statusbar.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-934/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-08-24Simplified some GTK_CHECK_VERSION to improve readability.Stig Bjørlykke1-4/+2
svn path=/trunk/; revision=38708
2011-08-24GTK3 Remove gtk_window_set_has_resize_grip() as it createsAnders Broman1-1/+0
warning "invalid cast from GtkStatusbar to GtkWindow". svn path=/trunk/; revision=38707
2011-08-24GTK3 Remove gtk_window_set_has_resize_grip() as it createsAnders Broman1-1/+0
warning "invalid cast from GtkStatusbar to GtkWindow". svn path=/trunk/; revision=38706
2011-08-12Replace 2.x only gtk_statusbar_set_has_resize_grip by 3.x onlyJörg Mayer1-0/+8
gtk_window_set_has_resize_grip svn path=/trunk/; revision=38503
2011-07-12Fix more tooltips.Anders Broman1-14/+6
svn path=/trunk/; revision=37987
2011-06-27Get rid of old non-interface specific settings which are now interfaceMichael Tüxen1-4/+2
specifc. This finalizes the change of the infrastructure. This patch is based on work by Irene Ruengeler. svn path=/trunk/; revision=37794
2011-05-21Fix the capturing from the GUI. Honor the iface variable.Michael Tüxen1-16/+16
The next step is to retire the iface variable and use the ifaces array only. This should simplify things and fix the cases, where you start wireshark with command line arguments and also use the GUI. svn path=/trunk/; revision=37342
2011-05-19In case we have no interface information in the array, use the global value.Michael Tüxen1-2/+4
This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5935. svn path=/trunk/; revision=37307
2011-05-19When capturing from multiple interface, indicate this in the main status bar.Michael Tüxen1-6/+41
This patch is, as all other patches related to capturing from multiple interfaces, based on work of Irene Ruengeler. svn path=/trunk/; revision=37296
2011-05-13More packets_bar_update improvements.Stig Bjørlykke1-4/+3
svn path=/trunk/; revision=37134
2011-05-13Simplified string handling in packets_bar_update to use GString.Stig Bjørlykke1-28/+21
This allows both Dropped and Ignored count, combined with Load time. svn path=/trunk/; revision=37121
2011-05-12Make the use of UIManager a configure option.Anders Broman1-1/+5
NOTE Only for Windows. Additional moves to UIManager. svn path=/trunk/; revision=37072
2011-03-31Use a common function, higher_priority_status_level() to determine whether orChris Maynard1-20/+23
not messages should be pushed onto the statusbar. Should fix CID 270. svn path=/trunk/; revision=36421
2010-11-28Add GCC-style printf annotation to the routines that now take a formatGuy Harris1-0/+4
string and format arguments, and fix issues warned about by that. svn path=/trunk/; revision=35044
2010-11-27Make some other statusbar routines take a format string and format args,Guy Harris1-61/+56
and get rid of an unnecessary string pointer. Make the argument to welcome_header_push_msg() a const pointer. svn path=/trunk/; revision=35042
2010-11-27Move main_statusbar.h to the top-level directory; none of its routinesGuy Harris1-3/+11
use GTK+ data types, so, at least in theory, it could be implemented atop another toolkit. Make statusbar_push_temporary_msg() take a format string and format arguments. Use it instead of simple_status(), and change one call to just take a format string and arguments rather than to take the result of using that format string and arguments with g_strdup_printf() and passing the result to statusbar_push_temporary_msg(). svn path=/trunk/; revision=35041
2010-10-01Add a new right-click popup menu for the statusbar profiles for easy functionsStig Bjørlykke1-1/+6
to create new, copy, delete and rename configuration profiles. svn path=/trunk/; revision=34312
2010-08-19Use correct signature for "button-press-event" callback function;Bill Meier1-78/+83
Whitespace cleanup; Use gboolean as appropriate; svn path=/trunk/; revision=33844
2010-07-05- Show droped packets counter after stopping a live capture.Anders Broman1-12/+20
- Don't show "Load time" during live capture. - Fix indentation and minor changes to comments. Should ignored packets be shown also when drops is known? svn path=/trunk/; revision=33440
2010-05-14Don't include capture-related headers if we don't support capturingGuy Harris1-1/+1
network traffic. svn path=/trunk/; revision=32802
2010-02-17Another Laura bug: Don't reset the file load time in the status bar whenGerald Combs1-3/+2
we apply a display filter. Display the load time as "Load time: M:SS.SSS" instead of "Time: HH:MM:SS.SSS". svn path=/trunk/; revision=31909
2010-01-20From Jim Young:Anders Broman1-0/+9
Wireshark GUI not reporting filename after save of new capture file. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4406 svn path=/trunk/; revision=31587
2009-12-17Introduce "Ignore Packet" in the packet list.Stig Bjørlykke1-0/+3
This will remove the package from the dissection functions without removing it from the capture file. svn path=/trunk/; revision=31287
2009-12-14From Valerio Messina:Jaap Keuter1-13/+14
As now, when Wireshark save capture files, it show "Loading" in status bar and in the dialog box, warning many users of lost them packets. Saving work as expected. Is simply a GUI use interaction problem. svn path=/trunk/; revision=31269
2009-11-10Move the contents of image/expert_*.h to gtk/expert_indicators.h. AddGerald Combs1-11/+1
pixbuf versions of the wired, wireless, and bluetooth interface icons to gtk/network_icons.h. In the interface list use the new icons in all their alpha-channel-infested glory. Add Makefile targets for rebuilding the pixbuf files. svn path=/trunk/; revision=30922
2009-11-09Instead of trying to change the background color of the info bar when weGerald Combs1-26/+37
push a temporary message, make it "throb" using gtk_drag_highlight and gtk_drag_unhighlight. svn path=/trunk/; revision=30912
2009-11-04Add a convenience routine to convert pixbuf data generated byGerald Combs1-20/+29
gdk-pixbuf-csource to a GtkImage. Use it to load the expert indicator images. Add prettier indicator images. The "chat" indicator is more blue in order to differentiate it from the "none" indicator; make the chat text background more blue to match. svn path=/trunk/; revision=30825
2009-11-04Add the ability to push temporary (and highlighted) messages onto theGerald Combs1-3/+53
statusbar. This lets us notify the user about something significant without having to pop up an annoying window. Replace a few dialogs with statusbar messages. svn path=/trunk/; revision=30810
2009-09-07Make sure that reset the elapsed time to load a file before we reload/rescan ↵Kovarththanan Rajaratnam1-4/+3
the file svn path=/trunk/; revision=29783
2009-08-28Compute the loading time and show it in the main status bar.Anders Broman1-2/+8
(Modified code from Didier Gautheron). svn path=/trunk/; revision=29592
2009-07-09Pop the welcome header when we are finished capture without updating packetStig Bjørlykke1-0/+1
list in real time, so we get back to the welcome screen when closing the file. svn path=/trunk/; revision=29034
2009-04-29Add the ability to push and pop messages in to and out of the welcomeGerald Combs1-1/+5
screen header, similar to the status bar. Hide the welcome body if the message stack length is > 0. Use this to display the "Waiting for capture input data..." message when we're capturing from a pipe. This lets the user know what's going on and keeps them from clicking on a welcome screen item while we're waiting for data to arrive. You can see this in action by running (sleep 5; cat /path/to/a/capture) | wireshark -k -i - svn path=/trunk/; revision=28196
2009-04-10gtk_widget_ref() --> g_object_ref()Bill Meier1-11/+11
svn path=/trunk/; revision=28027
2009-01-18From Jim Young:Jaap Keuter1-4/+4
Confine status bar widgets to module. svn path=/trunk/; revision=27259
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-06-24Have separate callback mechanisms in file.c and capture.c; pass theGuy Harris1-41/+62
capture callbacks the capture_options * as its second argument in all cases. This makes it a bit clearer what arguments callbacks take, and means we can get rid of all global_capture_opts references in gtk/main_statusbar.c. Put the interface between gtk/main.c and gtk/main_statusbar.c into a private header. svn path=/trunk/; revision=25576
2008-06-24Add gtk/capture_globals.h, to declare global_capture_opts, so files thatGuy Harris1-6/+7
don't need global_capture_opts don't need to have it declared and thus don't need capture_options defined. Include gtk/capture_globals in the files in question. Change some more capture_opts references to refer to global_capture_opts. Change some global_capture_opts references in routines with a capture_opts argument to refer to capture_opts. The structure type is capture_options, not capture_opts; fix some references. Include <sys/types.h>, if it's present, in capture_opts.h, so we get gid_t defined. Clean up indentation. svn path=/trunk/; revision=25574
2008-06-24For now, just refer to global_capture_opts, replacing references to theGuy Harris1-13/+12
now-defult global capture_opts pointer; we eventually should try to minimize the use of global variables. svn path=/trunk/; revision=25572
2008-06-19Update the statusbar expert info icon when changing profile.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=25491
2008-06-17Popup a menu with configuration profiles instead of the profile dlgStig Bjørlykke1-2/+2
when clicking the profile in the statusbar. Much easier to use. svn path=/trunk/; revision=25468
2008-06-15Cleanup return values from info_bar_new() and packets_bar_new().Stig Bjørlykke1-11/+9
svn path=/trunk/; revision=25456
2008-06-15Click on the profile in the statusbar will open Configuration Profiles dialog.Stig Bjørlykke1-8/+18
svn path=/trunk/; revision=25455
2008-04-13sort #includes by directoriesUlf Lamping1-10/+11
svn path=/trunk/; revision=24967
2008-04-12various code cleanupUlf Lamping1-5/+4
svn path=/trunk/; revision=24964
2008-04-12Include unistd.h, fix prototyping of static functions and mark someStig Bjørlykke1-8/+12
unused arguments. svn path=/trunk/; revision=24941
2008-04-12move statusbar related code from main.c into it's own main_statusbar.cUlf Lamping1-0/+764
svn path=/trunk/; revision=24937