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

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Thu, 16 Oct 2003 16:19:12 -0500 (CDT)
guy         2003/10/16 16:19:12 CDT

  Modified files:
    gtk                  gui_prefs.c toolbar.c toolbar.h 
  Log:
  From Ulf Lamping: add a GUI preference item to control the toolbar
  style.
  
  Make the style text arrays static, as nobody uses them outside prefs.c.
  
  Use FALSE and TRUE for the values for the Boolean controlling the
  highlighting style.
  
  Note that we're now using stock icons in the toolbar in GTK+ 2.x.
  
  Put back the resizing of elements in the top-level container, at least
  for GTK+ 1.2[.x]; otherwise, the toolbar's height never gets smaller,
  even if you change the style in such a way as to reduce the height of
  the elements (icons+text -> icons or text, icons -> text).
  
  Make some routines and variables not used outside gtk/toolbar.c static.
  
  Revision  Changes    Path
  1.42      +27 -4     ethereal/gtk/gui_prefs.c
  1.6       +31 -29    ethereal/gtk/toolbar.c
  1.3       +3 -1      ethereal/gtk/toolbar.h