Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk gui_prefs.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 9 Sep 2000 05:36:02 -0500 (CDT)
guy         2000/09/09 05:35:58 CDT

  Modified files:
    gtk                  gui_prefs.c 
  Log:
  In the callback for the "OK" button in the font selection dialog, check
  to make sure we can load the font the user selected *and* the font that
  would, in theory, be the boldface version of that font; if not, pop up
  an error dialog, and don't nuke the font selection dialog (i.e., the
  user either has to pick fonts that work, or give up in disgust and click
  "Cancel").
  
  Don't set "prefs.gui_font_name" until the "fetch" function is called -
  stuff the name in a static variable when the user clicks "OK" in the
  font selection dialog.
  
  Revision  Changes    Path
  1.19      +71 -36    ethereal/gtk/gui_prefs.c