wireshark/gtk
Guy Harris e697eb8e9f Instead of having the normal-weight and bold fonts set separately,
generate the name of the boldface font from the Roman font; if the two
fonts don't have the same widths, the display will look weird when a
field is selected, and it's a bit of a pain for the user to have to
select *two* fonts.

On UNIX/X, default to
"-*-fixed-medium-r-semicondensed-*-*-120-*-*-*-*-*-" rather than to
"-*-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-iso8859-1" - some
Linux distributions appear to lack the Lucida typewriter font.

Add a "gui.font_name" preference to the preferences file, specifying the
normal-weight font to use.  Have it settable from the "GUI" tab in the
Preferences dialog box - the "Font..." button, when clicked, pops up a
font selection dialog box.

If we either can't open the selected font or the boldfaced version of
the font, default to "6x13" and "6x13bold" as fallbacks - the former
will probably be "fixed", and the latter would be "fixedbold" if X
actually created such an alias, but it doesn't so we use "6x13bold"
instead.

svn path=/trunk/; revision=2304
2000-08-20 07:53:45 +00:00
..
.cvsignore avoid mistakingly commit dynamically generated files, like "Makefile". 1999-10-15 04:40:28 +00:00
Makefile.am Add the "Edit:Protocols..." feature which currently only implements 2000-08-13 14:09:15 +00:00
Makefile.nmake Add the "Edit:Protocols..." feature which currently only implements 2000-08-13 14:09:15 +00:00
capture_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
capture_dlg.h More shuffling of GTK-related routines to gtk subdirectory. 1999-09-09 03:32:03 +00:00
color_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
color_dlg.h Split the color manipulation stuff into "color_dlg.[ch]", containing the 2000-02-12 08:31:49 +00:00
colors.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
colors.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
column_prefs.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
column_prefs.h Move the code in "column.c" that implements the column preferences tab 2000-01-10 01:44:00 +00:00
display_opts.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
display_opts.h Move display.[ch] --> gtk/display_opts.[ch] 1999-10-18 12:48:14 +00:00
dlg_utils.c Add a "dlg_window_new()" routine, which creates a GTK_WINDOW_DIALOG 2000-07-05 02:45:42 +00:00
dlg_utils.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
file_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
file_dlg.h Move the declarations of the routines in "gtk/file_dlg.c" out of 2000-02-12 06:58:42 +00:00
filter_prefs.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
filter_prefs.h Arrange that filter dialog boxes have an "Apply" button only if one can 2000-08-05 07:02:28 +00:00
find_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
find_dlg.h Add a "Find Frame" menu item under "Display"; it lets you use a display 1999-11-06 06:28:07 +00:00
follow_dlg.c It was silly of me to require that "forget_scrolled_window()" be called 2000-08-17 07:56:44 +00:00
follow_dlg.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
goto_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
goto_dlg.h Add a "Go To Frame" menu item, which lets you go to a frame by frame 1999-11-08 01:03:40 +00:00
gtkclist.c Incorporate the GTK+ 1.2.8 version of "gtkclist.c" (which includes all 2000-05-26 07:47:47 +00:00
gtkclist.h Incorporate the GTK+ 1.2.8 version of "gtkclist.c" (which includes all 2000-05-26 07:47:47 +00:00
gtkglobals.h It was silly of me to require that "forget_scrolled_window()" be called 2000-08-17 07:56:44 +00:00
gui_prefs.c Instead of having the normal-weight and bold fonts set separately, 2000-08-20 07:53:45 +00:00
gui_prefs.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
help_dlg.c Don't catch the "delete_event" signal for the "Help" window - we just 2000-08-17 08:17:38 +00:00
help_dlg.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
keys.h Jerry Talkington's changes to support, in the packet list and protocol 2000-01-18 08:38:18 +00:00
main.c Instead of having the normal-weight and bold fonts set separately, 2000-08-20 07:53:45 +00:00
main.h Instead of having the normal-weight and bold fonts set separately, 2000-08-20 07:53:45 +00:00
menu.c - remove "Match Selected" from the packet list popup menu. 2000-08-16 19:15:11 +00:00
menu.h Define "popup_menu_object" only in "gtk/menu.c", and just declare it as 2000-04-06 06:52:10 +00:00
packet_win.c It was silly of me to require that "forget_scrolled_window()" be called 2000-08-17 07:56:44 +00:00
packet_win.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
plugins_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
prefs_dlg.c It was silly of me to require that "forget_scrolled_window()" be called 2000-08-17 07:56:44 +00:00
prefs_dlg.h Implements the "Properties" menu item which displays the preferences window 2000-08-15 20:46:17 +00:00
print_dlg.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
print_prefs.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
print_prefs.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
progress_dlg.c If the progress dialog gets a "delete" event, have the handler return 2000-07-07 23:09:15 +00:00
proto_dlg.c It was silly of me to require that "forget_scrolled_window()" be called 2000-08-17 07:56:44 +00:00
proto_dlg.h Add the "Edit:Protocols..." feature which currently only implements 2000-08-13 14:09:15 +00:00
proto_draw.c Use "isprint()", rather than "isgraph()" followed by a check for space, 2000-04-27 20:39:21 +00:00
proto_draw.h Use GtkScrolledWindows to add scrollbars to the hex/ASCII panes and to 2000-03-02 07:05:57 +00:00
simple_dialog.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
stream_prefs.c Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
stream_prefs.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
summary_dlg.c Add Mbit/sec to the summary window. 2000-08-19 21:36:51 +00:00
summary_dlg.h No work need be done when a summary dialog box is destroyed, or when the 2000-04-01 09:16:49 +00:00
ui_util.c Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c", 2000-01-03 06:59:25 +00:00