Commit Graph

15 Commits

Author SHA1 Message Date
Guy Harris b66228d28b Don't explicitly set the main window name unless you're changing the
state to "no packets", "file open", or "live capture in progress".

Instead, to update the main window title when the user-specified prefix
for the title changes:

	save the un-decorated title as a data value attached to the main
	window in set_main_window_name();

	have a new routine to update the title, which fetches the
	un-decorated title, decorates it, and sets the title to the
	decorated value.

This fixes bug 1608.

svn path=/trunk/; revision=21876
2007-05-22 02:21:01 +00:00
Guy Harris 92552c2d76 Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
strings, and function names.

svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Jaap Keuter fc662e5261 In order to reduce the height of the Preference dialog moving several items from the User Interface page to the Layout page.
svn path=/trunk/; revision=17444
2006-03-02 14:44:50 +00:00
Ulf Lamping eafbbbcabb renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Guy Harris acb752726d Use an enum when initializing "prefs.gui_layout_type".
Add an entry to that enum at the end and use that to generate the value
of LAYOUT_QTY.

svn path=/trunk/; revision=10800
2004-05-05 07:31:05 +00:00
Ulf Lamping 32b38be04d move function xpm_to_widget() from layout_prefs to ui_util,
as this can be useful not only in layout_prefs

svn path=/trunk/; revision=10768
2004-05-02 08:54:32 +00:00
Guy Harris e2ae85388d GCC warning removed. (ANSI C says it's "implementation-defined" what
integral type an enum corresponds to; I guess GCC says "unsigned int"
and MSVC says "int".)

svn path=/trunk/; revision=10745
2004-04-30 21:32:42 +00:00
Ulf Lamping e0d13b61c2 removed warnings of GTK1 compilation
svn path=/trunk/; revision=10739
2004-04-30 06:30:13 +00:00
Ulf Lamping 87f79212c7 MVSC warning removed
svn path=/trunk/; revision=10737
2004-04-30 05:25:52 +00:00
Guy Harris 83bf0c8719 The layout types and pane types don't depend on GTK+, so move their
definitions to "prefs.h".

Use them, rather than (incorrect) raw numerical values, when
initializing the preferences.

svn path=/trunk/; revision=10736
2004-04-30 00:40:45 +00:00
Guy Harris 9831d86922 Squelch some compiler warnings.
Clean up white space.

svn path=/trunk/; revision=10735
2004-04-30 00:22:46 +00:00
Ulf Lamping 414b631700 added selection of different main window pane layouts,
also added some preferences and a new preference page for this

svn path=/trunk/; revision=10729
2004-04-29 17:03:27 +00:00