Commit graph

3465 commits

Author SHA1 Message Date
Stig Bjørlykke
a63ad85c78 Changed to display NCP connection, as in conversations.
svn path=/trunk/; revision=25181
2008-04-25 19:42:27 +00:00
Jaap Keuter
cef88c913d From Jim Young:
Small patch to gtk/expert_dlg.c to test for the existance of the etd->label
before use.  This patch stops GTK assertion on Linux.

svn path=/trunk/; revision=25160
2008-04-23 23:12:18 +00:00
Martin Mathieson
1ad98b5c11 Rename "Taps/Statistics" preference group to be simply "Statistics".
"Tap" is a term likely only to be known to developers, and
"Statistics" matches the Menu item under which all of the affected
windows are launched.

svn path=/trunk/; revision=25151
2008-04-23 16:49:34 +00:00
Stig Bjørlykke
0b2837f362 From Chris:
Correct some typos.

svn path=/trunk/; revision=25145
2008-04-22 05:27:28 +00:00
Martin Mathieson
e158960f5a Rename prefs_rtp_player files to prefs_taps.
(see rev 25133)

svn path=/trunk/; revision=25143
2008-04-21 21:56:45 +00:00
Martin Mathieson
d4dca0d94b Allow configuration of tap update interval.
- rename rtp_player config group to taps/statistics
- will rename prefs_rtp_player files later
  (svn didn't seem keen to rename with changes present,
   and output says its just a copy/delete anyway...)

svn path=/trunk/; revision=25133
2008-04-21 10:57:32 +00:00
Ulf Lamping
92a132d4f4 fix build on GTK 2.0/2.2 and some other code cleanup
svn path=/trunk/; revision=25130
2008-04-21 01:49:53 +00:00
Ulf Lamping
277d241fac remove no longer required parameters from toolbar_item() macro
svn path=/trunk/; revision=25129
2008-04-21 00:54:46 +00:00
Guy Harris
7c60e055c7 Add GTK_SIGNAL_FUNC() casts for GTK+ 2.[0-2] code.
svn path=/trunk/; revision=25128
2008-04-20 23:42:21 +00:00
Ulf Lamping
da44c1d084 bugs happen, if you're trying to do two things at once ;-)
svn path=/trunk/; revision=25122
2008-04-19 22:50:14 +00:00
Ulf Lamping
be2ddd2fd5 HAVE_LUA_5_1 is no longer required for the Tools menu
svn path=/trunk/; revision=25121
2008-04-19 19:40:05 +00:00
Ulf Lamping
a7e8d7f743 I'v fixed the bug reported by Stig that no items appear and also ..
from Jim Young:
The attached patch simply tests for a non-NULL 
welcome_file_panel_vb before attempting to get the 
child_list.

svn path=/trunk/; revision=25120
2008-04-19 18:39:58 +00:00
Ulf Lamping
86ee4fc3fc add a way to place the capture interfaces and recent files list into a scrolled_window once the number of them get's "too large"
svn path=/trunk/; revision=25119
2008-04-19 13:33:42 +00:00
Stig Bjørlykke
b205017b3e Display the interface comment if defined.
On non-win32 also display the interface name.

svn path=/trunk/; revision=25114
2008-04-18 14:29:54 +00:00
Jeff Morriss
2f78f0145d filename2uri() doesn't modify its parameter (and in at least one place we hand it a const argument) so make the parameter const. Also move the function up in the file (before its first use).
svn path=/trunk/; revision=25113
2008-04-18 12:47:05 +00:00
Jeff Morriss
7ca7f149ce Change an assignment-in-an-if to a comparison.
svn path=/trunk/; revision=25112
2008-04-18 12:42:27 +00:00
Gerald Combs
15d0f668cf Minor banner tweaks.
svn path=/trunk/; revision=25109
2008-04-17 23:59:56 +00:00
Stig Bjørlykke
a4f76f95a0 Added an option to display hidden protocol items.
svn path=/trunk/; revision=25108
2008-04-17 23:14:01 +00:00
Ulf Lamping
b11501c457 as the welcome page seems generally accepted, remove #ifdef SHOW_WELCOME_PAGE around it
svn path=/trunk/; revision=25107
2008-04-17 22:11:21 +00:00
Bill Meier
7e9b56cbeb On Windows: filemanager_open_directory: ensure a trailing '\' on path to ShellExecute;
svn path=/trunk/; revision=25105
2008-04-17 20:00:26 +00:00
Guy Harris
1bf91a279c In filemanager_open_directory(), if we're not on Windows or OS X and
don't have xdg-open, convert the pathname to a URI and hand it to the
browser.

svn path=/trunk/; revision=25104
2008-04-17 19:37:40 +00:00
Guy Harris
572efdc1c4 Use the "explore" verb when opening directories; that doesn't fix the case
where there's an openable file and a directory with the same pathname
except for the extension, but at least it prevents us from trying to open
the file.

svn path=/trunk/; revision=25103
2008-04-17 18:40:45 +00:00
Guy Harris
2172b8dfb1 Sigh. g_spawn_async() should take a "const gchar **" argument for argv,
as it shouldn't be modifying the strings, but it's "gchar **", so we
can't make argv an array of "const gchar *" - which means that you can't
put a "{g}char *" into it without a cast.

Clean up white space.

svn path=/trunk/; revision=25100
2008-04-17 16:53:41 +00:00
Bill Meier
9f35411f35 Infos --> Information
svn path=/trunk/; revision=25099
2008-04-17 16:24:55 +00:00
Guy Harris
b2f4f0a228 If we have xdg-open, define HAVE_XDG_OPEN.
Add a routine "filemanager_open_directory()", which takes a pathname
(presumed to be UTF-8 in Windows and Mac OS X; this might need work for
other UN*Xes) and attempts to open a file manager window for it, using
ShellExecute on Windows, Launch Services on OS X, and, for now, running
xdg-open on other OSes if we have it (should we have a preference for
the file manaager, just as we have one for the Web browser?).

(For that matter, if we have xdg-open, do we need a preference for the
Web browser, or should we just have xdg-open open the Web browser?)

svn path=/trunk/; revision=25097
2008-04-17 16:14:22 +00:00
Ulf Lamping
d570c787cc set_sensitive(FALSE) for recent files that are currently not available
svn path=/trunk/; revision=25095
2008-04-17 08:53:09 +00:00
Ulf Lamping
51baf7769a cut filenames in the middle (not just at the start) and add tooltips for it
svn path=/trunk/; revision=25093
2008-04-17 04:05:14 +00:00
Ulf Lamping
ebe83ebcb3 add tooltips for the welcome page buttons
svn path=/trunk/; revision=25092
2008-04-17 03:24:24 +00:00
Guy Harris
cc1da67ca7 A GtkImage doesn't take any input, so it doesn't support the "clicked"
signal.

Fix the description for the "Interface List" welcome button.

svn path=/trunk/; revision=25091
2008-04-17 03:06:22 +00:00
Guy Harris
22ae89d766 colors_init() doesn't have anything to do with packet coloring, it's
just our initialization routine for low-level GTK+ stuff, such as
getting the system colormap and the "black" and "white" colors; we have
to call it before calling get_color().

svn path=/trunk/; revision=25090
2008-04-17 02:55:29 +00:00
Guy Harris
1b4b6462e8 Put a space between the number of bytes (for a file < 1024 bytes) and
"Bytes".

"Interface description" vs. "interface name" isn't Windows vs. UN*X,
it's "has a description" vs. "doesn't have a description" - the lack of
descriptions in UN*X is a result of

	1) lack of a mechanism to supply descriptions in some UN*Xes

and

	2) lack of code in libpcap to get those descriptions in some
	   other UN*Xes

and I need to work on fixing 2) (I think it can be dredged out of
FreeBSD 6 and 7, I seem to remember current OpenBSD supplying them, and
for OS X we might as well cheat the way the network preference pane does
and just call en0 the main Ethernet and en1 the AirPort interface).

Use an adverb rather than an adjective to modify a noun, as per Chris
Maynard's suggestion.

svn path=/trunk/; revision=25089
2008-04-17 02:38:21 +00:00
Guy Harris
04daff59de Oh, what the heck, go for it - do the size calculations in 64 bits, just
in case a file has more than 2^32 megabytes of data :-); we already
require 64-bit support for calculations and formatting.

svn path=/trunk/; revision=25088
2008-04-17 02:29:43 +00:00
Ulf Lamping
fe630dbde0 ... bring into alphabetical order
svn path=/trunk/; revision=25087
2008-04-17 02:17:55 +00:00
Ulf Lamping
85e14ceb86 rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems a bit misleading
svn path=/trunk/; revision=25086
2008-04-17 02:16:39 +00:00
Stephen Fisher
3ad27f2ff8 Mark a paramter as unused
svn path=/trunk/; revision=25085
2008-04-17 02:08:23 +00:00
Ulf Lamping
061df434cb try to fix the buildbot
svn path=/trunk/; revision=25083
2008-04-17 01:13:06 +00:00
Ulf Lamping
8a6bd7e262 enable welcome page
add file size of recent files
tweak colors
code cleanup

svn path=/trunk/; revision=25082
2008-04-17 00:31:38 +00:00
Stig Bjørlykke
f79f9c8504 Added missing comment closing.
svn path=/trunk/; revision=25078
2008-04-16 11:55:23 +00:00
Ulf Lamping
63acc87cf2 ups, missed one
svn path=/trunk/; revision=25077
2008-04-16 10:00:19 +00:00
Ulf Lamping
ed7018b6e4 flip the import and export button "sequence", that the import button comes first. So we have the same sequence as the usual open/save menu.
svn path=/trunk/; revision=25076
2008-04-16 09:57:21 +00:00
Ulf Lamping
be75f6fa16 remove the copied xpm stock icon files from SVN and use the "GTK built in" stock icons
this will also prevent us from showing different stock icons for "our" xpm stock icons and the "system defaults". GTK (for Windows?) changed the icon theme somewhere around V2.10 (or later?) and/or the user might use a different icon theme, so this isn't an esoteric case ;-)

svn path=/trunk/; revision=25075
2008-04-16 09:54:55 +00:00
Ulf Lamping
f3a40604dc use a GTK_STOCK_CLEAR here
svn path=/trunk/; revision=25073
2008-04-16 08:54:50 +00:00
Ulf Lamping
45d5280ff1 add "Save As" and "Save All" buttons to the dialog / stock_icons utils
use them in the export object dialog

svn path=/trunk/; revision=25072
2008-04-16 08:47:12 +00:00
Ulf Lamping
a18fefb91f a better spacing between the help and copy buttons
svn path=/trunk/; revision=25071
2008-04-16 08:06:55 +00:00
Ulf Lamping
0f34f9fd6a don't use a Close button for the preparation dialog, use a Cancel one instead
svn path=/trunk/; revision=25065
2008-04-16 00:46:16 +00:00
Ulf Lamping
80abf46094 fix button sequence, show filter... button left to Cancel button
svn path=/trunk/; revision=25064
2008-04-16 00:45:23 +00:00
Ulf Lamping
ac1dbb7c85 add #include <sys/types.h>
svn path=/trunk/; revision=25063
2008-04-16 00:17:51 +00:00
Ulf Lamping
4be30a0240 special handling for the dialog boxes Copy buttons, as the behaviour is more like an auxiliary button (like Help), than one of the "action" buttons as "Ok" (as e.g. Ok will close the dialog).
To make this more clear put the Copy button to the left of the button row ...

svn path=/trunk/; revision=25062
2008-04-16 00:14:01 +00:00
Ulf Lamping
2e125b32e2 use the standard dialog button mechanism for the firewall dialog
svn path=/trunk/; revision=25061
2008-04-16 00:10:47 +00:00
Ulf Lamping
8642844fef add the firewall ACL dialog to the help topics (would be a good idea to better describe that dialog anyway...)
svn path=/trunk/; revision=25060
2008-04-16 00:09:15 +00:00