aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/drag_and_drop.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-14From Valerio Messina:Jaap Keuter1-2/+2
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-10Removed some unused variables and unused assignments.Stig Bjørlykke1-4/+3
svn path=/trunk/; revision=30918
2009-06-30Introduce experimental new feature: GTK2 tree view based packet listStephen Fisher1-0/+2
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling. To do this with gcc, set the environment variable CPPFLAGS to "-DNEW_PACKET_LIST" and re-run configure. Many features do not yet work. This work began with prototypes by Ulf quite a while back. I've put quite a bit of work into this so far and as discussed with a few of the core team members at Sharkfest09 and it was decided that it would be best to commit what I have so far to allow others to help work on this. svn path=/trunk/; revision=28892
2009-06-21"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, butGuy Harris1-1/+1
context menus. Note why we have an empty hex dump pane context menu. svn path=/trunk/; revision=28794
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26641
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-2/+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-24Only include gtk/capture_globals.h if we're building with captureGuy Harris1-0/+2
support. svn path=/trunk/; revision=25575
2008-06-24Add gtk/capture_globals.h, to declare global_capture_opts, so files thatGuy Harris1-2/+3
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-04-13sort #includes by directoriesUlf Lamping1-13/+13
svn path=/trunk/; revision=24968
2008-04-12rename menu -> main_menuUlf Lamping1-1/+1
remove old (and unused and confusing) ../menu.h svn path=/trunk/; revision=24947
2008-04-12move drag_and_drop declarations into it's own fileUlf Lamping1-0/+1
svn path=/trunk/; revision=24927
2008-04-12compat_macros.h is gone now!!!Ulf Lamping1-9/+12
all GTK1 compatibility code was removed, so this file can simply be dropped svn path=/trunk/; revision=24923
2007-08-30Change the "--enable-setuid-install" option to install dumpcap and TSharkGerald Combs1-14/+18
setuid instead of Wireshark. Remove the "DANGEROUS" notices, but leave it disabled by default. Whine if the user runs Wireshark or TShark as root. Add a preference to disable the whining. Add a "setuid-root" script that can be used to switch dumpcap and TShark's setuid-ness on and off for development and testing. Update the release notes and README.packaging. svn path=/trunk/; revision=22733
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-29Most of the stuff in file_dlg.c is specific to capture files, so renameGuy Harris1-1/+1
it to capture_file_dlg.c, and rename its header file. We might want to move the generic file dialog stuff to a file_dlg.c file (it's currently in dlg_utils.c), and move the non-capture-file dialog stuff in capture_file_dlg.c to another file. svn path=/trunk/; revision=18034
2006-02-17remove dependencies to pcap.h, so getting an idea what needs to be done by ↵Ulf Lamping1-4/+0
dumpcap in addition to the things already done now various dumpcap related code cleanup: mainly #include's and capture engine related stuff svn path=/trunk/; revision=17327
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-4/+0
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-07-25two bugfixes:Ulf Lamping1-18/+20
- don't use GtkSelectionData after returned to GTK, as it might free this data immediately (copy the data instead and free it after usage) - fix return value handling for DnD merge, so it will work again svn path=/trunk/; revision=15056
2005-05-12If we have libpcap, include <pcap.h>, because "capture.h" requires it.Guy Harris1-1/+8
If we *don't* have libpcap, don't include "capture.h", and don't test whether a capture is in progress. Clean up a message. svn path=/trunk/; revision=14356
2005-04-27fix bugzilla #110 (http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=110)Ulf Lamping1-0/+25
don't crash if dropping a file while running a capture or reading a file svn path=/trunk/; revision=14206
2005-04-06from Ilya Konstantinov: fixed a bug as DND wasn't working with GNOME, I've ↵Ulf Lamping1-11/+20
also added a comment how GNOME handles these things svn path=/trunk/; revision=14020
2005-02-17Have "cf_merge_files()" take a pointer-to-pointer-to-char as the outputGuy Harris1-6/+6
file name argument; if the pointed-to pointer is null, it opens a temporary file, and sets that pointer to a mallocated copy of the pathname of the temporary file. It no longer needs a file descriptor as an argument. svn path=/trunk/; revision=13419
2005-02-15Have "cf_merge_files()" always close "out_fd" before returning; it doesGuy Harris1-7/+7
so if "wtap_dump_fdopen()" succeeds (as a side-effect of calling "wtap_dump_close()"), even if "cf_merge_fails()" after that, so it should do so if it fails. That means we don't need to close it in the callers of "cf_merge_files()". svn path=/trunk/; revision=13407
2005-02-05rename kill_capture_child to capture_kill_child to have a common prefixUlf Lamping1-0/+340
split drag and drop support out of main.c into new file drag_and_drop.c, to reduce the size of main.c a bit. Hopefully this won't break unix builds because of missing #include's, I will keep an eye on the buildbot svn path=/trunk/; revision=13308