2002-05-21 Kjartan Maraas <kmaraas@gnome.org>
2002-05-21  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-icon-item.c: Patch from Ilya Konstantin 
<gnome-bugzilla@future.shiny.co.il> to fix the problems
in get_default_font().

2002-05-13  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-about.c: Remove #defines for fonts that are never used.
* gnome-dateedit: Fix internationalization issues. (Peter Hawkins)
* gnome-init.c: Handle setlocale() returning NULL. Also handle
gnome_config_iterator_next() returning NULL.
* gnome-icon-item.c: Don't g_assert() if gdk_fontset_load() fails,
instead run gdk_load_font("fixed").

2002-05-08  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-icon-entry.c: Remove double include. Fix some hacks
and use correct type in gtk_class_type() in gnome_icon_entry_class_init()

2002-04-28  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-file-entry.c: #define MAXPATHLEN to 4095 for systems that
don't have it like the Hurd. (Christian Marillat).

2002-04-26  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-less.c: Remove unused stuff.
* gnome-proc-bar.h: Make some code more portable. Fixes #67143.

2002-03-18  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-font-picker.c (gnome_font_picker_font_extract_attr): Fix
memory management in this function. Rewrite is maybe closer. (Owen)
Fixes #7640 and 30 duplicates.

2002-01-28  Kjartan Maraas  <kmaraas@gnome.org>

* gnome_segv.c: Cast getppid() to long for platforms where it isn't
safe to assume it's an int.
* gnome-less.c (gnome_less_init): Add support for mousewheel
scrolling.

2002-01-10  Kjartan Maraas  <kmaraas@gnome.org>

* gnome_segv.1, Makefile.am: Man page.
* gnome-client.c (gnome_client_init): Fix a dangling pointer to 
master SM client. From Red Hat.
* gnome-client.c (client_save_yourself_callback): Make it work with
the KDE session manager. From Red Hat.
* gnome-canvas-text.c: Make GnomeCanvasTextSuckFont() work
better with multibyte. From Red Hat.
* gnome-mdi-generic-child.c (gnome_mdi_generic_child_set_label,
gnome_mdi_generic_child_create_menus): Fix crashes. From John Finlay.

2002-01-09  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-dock.c, gnome-dock-band.c, gnome-dock-layout.c: #include missing
headers to avoid compiler warnings.

2002-01-08  Kjartan Maraas  <kmaraas@gnome.org>

* gnome_segv.c: Fix a warning on ia64 by making a var const.

2001-10-23  Federico Mena Quintero  <federico@ximian.com>

* gnome-canvas.c (gnome_canvas_request_redraw_uta): Check that the
widget is drawable before queueing a redraw.

2001-10-08  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-about.c: Call gtk_style_ref() after gtk_widget_ensure_style()

2001-09-13  Havoc Pennington  <hp@redhat.com>

* Makefile.am (libgnomeuiincludedir): move to includedir/gnome-1.0

2001-08-21  Chris Toshok  <toshok@ximian.com>

* gnome-canvas.c (gnome_canvas_button): if there's an active
pointer grab, dispatch the event even if the window is different.
fixes stuck grabs when using dnd from canvas items.

2001-08-20  Jaka Mocnik  <jaka@gnu.org>

* gnome-dock.c (drag_begin): check if dock->client_area != NULL.

2001-08-13  Darin Adler  <darin@bentspoon.com>

* gnome-canvas.c: (gnome_canvas_focus_out):
Miguel missed one place when he put #if 0 around all of
Jody's input context calls.

Sun Aug 12 19:33:13 2001  Owen Taylor  <otaylor@redhat.com>

* gnome-init.c (imlib_image_loader): Fix (understandable)
misunderstanding of how imlib memory management works.
Theme switching should crash much less now.

2001-08-12  Abel Cheung  <maddog@linux.org.hk>

gnome-scores.c (gnome_scores_new): Changed comment -- tell
translators to see strftime manpage instead of providing an
incomplete list in the comment.

2001-08-09  Radek Doulik  <rodo@ximian.com>

* gnome-pixmap-entry.c (gnome_pixmap_entry_construct): call
gnome_entry_load_history after gnome_entry_set_history_id to
actually load history

* gnome-entry.c (gnome_entry_save_history): add key_num variable,
it contains count of already assigned keys. before we could end
with interrupted sequence of keys. to be sure we load all keys we
need an uninterrupted sequence

2001-07-02  jacob berkman  <jacob@ximian.com>

* gnome-init.c (gnome_init_with_popt_table): fix the leak
correctly by freeing the string after the args are parsed.

Mon Jun 25 02:03:28 2001  George Lebl <jirka@5z.com>

* gnome-init.c (gnome_init_with_popt_table): Revert the "memory leak
  fix".  When calling gnomelib_register_popt_table, the description
  argument is NOT copied by that function, so we can't free it,
  which makes --help crash nicely.  Added a comment so that people
  will not "fix" this "leak" again.

2001-06-14  Miguel de Icaza  <miguel@ximian.com>

* gnome-init.c (gnome_init_cb): putenv emtpy LC_CTYPE using equal
sign at the end.  From Bugzilla (Thanks to Kjartan for sending me
these patches, but I do not know who to attribute this to).

2001-06-14  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-window.c: Include <string.h> for strstr().
(bugzilla #54288).

2001-06-13  Jaka Mocnik  <jaka@gnu.org>

* gnome-mdi.c (count_ui_info_items): applied patch from Murray Cumming.
fixes a bug when a UI_BUILDER_DATA item is included in the UIInfo
array (bugzilla #54569).

2001-05-16  Kevin Vandersloot <kfv101@psu.edu>

       * gnome-calculator.c (gnome_calculator_init): allow buttons to 
         expand in vertical direction.

2001-04-18  Dan Winship  <danw@ximian.com>

* gnome-init.c (gnome_init_with_popt_table): Fix a small memory
leak.

* gnome-canvas-load.c: s/malloc.h/stdlib.h/

2001-03-21  Martin Baulig  <baulig@suse.de>

Tagged gnome-canvas*.[ch] `BEFORE_LIBGNOMECANVAS_2_SPLIT'.
If you do any changes to the canvas in the stable branch,
please also commit them to libgnomecanvas-2/libgnomecanvas/
and move the `gnome_libs_latest_1_0_merge' tag here. You can
also send me a diff of your changes and I'll do it for you.

2001-02-22  Gediminas Paulauskas <menesis@delfi.lt>

* gnome-property-entries.c: use _() instead of gettext().
(gnome_property_entry_colors): translate labels.

2001-02-21  Anders Carlsson  <andersca@codefactory.se>

* gnome-icon-sel.c (gnome_icon_selection_init): Connect to 
button_press_events, since mouse wheel events are mouse button
events with buttons 4 and 5.
(gnome_icon_list_button_press_event): New function that sets the
adjustments if the wheel is used.

2001-02-16  Jody Goldberg <jgoldberg@home.com>

* gnome-stock.c (entries_data) : fix cut-n-paste error on size of
  indent icons.

2001-02-11  Ettore Perazzoli  <ettore@ximian.com>

* gnome-dock.c (gnome_dock_size_allocate): Don't set `client_rect'
anymore.
(drag_begin): Set `client_rect' here instead.
(drag_motion): Added some debugging messages.
(drag_snap): Added some debugging messages.

* gnome-dock-band.c [GNOME_DOCK_BAND_DEBUG] (DEBUG): Use
`g_print()' instead of `printf()' and `putchar()'.
* gnome-dock.c (DEBUG): Likewise.

2001-02-11  Rusty Conover  <rconover@zootweb.com>

* gnome-canvas-rect-ellipse.c (gnome_canvas_rect_update): Added
fix for proper stroking of the rectangle's outlines.  Thre
previous implementation was broken when the canvas's pixels per
unit != 1.0

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Added fix for
when the color of a line changes the SVP's of teh arrowheads also
change color.  They didn't change color before.

2001-02-11  Ettore Perazzoli  <ettore@ximian.com>

* gnome-dock-item.c (gnome_dock_item_button_changed): When
starting a drag, set the "gnome_dock_item_pre_drag_orientation"
data to the current orientation value.
(gnome_dock_item_detach): Set the orientation to that value.

2001-01-22  Miguel de Icaza  <miguel@ximian.com>

* gnome-dialog.c (gnome_dialog_set_default): Do not grab focus.
(gnome_dialog_grab_focus): New API call.

2001-01-15  Miguel de Icaza  <miguel@ximian.com>

* gnome-dialog.c (gnome_dialog_set_default): Grab focus as well. 

2001-01-05  John Harper  <jsh@eazel.com>

* gnome-canvas.c (gnome_canvas_focus_in,
gnome_canvas_focus_out): added code to set and unset the
HAS_FOCUS flag (which all focusable widgets should do). Without
this patch the canvas (and thus the focused canvas item) will
not receive focus out events

Fri Dec 22 22:58:50 2000  George Lebl <jirka@5z.com>

* gnome-winhints.c:  When setting hints, add all the hints to the
  mask for the client message when the window is already mapped.
  This is needed for the do not cover hint to get through.  Sawfish
  already implements this and it's needed for the panel to work
  fully.

Sun Dec 17 14:41:54 2000  George Lebl <jirka@5z.com>

* gnome-dock-layout.c:  In the destroy handler actually call
  the parent handler to avoid leaks.  This was a patch I was
  supposed to apply in like august, so with slight delay, here goes.

2000-11-30  Mike Engber  <engber@eazel.com>

* gnome-canvas.c:
* gnome-canvas.h:
add dithered rendering support for antialiased canvases

2000-11-28  Morten Welinder  <terra@diku.dk>

* gnome-druid-page-standard.c
 (gnome_druidpage standard_finalize): Call parent's finalize also.

2000-11-28  Ramiro Estrugo  <ramiro@eazel.com>

* gnome-druid.c: (gnome_druid_destroy):
Fix tiny mistake from the last change.  GnomeDruid in this branch
doesnt have a '_priv' structure.

2000-11-28  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid.c (gnome_druid_destroy): Merge in from HEAD the
correct destroy function.

1999-11-22  Morten Welinder  <terra@diku.dk>

* gnome-druid-page-standard.c (gnome_druidpage standard_init):
 Plug leaks.

2000-11-09  Ramiro Estrugo  <ramiro@eazel.com>

* gnome-dock-item.c: (get_preferred_width), (get_preferred_height):
Check for a possible NULL child while computing the preffered
dimensions.  Intialize the preferred dimnensions to 0.

2000-10-23  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

* gnome-dialog.c: revert previous patch, as it wasn't meant to be
shipped

2000-10-15  Chema Celorio  <chema@celorio.com>

* gnome-window.c (gnome_window_toplevel_set_title): new file &
function. app should use it to set the tile, so that we can
have a uniform way of setting the window properties (only the
title for now)
* gnome-window.h: new file

2000-10-12  Ettore Perazzoli  <ettore@helixcode.com>

* gnome-dock-item.c: New args "preferred_width" and
"preferred_height".
(gnome_dock_item_class_init): Set them up.
(gnome_dock_item_get_arg): Handle them.
(check_guint_arg): New helper function.
(get_preferred_width): New helper function.
(get_preferred_height): New helper function.

* gnome-dock-band.c (check_guint_arg): New helper function to get
a guint arg only if it exists.
(gnome_dock_band_size_request): Calculate the max_preferred_width
by checking the "preferred_width" or "preferred_height" arg
through `check_guint_arg'.
(size_allocate_small): Changed the policy a bit so that we
allocate the max_preferred_width if possible.

2000-10-04  Iain Holmes  <iain@helixcode.com>

* gnome-propertybox.c (dialog_clicked_cb): Check each page for the dirty
flag instead of the current one.

2000-09-24  Jody Goldberg <jgoldberg@home.com>

* gnome-dock-item.c (gnome_dock_item_set_floating) : New function.
  set the is_floating argument of the child if the child supports it.
(gnome_dock_item_detach) : Use it here.
(gnome_dock_item_attach) : Use it here.
(gnome_dock_item_remove) : Use it here.

2000-09-23  Jody Goldberg <jgoldberg@home.com>

* gnome-dock-item.c (gnome_dock_item_set_orientation) : Do not hard
  code the use of gtktoolbar. any widget that has an 'orientation'
  argument will do.
(gnome_dock_item_add) : Ditto.

2000-09-22  Jody Goldberg <jgoldberg@home.com>

* gnome-stock.c (create_pixmap_from_file) : Implement what was
  documented.

Fri Sep 15 18:54:18 2000  George Lebl <jirka@5z.com>

* gnome-dentry-edit.c: Add "URL" to the list of standard entry
  types in the combo.

Sun Sep 10 14:30:33 2000  George Lebl <jirka@5z.com>

* gnome-dateedit.c:  Make sure that input to gtkcalendar is legal
  to avoid warnings.  Also use a separate GtkRequisition for
  gtk_widget_size_request for the calendar to avoid GTK+ warning.

2000-08-30  Federico Mena Quintero  <federico@helixcode.com>

* gnome-dock-item.c (gnome_dock_item_size_allocate): Fix unsigned
vs. signed confusion, as always.

2000-07-10  Kjartan Maraas  <kmaraas@gnome.org>

* gnome_segv.c (main): Fix typo.

2000-07-07  Chema Celorio  <chema@celorio.com>

* gnome_segv.c: add a "DEBUG" button to the segv dialog if the program
pointed by the enviromental variable "GNOME_DEBUGGER" is found.

2000-07-03  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid-page-standard.c
(gnome_druidpage standard_class_init): add a finalize function to
free the title.

2000-06-29  Iain Holmes   <terrorist@gegl.org>

* gtkpixmapmenuitem.c (gtk_pixmap_menu_item_size_request): Take the
  space required by a pixmap into consideration even if one does not 
  exist. Fixes bug #13812

2000-06-29  Miguel de Icaza  <miguel@gnu.org>

* gnome-canvas.c (gnome_canvas_focus_in): Comment out the ic code
until it is made bin-compat

2000-04-16  Miguel de Icaza  <miguel@gnu.org>

* gnome-calculator.c (put_led_font): Use our own GC that is
prepared for this pixmap
(gnome_calculator_new): Push visuals here, pop visuals
afterwards.  Now all the happy familiy will be running under the
same visual

2000-06-28  Peter Teichman (peter@helixcode.com)

* gnome-messagebox.c: Do not focus the default button when there
are no buttons.

2000-06-21  Jody Goldberg <jgoldberg@home.com>

* gnome-canvas.c (gnome_canvas_init) : Init the Input Context and
  associated attributes.
(gnome_canvas_realize) : Ditto.
(gnome_canvas_unrealize) : Release Input context and associated
  attributes.
(gnome_canvas_focus_in) : Enable the Input context.
(gnome_canvas_focus_out) : Disable the Input context.

2000-06-20  Kjartan Maraas  <kmaraas@gnome.org>

* gnome-dateedit.c: #include <ctype.h> for isdigit().
* gtk-ted.c: #if 0'ed out some code to fix a warning.
 
Mon Jun 19 21:14:51 2000  George Lebl <jirka@5z.com>

* gnome-dock-item.[ch]: add a hidden state.  When the user presses
  the mouse button, a hide toggle is expected.  If motion notify is
  gotten we start a drag.

* gnome-dock-layout.[ch]: load and save the is_hidden boolean

2000-06-15  Jody Goldberg <jgoldberg@home.com>

* gnome-calculator.c (set_result) : setlocale returns a static buffer.
  Copy it to safety.  Set the locale AFTER storing the current
  setting.
(add_digit) : Ditto.
(negate_val) : Ditto.

Tue Jun 13 02:54:21 2000  George Lebl <jirka@5z.com>

* gnome-druid.c: take out an unused static prototype for _paint, and
  cast child to GTK_WIDGET before calling gtk_widget_unmap

* gnome-stock.c: include "gnome-preferences.h"

* gnome-icon-window.c: include stdlib.h for the getenv and putenv,
  and #if 0 out a static function which is only called in code that
  it also #if 0'ed out

Mon Jun 12 16:57:50 2000  George Lebl <jirka@5z.com>

* gnome-dialog-util.c: fix a memory leak.  Free the info structure
  by using the destroy notify of the signal connection rather then
  in the clicked handler as that is not always called (like when
  the dialog is closed by the wm)

2000-05-30  Jon K Hellan  <hellan@acm.org>

* gnome-messagebox.c (gnome_message_box_new,
gnome_message_box_newv, gnome_message_box_set_default): Set
keyboard focus to default button.

2000-05-27  Julian Missig  <julian@linuxpower.org>

* gnome-paper-selector.h: SELECTOR, not SELECTER.

2000-05-26  Ian Peters  <itp@gnu.org>

* gnome-app.h: uncommented GNOME_APP_CLASS and GNOME_IS_APP_CLASS --
they should be there

2000-05-27  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas-text.c (gnome_canvas_text_bounds): width of bounds are
only x + rbearing.
(get_bounds_item_relative): Same.

2000-05-23  Jacob Berkman  <jacob@helixcode.com>

* gnome-window-icon.c (window_destroyed): forgot to test for NULL here.

2000-05-22  Jacob Berkman  <jacob@helixcode.com>

* gnome-window-icon.c (icon_set): don't draw the mini icon when
minimized, since this seems to have some bugs in it.  Will
reenable after it is fixed.

Sat May 20  Martijn van Beers  <martijn@earthling.net>

* (every GtkObject).h: make sure every object has GNOME_TYPE_
  and GNOME_IS_*_CLASS macros, and format them consistently
  with each other and gtk+

2000-05-16  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas-text.c: Add the missing declaration for split_into_lines.

Sat May 13 11:56:35 2000  George Lebl <jirka@5z.com>

* gnome-scores.c (gnome_scores_new): make the strftime buffer 256
  chars, stop cutting the last character, also if strftime fails,
  we need to reset the buffer to something sane.

2000-05-11  Jacob Berkman  <jacob@helixcode.com>

* gnome-window-icon.c (icon_set): don't pass a gint16 where a gint
is expected

2000-05-10  Karl Eichwalder  <ke@suse.de>

* Makefile.am (gnometypebuiltins.h, gnometypebuiltins_vars.c,
gnometypebuiltins_ids.c): Add LC_COLLATE=C to avoid NLS nuisances
while calling awk (from HEAD).

2000-05-07  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-font-picker.c: (gnome_font_picker_label_use_font_in_label):
Applied patch from Charles Kerr fixing memory leak and closing
Bug #3663

Sat May 06 16:52:27 2000  George Lebl <jirka@5z.com>

* gnome-calculator.c (set_result) (add_digit) (negate_val):
  setlocale to "C" and then back to original whenever we are reading
  and writing floats.  this is because we can't deal with strings
  of any locale yet.

2000-05-06  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas-text.c: Correctly work out the text items bounds,
and move the lines into a private structure that contains the 
maximum rbearing and minimum lbearing.

2000-05-05  Miguel de Icaza  <miguel@helixcode.com>

* gnome-canvas.c (gnome_canvas_new_aa): New policy.  Most of the
problems on the gnome-canvas-aa can be fixed.  So instead of
scaring off people with the AA canvas, we will address their needs
as the bug reports arrive.  

Discussed this with Federico today.

2000-05-04  Jacob Berkman  <jacob@helixcode.com>

* gnome-window-icon.[ch]: wrapper for gdk_window_set_icon() which
handles setting the icon on realize time and drawing the minimized
icon window

* gnome-client.c (client_set_ghash): count both values and keys when
determining size

2000-04-25  Jacob Berkman  <jacob@helixcode.com>

* gnome-dialog.c (gnome_dialog_init): 
* gnome-app.c (gnome_app_init): 
* gnome-popup-help.c (help_callback): 
* gnome-icon-item.c (iti_start_editing): 
* gnome-dateedit.c (create_children): 
* gnome-file-entry.c (browse_clicked): use the default gnome icon 

2000-05-03  Ian Peters  <itp@gnu.org>

* gnome-about.c (gnome_fill_info): Allocate about box shade of green
  color in the colormap of the widget, rather than the default colormap.
* gnome-about.c (gnome_about_construct): If the logo parameter isn't
  null, push the imlib colormap and visual when creating the drawing
  area.  Fixes a possible multi-depth BadMatch crash.

2000-05-03  Iain Holems  <ih@csd.abdn.ac.uk>

* gnome-canvas-text.c (calc_line_widths): Changed to width to be 
lbearing + rbearing

2000-05-03  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas-text.c (calc_line_widths): Correctly calculate the width
of the text. Fixes bug #2085

2000-05-01  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas-widget.c (gnome_canvas_widget_render)
(gnome_canvas_widget_draw): New functions to queue a widget redraw
when the item is redrawn.
(gnome_canvas_widget_class_init): Connect the render and draw
functions to the item.

Sun Apr 30 01:21:16 2000  George Lebl <jirka@5z.com>

* gnome-calculator.c:  push result after reset/calc so that double
  clicking CE/C actually clears state.  plus it's nicer code.

Sun Apr 30 00:16:08 2000  George Lebl <jirka@5z.com>

* gnome-calculator.c: fix segfault when pressing equals on no stack,
  fix corrupt stack on reset/clear, make reset/clear behave properly.
  clear now does exactly what xcalc does (which is CE/C)

2000-04-29  Jason Leach  <leach@wam.umd.edu>

* gnome-about.c (gnome_about_construct): allow the possability of
the logo being an absolute path to a pixmap, instead of a file in
$gnome_prefix/share/pixmaps

2000-04-28  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas-rect-ellipse.c (gnome_canvas_rect_update)
Correctly handle "width_pixels".
(gnome_canvas_ellipse_update): Same.

2000-04-23  Iain Holmes  <ih@csd.abdn.ac.uk>

* gnome-canvas.c (item_post_create_setup): Redraw +1 pixel on both
x and y axis.
(redraw_if_visible): Same
(gnome_canvas_item_show): Same
(gnome_canvas_item_hide): Same

2000-04-19  Federico Mena Quintero  <federico@helixcode.com>

* gnome-calculator.c: Keep around a pixmap and a reference count
for the calculator's font.  It is no longer a GnomePixmap, which
did not make any sense.
(gnome_calculator_init): gc->display is now a drawing area.
Create it with the proper visual and colormap.  Also, do not
connect to the realize signal of the calculator.  Call ref_font()
instead.
(gnome_calculator_destroy): Call unref_font().  Now we don't leak
the font.  Wheee!
(ref_font): New function to load/ref the calculator's font pixmap.
(unref_font): New function to unref/destroy the font pixmap.
(gnome_calculator_realized): Removed function.
(display_expose): New handler for the calculator's display expose
event.
(do_error): Queue a draw of the display.
(set_result): Likewise.
(add_digit): Likewise.
(negate_val): Likewise.
(store_m): Likewise.
(sum_m): Likewise.

2000-04-15  Christopher James Lahey  <clahey@helixcode.com>

* gnome-color-picker.c: Switch gnome-color-picker to do color
mixing instead of using a stipple.  This fixes a visual/colormap
bug.

2000-04-15  Miguel de Icaza  <miguel@gnu.org>

* gnome-druid-page-finish.c (gnome_druidpage finish_init): Apply
more visual/colormap loving action here.

* gnome-druid-page-standard.c (gnome_druidpage standard_init):
Ditto when it comes to loving.

* gnome-druid-page-start.c (gnome_druidpage start_init): My love
for colormap and visual issues is infinite.

* gnome-canvas.c (gnome_canvas_new_aa): In the case of the AA
canvas, we can set the visual to one that will work out of the
box. 

* gnome-animator.c (gnome_animator_new_with_size): Use imlib
visuals/colormaps, as these are internally used by the widget.

2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

* gnome-canvas.c: Added proper keyboard focus handling.

2000-01-11  Miguel de Icaza  <miguel@gnu.org>

* gtkpixmapmenuitem.c (gtk_pixmap_menu_item_size_request): Make
the code ANSI C.

2000-04-08  Ettore Perazzoli  <ettore@helixcode.com>

[Patch from Nat Friedman <nat@helixcode.com>.
* gnome-dock.c (drag_floating): Set the `GTK_IN_REPARENT' flag
before reparenting, then set unset it.

* gnome-dock-band.c (gnome_dock_band_insert): Use
`g_list_insert()'.  Also, avoid leaking a `GnomeDockBandChild' if
the operation fails.

2000-01-11  Miguel de Icaza  <miguel@gnu.org>

* gtkpixmapmenuitem.c (gtk_pixmap_menu_item_size_request): Make
the code ANSI C.

1999-11-15  Miguel de Icaza  <miguel@gnu.org>

* gnome-init.c: Add support for --geometry command line. 

* gnome-app.c (gnome_app_construct): Added support for geometry
specification. 

2000-02-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app-helper.c: Add the non-accelerated variants for
translation purposes.

Fri Feb 18 17:30:58 2000  George Lebl <jirka@5z.com>

* gnome-app-helper.c,gnome-stock.c: use the gnome-properties instead
  of a hardcoded gnome_config path, it needs a control-center change
  which hopefully jacob is commiting right now

Fri Feb 18 13:07:33 2000  George Lebl <jirka@5z.com>

* gnome-calculator.c:  applied patch from "W. Adam Foran"
  <waforan@pathcom.com> to fix a segfault

2000-02-18  Anders Carlsson  <andersca@gnu.org>

* gnome-stock.c: Reduce padding for gnome-stock buttons
from 7 pixels to 2. Looks much nicer this way.

2000-02-15  Federico Mena Quintero  <federico@helixcode.com>

* gnome-canvas.c (uta_union_clip): New function to create the
union of two microtile arrays while clipping the result to a given
rectangle.  This is based on a wonderful problem analysis and
patch by Michael Meeks <michael@helixcode.com>.  He deserves a
beer.
(gnome_canvas_request_redraw_uta): Use uta_union_clip().  Now we
only queue redraws of microtile arrays clipped against the canvas
visible area.  This *is* the right thing to do.
(gnome_canvas_set_pixels_per_unit): No longer clear the redraw
area before scrolling/thawing.  This hack can rest in peace now.

* gnome-canvas-line.c (get_points): New function to copy the list
of the line's points without the endpoint adjustments for
arrowheads.  Based on a patch by Rusty Conover <rconover@zootweb.com>.
(gnome_canvas_line_get_arg): Use get_points().

2000-02-15  Christopher James Lahey  <clahey@helixcode.com>

* gnome-canvas.c (emit_event): Fixed a bug where GDK_FOCUS_CHANGE
events weren't being dispatched properly.

2000-02-15  Rusty Conover <rconover@zootweb.com>

* gnome-font-picker.c (gnome_font_picker_set_font_name): Added
call to gnome_font_picker_update_font_info() so that if the widget
is in GNOME_FONT_PICKER_MODE_FONT_INFO the widget gets properly
updated with the current font.  Before you could set the font name
it would appear in the dialog but not on the visable widget.

Sun Feb 13 23:21:19 2000  George Lebl <jirka@5z.com>

* gnome-calculator.c: apply patch from "W. Adam Foran"
  <waforan@pathcom.com> to add precedence to the calculator
  widget.

2000-02-06  Havoc Pennington  <hp@pobox.com>

* gnome-pixmap.c (finish_load): Revert that change, see
previous finish_load ChangeLog entry from Owen. We can leak memory
or segfault - joy to the world.

2000-02-06  Havoc Pennington  <hp@pobox.com>

* gnome-pixmap.c (finish_load): move the image/mask rather than
copying them. Avoids Imlib cache bloat and saves a copy operation.

Sat Feb 05 18:29:26 2000  George Lebl <jirka@5z.com>

* gnome-file-entry.[ch]: use gboolean in places of int for bools

Sun Jan 30 16:58:54 2000  George Lebl <jirka@5z.com>

* gnome-dentry-edit.c: properly cast dentry->exec

Sun Jan 30 15:44:35 2000  George Lebl <jirka@5z.com>

* gnome-dentry-edit.c: use gnome_config_assemble_vector instead of
  g_flatten_vector to fix bug #1372

2000-01-28  Havoc Pennington  <hp@redhat.com>

* gnome-propertybox.c (dialog_clicked_cb): Close bug 4378, do the
right thing with empty property boxes that have no notebook pages.

Sun Jan 23 14:05:55 2000  George Lebl <jirka@5z.com>

* gnome-dialog-util.c: add inline docs

Mon Jan 17 01:38:21 2000  George Lebl <jirka@5z.com>

* gnome-calculator.c: don't reduce stack on unary functions, a patch
  from "W. Adam Foran" <waforan@pathcom.com>

2000-01-16  Federico Mena Quintero  <federico@helixcode.com>

* gnome-canvas.c (gnome_canvas_key): Do not check for the window
being same as the layout->bin_window.  Thanks to Chris Lahey
<clahey@helixcode.com> for pointing this out.

2000-01-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (app_close_book, app_close_top): fixed a bug that
kept a deleted empty toplevel in windows list.

2000-01-06  Federico Mena Quintero  <federico@helixcode.com>

* gnome-canvas.c (gnome_canvas_group_bounds): Do update the child
pointer when we walk the list.  Thanks to Richard Hult for
pointing this out.

Wed Jan 05 23:41:20 2000  George Lebl <jirka@5z.com>

* gnome-client.[ch]: the save_yourself signal has a return value but
  the gtk_signal_emit wasn't catching it.  So get it and ignore it
  to avoid segfaults and warnings.

Sat Jan 01 18:58:12 2000  George Lebl <jirka@5z.com>

* gnome-dentry-edit.c: use LC_MESSAGES category instead of LC_ALL
  for the message translations of the dentry fields

1999-12-25  Ettore Perazzoli  <ettore@gnu.org>

[From Morten Welinder <terra@diku.dk>]
* gnome-app.c (gnome_app_destroy): Unref the dock layout if not
NULL.

1999-12-20  JP Rosevear <jpr@arcavia.com>

        * gtkpixmapmenuitem.c (gtk_pixmap_menu_item_size_request): make
sure that the GtkRequisition struct width and height are set to zero
in case the pixmap is null, otherwise funny sizes are requisitioned

Thu Dec 16 11:11:58 1999  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gtkrc.ko: Changed the default Korean fonts for each styles.

1999-12-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_get_child_menu_info): fix a typo in
documentation comment.

1999-12-15  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid.c (gnome_druid_insert_page): only map the page if
it's the only page. otherwise, unmap it.  This should let us add
pages to an already mapped druid.

1999-12-12  Elliot Lee  <sopwith@redhat.com>

* gtkpixmapmenuitem.c: OK, size_allocate was just not making
things look nice. It seems that the hack with the toggle_size is
"the way" - at least it looks nice now.

Sun Dec 12 10:57:40 1999  George Lebl <jirka@5z.com>

* gnome-calculator.c: check for number on stack AFTER we reduce
  stack, this fixes a segfault where reduce_stack actually did
  reduce the stack. Fixes bug #4330

Sun Dec  5 17:55:53 1999  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gnome-about.c (gnome_fill_info): Applied the patch from KUSANO
Takayuki <AE5T-KSN@asahi-net.or.jp>.  This fixed the problem that
gtkrc* file didn't affect on GnomeAbout.  (Closes bug #2603)

1999-12-05  Elliot Lee  <sopwith@redhat.com>

* gtkpixmapmenuitem.c: Fix size_request/size_allocate - was HORRIBLY broken before.

1999-11-24  Elliot Lee  <sopwith@redhat.com>

* gnome-app.c (gnome_app_add_dock_item): emit the "layout_changed" signal even if adding the dock item to app->layout.

Thu Nov 18 11:20:01 1999  George Lebl <jirka@5z.com>

* gnome-entry-edit.c: when syncing display with a dentry, clear
  the translations list first. Fixes bug #3652.

1999-11-11  Jacob Berkman  <jberkman@andrew.cmu.edu>

* gnome_segv.c (main): correctly detect if gnome-session
crashed when gnome-session was run with a full path (ie from
gdm2).   Disable SM on bug-buddy if gnome-session crashed,
and pass parameters to bug-buddy via command line options,
and not through the environment.

Wed Nov 10 20:15:10 1999  George Lebl <jirka@5z.com>

* gnome-propertybox.c: use GPOINTER_TO_INT to cast from pointer
  to int. in _set_modified method use the same assert checks as in
  the _changed method.

Wed Nov 10 17:55:10 1999  George Lebl <jirka@5z.com>

* gnome-icon-sel.c: apply memory leak fix from
  david meybohm <dm89754@ucf.edu>.  It keeps a list of the imlib
  images that are loaded and destroyes them on reload.

1999-11-03  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas.c (gnome_canvas_item_get_bounds): Fixed ordering of
bounding vertices.  Now we *do* return the correct bounding box.

1999-11-03  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas.c (gnome_canvas_init): Fixed long-standing problem
with the canvas->pick_event not being properly initialized.  This
caused spurious EnterNotify events to be sent to items right after
the canvas was created and the mouse had never been inside it.

1999-11-02  Kjartan Maraas  <kmaraas@online.no>

* gnome-druid-page-standard.c: #include <config.h>
* gnome-druid-page-start.c: ditto.
* gnome-druid-page-finish.c: ditto.
* gnome-druid-page.c: ditto.
* gnome-druid.c: ditto.
* gnome-stock.c (gnome_pixmap_button): Marked label creation
with _() to make buttons translatable.

1999-10-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_remove_view): if a registered object exists,
destroy an empty GnomeApp even if it is the last one.


1999-10-21  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas.c (gnome_canvas_set_pixels_per_unit): Clear the
redraw area to avoid creating enormous microtile arrays when we
zoom repeatedly.

1999-10-20  Elliot Lee  <sopwith@redhat.com>

* gnome-init.c: Fix the memory leak AND avoid the bug from the first fix.

Mon Oct 18 21:51:43 1999  George Lebl  <jirka@5z.com>

        * gnome-app-util.c: use gnome_request_dialog directly instead
          of using old deprecated functions

1999-10-19  Elliot Lee  <sopwith@redhat.com>
* gnome-init.c: Revert Tue Oct  5 02:35:47 1999  Owen Taylor  <otaylor@redhat.com>

1999-10-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-session.c (restore_window): take care of the case when
there are no children to restore: merely open a new, empty toplevel
window.

1999-09-28  Elliot Lee  <sopwith@redhat.com>
* gnome-init.c (gnome_segv_handle): Only dump core if $GNOME_DUMP_CORE is set.
  Pass the app version to gnome_segv.
* gnome_segv.c: add more items to the URL that is given to the user (app
version, 

1999-10-06  Jacob Berkman  <jberkman@andrew.cmu.edu>

* gnome_segv.c (main): add a hook for the soon-to-be available
bug-buddy program

Tue Oct  5 02:35:47 1999  Owen Taylor  <otaylor@redhat.com>
 
 * gnome-init.c (initialize_gtk_signal_relay): Free value
 returned from gnome-config.
 
1999-10-05  Russell Steinthal  <rms39@columbia.edu>
* gnome-dateedit.c (gnome_date_edit_get_date): Improve handling of
invalid times: don't segfault when there is no colon in a time,
default omitted trailing time fields (i.e. allow 8 for 8:00:00).
Allow entry of seconds.

1999-10-03  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock.c (drag_floating): Realize, map and queue_resize the
new child manually.

* gnome-dock-band.c (gnome_dock_band_remove): Do
`gtk_widget_unparent' on the removed widget instead of just
NULLing the `parent' member.  This way refcounting on the
GnomeDockBand children should be done right.  Many many thanks to
Morten who detected there was a leak somewhere in the GnomeDock*
widgets.  (And some curses to the author who had even put a
`FIXME' comment in that code and forgot to correct it. ;-))

1999-09-30  Miguel de Icaza  <miguel@gnu.org>

* gnome-icon-entry.c (show_icon_selection): Replace getcwd with
g_get_current_dir here too.
(show_icon_selection): ditto.

* gnome-file-entry.c (gnome_file_entry_get_full_path): Use
g_get_current_dir here. 

1999-09-28  Elliot Lee  <sopwith@redhat.com>
* gnome-dock-item.c: If an item is really small, don't subtract
  DRAG_HANDLE_SIZE from it to make its size < 0.

1999-09-28  Havoc Pennington  <hp@pobox.com>

* gnome-init.c (gnome_segv_handle): Improve the "can't display
error dialog" error message.

1999-09-27  Martin Baulig  <martin@home-of-linux.org>

* gnome-mdi-session.c (gnome_mdi_save_state): Call
gnome_config_sync () when we're done.

1999-09-26  Martin Baulig  <martin@home-of-linux.org>

* gtkdial.c (gtk_dial_set_percentage, gtk_dial_set_value): Allow
 you to set the upper limit as well (use <= instead of <).

1999-09-24  Morten Welinder  <terra@diku.dk>

* gnome-dock-layout.c (gnome_dock_layout_destroy): Don't walk and
 muck with the same list simultaneously.
(remove_item): Handle remove of first item also.

1999-09-24  Martin Baulig  <martin@home-of-linux.org>

* gnome-mdi-session.c (view_window_func): Return NULL unless
the widget is realized.

Fri Sep 24 01:24:40 1999  Tim Janik  <timj@gtk.org>

* gnome-canvas.c (gnome_canvas_new_aa): make the AA canvas warning a
message, so --g-fatal-warnings remains usefull (bug#2234).

1999-09-23  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c: Added g_return_if_fail () at places where this
would cause a crash otherwise.

1999-09-09  Vincent Renardias <vincent@ldsol.com>

* gnome_segv.c: i18n the URL of the Crash page too.
  Added a comment for translators too.

1999-09-22  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas.c (do_update): Moved updated functionality to here.
(idle_handler): Do GDK_THREADS_ENTER/LEAVE() here, and call do_update().
(gnome_canvas_update_now): Call do_update(), not idle_handler().

Patch from Owen Taylor (otaylor@redhat.com) to fix deadlock when
using threads.

1999-09-20  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-propertybox.c (gnome_property_box_init): Set the `OK'
button as the default one, and do not set it insensitive anymore.
(set_sensitive): Do not change sensitivity of the `OK' button
anymore.
(dialog_clicked_cb): Check the dirty flag for the current page.
If the page is not dirty, just close instead of applying and
closing: this makes sure the old behavior is preserved even if now
OK is no longer insensitive when the page is not dirty.

1999-09-20  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_unrealize): Set the
gc fields to NULL after unrefing them.  Thanks to Damon Chaplin
for pointing this out.

* gnome-canvas-text.c (gnome_canvas_text_unrealize): Likewise.

* gnome-canvas-polygon.c (gnome_canvas_polygon_unrealize): Likewise.

* gnome-canvas-line.c (gnome_canvas_line_unrealize): Likewise.

* gnome-canvas-image.c (gnome_canvas_image_unrealize): Likewise.

1999-09-19  Owen Taylor  <otaylor@redhat.com>

* gnome-dock-band.c: Don't size-allocate non-visible
children, since we don't size-request them. This will
avoid problems with warnings since otherwise we
will allocating the children with junk allocations.

1999-09-20  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-appbar.c (gnome_appbar_construct): Put alignment back in
so that the label is still left-aligned.

1999-09-19  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-appbar.c (gnome_appbar_construct): Set horizontal usize on
the label to 1, so that it does not stupidly change size when the
text is larger than the available space.

1999-09-19  Havoc Pennington  <hp@pobox.com>

* gnome-animator.c (prepare_aux_pixmaps): only create pixmaps
if we are realized
(size_allocate): Don't do the gdk_window_clear_area() calls
unless we are realized
(paint): Create backing store here if necessary... bad hack,
need realize/unrealize eventually

Bug reported by Damon Chaplin

* gnome-dateedit.c (gnome_date_edit_set_popup_range): Regenerate
the popup
(gnome_date_edit_set_flags): Use ~ instead of ! for bitwise
negation. 
(gnome_date_edit_set_flags): Set new flags at the beginning 
of the function

All three bugs reported by Damon Chaplin

* gnome-font-picker.c (gnome_font_picker_init): Set a default
for use_font_in_label_size, bug reported by Damon Chaplin

1999-09-18  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas.c (scroll_to): Fixed little off-by-one error in
size computation.

1999-09-17  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas.c (gnome_canvas_expose): Process exposures
immediately.  This makes scrolling a lot nicer.

* gnome-dock.c (gnome_dock_add_floating_item): Do realization,
mapping, and redraw queueing the right way.
(gnome_dock_set_client_area): Likewise.

* gnome-dock-band.c (gnome_dock_band_insert): Likewise.

* gnome-app.c (gnome_app_set_contents): Do all the proper checks
with respect to the dock's new client area.  Also, connect a
signal handler to the parent_set signal of the contents.
(contents_parent_set): Set the app->contents to NULL when the
contents are unparented.  This fixes a bug where the app would
keep a dangling pointer to the contents when they were removed.

Note that GnomeDock has an inconsistency with the way the other
GtkContainers work; it should barf if its client area is not NULL
instead of unparenting it when you try to set a new client area.

* gnome_segv.c (main): Const correctness for the args variable.
If you want this abominable little program to go in, at least make
sure it builds cleanly!

1999-09-17  Havoc Pennington  <hp@pobox.com>

* gnome-dateedit.h, gnome-dateedit.c: Revert the new consistent
function names. This patch should be applied, but not in the
stable branch just before 1.0.50 because it's forward
incompatible. It can go in after we branch the development
gnome-libs.

1999-09-17  Havoc Pennington  <hp@pobox.com>

* gnome_segv.c (main): If the crashing process is called
"gnome-session," tell the user that they are totally hosed and 
should save docs in all apps.

1999-09-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dateedit.c (gnome_date_edit_set_date): New function, same
as `gnome_date_edit_set_time()'.
(gnome_date_edit_get_time): New function, same as
`gnome_date_edit_get_date()'.

1999-09-17  Havoc Pennington  <hp@pobox.com>

* gnome_segv.c (main): Don't connect to session manager.

1999-09-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock.c (gnome_dock_draw): Draw all the floating children
as well.
(drag_check): Added snap factor for dock detaching.
(drag_new): Make sure the offset for the new child is not
negative.

1999-09-14  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas-text.c (gnome_canvas_text_init): Do not load a
default fontset.  This is fantastically inefficient, since we have
to pull the whole big fontset from the server even if we never use
it again and replace it immediately with the user-specified font.
(gnome_canvas_suck_font): Take into account the fact that the font
may be NULL.
(get_bounds_item_relative): Likewise.
(gnome_canvas_text_draw): Likewise.
(gnome_canvas_text_render): Likewise.
(gnome_canvas_text_point): Likewise.
(gnome_canvas_text_set_arg): Do not try to load a default font if
loading the user-specified one fails.
(gnome_canvas_text_destroy): Free the sucked font.

1999-09-13  Karl Eichwalder  <ke@suse.de>

* winhints_demo.c (about_cb): Add missing \n.

1999-09-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (top_add_view, gnome_mdi_add_view,
gnome_mdi_add_toplevel_view): show view prior to setting it an
app content.

1999-09-13  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas-image.c (recalc_if_needed): Only render the image's
pixmap if the final width and height are not zero.
(gnome_canvas_image_draw): Take into account the fact that we may
not have a pixmap at all.

1999-09-11  Roberto Zunino <zunino@cli.di.unipi.it>

* gnome-dns.c: Do not cache 0.0.0.0 results (ie, not found).
Do not abuse gdk_input_add.

1999-09-06  Miguel de Icaza  <miguel@gnu.org>

* gnome-canvas.c (gnome_canvas_new_aa): Only warn one time about
the buginess of the Canvas.

1999-09-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-color-picker.c (key_pressed): Provide a way to cancel a
color picker dialog by pressing escape.

* gnome-init.c (gnome_segv_handle): Use abort instead of exit().

1999-09-07  Havoc Pennington  <hp@pobox.com>

        * gnome-app-helper.h (GnomeUIInfo): Change pixmap_info to
gconstpointer. Closes bug 1864.

* gnome-app-helper.c (create_pixmap): Take a const argument.

1999-09-07  Elliot Lee  <sopwith@redhat.com>
* gnome-font-selector.c: Don't use X in class_init()...

1999-09-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_remove_child): in MODAL mode automatically
activate another child if it exists.

1999-09-05  Tim Gerla  <timg@means.net>

* gtkdial.c: Started docs
* gnome-dns.c: Typo fixes

1999-09-05    <jrb@redhat.com>

* gnome-druid-page-finish.c
(gnome_druidpage finish_set_watermark): fix typo (thanks Damon).

1999-09-04  Tim Gerla  <timg@means.net>

* gnome-pixmap-entry.c (gnome_pixmap_entry_new): Docs
* gnome-spell.c: Doc updates
* gnome-href.c: Doc updates

1999-09-04  Tim Gerla <timg@means.net>

* gnome-color-picker.c: Doc updates
* gnome-number-entry.c: More docs

1999-09-03  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid-page-finish.c
(gnome_druidpage finish_new_with_vals): don't call gnome_druidpage finish_new
(gnome_druidpage finish_construct): new policy for watermarks.

* gnome-druid-page-start.c
(gnome_druidpage start_configure_size): new policy for watermark images.
(gnome_druidpage start_new_with_vals): don't call
gnome_druidpage start_new.

1999-09-02  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid-page-standard.c
(gnome_druidpage standard_set_bg_color): set the color of the
outside frame.

* gnome-druid-page.c (gnome_druidpage paint): Add paint
function.  Now redraw problem is gone.

1999-09-01  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid.c (gnome_druid_insert_page): Make the first page in
the list be shown.
(gnome_druid_remove): If a page is deleted, and it is being shown,
show the next page.
(gnome_druid_insert_page): if a child is added, and the druid is
mapped, then map the child to.  Same with realization.

* gnome-druid-page-standard.c
(gnome_druidpage standard_configure_size): show internal widgets.

1999-08-31  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (book_create): show notebook before adding it to
the gnome-app in case the former will be mapped.
(set_active_view): fixed a bug that caused active_child not to get
properly set on rare occasions.
(gnome_mdi_remove_view): a fix similar to the above.

1999-08-30  Federico Mena Quintero  <federico@redhat.com>

* gnome-file-entry.c (gnome_file_entry_get_full_path): Use
getcwd() correctly.  This really needs to be done in a portable
fashion.  Do tilde expansion, because this thing is supposed to
return valid pathnames.
(tilde_expand): Stole function from mc/src/utilunix.c to do tilde
expansion, glib-ified it.

1999-08-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_append_imlib): Made text const.

* gnome-canvas.c (gnome_canvas_get_color): Make spec argument take
a const char *.

Sun Aug 29 01:14:35 1999  George Lebl  <jirka@5z.com>

* gnome-winhints.c,gnome-init.c: take out implicit initialization
  of the atoms, and do it only when we need it. Also replaced all
  CARD32 by long since this was being done by the preprocessor
  anyway, and made all local Atom variables static.

1999-08-28  Havoc Pennington  <hp@pobox.com>

* TODO: Long-overdue TODO update.

Sat Aug 28 10:32:53 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.c: fix warnings

1999-08-28  Karl Eichwalder  <ke@suse.de>

* winhints_demo.c (about_cb): Avoid too long lines.

1999-08-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-procbar.c (gnome_proc_bar_construct): New function. 

* gnome-pixmap-entry.c (gnome_pixmap_entry_construct): New function.

* gnome-dock-item.c (gnome_dock_item_construct): New function.

* gnome-file-entry.c (gnome_file_entry_construct): New function,
per request from Guillaume.

Fri Aug 27 15:41:48 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.c: use the new gnome-dentry interface for 
  getting the i18n lists

Fri Aug 27 10:30:10 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.[ch]: add a way to edit the translations of
  name and comment on the advanced page

1999-08-26  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas-util.c (gnome_canvas_update_svp): Free the old
svp.  BUGFIX:  GNOME bug tracker #1991.

1999-08-25  Havoc Pennington  <hp@pobox.com>

* gnome_segv.c (main): Translate usage string,
enhance the error message.

* gnome-init.c (gnome_init_cb): Set flag if we should
--disable-crash-dialog; install the signal handler 
based on the flag.
(gnome_options): Add --disable-crash-dialog option
(gnome_segv_handle): Give up after 10 segfaults; 
try to release grabs before popping up the dialog.

1999-08-23  Herbert Valerio Riedel  <hvr@hvrlab.dhs.org>

* gnome-procbar.[ch] (gnome_proc_bar_set_values): made val[] const

* gtk-ted.[ch], gnome-spell.[ch], gnome-popup-help.[ch], 
gnome-pixmap-entry.[ch], gnome-number-entry.[ch], gnome-mdi.[ch],
gnome-mdi-generic-child.[ch], gnome-mdi-child.[ch], gnome-entry.[ch],
gnome-icon-text.[ch], gnome-icon-entry.[ch], gnome-druid-page-start.[ch],
gnome-druid-page-standard.[ch], gnome-druid-page-finish.[ch], 
gnome-client.[ch]: marked some more char* args const

1999-08-22  Herbert Valerio Riedel  <hvr@hvrlab.dhs.org>

* gnome-icon-entry.c (gnome_icon_entry_new): added missing GNOME_ENTRY
* gnome-properties.c: added <string.h>
* gtkpixmapmenuitem.h, gtkcauldron.h, gtkdial.h, 
gnome-druid-page-start.h, gnome-paper-selector.h,
gnome-druid-page-standard.h, gnome-druid.h, gnome-druid-page-finish.h, 
gnome-druid-page.h: extern "C" replaced by ..._GNOME_DECLS
* gnome-canvas-load.[ch], gnome-app-helper.[ch], gnome-app.[ch], 
gtk-clock.[ch], gnome-file-entry.[ch], gnome-paper-selector.[ch]: 
marked some char* args const
* gnome-font-selector.c: strcmp() args casted to (char*)

1999-08-22  Havoc Pennington  <hp@pobox.com>

* gnome-icon-sel.c (gnome_icon_selection_show_icons): Check
for destroyed or stop_loading on every iteration, instead of 
after all events are expired; should fix bug 1883.

1999-08-22  Havoc Pennington  <hp@pobox.com>

* gnome-icon-entry.c (gnome_icon_entry_new): Load the entry's
history. Doh. We maybe should have a construct() method for
GnomeEntry. Added "keep in sync" comment. Fixes bug 1701, fix from
Chris Gonnerman <chris.gonnerman@usa.net>

* gnome-entry.c (gnome_entry_new): Add comment about syncing.

* gnome-file-entry.c (gnome_file_entry_new): Add comment about
syncing these functions.

1999-08-22  Havoc Pennington  <hp@pobox.com>

* gnome-icon-list.c (gnome_icon_list_thaw): Show the item on 
thaw, even if the dirty flag is not set (so it works if you 
freeze then thaw without ever changing anything). Fix from 
David Meybohm <dm89754@ucf.edu> closes bug 1833.

1999-08-22  Havoc Pennington  <hp@pobox.com>

* gnome-icon-sel.c (gnome_icon_selection_show_icons): Patch from 
David Meybohm <dm89754@ucf.edu> fixes multiple-progress-bar bug
(happened when changing directories during loading). Closes bug 
1832.

Sat Aug 21 12:47:28 1999  George Lebl  <jirka@5z.com>

* gnome-pixmap.c: fix docs for gnome_pixmap_load_file_at_size

Sat Aug 21 12:45:09 1999  George Lebl  <jirka@5z.com>

* gnome-pixmap.c: pretty up the inline docs and divide
  Description and Returns

* gnome-scores.c: add the "/**" comments, but without any
  descriptions

Sat Aug 21 12:19:53 1999  George Lebl  <jirka@5z.com>

* gnome-dock.c: document gnome_dock_add_from_layout

* gnome-doct.c,gnome-dock-layout.c: add #'s for crossreferencing

Sat Aug 21 11:54:16 1999  George Lebl  <jirka@5z.com>

* gnome-procbar.c: completely document the API

Sat Aug 21 11:31:07 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.[ch]: there was a typo in the object, and
  there was a call named gnome_dentry_get_dentry, which is the
  wrong naming, it should be gnome_dentry_edit_get_dentry, so
  I added the latter one and left in the first one for compatibility
  but marked it as "not to be used". Also updated other parts of
  the documentation

Sat Aug 21 11:18:47 1999  George Lebl  <jirka@5z.com>

* gnome-dialog.c: the # is used to crosslink not the &, and
  add a return type description to newv

Sat Aug 21 11:13:54 1999  George Lebl  <jirka@5z.com>

* gnome-client.c: touched up docs for
  gnome_client_get_global_config_prefix, still this file has
  a bunch of things that need fixing in the docs

Sat Aug 21 11:06:57 1999  George Lebl  <jirka@5z.com>

* gnome-app.c: fix so that documentation for gnome_app_add_dock_item
  is actually read

1999-08-19  Federico Mena Quintero  <federico@redhat.com>

* gnome-animator.c (free_all_frames): Don't free the mask, since
it has already been freed by imlib.
(gnome_animator_append_frames_from_imlib_at_size): Likewise.

* gnome-canvas-image.c (free_pixmap_and_mask): Sigh.  Tell imlib
to *only* free the pixmap, not the mask as well.  When you tell
imlib to free a pixmap, it will also free its associated mask.  Is
that broken, or what?

1999-08-19  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid.c (gnome_druid_size_allocate): Patch from damon to
put the child in the right place.
(gnome_druid_expose): Now I have achieved further enlightenment in
the ways of writing a GtkContainer.
(gnome_druid_draw): Thanks Owen/HP.  Further Container-hood.

1999-08-19  Havoc Pennington  <hp@pobox.com>

* gnome-icon-entry.c (show_icon_selection): Patch from 
David Meybohm <dm89754@ucf.edu> fixes a race condition
segfault (set iconsel as user data before any possibility
we might ask for user data)

1999-08-18  Havoc Pennington  <hp@pobox.com>

* gnome-entry.c (gnome_entry_init): Set combo case-insensitive.
Closes bug 1939.

1999-08-18  Havoc Pennington  <hp@pobox.com>

* gnome-font-picker.c (gnome_font_picker_label_use_font_in_label): 
If we can't load the font, then don't set it. Fixes bug
1625.

1999-08-17  Havoc Pennington  <hp@pobox.com>

* gnome-canvas.h: Mark new_aa() experimental

* gnome-dialog-util.h: request_string_dialog() is 
deprecated.

* gnome-messagebox.h: Couple deprecated routines in here...

* gnome-propertybox.h: Deprecate couple of these

* libgnomeui.h: Deprecate/experimentalize some stuff

1999-08-17  Tim P. Gerla  <timg@means.net>

* gnome-less.c: Add documentation

1999-08-17  Federico Mena Quintero  <federico@redhat.com>

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Typo fix; do
set the gc foreground if the canvas is not AA.

* gnome-canvas-text.c (gnome_canvas_text_set_arg): Likewise.

1999-08-17  Jonathan Blandford  <jrb@redhat.com>

* gnome-popup-help.c (helpwindow_destroy_callback): remove
debugging statements.

* gnome-druid.c (gnome_druid_remove): many changes to make us act
as a nicer container.

1999-08-16  Havoc Pennington  <hp@pobox.com>

* gnome-druid.c (gnome_druid_destroy): chain up to parent's
destroy method

1999-08-16  Jonathan Blandford  <jrb@redhat.com>

* gnome-druid-page-standard.c (gnome_druidpage standard_init):
cleaned up the druid a little.

1999-08-13  Federico Mena Quintero  <federico@redhat.com>

* gnome-icon-list.c (gil_button_press): Do not rubberband-select
if we are already selecting.

* gnome-icon-item.c (gnome_icon_text_item_select): If the icon
text item gets unselected while it is being edited, ask for
acceptance with iti_edition_accept() instead of blindly accepting
the current string.

1999-08-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (selection_one_icon_event): Reset the
edit_pending and select_pending flags before starting to process a
button press.
(selection_many_icon_event): Likewise.

1999-08-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (do_select_many): Added an argument to specify
whether it should actually use the event in the emission.
(selection_many_icon_event): I am such a doofus.  Fixed delayed
computation for icons that are already selected.  This fixes DnD
and menus everywhere else.

1999-08-08  Chris Lahey  <clahey@umich.edu>

* gnome-canvas-widget.c (gnome_canvas_widget_set_arg): Made it so
that if an argument is already set to the value given, it doesn't
change it or go through an update step.

1999-08-06  Morten Welinder  <terra@diku.dk>

       * gnome-canvas.c (shutdown_transients): Plug leak.

1999-08-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-pixmap-entry.c (ensure_update): New function to ensure
that a pixmap entry is not in the wait queue for updates.
(gnome_pixmap_entry_get_filename): Fixed a race condition where
this function would return an incorrect NULL if the client called
it before the pixmap entry update timer expires.  This would make
the panel crash.

1999-08-04  Morten Welinder  <terra@diku.dk>

* gnome-stock.c (gnome_stock_destroy): Unref pixmaps.

1999-08-04  Larry Ewing  <lewing@gimp.org>

* gnome-canvas.c (gnome_canvas_item_affine_relative): BUGFIX: make sure
that we properly set the GNOME_CANVAS_ITEM_AFFINE_FULL flag when 
appropriate.

1999-07-31  Tom Tromey  <tromey@cygnus.com>

* gnome-client.c (gnome_client_request_save): Don't prompt for
logout.  This is now handled in the session manager.

1999-07-31    <dmg@csg.uwaterloo.ca>

* gnome-file-entry.c: Updated the comments in the functions to
make them more explicit.

1999-07-28  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_remove): Use icon->selected,
not icon->text->selected.  Consider GTK_SELECTION_EXTENDED as
well.
(select_icon): Likewise.
(unselect_icon): Consider GTK_SELECTION_EXTENDED as well.
(sync_selection): HOW DID THIS EVER WORK!?  This has to sync the
gil->selection, not the list of icons itself.  It seems that no
one ever inserted or deleted icons, just appended them.
(icon_new_from_imlib): Do not use broken event handling for the
icon text item.
(selection_one_icon_event): Turn on editing in the icon text item
if appropriate.  Adjusted for sane event handling; this makes the
code simpler as well.  Ref/unref the text item since it may be
destroyed by one of the signal handlers.
(selection_many_icon_event): Likewise.

* gnome-icon-item.c (iti_event): Added an object argument called
use_broken_event_handling.  The event model of the icon text item
was wrong in old versions; it should not make itself editable, but
let the client request it instead.  The icon list now turns off
this flag, but old clients can have the expected behavior (much to
their pain).
(gnome_icon_text_item_start_editing): New function to let the user
start the editing state of the icon text item.
(gnome_icon_text_item_configure): Documented the is_editable flag
as deprecated.  Old clients may still make use of it.

Wed Jul 28 03:14:49 1999  George Lebl  <jirka@5z.com>

* gnome-pixmap-entry.c: fix typo in the inline docs

1999-07-23  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: Updated all documentation comments.  All
functions in gnome-canvas.c now have correct and complete
documentation.

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_set_arg):
ARG_*_COLOR_GDK only take the pixel value into account, not the
color->{red,green,blue} values.

* gnome-canvas-polygon.c (gnome_canvas_polygon_set_arg): Likewise.

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Likewise.

* gnome-canvas-text.c (gnome_canvas_text_set_arg): Likewise.

1999-07-23  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock-item.c (gnome_dock_item_button_changed): Removed
unused variables.
(gnome_dock_item_motion): Likewise.
(gnome_dock_item_motion): Likewise.
(gnome_dock_item_delete_event): Likewise.

* gnome-dock-layout.c (gnome_dock_layout_class_init): Initialize
`parent_class'.

* gnome-dock.c (gnome_dock_size_request): Removed unused
variable.
(get_docked_item_by_name): Likewise.
(drag_begin_foreach_func): Removed useless declaration.

* gnome-dock.c: Fixed a two bugs reported by Ben Hendrickson
<bhendrickson@usa.net>.
(get_docked_item_by_name): Return the correct placement, and
iterate correctly.

1999-07-22  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (child_list_menu_create, child_list_menu_add_item):
append instead of prepending the item: this way the ordering is the
same as in notebook tabs.
(gnome_mdi_set_mode): when changing to modal mode preserve the
non-active views.

1999-07-20  Federico Mena Quintero  <federico@evilplan.org>

* gnome-icon-list.c (icon_is_in_area): I'm a doofus.  Fix the
same-coordinates comparison.

1999-07-18  Miguel de Icaza  <miguel@gnu.org>

* gnome-icon-list.c: Reverted all the changes that made gil->adj
and gil->hadj private.  There was existing code that depended on that.

1999-07-19  Matt Wilson  <msw@redhat.com>

* gnome-icon-list.c (gnome_icon_list_icon_is_visible): check
the top bound (y1) as well as the bottom bound (y2)

1999-07-19  Jonathan Blandford  <jrb@redhat.com>

* gnome-popup-help.c: add some docs.

1999-07-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-animator.c (gnome_animator_advance): Use `g_warning()'
instead of `g_error()' if the GnomeAnimatorLoopType is unknown.

1999-07-16  Havoc Pennington  <hp@pobox.com>

* gnome_segv.c (main): Cleanup; use message box, have only one
button, improve message, don't segfault if called improperly.
(main): Now there's an URL explaining what the crash means.

* gnome-init.c (gnome_segv_handle): Always exit, don't check
gnome_segv return value; handle any signal, not just segv (though
for now the handler isn't installed for other signals, we probably
want sigbus and sigfpe eventually).

1999-07-14  Havoc Pennington <hp@pobox.com>

* gnome-client.c: Docs, docs

1999-07-13  Yukihiro Nakai   <nacai@iname.com>

* gtkrc.ja: fixed.

1999-07-12  Raja R Harinath  <harinath@cs.umn.edu>

* libgnomeui.h: Include rest of `gnome-druid-page*.h' headers.
* gnome-druid.h: Include "libgnome/gnome-druid-page.h" instead of
"gnome-druid-page.h".

Mon Jul 12 06:20:39 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.c: add inline docs

1999-07-11  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): translate parts of
the path on the fly to mend at least some of the localization issues.

1999-07-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (app_set_view): fixed a problem with
GNOME_MDI_ITEM_COUNT_KEY not being set to NULL when it should be.
removed some unused variables.

1999-07-09  Miguel de Icaza  <miguel@gnu.org>

* gnome-font-picker.c (gnome_font_picker_label_use_font_in_label):
Add fallback mechanism for the case where the font is not defined.

Fri Jul 09 06:57:07 1999  George Lebl  <jirka@5z.com>

* gnome-calculator.c: add inline docs

* gnome-entry.c: fixup inline docs

* gnome-icon-entry.c: fixup inline docs

Wed Jul 07 07:42:23 1999  George Lebl  <jirka@5z.com>

* gnome-calculator.c: correctly fix "leading zero/string of zeros"
  problems, fix double digit problem, and correct return types of
  signal handlers

Tue Jul  6 18:36:35 1999  Tim Janik  <timj@gtk.org>

* gnome-canvas-image.c: added ::pixbuf argument for aa canvas that
takes over a newly allocated ArtPixBuf to display.

1999-07-05 Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>

* gnome-icon-text.h:
* gnome-icon-item.c (iti_paint_text):
* gnome-icon-item.c (iti_idx_from_x_y):
* gnome-icon-text.c (free_row):
* gnome-icon-text.c (gnome_icon_layout_text):
* gnome-icon-text.c (gnome_icon_paint_text): Use wide characters
internally so that we handle character boundaries correctly for
multi-byte strings.

* gnome-icon-item.c (iti_idx_from_x_y): Avoid SIGSEGV when
icon text is empty.

* gnome-icon-item.c (gnome_icon_text_item_configure): Use
get_default_font() if fontname is NULL. This fixes the problem
that gmc consumes memory.

Mon Jul  5 23:48:30 1999  Tim Janik  <timj@gtk.org>

        * gnome-canvas-image.c (recalc_if_needed): only adjust image->pixmap
        if we have an imlib image.

        * gnome-canvas-image.c (gnome_canvas_image_update): if we don't have
        image->im, try to feature pure ArtPixBuf instead (raph).

Mon Jul  5 20:11:01 1999  Tim Janik  <timj@gtk.org>

* gnome-canvas.[hc]: added gnome_canvas_get_color_pixel() to retrive
the pixel value for a GdkColor.

* gnome-canvas-line.c:
* gnome-canvas-text.c:
        * gnome-canvas-polygon.c:
        * gnome-canvas-rect-ellipse.c: support ::fill_color, ::fill_color_rgba,
::fill_color_gdk, ::outline_color, ::outline_color_rgba and
::outline_color_gdk for non-aa as for aa canvas. don't segfault upon
NULL pointer passing, but assume no-fill and black in that case.
always request an update on the canvas items if a color changed.
keep the fill_color (sometimes fill_rgba) values uptodate, so
querying *_color_rgba returns valid results.

1999-07-05  Miguel de Icaza  <miguel@gnu.org>

* gnome-about.c: Make the inter-line skip, it is not required
(descent+ascent has all the information we need).

1999-07-04  Miguel de Icaza  <miguel@gnu.org>

* gnome-client.c: small fix for api docs.

* gnome-canvas.h: Fixed names.

* gnome-animator.h: Made the protypes use the same names.

* gnome-about.c: Fixed inline api docs.

* gnome-preferences.c: Fixed inline api docs.

1999-06-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.h: The last argument to gnome_icon_list_new()
had effectively the same type as the one declared in the .c file,
but it was inconsistently declared.  Fixed it.

1999-06-30  Cody Russell <bratsche@dfw.net>

* gnome-animator.c: Added last line to while() loop in
free_all_frames(). It was getting caught in an infinite loop in
some circumstances when the GnomeAnimator object was destroyed
before.

1999-06-29  Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>

* gnome-icon-item.c (iti_edition_accept): Don't allocate
iti->text if iti->editing is False. This fixes the bug #1311.

* gnome-less.c: (gnome_less_set_fixed_font): Correct the default
fontset pattern. A comma was missing.

1999-06-29    <jrb@redhat.com>

* gnome-druid-page.c: Wrote more documentation.

* gnome-druid.c: Finished embedded documentation.

1999-06-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-text.c: Finished all documentation comments.  The
icon text item is fully documented now.

1999-06-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.c: Updated all documentation comments.  The icon
text item is fully documented now.

* gnome-icon-list.c: Updated the documentation comments.  The icon
list is fully documented now.

1999-06-24    <jrb@redhat.com>

* gnome-druid*.[ch]:  Added gnome-druid to gnome-libs.

1999-06-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-dock.c (gnome_dock_size_allocate): set minimum child
allocation width or height to 1 instead of 0. prevents some Gdk
segfaults.

1999-06-24  Pablo Saratxaga <srtxg@chanae.alphanet.ch>

* Added gtkrc.* files for all encodings I know of. Still missing is
to modify the Makefile.am so that at install time the gtkrc.iso88592,
gtkrc.iso88595 are hardlinked/copyied into the gtkrc.$LANG for
the various languages using them.

1999-06-23  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (selection_many_icon_event): Sigh, we did need
selection_pending flags after all.  Added them to the private
structure as well.

Wed Jun 23 14:48:29 1999  Raph Levien  <raph@gimp.org>

* Makefile.am: Reverted Pablo Saratxaga's changes. I'm not sure
what the right thing to do is, but hardlinking gtkrc files doesn't
seem to be it. In any case, it breaks my build, so I'm reverting.

1999-06-23  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.[ch]: Moved all the private fields of the
GnomeIconList structure to a private structure in
gnome-icon-list.c.  Changed all the functions to use this instead.

* gnome-icon-list.c (gil_button_press): Sanitized for correct
behavior.  Unselect all icons if no modifier key is pressed.
(Icon): Now the Icon structure keeps a bit that indicates whether
it is selected, and another bit for temporary storage of the
selection.  The preserve_selection list in the icon list structure
is gone.  Wheee!
(update_drag_selection): Make use of the selected and tmp_selected
fields in the Icon structure.
(gil_icon_to_index): g_assert_not_reached() instead of returning
zero.

* gnome-icon-item.c (gnome_icon_text_item_configure): Added some
more sanity checks.  Make the iti->width be the specified width.
(ItiPrivate): Moved the private fields of the GnomeIconTextItem
structure to this new structure.  Replaced the old fields with
padding to preserve binary compatibility.
(iti_init): Create the private structure here.
(iti_update): Changed all the functions to *properly* queue
updates and then changed iti_update() to update the stuff that is
needed and then queue a redraw properly.  This is the way canvas
items should work.
Improved documentation comments.

* gnome-icon-item.h: Remove unnecessary #includes.  Improved
comments a bit.

* gnome-canvas.c (gnome_canvas_new_aa): Added a loud warning about
not using the AA canvas until it is debugged.
(gnome_canvas_item_update): Unset the GNOME_CANVAS_ITEM_NEED_*
flags here.
(gnome_canvas_group_update): Call the group's parent class update
method.

* gnome-canvas.h: Improved comments a bit.

1999-06-23  Pablo Saratxaga <srtxg@chanae.alphanet.ch>
* added gtkrc.* files for all languages/encodings I know

1999-06-21  Raph Levien  <raph@acm.org>

* gnome-canvas-util.c (gnome_canvas_render_svp): Duuh, I had RGB
reversed (as BGR) in the compositing code.

1999-06-20  Michael Zucchi  <mzucchi@zedzone.mmc.com.au>

* Makefile.am (INCLUDES): Added AUDIOFILE/ESD_CFLAGS to includes,
so that they can be installed in a different prefix.

1999-06-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-text.c: Reverted Elliot's unportable changes.
Please do not perform Soptimizations(tm) on the canvas code.
* gnome-canvas-rect-ellipse.c: Likewise.
* gnome-canvas-line.c: Likewise.
* gnome-canvas-image.c: Likewise.
* gnome-canvas-util.c: Likewise.
* gnome-canvas-widget.c: Likewise.

1999-06-21  Raph Levien  <raph@acm.org>

* gnome-canvas-util.c (gnome_canvas_render_svp): Duuh, I had RGB
reversed (as BGR) in the compositing code.

1999-06-20  Michael Zucchi  <mzucchi@zedzone.mmc.com.au>

* Makefile.am (INCLUDES): Added AUDIOFILE/ESD_CFLAGS to includes,
so that they can be installed in a different prefix.

1999-06-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-text.c: Reverted Elliot's unportable changes.
Please do not perform Soptimizations(tm) on the canvas code.
* gnome-canvas-rect-ellipse.c: Likewise.
* gnome-canvas-line.c: Likewise.
* gnome-canvas-image.c: Likewise.
* gnome-canvas-util.c: Likewise.
* gnome-canvas-widget.c: Likewise.

* gnome-icon-list.[ch]: Moved all the private fields of the
GnomeIconList structure to a private structure in
gnome-icon-list.c.  Changed all the functions to use this instead.

1999-06-01  Robert Brady  <rwb197@ecs.soton.ac.uk>

* gnome-calc.c: Stoped it from being possible to enter arbritrarily
strings of zeroes.

1999-06-17  Elliot Lee  <sopwith@redhat.com>

* gnome-canvas*.c: Use hypot(x, y) instead of sqrt(x*x + y*y)

1999-06-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (copy_ui_info_tree, free_ui_info_tree): fixed a bug
that prevented stock subtrees from being copied or freed.

1999-06-14  Elliot Lee  <sopwith@redhat.com>

* gnome-dialog.c: Fix for bug #1453:
The following patch fixes a problem with gnome-dialog.
If the no buttons are requested the buttonbox doesnæ„’ get initalized
when using language bindings as the buttonbox is only initalized
explicitly in the C part. Moving the code around a bit fixes this.
Report & patch from <jan@ifm.uni-hamburg.de>.

Tested with test-gnome.

1999-06-13  Robert Brady  <rwb197@ecs.soton.ac.uk>

* gnome-calculator.c (c_fact): fix factorial bug (for real this
 time).

Sun Jun 13 01:54:58 1999  Raph Levien  <raph@gimp.org>

* gnome-canvas-polygon.c (gnome_canvas_polygon_[sg]et_arg): added
ARG_OUTLINE_COLOR_RGBA, which was missing.

1999-06-12  Jeff Garzik  <jgarzik@pobox.com>

* gnome-about.c:
Filled out inline API docs, a little bit 'o doc reformatting.

* gnome-preferences.c:
Added API doc stubs, documented maybe 1/3 of them.
Normalized several function declarations.

1999-06-10  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-popup-menu.c:
Include <gtk/gtk.h> instead of individual subheaders.

1999-06-10  Tuomas J. Lukka <lukka@iki.fi>

* gnome-popup-menu.c: remove reference to gtkfeatures.h

1999-06-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-properties.h: Fix includes.
* gnome-procbar.h: Likewise.
* gnome-procbar.c: Likewise.
* gnome-property-entries.h: Likewise.
* gnome-spell.c: Likewise.  Fix i18n includes as well.

* gnome-properties.c: Fix includes and i18n includes.
(gnome_property_object_register): Use gettext() here, not _().

* gnome-property-entries.c: Fix includes and i18n includes.
(_property_entry_font_select_cb): Use gettext() here, not _().
(gnome_property_entry_colors): Likewise.

* gnome-canvas-util.c (gnome_canvas_join_gdk_to_art): Barf if
passed an invalid value.
(gnome_canvas_cap_gdk_to_art): Likewise.

Wed Jun  9 19:20:41 1999  Raph Levien  <raph@gimp.org>

* gnome-canvas-polygon.c (gnome_canvas_polygon_update): Joins
and caps are round in aa case, as they have always been for
xlib.

* gnome-canvas-util.h:
* gnome-canvas-util.c: Added gnome_canvas_join_gdk_to_art and
gnome_canvas_cap_gdk_to_art convenience functions.

* gnome-canvas-line.c (gnome_canvas_line_update): Now passes
line join and cap options through to libart.

1999-06-08  Ettore Perazzoli  <ettore@comm2000.it>

Applied patch from Damon Chaplin to handle resizing of floating
dock items properly.
* gnome-dock.c (gnome_dock_size_request): Request size for all the
floating children too.
(gnome_dock_size_allocate): Allocate size for all the floating
children too.

Wed Jun  2 22:14:02 1999  Raph Levien  <raph@gimp.org>

* gnome-canvas-util.c (gnome_canvas_render_svp): Correct alpha
compositing of partially transparent svp's over solid backgrounds.

1999-06-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app.c (gnome_app_set_menus): Apply suggestion from Damon
for controlling the border width.

* gtk-clock.c (gtk_clock_stop): Remove timeout here.  Thanks to
Damon for pointing this out.

1999-06-01  Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>

* libgnomeui/gnome-canvas-text.c:
* libgnomeui/gnome-icon-item.c:
* libgnomeui/gnome-less.c: Replace some gdk_font_load() calls with
gdk_fontset_load.    Use a more open fontset rule to load the fonts.

1999-05-31  Nat Friedman  <nat@gnome-support.com>

* gnome-popup-menu.c: Include gtk/gtkcompat.h.

1999-05-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_new_flags): Fixed the format
of the file, to get proper documentation.

1999-05-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c (gnome_add_gtk_arg_callback): Replace #ifdef
GTK_CHECK... with #if.
* gnome-popup-menu.c (gnome_popup_menu_get_accel_group): ditto.

Thanks to Morten Welinder for pointing this out.

1999-05-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-util.c (gnome_canvas_get_miter_points): Fixed M_PI
-> -M_PI typo.  Thanks to Roger Fearick (fearick@physci.uct.ac.za)
for reporting this.

1999-05-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_remove): Optimization: only
reset last_clicked if it was the icon we just removed.

Thu May 27 00:02:39 1999  George Lebl  <jirka@5z.com>

* gnome-icon-sel.c: slighly ugly semi-fix for a memory leak there
  is something else that is also leaking, this only does part of the
  job, and it should really be handeled elsewhere me thinks

1999-05-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_clear): Reset last_clicked
and last_selected here.
(gnome_icon_list_remove): Keep last_clicked and last_selected
within the range of icons.

1999-05-26  Tim Janik <timj@couch.wilmington.net>

* gnome-app-helper.c (setup_uline_accel): only setup a global
ALT bound accelerator if we are dealing with menu bar items.

1999-05-25  James Henstridge  <james@daa.com.au>

* gnome-canvas-line.c (gnome_canvas_line_point): when a new set of
points is assigned to the line, the arrow head polygons are
deleted, and an update is requested (implemented through an idle
function).  If GnomeCanvasItem::point is emitted before the update
handler executes, a seg fault will occur if the line has arrows.
This patch fixes this by calling reconfigure_arrows() if the arrow
coordinate arrays are NULL when they shouldn't be.

1999-05-24  David KAELBLING <drk@sgi.com>

* gtkcauldron.c (gtk_dialog_cauldron_parse): Assing to parent, do
not compare

1999-05-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_shutdown): Free the
transformation matrix if it exists.  Thanks to Morten Welinder for
reporting this.

1999-05-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-image.c (gnome_canvas_image_set_arg): Queue an
update when the image's anchor point changes.  I don't think Raph
ever tested this.

1999-05-16  Robert Brady <rwb197@ecs.soton.ac.uk>

* gnome-calculator.c (c_fact): The second fixes the calculator
widget so it can do factorials of almost-integer numbers (thereby
letting people do 2, square root, square, factorial). This
resolves bug #1267.

* gnome-spell.c: Avoid infinite loop.

1999-05-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-dock-band.c (gnome_dock_band_draw): Made static.

Mon May 03 01:02:11 1999  George Lebl  <jirka@5z.com>

* gnome-propertybox.c: add two more g_return_if_fail's to at least
  warn of no current page on the notebook (this can happen somehow)

1999-04-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_expose): Build a microtile array
from the expose area directly, instead of going through
gnome_canvas_request_redraw().  This ensures that we'll repaint
off-screen areas if requested.

1999-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (add_idle): New function to centralize adding of
the idle handlers.
(remove_idle): New function to centralize the removal of idle
handlers.
(gnome_canvas_update_now): Use remove_idle().  Do not call
gdk_flush().
(gnome_canvas_request_update): Use add_idle().
(gnome_canvas_request_redraw_uta): Use add_idle().
(idle_handler): Reset the canvas->idle_id to zero.

1999-04-26  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-mdi-generic-child.h (GNOME_IS_MDI_MDI_CHILD): Remove.  Is
now in gnome-compat.h.

1999-04-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-about.c (gnome_destroy_about): Release gai as well.

1999-04-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* libgnomeui.h: include gnome-compat.h

* gnome-compat.h: New file for compatibility source code
functions.

Sat Apr 24 14:04:26 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.c: when syncing a dentry to the display,
  null fields which have been freed if they are emptied

1999-04-23  Ettore Perazzoli  <ettore@comm2000.it>

* animator_demo.c (main): Removed Tux animation.

* gnome-animator.c: Removed some unused variables.
(draw_background_pixmap): Don't draw anything if `widget->window'
is NULL.
(gnome_animator_new_with_size): Set the requisition directly
instead of using `gtk_widget_set_usize()'.

* gnome-dock.c (gnome_dock_add_floating_item): Removed a couple of
useless casts.
(gnome_dock_add_floating_item): Do not remove the item from its
parent.

* gnome-dock-item.c (gnome_dock_item_map): If we are floating,
call `gnome_dock_item_detach()' properly to do the floating setup.
(gnome_dock_item_size_allocate): Applied patch from Damon Chaplin
<damon@karuna.freeserve.co.uk> to fix handling of the child's
requisition.

1999-04-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-dock-item.c (gnome_dock_item_destroy): Release di->name on
the destroy handler.  Memory leak spotted by Morten Welinder again.

1999-04-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk-clock.c (gtk_clock_new): Bug fix from Damon Chaplin,
clock->type was never initialized.

1999-04-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-generic-child.h: fixed a typo. GNOME_IS_MDI_GENERIC_CHILD()
seems better than GNOME_IS_MDI_MDI_CHILD().
* gnome-mdi-generic-child.c, gnome-mdi.c, gnome-mdi-session.*:
some documentation fixes.

1999-04-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c (gnome_icon_text_item_stop_editing): Make sure
iti_stop_editing is never called if we are not editing.  Fixes gmc
bug #1065

1999-04-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c (gnome_add_gtk_arg_callback): Use the macro correctly.

* gnome-popup-menu.c (gnome_popup_menu_get_accel_group): Only use
GTK 1.2.1 features if we have GTK 1.2.1

* gnome-app-helper.c (create_help_entries): g_free temporary
variable.

Mon Apr 05 00:58:12 1999  George Lebl  <jirka@5z.com>

* gnome-icon-sel.c: avoid segfault if the browse dialog is closed
  before a directory is fully read, also catch destructions while
  in the show loop. and I removed the "update on every 5th" thing
  and it updates the progressbar on every image (the saving was
  insignificant as far as I meassured it)

* gnome-icon-entry.c: stop the showing of icons when one of the
  buttons to avoid segs

Fri Apr  2 21:03:56 1999  ape@spacetec.no  (Asbjorn Pettersen)

* gnome-less.c (gnome_less_show_command):
* gnome-app-helper.c (create_help_entries): Open file in TEXT mode.
This is for the OS/2 version.

1999-03-31  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-color-picker.c (gnome_color_picker_init): Use the Imlib
visual for the drawing area.

1999-03-29  Owen Taylor  <otaylor@redhat.com>

[ Fix applied until Raster gets back and we find a better
  solution - Miguel ]

* gnome-pixmap.c (finish_load): Temporary fix.

The problems people have been having with *Bad Window*
errors and pixmap themes seem to be occurring because
of mistakes in the way that gnome-pixmap is handling
Imlib images. (Well, actually, they are occurring because
of mistakes in the design of imlib...)

To be specific, gnome-pixmap widget calls
gdk_imlib_move_pixmap() and gdk_imlib_move_mask(), then
gdk_imlib_destroy_image().

If no caching is enabled, then this works pretty
much as expected - the pixmaps and masks are dissociated
from the image and the imlib data structures are cleaned
up.

If caching is enabled, then bad things happen. move_pixmap()
and move_mask() leave the pixmaps in the cache; the
destroy_image() drops the refcount of the pixmaps to
zero, and when the cache gets full, the pixmaps are
destroyed.

The following patch fixes things up, but is a rather
inefficient, since it puts every pixmap in GNOME through
a extra copy. I'm not really sure how to do this
better - I'll ask Raster about it when he gets back
from Germany.

1999-03-28  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (save_yourself_callback): timeout wait for pointer
grab to be released (before gsm issues a warning!).

1999-03-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (emit_event): Ref/unref the item while its event
signal is being emitted.  Do not propagate further if the item is
destroyed.

* gnome-canvas.c (emit_event): Remember the item's parent before
emitting the event signal, because the item may be destroyed
during emission.  This fixes an Important Bug(tm).

1999-03-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (gnome_popup_menu_new): Unref the accel group
instead of attaching it.
(gnome_popup_menu_new_with_accelgroup): Check that the accelgroup
is not NULL.  Also, set the accelgroup once we create the menu.
(gnome_popup_menu_get_accel_group): Fetch the accelgroup
correctly.
This whole patch is courtesy of Tim Janik (timj@gimp.org).

Tue Mar 23 19:33:52 1999  George Lebl  <jirka@5z.com>

* gnome-font-selector.c: stuff that got allocated with g_malloc needs
  to be g_free'd and vice versa

1999-03-24  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (gnome_client_request_save): confirm before logout.
(gnome_client_save_dialog_show): show window before setting hints.
Tidy up runtime warnings in various functions.

1999-03-22  Pavel Machek  <pavel@ucw.cz>

* gnome-winhints.c (gnome_win_hints_init): g_return_if_fails()
added to make core more robust

Sun Mar 21 01:01:48 1999  George Lebl  <jirka@5z.com>

* gnome-{icon,pixmap,number}-entry.c: added argument checks everywhere
  and the destroy signal is void

* gnome-pixmap-entry.c: on destroy, null the last_preview, just in
  case

* gnome-icon-item.c: (gnome_icon_text_item_configure) if the text is
  static, cast it to (char *) to avoid warning, but this is somewhat
  evil, so should it or should it not be const in the first place

* gnome-pixmap.c: added some argument checks and in size_request,
  setting the requisition of the widget directly is wrong I guess,
  plus it's redundant

* gtkdial.c: comment warning fix

* winhints_demo.c: changed () to (void) to avoid warnings

1999-03-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* Makefile.am (libgnomeui_la_LDFLAGS): Updated library version number.

Wed Mar 17 00:25:53 1999  Tim Janik  <timj@gtk.org>

* gnome-app-helper.[hc]: added gnome_accelerators_sync() to flush
the accelerator config file.

* gnome-app-helper.c: added compatibility code so apps will at least run
with Gtk+1.2.0.

* gnome-init.c (gnome_add_gtk_arg_callback): don't call
gtk_item_factory_parse_rc() if we don't have gtk+1.2.1, issue
a warning in this case (as per quartic's request).

Tue Mar 16 13:56:08 1999  Tim Janik  <timj@gtk.org>

* gnome-app-helper.c (create_menu_item): install a gtk_main_quit()
hook, that will save the accelerator paths upon exit of the
toplevel gtk_main() loop.

* gnome-init.c (gnome_add_gtk_arg_callback): parse item factory
accelerator paths from ~/.gnome/accels/<app-id> after gtk is
initialized.

* gnome-app-helper.c (create_help_entries): lock accelerators
right away since we don't feature them at all for help item.

* gnome-app.c (gnome_app_destroy): unref the accel_group.

* gnome-app-helper.c:
(gnome_app_fill_menu*): install accelerators sanely, set the
accel_group on newly created menus.
(create_menu_item): add the item to its shell and show it.
(create_radio_menu_items):
(gnome_app_fill_menu_custom): rely on create_menu_item() to add the
item to the shell.
(create_help_entries): setup the underline accelerator directly if desired.
(gnome_app_fill_menu_custom): feature uline_accels on submenus.
(create_menu_item): lock acclerators if we don't have a accel_group.
(gnome_app_create_menus_custom): add the menu bar to the app before creating
the sub menus.

1999-03-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_get_bounds): Applied patch
from Richard Hult <rhult@hem2.passagen.se>; I had goofed up with
min/max coordinate computation.

* gnome-dialog-util.c (request_dialog): Set the entry to be the
focused widget.

1999-03-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gil_destroy): In addition to removing the
timer, reset the timer_tag variable.

Mon Mar 15 04:48:10 1999  George Lebl  <jirka@5z.com>

* gnome-icon-list.c: remove timeout when widget is destroyed,
  the posibility is remote, but still possible

* gnome-pixmap-entry.c: when entry is destroyed dequeue the entry
  to be updated in timeout to avert possible crash

1999-03-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-app-helper.c: Removed ellipsis from the "New Window" and
"Close Window" entries, and made their names more descriptive.

1999-03-13  Richard Hult <rhult@hem2.passagen.se>

* gnome-icon-list.c (icon_event): Ignore button clicks above 3 in
the button release and button press event handlers.

1999-03-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c (iti_paint_text): Nice offset adjustments.

1999-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_get_bounds): Un-transform the
bounding box so that it is returned in the coordinate system of
the item's parent.

1999-03-09  Owen Taylor  <otaylor@redhat.com>

* gnome-messagebox.c (gnome_message_box_new): Adjust the
padding around message boxes for a more attractive
appearance.

1999-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-dock-item.c (draw_textured_frame): Actually make use of
the clip parameter.  No more flicker on repeated exposures of the
handle.

* gnome-dock-item.c (gnome_dock_item_paint): Eliminate flicker
by only painting the handle if the expose area intersects it.

1999-03-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c (iti_event): Only start selecting with mouse
button-1.  This should fix bug #482
(iti_event): Add check here too (Patch from Richard Hult).

Mon Mar 08 21:55:09 1999  George Lebl  <jirka@5z.com>

* gnome-icon-sel.c: don't use g_is_image_filename, but use
  gnome_mime_type

Mon Mar 08 21:43:19 1999  George Lebl  <jirka@5z.com>

* gnome-icon-list.c: in SINGLE mode, don't unselect on
  GDK_[23]BUTTON_PRESS, to allow the app to get double/tripple
  clicks in SINGLE mode

* gnome-icon-entry.c: fixed a leak in setting the icon, and added
  dragging, so that we may drag the icon from the preview button

* gnome-pixmap-entry.c: added way to drag the image from the
  preview frame

* gnome-icon-sel.c: (gnome_icon_selection_show_icons) just quit
  if file_list is NULL, we might just have come to an empty
  directory

1999-03-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-color-picker.c (render): added a check if cp is realized,
since otherwise da->style->bg_gc[*]==NULL caused a segfault in
background capplet. it seems to work allright now.

1999-03-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-util.c: Added documentation for the functions that
were missing it.

1999-03-04  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-canvas-util.h (gnome_canvas_points_unref):
Fix typo -- rename from `gnome_canvas_point_unref'.

1999-02-28  Martin Baulig  <martin@home-of-linux.org>

* gnome-property-entries.c (_property_entry_font_entry_cb):
Send the changed signal to `cb_data->object->user_data' not
to `cb_data->object'.

1999-02-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-canvas-util.c (gnome_canvas_points_free): Add ref/unref

1999-02-26  Sergey Panov <sipan@mit.edu>

        * gnome-canvas-text.c(gnome_canvas_text_set_arg): removed
        g_assert that was left there by mistake.

Fri Feb 26 15:39:58 1999  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: fix problem with chooser dialog when the
  directory stopped existing, it will go into the default directory
  now

1999-02-27  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gtkrc.ja, gtkrc.ko: Removed default style, as gtk+ already has
the default gtkrc's.

1999-02-26  Sergey Panov <sipan@mit.edu>

        * gnome-app-helper.c, gnome-app-helper.h: make "_New"
        subtree menu item translatable

* gnome-canvas-text.c(gnome_canvas_text_set_arg): more
protection against font==NULL when "fontset" is used.

1999-02-25  Jonathan Blandford  <jrb@redhat.com>

* gnome-app-helper.c (gnome_app_fill_menu_custom): added a quick
assertion to catch an error I was having.

1999-02-26  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gtkrc.ko: Fixed a typo.

1999-02-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-entry.c (gnome_icon_entry_get_filename): This had
some precedence problem.

1999-02-24  Owen Taylor  <otaylor@redhat.com>

* gnome-animator.c gnome-app-util.c gnome-canvas.c
  gnome-icon-list.c gnome-pixmap-entry.c gnome-procbar.[ch]
  gtk-clock.c gtkdial.c:

Added in calls to GDK_THREADS_ENTER/LEAVE around timeouts and
idles so that libgnomeui can be called from a threaded
GTK+ application. (Should have no effect on non-threaded
applications)

Wed Feb 24 15:23:28 1999  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: get rid of last remaints of gtk pixmap code

1999-02-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-scores.c (gnome_scores_set_logo_pixmap): Kill gtk-pixmap
and use gnome-pixmap here as well.

* gnome-icon-entry.c (entry_changed): Use gnome-pixmap instead of
gtk-pixmap here
(setup_preview): Kill gtk-pixmap here too.

* gnome-messagebox.c (gnome_message_box_new): Justify labels to
the left.

* gnome-init.c (gnome_add_gtk_arg_callback): Add a hack to allow
using --gtk-debug-objects (this is required as we create GTK
objects before gtk_init is called).
(gnome_init_with_popt_table): Do this before parsing argument.s

Tue Feb 23 00:31:53 1999  George Lebl  <jirka@5z.com>

* gnome-pixmap.c: fix for the new requisition stuff so that
  set_usize works properly, use gdk_imlib_move_{image,mask} instead
  of the copy variety to save some time, and add some documentation
  to the functions that were missing it.

* gnome-pixmap-entry.[ch]: actually guarantee that disk isn't touched
  more then once a second when typing, fix a memory leak and cache
  the last image that was previewed, so that we don't load the same
  image over and over

Sun Feb 21 19:06:51 1999  Maciej Stachowiak  <mstachow@alum.mit.edu>

* gnome-winhints.c (gnome_win_hints_get_workspace): This code was
 on crack, it was getting the _WIN_HINTS property instead of
 _WIN_WORKSPACE.

1999-02-21  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

* Makefile.am (gnome_segv_LDADD): Use libgnomeui.la without the
path from the topdir so that AM_MAKEFLAGS=-j4 works.
(ted_demo_LDADD, stock_demo_LDADD, winhints_demo_LDADD,
animator_demo_LDADD, dock_demo_LDADD): Likewise.

Sun Feb 21 04:36:54 1999  George Lebl  <jirka@5z.com>

* gnome-winhints.c: don't use CARD32's for format 32 hints, Xlib sends
  them as longs and those can be 64bit on alpha

1999-02-20  Stuart Parmenter <pavlov@pavlov.net>

* gnome-calculator.c: Accept keypad input.

1999-02-18  Sergey Panov <sipan@mit.edu>

        * Makefile.am: Makefile will now be installing gtkrc.ru

1999-02-17  Jonathan Blandford  <jrb@redhat.com>

* gnome-color-picker.c (gnome_color_picker_init): Changed the shadow.
(render): now draws a stipple when insensitive
(render): let's remove the commment... S-:
(render): use the right visual

1999-02-17  Sergey Panov  <sipan@mit.edu>

        * gnome-canvas-text.c (gnome_canvas_text_set_arg): fontset
        can be used now to configure font of the canvas text.
        * gnome-canvas-text.h: Updated list of object arguments

1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

* libgnomeui/gnome-about.c (gnome_about_display_comments): Use
strtok_r instead of strtok.
* libgnomeui/gnome-dateedit.c (gnome_date_edit_get_date): Likewise.
* libgnomeui/gnome-spell.c (gnome_spell_fill_info): Likewise.

1999-02-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock-item.c (gnome_dock_item_button_changed): Do not add a
 GTK+ grab.
(gnome_dock_item_button_changed): Do not remove the GTK+ grab.
(gnome_dock_item_remove): Likewise.
(gnome_dock_item_map_event): Removed.

* gnome-dock-item.c (gnome_dock_item_size_request): Avoid calling
 gtk_widget_size_request with `requisition' == `widget->requisition'.
* gnome-dock.c (size_request_v): Likewise.
(size_request_h): Likewise.
(gnome_dock_size_request): Likewise.

1999-02-15  Elliot Lee  <sopwith@redhat.com>

* gnome-init.c: Don't give sound events for widgets
that are not visible. Don't give sound events for
objects with the "gnome_disable_sound_events" property
set.

Sun Feb 14 22:12:48 1999  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: don't let the file entry expand verticaly when the
  window gets resized

1999-02-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-dentry-edit.c (fill_easy_page): The terminal toggle should
be anchored to the left.  It is very disconcerting to have it move
around when the user resizes the window.

1999-02-14 Sergey Panov <sipan@mit.edu>

* gnome-dentry-edit.c(label_new)The proper label alignment is not
to the left, but to the right, where entries are.

1999-02-14 Sergey Panov <sipan@mit.edu>

* gnome-dentry-edit.c(fill_easy_page,make_page) Get terminal
toggle widget to align correctly -- it was not centered, but
glued to the icon widget. Achived what, I think, Federico
tried to do but by other means.

Fri Feb 12 20:59:53 PST 1999 Jay Painter <jpaint@serv.net>

* gnome-app.c applied patch from Ettore Perazzoli to fix
segmentation faults when a gnome-app is shown/hidden multiple
times.

1999-02-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-dentry-edit.c (make_page): Use uniform padding for the
table.
(table_attach_entry): Use better options to pack stuff in the
table.
(table_attach_label): Likewise.
(label_new): Convenience function to create a label with the
proper alignment.
(fill_easy_page): Align the labels correctly.  Also, use better
packing options for the icon and terminal toggle widgets.
(fill_advanced_page): Use label_new().

1999-02-12  Jeff Garzik  <jgarzik@pobox.com>

* gnome-app-helper.c:
Document a few API functions.

* gnome-dns.c:
API doc cleanups.
(gnome_dns_lookup): Documented return val now matches code.

1999-02-11 Sergey Panov <sipan@mit.edu>

* gnome-app-helper.c (install_menuitem_hint_to_statusbar,
install_menuitem_hint_to_appbar,create_toolbar_item,
create_menu_item,gnome_app_helper_gettext): much cleaner solution
of the hints and labels translation problem. Not a problem any
more

* gnome-app-helper.h: redefined D_ macro and defined new macro L_
D_ is using dgettext only, while L_ uses gnome_app_helper_gettext
function which tries to use gettext and, if fails, uses dgettext

1999-02-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (gnome_popup_menu_do_popup): Do not
g_return_if_fail (event != NULL), since we *can* take null
events.  Thanks to Timo Sirainen <aaaaaa@sicom.fi> for reporting
this.

1999-02-11 Sergey Panov <sipan@mit.edu>

* gnome-app-helper.c (install_menuitem_hint_to_statusbar,
install_menuitem_hint_to_appbar): hints were not translated
        at all. Now we look for them first using gettext then, if failed,
        with dgettext.
        (create_menu_item): simplified Miguels fix for lalels. Now there
        is no special cases, but will use the same procedure as for hints.

1999-02-11 The Rasterman <raster@redhat.com>

* gnome-winhints.h: added WIN_HINTS_DO_NOT_COVER to hints enum

1999-02-11  Arturo Espinosa <arturo@nuclecu.unam.mx>

* gnome-stock.c:
(gnome_stock_pixmap): case for TYPE_FILE was missing.
(create_pixmap_from_file): new function for missing case.


1999-02-11  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c: replace "Priority" with "_GSM_Priority" throughout.

1999-02-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-paper-selector.c (paper_size_system): Use GnomePaper and
GnomeUnit names instead of Paper an Unit.

1999-02-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c: Indentation fixes.

1999-02-11  James Henstridge  <james@daa.com.au>

* gnome-icon-list.c(gnome_icon_list_set_hadjustment): When a
horizontal adjustment is given for the GnomeIconList, set the values
in the adjustment so that page_size = lower-upper, since the icon
list doesn't scroll horizontally.
(gil_destroy): unref the horizontal adjustment if we have one.

1999-02-10  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (client_set_restart_command, client_set_clone_command,
client_save_yourself_callback): fix implementation of the config
prefix so that it is based on the global config prefix as documented.

1999-02-10  James Henstridge  <james@daa.com.au>

* gnome-icon-list.c: added an implementation for the
gtk_widget_set_scroll_adjustments interface.  Rather than creating a
new signal, I have overriden GtkLayout's set_scroll_adjustment signal.
This keeps binary compatibility and allows you to pack a GnomeIconList
into a GtkScrolledWindow and get the correct behaviour again.

* gnome-app-util.c: The gnome_app_progress_* functions would sometimes
cause a segfault.  There was code to make sure that stale progress
keys would get destroyed when the associated GnomeApp got destroyed.
If you cleaned up the key with gnome_app_progress_done, then a segfault
would occur when the GnomeApp got destroyed.  Now the cleanup
signal handler's id is saved and the handler is removed when the key
is destroyed.

Tue Feb 09 18:51:08 1999  George Lebl  <jirka@5z.com>

* gnome-pixmap-entry.c: fix this up, don't look up pixmaps more then
  once a second if the entry is changing, plus scale the preview in
  the file browser properly

1999-02-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gil_button_press): Do nothing if the button
is different from 1.

1999-02-09  Chris Lahey  <clahey@umich.edu>

* gnome-paper-selector.h, gnome-paper-selector.c: Added
gnome_paper_selector_set functions.  These are neccessary and thus
constitute a bug fix.

1999-02-08  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock.c (drag_snap): New function: contains the code from
 `drag_motion()'.  This does not change anything in the behavior,
 but makes it more simple to implement outline movement later.

* gnome-dock-item.c (gnome_dock_item_delete_event): Do nothing for
now.

1999-02-07  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c (gnome_app_realize): Removed.
(gnome_app_show): Same as the removed `gnome_app_realize', but
 invoke the parent class' `show' method (instead of the `realize'
 method) before returning.
(gnome_app_class_init): Install `gnome_app_show' as the `show'
 method.

1999-02-07  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock.c (drag_new): Avoid re-grabbing the pointer, as
 suggested by Jaka.
(drag_new): No longer subtract the drag offsets from the current
 coordinates.
(drag_to): Likewise.
(drag_floating): Likewise.

* gnome-dock-item.c (gnome_dock_item_grab_pointer): Do not return
 until the grab is successful.
(gnome_dock_item_init): Do not initialize `grab_on_map_event'
 anymore.
(gnome_dock_item_button_changed): Likewise.
(gnome_dock_item_map_event): Do not attempt a grab anymore.
(gnome_dock_item_motion): Subtract the drag offset from the new
 coordinates before emitting them.

* gnome-dock-item.h (struct _GnomeDockItem): Member
`grab_on_map_event' removed.

1999-02-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-pixmap-entry.c (gnome_pixmap_entry_get_filename): Test for
a GnomePixmap, not a GtkPixmap.  This code sucks, btw.
(entry_changed): Likewise, and it also sucks, btw.

1999-02-05  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock-item.c (gnome_dock_item_motion): Retrieve the pointer
 position in a sane way.

* gnome-dock.c: Reverted Jaka's changes of 1999-02-04.
(drag_motion): If everything fails, move the item on its own band
 according to the current pointer position instead of just doing
 nothing.
(drag_check): Removed `NEW_BAND_SNAP' hack.  Use the
 `drag_allocation' instead of the `allocation' of the band for
 doing the comparisons.  Check against the band only if
 `new_for_drag' is false.  If we are in the upper/leftmost half and
 dragging into the band fails, try to create a new band.
(drag_new): Set `new_for_drag' in the new band to TRUE.

* gnome-dock-band.c (gnome_dock_band_drag_begin): Copy the current
 allocation into `drag_allocation'.
(gnome_dock_band_init): Initialize `max_space_requisition',
 `tot_offsets' and `new_for_drag'.  Set `drag_allocation' to { -1,
 -1, 0, 0 }.
(gnome_dock_band_drag_end): Set `new_for_drag' to FALSE.

* gnome-dock-band.h (struct _GnomeDockBand): New members
 `drag_allocation' and `new_for_drag'.

1999-02-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-messagebox.c (gnome_message_box_new): Use
gnome-default-dlg.png, not gnome-default.png (there was a file
clash with gnome-core).

1999-02-05  Martin Baulig  <martin@home-of-linux.org>

* gnome-app.c (gnome_app_set_statusbar_custom): New function taking
both a container and a statusbar widget.

Thu Feb 04 22:56:28 1999  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.c: use set_icon method of icon entry as setting
  the text of the entry now doesn't work (this was probably an
  unwanted side effect of it's recent makeover)

* gnome-icon-entry.c: accept NULL for the set_icon method

Thu Feb 04 22:45:45 1999  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: switch order of two functions to avoid
  warning

Thu Feb 04 19:10:38 1999  George Lebl  <jirka@5z.com>

* gnome-file-entry.c: follow documented behaviour and only
  use modal file dialog if it has been requested with the
  set_modal method

1999-02-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-dateedit.c (gnome_date_edit_new_flags):
(gnome_date_edit_set_flags): Changed int to GnomeDateEditFlags,
per James Henstridge's request.

1999-02-05  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-dock.c (drag_check): fixed (hopefully) the docking
policy.

1999-02-04  Jeff Garzik  <jgarzik@pobox.com>

* gnome-font-picker.[ch]:
- Added API docs.
- (gnome_font_picker_set_title): Made const-correct.
- Cast properly with GNOME_FONT_PICKER macro.
- Protect public functions with g_return_if_fail calls.
- Reformatted source a bit.
- Mark some internal function implementations static, as their
  prototypes were already marked this way.
- Add button mode enum value GNOME_FONT_PICKER_MODE_UNKNOWN for
  cases when no other mode is applicable.  (used only in error
  return values)

1999-02-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-dateedit.c (create_children): Set the proper flags for the
Gtk calendar.
(gnome_date_edit_new_flags): New function to create a date edit
widget with flags.
(gnome_date_edit_new): Use gnome_date_edit_new_flags().
(gnome_date_edit_forall): Handle the internal widgets properly.
(gnome_date_edit_set_flags): New function to change the flags in
the date edit widget.

* gnome-dateedit.h (GnomeDateEditFlags): New enumeration with
configuration options for the date edit widget.

1999-02-04  Jeff Garzik  <jgarzik@pobox.com>

* gnome-color-picker.[ch]:
- Added API docs.
- Corrected a few casts.
- Use Glib types where appropriate.

* gnome-entry.[ch]:
Added API documentation.
Added 'max_saved' setting and gnome_entry_set_max_saved() func.
Folded gnome_entry_{prepend,append}_history() guts into a single
static func.
Made const-correct.
Replaced 'int' with 'gboolean' where appropriate.
Converted other types to Glib types.

1999-02-03  Jonathan Blandford  <jrb@redhat.com>

* gnome-icon-entry.c (gnome_icon_entry_set_icon): another little
bug fix.

* gnome-icon-entry.c (entry_changed): oops.  Dumb oneliner,
cut'n'paste error.

1999-02-02  Jonathan Blandford  <jrb@redhat.com>

* gnome-icon-entry.c: Massive changes.  It now works (fingers
crossed.)  Only current issue is that selecting garbage silently
reverts.  This should be an easy fix, but it is an easy fix
tomorrow, as I need some food.

* gnome-entry.c (gnome_entry_new): gtk_combo_disable_active of all
gnome-entries.  Return should "activate" like a normal entry,
dammit.

* gnome-file-entry.c (browse_dialog_ok): we emit the "activate"
signal of the file entry.  This lets us know for sure when a file
is entered.  Unless I'm missing something, there's no really good
API for finding when someone has changed a file name.

1999-02-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_clear): Free the selection
list.  I wonder how anything ever worked without this.  After 1.0
I promise to rewrite the icon list in a sane way that does not
imitate GtkCList.

1999-02-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-messagebox.c (gnome_message_box_new): Use
gnome_unconditional_pixmap_file instead of gnome_pixmap_file.

1999-02-01  Tomas Ogren  <stric@ing.umu.se>

* gnome-app-helper.c: Added a missing comma in menu_names struct

1999-02-01  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (client_set_clone_command, client_parse_function,
 gnome_client_set_clone_command, gnome_real_client_connect): fix
failure to propogate changes in the restart command over to the
clone command (when no clone command has been set).
(master_client_disconnect): avoid NULL client_grab_widget values.

1999-01-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_destroy): Call
shutdown_transients() to remove the idle handler, since it may be
present if an item requested an update and the canvas is destroyed
before it is even realized.

1999-01-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app-helper.c (create_menu_item): Crude special case for
this.

1999-01-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app-helper.c, gnome-app-helper.h: New approach.  We now
have a new constant: GNOME_APP_UI_SUBTREE_STOCK which means that
the text string we provide is included in the gnome-libs catalog

1999-01-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-pixmap-entry.c (entry_changed): Use GNOME pixmap here to
avoid problems in multidepth visuals.
(setup_preview): Here too.

1999-01-27  Jeff Garzik  <jgarzik@pobox.com>

* gnome-popup-help.c:
Correct g_malloc call to avoid using sizeof with an array idx.

1999-01-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-dock-band.c (gnome_dock_band_unmap): new function.
now a dock band can be properly hidden.
* gnome-dock.c (gnome_dock_unmap): new function.
(unmap_widget, unmap_band_list, unmap_widget_foreach): new
helper functions.
now a dock can be properly hidden.

1999-01-27  Jeff Garzik  <jgarzik@pobox.com>

* gnome-app-helper.c, gnome-init.c, gnome-spell.c:
Use autoconf incantation to include alloca.h properly.

* gnome-less.c:
Replace static const with a #define, Sun CC breaks if an array
is sized with a variable (yes, even a const one... grrr).

1999-01-27  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (save_yourself_callback) wait for any pointer grab
to be released before grabbing gtk input.
(gnome_client_save_dialog_show): set win_hints to LAYER_OVER_DOCK.
(gnome_client_setpriority): #ifdef out SMLIB dependent code (patch
by Frederic Devernay <devernay@istar.fr>).
* gnome-init.c (gnome_init_with_popt_table) initialize win_hints code.
* gnome-winhints.h: acknowledge change to gnome-init.c in comment.

1999-01-27  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app-helper.[ch]: Add gnome_app_fill_{menu,toolbar}_with_data
functions to match gnome_app_create...with_data versions.

1999-01-27  Raja R Harinath  <harinath@cs.umn.edu>

* Makefile.am (INCLUDES): Use G_LOG_DOMAIN of "GnomeUI".
Suggested by Tim Janik <timj@gtk.org>.

1999-01-26  Jonathan Blandford  <jrb@redhat.com>

* gnome-icon-entry.c (gnome_icon_entry_set_icon): added new
function to get around the old braindead way of setting the icon.

* gnome-dialog.c (gnome_dialog_set_parent): Commented the below
change.

* gnome-file-entry.c (browse_clicked): This now will set it's file
dialog to be modal.  In addition, it does the equivilent of the
gnome_dialog_parent_set.  HOWEVER, gnome_dialog_parent_set only
acts upon gnome_dialogs, so I had to copy the code ):

* gnome-icon-entry.c (gnome_icon_entry_init): Now it looks
better.  If anyone wanted to make it even cooler, it might be good
to have it inherit from gtk_button, instead of hbox.
(show_icon_selection): Also, before I forget, make it
modal/set_parent if the parent is modal etc.


1999-01-26  Radek Doulik  <rodo@aquarius>

* gnome-app-helper.h: added some casts to (GdkModifierType) to
avoid compiler warnings

1999-01-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-preferences.c (gnome_preferences_load_custom): Fix.  Put
the Cache information in the right configuration section.

1999-01-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c (gnome_init_cb): use the setting for "images".

Mon Jan 25 11:08:46 1999  George Lebl  <jirka@5z.com>

* gnome-dialog.[ch]: remove the default migration patch as it's
  now in cvs and it was a hack anyhow, I don't break binary
  compatibility now since I changed the flag in the structure to
  "gpointer padding"

1999-01-25  Havoc Pennington  <hp@pobox.com>

* gnome-propertybox.h, gnome-propertybox.c: Rename
gnome_property_box_set_state() to
gnome_property_box_set_modified();
leave old name for compatibility.

1999-01-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (popup_connect_func): Do not test for the
callback being NULL here, since it may not work for modal popup menus.
(popup_marshal_func): Test for the callback being NULL here.
Misc. indentation fixes.  Please keep indentation consistent if
you modify a file!

1999-01-25  Nat Friedman  <nat@nat.org>

* gnome-dentry-edit.c (gnome_dentry_get_name_entry): New function
 to provide access to the Name GtkEntry widget.
(gnome_dentry_get_comment_entry): Likewise.
(gnome_dentry_get_exec_entry): Likewise.
(gnome_dentry_get_tryexec_entry): Likewise.
(gnome_dentry_get_doc_entry): Likewise.
(gnome_dentry_get_icon_entry): Likewise.
* gnome-dentry-edit.h: Prototypes for the above.

1999-01-24  Tomas Ogren  <stric@ing.umu.se>

* gnome-dock-band.c (gnome_dock_band_get_orientation):
fixed initialization of band_child->real_offset to 0 to get rid
of an UMR...

1999-01-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c (gnome_init_cb): If gdk_imlib_set_cache_info has
been called before, then we do not reset it to the value set in
disable_imlib_cache.

1999-01-23  The Rasterman <raster@redhat.com>

* gnome-init.c: disable setting of cache - this is the most evil
thing I've ever seen. There is an imlib perefercnes (imlib_config)
program to dojust this for every setting of imlib - and overriding
it like this is not just bad coding but bad policy since now a
users preferences dont count anymore.

1999-01-23  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c, gnome-client.h (gnome_client_set_priority):
API to set runlevel for gnome-session manager.

1999-01-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_new_flags): New function.
Adds support for the text not being allocated on every icon
insertion.

* gnome-icon-item.c (font_load): WEEE!  Major cpu resource hog
found.  I was loading the same font over and over assuming Gdk had
some sort of internal hash.  Well, it does not.

Load it once only.

(gnome_icon_text_item_configure): Support for static text.  This
means that the text does not need to be strdup()ed.

Thu Jan 21 14:31:46 1999  George Lebl  <jirka@5z.com>

* gnome-entry.c: fixed segfaults with gnome-entry, when an
  actual history item was used

1999-01-21  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* Makefile.am (INCLUDES): s%$(datadir)/locale%$(gnomelocaledir)%

* gnome-client.c (gnome_client_object_init): use g_get_user_name
instead of doing it the hard way.

1999-01-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_draw): Remove warning
just inserted by Elliot, as the leak does not exist.

1999-01-20  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c: Added translation domain to table of options.

* gnome-init.c: Likewise

1999-01-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.c (iti_edition_accept): Layout the text after we
stopped editing.

* gnome-icon-list.c (gil_get_icons_in_region): Return an empty
list if the rectangle is empty.  Also, return the list in sorted
order.
(gil_mark_region): Make it a little less inefficient by not
searching through the icons-in-region list, but traversing it only
once instead.  This whole function could be made to run in linear
time if it used a selection mechanism like that in
mc/gnome/gdesktop.c (it is still doing a g_list_find() for each
element in the preserve_selection list).  Selection needs fixing,
anyway, because it is inconsistent with the way icons are selected
in the desktop (which is done the right way).
(gnome_icon_list_get_icon_at): Call the ::point() method of the
items directly so that we can get an ideal "point-inside" test.

* gnome-canvas.c (gnome_canvas_get_item_at): New public function
to fetch the item at the specified coordinates.

1999-01-19  Nat Friedman  <nat@nat.org>

* gnome-popup-menu.c (gnome_popup_new_with_accelgroup):
 gnome_popup_menu_new has been renamed to
 gnome_popup_menu_new_with_accelgroup, and now allows the user to
 specify the accelgroup for the popup menu.  It no longer clears
 the accelerators for the menus, and now operates on the provided
 uiinfo array instead of making a copy.  This is consistent with
 the behavior of the other gnome menu functions.

(gnome_popup_menu_new): This now creates a new accelgroup and
 calls into gnome_popup_menu_new_with_accelgroup.  The accelgroup
 is attached to the returned menu widget.

(gnome_popup_menu_get_accel_group): A new function to get the
accelgroup created in gnome_popup_menu_new.

All of the API documentation has been moved into this file from
 gnome-popup-menu.h and has been modified to conform to the API
 commenting style.

1999-01-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gil_realize): Set the icon list's background
to style->base[GTK_STATE_NORMAL] to be consistent with Gtk lists.
We actually change the style instead of just the window background
because that is what the canvas wants.  Yes, I need to add
background color support to the canvas.

1999-01-19  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (save_yourself_callback): Handle SM spec 7.2
messages specially to cover bug in xsm and speed start up.
Release active grabs to avoid deadlocks on widget grab.
(master_client_[dis]connect): use new functions in gdk.
(gnome_client_init): initialise ice using gnome-ice.c code.
(gnome_client_connect): pass client as ICE context so gnome-ice.c
can handle io error disconnections.
(gnome_process_ice_messages): replaced by code in gnome-ice.c.
(gnome_client_request_interaction_internal): append keys so that
the interact requests are handled in FIFO order.

* gnome-client.h (GnomeClientState): state for SM spec 7.2 SaveYourself

* gnome-ice.c (process_ice_messages): close the ice connection
and disconnect the GnomeClient following an io error.
(new_ice_connection): use watch_data to reference the gdk_input_id.
(gnome_ice_io_error_handler): replaces the default ICE handler
so we can close the connection instead of doing an exit(1).
(gnome_ice_init): install the new io error handler.


1999-01-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (shutdown_transients): Remove the idle handler
also if the canvas->need_update flag is turned on.  But leave the
need_update flag as it is, for if the canvas is mapped again.

1999-01-19  Jonathan Blandford  <jrb@redhat.com>

* gnome-app-helper.h (GNOMEUIINFO_RADIOITEM): hmm,
has this _EVER_ worked?  does anyone use it?  There seems to be a
typo with it.

1999-01-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.c (iti_start_selecting): Use an I-beam cursor
while selecting.

* gnome-icon-item.h (GnomeIconTextItemClass): Added
"selection_started" and "selection_stopped" signals.  These are
required when the user of the icon text item handles grabs on its
own.

* gnome-icon-item.c (iti_start_selecting): Emit the
selection_started signal.
(iti_stop_selecting): Emit the selection_stopped signal.

1999-01-17  Nat Friedman  <nat@nat.org>

* gnome-preferences.c (STATUSBAR_METER_ON_RIGHT): New property
 string macro.
(gnome_preferences_load_custom): Load the statusbar_meter_on_right
 property.
(gnome_preferences_save_custom): Save the statusbar_meter_on_right
 property.
(gnome_preferences_get_statusbar_meter_on_right): New function.
(gnome_preferences_set_statusbar_meter_on_right): Likewise.

* gnome-preferences.h: Added the statusbar_meter_on_right field to
 GnomePreferences.  Added prototypes for
 gnome_preferences_get_statusbar_meter_on_right and
 gnome_preferences_set_statusbar_meter_on_right.

* gnome-appbar.c (gnome_appbar_construct): Use the
 gnome_preferences_get_statusbar_meter_on_right() function to
 determine the position of the progress meter.

1999-01-17  Jeff Garzik  <jgarzik@pobox.com>

        * gnome-app-helper.c:
        s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/

        * gnome-canvas-line.c:
        Kill uninit-var warnings.  NOTE: FIXME in this area (not mine)

        * gnome-icon-sel.c, gtkcauldron.c:
        s/strdup/g_strdup/ to remove cast and silence ANSI warning.

        * gnome-property-entries.c:
        s/gtk_container_border_width/gtk_container_set_border_width/

        * gtk-ted.c:
        Handle default case in switch.

        * gtkcauldron.c, gtkcauldron.h:
        Made a few functions const-correct.
        Fixed a few bugs in existing code where g_malloc()'d data was
        freed with free().

1999-01-17  Seth Alves  <alves@hungry.com>

* gnome-stock.h (GNOME_STOCK_MENU_FONT): moved colorselector add
text_numbered_list text_indent text_bulleted_list table_fill
table_borders remove clear text_unindent stock pixmaps
from gnome-icons into libgnomeui

1999-01-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-entry.c (gnome_entry_save_history): Fixed this routine to
not overwrite memory it does not own.
(gnome_entry_destroy): Append manually the item, as otherwise we
will invoke the handlers that do not know we are being destroyed

* gnome-file-entry.c (browse_clicked): If there is a grab
currently, we need to take the grab.

Sat Jan 16 21:47:03 1999  George Lebl  <jirka@5z.com>

* gnome-calculator.c: on C/CE just clear the current display
  not the stack, this is not 100% correct but close

1999-01-15  Chris Lahey  <clahey@umich.edu>

* gnome-popup-menu.c (gnome_popup_menu_new): Altered this so that
it would clear out the menu accelerators and ac_mods (in a copy
of the GnomeUIInfos.)

* gnome-app-helper.h, gnome-app-helper.c
(gnome_app_ui_configure_configurable): Made this a public
interface so that gnome-popup-menu.c could use it.

* gnome-about.c (gnome_about_display_comments): Killed a blatant
memory leak.

1999-01-15  Szekeres Istvå«• <szekeres@cyberspace.mht.bme.hu>
* gtk-clock.c: the widget is now destroyed correctly.

1999-01-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_remove_child): set parent to NULL just
before unreferencing.

1999-01-14  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (client_set_ghash): do not set null properties.

1999-01-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.h (GnomeIconList): Added a total_height field
that holds the maximum of the height of all the icon rows and the
window height.

* gnome-icon-list.c (scroll_timeout): Do not allow auto-scrolling
to go past the end of the icon list.
(gnome_icon_list_set_vadjustment): Connect to the "changed" signal
of the adjustment as well, to notice when the whole adjustment
changes (this happens on gil_scrollbar_adjust()).
(gil_scrollbar_adjust): Compute the gil->total_height.
(gil_mark_region): Do not paint the selection rectangle past the
gil->total_height.  This makes the icon list not look amateurish
anymore.

* gnome-canvas-image.c (gnome_canvas_image_update): Check whether
image->im is NULL and do not crash if it is.  Thanks to Erik
Andersen <andersen@xmission.com> for pointing this out.

1999-01-13  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (master_client_clean_up): disconnect the master
client at exit of app to prevent io errors on session manager side.

1999-01-12  Manish Vachharajani <mvachhar@vger.rutgers.edu>

* gnome-ice.c (new_ice_connection): Set FD_CLOEXEC on
ice connection descriptors

1999-01-12  Chris Lahey  <clahey@umich.edu>

* gnome-app-helper.h, gnome-app-helper.c
(gnome_app_ui_configure_configurable): Added configurable
keybindings for menu items.  Items are configured by adding to
~/.gnome/Gnome in the [Menus] section.  The menu items available
for keybinding configuration are listed in gnome_app_helper.c
(menu_names).  The defaults are listed in gnome_app_helper.c
(menu_defaults).

Configuration consists of two (key, value) pairs for each menu
item.  The first is Menu-*-accelerator-key which is assigned a
value equal to the ASCII value of the key you want to bind to.
The second is Menu-*-ac-mods which is assigned the GdkModifierType
(in decimal) of the set of modifiers you want your keybinding to
take.  For this, Shift=1, Control=2, and Alt=4, and you can add.
See gtk+/gdk/gdktypes.h (GdkModifierType) for more info on
ac-mods.

* gnome.defs: This seems to be checked in for some reason, even
though it's autogenned.  I suppose I'll commit the changes to it.

1999-01-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c (initialize_gtk_signal_relay): Fix as posted by
Peter Housel (housel@home.com) to the mailing list (missing
terminating NULL).

1999-01-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_set_arg):
Initialize the colorp variable when setting the colors.

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Likewise.

* gnome-canvas-text.c (gnome_canvas_text_set_arg): Likewise.

1999-01-11  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* Makefile.am (gtkrc_DATA): Added gtkrc.ja and gtkrc.ko.

1998-10-11  James Henstridge  <james@daa.com.au>

* gnome-canvas.c (pick_current_item): set subwindow to NULL before
emitting the GDK_{LEAVE,ENTER}_NOTIFY events.  In some cases the
value would point at garbage, which caused problems for my
python bindings.  It should have no effect on other programs.
This fix was sent to me by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>

Sun Jan 10 23:33:10 1999  Raph Levien  <raph@gimp.org>

* gnome-canvas-image.c (gnome_canvas_image_update): made it (more)
correctly support the case where the image width/height are not
equal to the imlib image width/height.

1999-01-11  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gtkrc.ko: New file.  gtkrc for Korean users.

* gnome-init.c (gnome_rc_parse): Use gtk_rc_add_default_file()
instead of gtk_rc_parse().

1999-01-10  Martin Baulig  <martin@home-of-linux.org>

* gnome-properties.c (gnome_property_object_register):
Call gtk_object_ref () on the newly created label so it won't
get destroyed together with the GnomePropertyBox.

1999-01-10  Nat Friedman  <nat@nat.org>

* gnome-uidefs.h (GNOME_KEY_NAME_REDO_MOVE): New macro.
(GNOME_KEY_MOD_REDO_MOVE): Likewise.
(GNOME_KEY_NAME_UNDO_MOVE): Likewise.
(GNOME_KEY_MOD_UNDO_MOVE): Likewise.
(GNOME_KEY_NAME_PAUSE_GAME): Likewise.
(GNOME_KEY_MOD_PAUSE_GAME): Likewise.
(GNOME_KEY_NAME_NEW_GAME): Likewise.
(GNOME_KEY_MOD_NEW_GAME): Likewise.

* gnome-app-helper.h (GNOMEUIINFO_SUBTREE_HINT): New macro.
(GNOMEUIINFO_MENU_PAUSE_GAME_ITEM): Likewise
(GNOMEUIINFO_MENU_NEW_GAME_ITEM): Likewise
(GNOMEUIINFO_MENU_END_GAME_ITEM): Likewise
(GNOMEUIINFO_MENU_GAME_TREE): Likewise.

1999-01-09  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h
(GNOMEUIINFO_MENU_RESTART_GAME_ITEM): New macro
(GNOMEUIINFO_MENU_RESTART_UNDO_MOVE_ITEM): Likewise
(GNOMEUIINFO_MENU_RESTART_HINT_ITEM): Likewise
(GNOMEUIINFO_MENU_RESTART_SCORES_ITEM): Likewise

1999-01-10  Dave Camp (campd@oit.edu)

* gnome-dateedit.c: Hides the calendar widget on signal
         "day_selected_double_click" instead of "day_selected".


Sat Jan 09 01:42:15 1999  George Lebl  <jirka@5z.com>

* gnome-dialog.[ch]: do the Motif thing with default buttons
  so that we are more consistent. it tracks the default button
  if you use tab to switch focus on buttons

1999-01-08  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h (GNOMEUIINFO_MENU_PREFERENCES_ITEM): Added
 accelerator.
(GNOMEUIINFO_MENU_PROPERTIES_ITEM): Likewise.

1999-01-08  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h (GNOMEUIINFO_MENU_SELECT_ALL_ITEM): New entry.

* gnome-uidefs.h (GNOME_KEY_NAME_SELECT_ALL): New entry.

* gnome-app-helper.h (GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM): New entry.
(GNOMEUIINFO_MENU_NEW_WINDOW_ITEM): Likewise.

* gnome-uidefs.h (GNOME_KEY_MOD_SAVE): Changed it back to C-s.
(GNOME_KEY_NAME_NEW_WINDOW): New entries.
(GNOME_KEY_NAME_CLOSE_WINDOW): Likewise.

Fri Jan 08 17:10:49 1999  George Lebl  <jirka@5z.com>

* gnome-init.c: removed all the autosync stuff

* gnome-entry.c: actually saving was done on destroy only so
  added a per file sync there (we don't want to sync everything,
  since the app should control when it's data get synced, to be
  able to roll back changes)

1999-01-08  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.c: Add documentation.

Fri Jan  8 12:42:20 1999  Owen Taylor  <otaylor@redhat.com>

* gnome-stock.c (gnome_stock_paint): Don't create
  excess new masks. (Is this the last GNOME stock
  leak?)

* gnome-stock.c (lookup): Fix memory leak when lookup fails.

Fri Jan 08 05:35:55 1999  George Lebl  <jirka@5z.com>

* gnome-stock.c: fix a memory leak when destroying the widget,
  some of the states may not have been entered yet so some of the
  pixmaps might still be floating, so we just _destroy them
  when we destroy the widget, this is the normal behaviour for
  gtk containers anyway

Fri Jan 08 02:35:24 1999  George Lebl  <jirka@5z.com>

* gnome-dock-item.c: fixed gnome_dock_item_handle_size_request,
  it was setting the requisition to handle size instead of just
  adding the handle size ...

1999-01-08  Nat Friedman  <nat@nat.org>

* gnome-appbar.c (gnome_appbar_construct): Moved the status bar to
 the left side and the progress meter to the right side.

* gnome-uidefs.h: Include gdk/gdkkeysyms.h.

1999-01-08  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h (GNOMEUIINFO_MENU_FIND_AGAIN_ITEM): New menu
 item.

* gnome-uidefs.h: Changed to a new set of hotkeys.

1999-01-07  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h Changed the Options menu to Settings.

1999-01-07  Jonathan Blandford  <jrb@redhat.com>

* gnome-entry.c (gnome_entry_save_history): changed a bit.  Now
it's a little tiny bit more efficient, and no longer will save
duplicate fields.
(check_for_duplicates): new function.

1999-01-07  Chris Lahey  <clahey@umich.edu>

* gnome-paper-selector.h, gnome-paper-selector.c
(gnome_paper_selector_get_width, gnome_paper_selector_get_height):
Changed it so that these always returned values in units.  Also
added functions to return the margin values.

1999-01-07  Nat Friedman  <nat@nat.org>

* gnome-uidefs.h: Replaced (GDK_CONTROL_MASK||GDK_SHIFT_MASK) with (GDK_CONTROL_MASK|GDK_SHIFT_MASK) throughout.

Wed Jan 06 22:32:03 1999  George Lebl  <jirka@5z.com>

* gnome-app-helper.h: fix properties/preferences stock icons

1999-01-07  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h Added GNOME_MENU_OPTIONS_STRING and _PATH.

1999-01-07  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h (GNOMEUIINFO_MENU_OPTIONS_TREE): New standard
 menu.

Wed Jan 06 21:36:16 1999  George Lebl  <jirka@5z.com>

* gnome-uidefs.h,gnome-app-helper.h: added Find and Replace items
  and default keybindings for those

1999-01-07  Jonathan Blandford  <jrb@redhat.com>

* gnome-app.c (gnome_app_set_statusbar): okay -- lets try again.
The old spacing wasn't liked so it's now down to 0 pixels.

Wed Jan 06 21:13:54 1999  George Lebl  <jirka@5z.com>

* gnome-app-helper.h: Added strings for use in menu path
  for inserting,deleting,mdi,etc..., and added a standard
  "File_s" toplevel menu

1999-01-07  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h (GNOMEUIINFO_MENU_PRINT_ITEM): Corrected a
 typo.
(GNOMEUIINFO_MENU_ABOUT_ITEM): Another typo.

1999-01-06  Nat Friedman  <nat@nat.org>

* gnome-uidefs.h
 (GNOME_KEY_NAME_PRINT), (GNOME_KEY_MOD_PRINT_SETUP): Added
 standard hotkeys for printing.

* gnome-app-helper.h (GNOMEUIINFO_MENU_PRINT_ITEM),
(GNOMEUIINFO_MENU_PRINT_SETUP_ITEM): Use the new standard hotkeys.

1999-01-06  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h (GNOMEUIINFO_MENU_NEW_ITEM): Add another
 parameter for the menu item description.
(GNOMEUIINFO_MENU_UNDO_ITEM): Removed an extra parameter.

Also changed "document" to "file" in all the menu item
 descriptions.

1999-01-06  Nat Friedman  <nat@nat.org>

* gnome-app-helper.h: Added the little tool-tips-like descriptions
 of each standard menu item's function.  Cleaned the macros up a
 bit and grouped them according to the menu in which they belong.

Wed Jan 06 18:03:59 1999  George Lebl  <jirka@5z.com>

* gnome-app-helper.c: cast data to (gpointer) on the new macros,
  and add a standard "_Print" and "Print S_etup..." items

Wed Jan 06 17:45:06 1999  George Lebl  <jirka@5z.com>

* gnome-app-helper.h: changed the NEW_ITEM macros, as by the
  syleguide they need to specify a type, so they need a custom
  label passed

Wed Jan 06 17:25:26 1999  George Lebl  <jirka@5z.com>

* gnome-stock.h: fix a typo in menu stock defines

Wed Jan 06 16:40:29 1999  George Lebl  <jirka@5z.com>

* gnome-app-helper.h: added some defines to make adding
  standard items easier

1999-01-06  Jonathan Blandford  <jrb@redhat.com>

* gnome-app.c (gnome_app_set_statusbar): Changed beveling.  Now
it's GTK_SHADOW_NONE.  I also changed the spacing to be 4 pixels.
It'd be good if all applicable apps used this spacing, as well as
the statusbar.  There are a lot of inconsistent apps out there...

1999-01-06  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (gnome_client_get_flags): New function.  Returns
 the client's flags.
(client_parse_func): Removed the setting of the master_client's
 previous_id.
(gnome_client_connect): Sets the previous_id to the id, that was
 tried to connect to the session manager.

* gnome-client.h (gnome_client_get_flags): New declaration.

1999-01-05  Jonathan Blandford  <jrb@redhat.com>

* gnome-dentry-edit.c (gnome_dentry_edit_new_notebook): Text change

Tue Jan 05 02:12:52 1999  George Lebl  <jirka@5z.com>

* gnome-pixmap-entry.c,gnome-icon-entry.c: accept drops of
  files on the image previews

Mon Jan 04 02:19:49 1999  George Lebl  <jirka@5z.com>

* gnome-icon-sel.c: when scaling icons, makes sure they're at least
  1 pixel tall, wide.

Mon Jan 04 01:10:14 1999  George Lebl  <jirka@5z.com>

* gnome-icon-list.c: when appending or inserting imlib image
  do a sanity check for NULL

* gnome-icon-sel.c: if we can't clone the image, just ignore it

Sun Jan 03 17:57:52 1999  George Lebl  <jirka@5z.com>

* gnome-file-entry.c: actually accept file drops of text/uri-list
  there is still a problem of multiple files being dropped, I
  just pick out the first one, is this the right solution?

1999-01-03  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-dock.[ch]: removed all traces of struct _GnomeDockChild.
use GnomeDockBands directly instead, as drag_allocation is no
longer needed.

Sat Jan  2 15:00:19 1999  Raph Levien  <raph@gimp.org>

* gnome-canvas-line.c: Minor tweaks and tunes. The set_arg
updates are more consistent, the width of the line is now
set based on the items'affine transformation rather than
the global pixels_per_unit.

Fri Jan  1 13:13:04 1999  Raph Levien  <raph@gimp.org>

* gnome-canvas.c (gnome_canvas_group_get_arg): fixed a bug
spotted by Centove: getting GROUP_ARG_Y was getting the X
value.

1999-01-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-dock-item.c (gnome_dock_item_motion): don't subtract
item->dragoff_? from pointer coordinates before emiting signal
as this confuses gnome-dock.c/drag_check().
* gnome-dock.c (drag_new, drag_to, drag_floating): subtract
item->dragoff_? from pointer coordinates here instead in the
above function.
(drag_check): a small fix to handling drags in new bands.
use band's current allocation and NOT its drag_allocation.
this seems fine and properly handles new bands.
#if 0'ed out all references to GnomeDockChild members
new_for_drag and drag_allocation.

1999-01-02  Jeff Garzik  <jgarzik@pobox.com>

* gnome-app-helper.c:
Corrected g_strncmp_ignore_char doc comments, and made it
static to this module.

1999-01-02  Chris Lahey  <clahey@umich.edu>

* gnome-app-helper.c (gnome_app_find_menu_pos): Added
g_strncmp_ignore_char and used it to ignore '_' in menu paths.
This also required adding a variable stripped_path_length, the
length of the given path without the '_'s.

1999-01-02  Jeff Garzik  <jgarzik@pobox.com>

* gnome-calculator.c, gnome-canvas-util.c,
  gnome_segv.c, gtkdial.c:
Include _xxx_SOURCE define for 'gcc -ansi -pedantic'.

1999-01-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-session.c (gnome_mdi_save_state): fixed a bug
with different key names used when saving and restoring.

Thu Dec 31 23:39:37 1998  Raph Levien  <raph@gimp.org>

This is a big giant commit for the antialiased canvas.

* gnome-canvas-image.c:
* gnome-canvas-image.h:
* gnome-canvas-line.c:
* gnome-canvas-line.h:
* gnome-canvas-polygon.c:
* gnome-canvas-polygon.h:
* gnome-canvas-rect-ellipse.c:
* gnome-canvas-rect-ellipse.h:
* gnome-canvas-text.c:
* gnome-canvas-text.h:
* gnome-canvas-util.c:
* gnome-canvas-util.h:
* gnome-canvas.c:
* gnome-canvas.h: Added antialiased rendering and per-item
affine transformations.

Thu Dec 31 18:50:44 1998  George Lebl  <jirka@5z.com>

* gnome-calculator.c,gnome_icon_list.c: fix two memory leaks
  related to g_list_remove_link

Thu Dec 31 17:58:26 1998  George Lebl  <jirka@5z.com>

* dock_demo.c: just a warning fix

* gnome-ice.c: add a prototype for new_ice_connection to avoid
  a warning mess

* gnome-icon-text.c: avoid ambigous else by using {,}'s

* gnome-pixmap.c: avoid const warning

Thu Dec 31 17:37:31 1998  George Lebl  <jirka@5z.com>

* gnome-about.c: actually connect the destroy handler

1998-12-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (do_ui_signal_connect): moved setting
object data to create_menu_item(), so that data is set even
with custom connect functions.

1998-12-21  Jay Painter <jpaint@serv.net>
* gnome-ice.c: added an internal hash to map ICE connections
to GnomeIceInternal structures which keep state information
on ICE connections so their gdk_add_input callbacks can be
added/removed correctly.

1998-12-18  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c (gnome_proc_bar_draw): Calculate total field
here and make it work with vertical procbars.
(gnome_proc_bar_set_values): Always redraw the procbar not just
if the values have changed.

* gnome-procbar.c (gnome_proc_bar_draw): New static function.
(gnome_proc_bar_set_values): Save values in pb->last even if
the widget is not realized. Moved actual drawing code into
gnome_proc_bar_draw ().
(gnome_proc_bar_start): Call the callback here, not only add
a timeout for it.
(gnome_proc_bar_configure): Call gnome_proc_bar_draw () if the
widget is already realized. This fixes the bug that the procbar
was displaying garbage until the timeout was run the first time.

1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): consider the
position after the tear off item to be the topmost one.

1998-12-17  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app-helper.c (gnome_app_fill_menu_custom): Prepend a
tearoff if preferences tell us to.
(gnome_app_find_menu_pos): When checking if menu item is a
separator, ignore tear off menu items.

* gnome-preferences.[ch]: Add preference for menus_have_tearoff.

1998-12-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c (gnome_app_realize): Simply show the dock, instead
 of showing_all.
(gnome_app_set_contents): Show the contents.
(gnome_app_set_menus): Show the dock item.  Put the dock item into
 a new dock band.  The menubar now goes into band 0 (instead of
 band -1).
(gnome_app_add_toolbar): Put the dock item into a new dock band.
  The toolbar now goes into band 1 (instead of band 0).

1998-12-17  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c (gnome_app_set_menus): Make menubar relief agree
with with toolbar relief (relief on the dock item, around
handles).

Wed Dec 16 17:53:48 1998  Raph Levien  <raph@gimp.org>

So far, no changes that affect canvas users or xlib custom items.

* gnome-canvas-util.h:
* gnome-canvas-util.c: Added a number of routines that are helpful
for aa rendering.

* gnome-canvas-rect-ellipse.c: re-enabled the rendering.

* gnome-canvas.c: Provided default implementatoin of ::update ()

Thu Dec 17  Felix Bellaby  <felix@pooh.u-net.com>
* gnome-client.c (gnome_client_connect, gnome_client_set_id): remove
some code left over from old config file nameing scheme.

Wed Dec 16 11:51:23 1998  Raph Levien  <raph@gimp.org>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_render): Added
alphagamma arg to rendering calls.

1998-12-29  Martin Baulig  <martin@home-of-linux.org>

* gnome-properties.c (gnome_property_object_register): Only create
 the label if not already done.

1998-12-29  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c (gnome_proc_bar_destroy): New static function.
(gnome_proc_bar_class_init): Added `destroy' handler.
(gnome_proc_bar_start): Remove old timeout handler first.

Mon Dec 28 20:56:18 1998  George Lebl  <jirka@5z.com>

* gnome-dentry.c: use the same function for breaking strings
  as gnome-config does.

Sun Dec 27 21:47:41 1998 Gregory McLean <gregm@comstar.net>

* gnome-stock.[c|h] : added a stock cdrom icon that I found in
one of larry ewing's galleries. (With his blessing).
* pixmaps/stock_cdrom.png: added this.

1998-12-27  Tuomas Kuosmanen  <tigert@fun112.koivukyla.hoas.fi>

* Replaced the offending-to-some-ethnic-groups Yes/No -buttons
with hopefully nicer looking red/green circles (streetlights _are_
universal, right? :)

1998-12-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_remove_menu[s|range]):
if the item widget is a GtkAccelLabel, set its accel_widget
to NULL, thus unreferencing the item properly.
(gnome_app_find_menu_pos): trash the outdated checking for
gtkhbox since gtkpixmapmenuitem replaced it.
* gnome-mdi.c (app_set_view): set accel_widget to NULL.

Mon Dec 21 01:27:23 1998  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: accept double click on the icon list for
  selection of the icon (someone please test this!)

* gnome-icon-sel.c: just remove an outdated fixme comment

1998-12-21  James Henstridge  <james@daa.com.au>

* gnome-app-helper.c (gnome_app_remove_menu{s,_range}): don't
destroy widgets after calling gtk_container_remove on them.
The widgets should be automatically destroyed when their reference
count is decremented.

1998-12-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-sel.c (gnome_icon_selection_init): Put a frame around
the icon list to make it look better.

1998-12-18  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c (gnome_proc_bar_draw): Calculate total field
here and make it work with vertical procbars.
(gnome_proc_bar_set_values): Always redraw the procbar not just
if the values have changed.

* gnome-procbar.c (gnome_proc_bar_draw): New static function.
(gnome_proc_bar_set_values): Save values in pb->last even if
the widget is not realized. Moved actual drawing code into
gnome_proc_bar_draw ().
(gnome_proc_bar_start): Call the callback here, not only add
a timeout for it.
(gnome_proc_bar_configure): Call gnome_proc_bar_draw () if the
widget is already realized. This fixes the bug that the procbar
was displaying garbage until the timeout was run the first time.

1998-12-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (app_set_view): enhance removing of menus and
explicitly destroy the widget after removing it from the
menu shell. I guess this has to do with menu refcounting.
* gnome-app-helper.c(gnome_app_remove_menus,
gnome_app_remove_menu_range): optimize menu removal; explicitly
destroy removed widgets. small fix to make removal of first
item work properly with tearoff menus.

1998-12-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_freeze): Hide the root of the
canvas while the list is frozen.  This way the user does not see
icons loading at the upper left corner.
(gnome_icon_list_thaw): Show the canvas root again.

* gnome-icon-sel.c (append_an_icon): Do not destroy the image that
we insert in the icon list.  This is actually not the correct
solution.  Imlib needs to provide ref() and unref() functions for
its images.

1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): consider the
position after the tear off item to be the topmost one.

1998-12-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (icon_event): Propagate button-3 events to the
container.

1998-12-17  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app-helper.c (gnome_app_fill_menu_custom): Prepend a
tearoff if preferences tell us to.
(gnome_app_find_menu_pos): When checking if menu item is a
separator, ignore tear off menu items.

* gnome-preferences.[ch]: Add preference for menus_have_tearoff.

1998-12-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c (gnome_app_realize): Simply show the dock, instead
of showing_all.
(gnome_app_set_contents): Show the contents.
(gnome_app_set_menus): Show the dock item.  Put the dock item into a
new dock band.  The menubar now goes into
band 0 (instead of band -1).
(gnome_app_add_toolbar): Put the dock item into a new dock band.
The toolbar now goes into band 1 (instead of band 0).

1998-12-17  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c (gnome_app_set_menus): Make menubar relief agree
with with toolbar relief (relief on the dock item, around
handles).

Thu Dec 17  Felix Bellaby  <felix@pooh.u-net.com>
* gnome-client.c (gnome_client_connect, gnome_client_set_id): remove
some code left over from old config file naming scheme.

1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: added checks for all returns of
gnome_app_find_menu_pos, although the programmer should take
of using proper paths!

1998-12-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-popup-menu.c (gnome_popup_menu_do_popup_modal): REmoved
bogus assert.

1998-12-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-number-entry.c (calc_dialog_destroyed): Fix signal
signature.

* gnome-init.c (relay_gtk_signal): Return a value.

Wed Dec 16 17:53:48 1998  Raph Levien  <raph@gimp.org>

So far, no changes that affect canvas users or xlib custom items.

* gnome-canvas-util.h:
* gnome-canvas-util.c: Added a number of routines that are helpful
for aa rendering.

* gnome-canvas-rect-ellipse.c: re-enabled the rendering.

Wed Dec 16 11:51:23 1998  Raph Levien  <raph@gimp.org>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_render): Added
alphagamma arg to rendering calls.

1998-12-31  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_destroy): Release
the outline_svp and the fill_svp.

1998-12-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-app.c: Remove gnome_app_add().  You cannot just override
container::add() with something else for GnomeApp.

1998-12-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app.c (gnome_app_class_init): make container_add work for
gnome-apps.

1998-12-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (icon_event): Emit the selection event always,
so that we can get the menu poped up.

1998-12-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (do_ui_signal_connect): moved setting
object data to create_menu_item(), so that data is set even
with custom connect functions.

1998-12-29  Martin Baulig  <martin@home-of-linux.org>

* gnome-properties.c (gnome_property_object_register): Only create
 the label if not already done.

1998-12-29  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c (gnome_proc_bar_destroy): New static function.
(gnome_proc_bar_class_init): Added `destroy' handler.
(gnome_proc_bar_start): Remove old timeout handler first.

Mon Dec 28 20:56:18 1998  George Lebl  <jirka@5z.com>

* gnome-dentry.c: use the same function for breaking strings
  as gnome-config does.

Sun Dec 27 21:47:41 1998 Gregory McLean <gregm@comstar.net>

* gnome-stock.[c|h] : added a stock cdrom icon that I found in
one of larry ewing's galleries. (With his blessing).
* pixmaps/stock_cdrom.png: added this.

1998-12-27  Tuomas Kuosmanen  <tigert@fun112.koivukyla.hoas.fi>

* Replaced the offending-to-some-ethnic-groups Yes/No -buttons
with hopefully nicer looking red/green circles (streetlights _are_
universal, right? :)

1998-12-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_remove_menu[s|range]):
if the item widget is a GtkAccelLabel, set its accel_widget
to NULL, thus unreferencing the item properly.
(gnome_app_find_menu_pos): trash the outdated checking for
gtkhbox since gtkpixmapmenuitem replaced it.
* gnome-mdi.c (app_set_view): set accel_widget to NULL.

Mon Dec 21 01:27:23 1998  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: accept double click on the icon list for
  selection of the icon (someone please test this!)

* gnome-icon-sel.c: just remove an outdated fixme comment

1998-12-21  James Henstridge  <james@daa.com.au>

* gnome-app-helper.c (gnome_app_remove_menu{s,_range}): don't
destroy widgets after calling gtk_container_remove on them.
The widgets should be automatically destroyed when their reference
count is decremented.

1998-12-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-sel.c (gnome_icon_selection_init): Put a frame around
the icon list to make it look better.

1998-12-18  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c (gnome_proc_bar_draw): Calculate total field
here and make it work with vertical procbars.
(gnome_proc_bar_set_values): Always redraw the procbar not just
if the values have changed.

* gnome-procbar.c (gnome_proc_bar_draw): New static function.
(gnome_proc_bar_set_values): Save values in pb->last even if
the widget is not realized. Moved actual drawing code into
gnome_proc_bar_draw ().
(gnome_proc_bar_start): Call the callback here, not only add
a timeout for it.
(gnome_proc_bar_configure): Call gnome_proc_bar_draw () if the
widget is already realized. This fixes the bug that the procbar
was displaying garbage until the timeout was run the first time.

1998-12-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (app_set_view): enhance removing of menus and
explicitly destroy the widget after removing it from the
menu shell. I guess this has to do with menu refcounting.
* gnome-app-helper.c(gnome_app_remove_menus,
gnome_app_remove_menu_range): optimize menu removal; explicitly
destroy removed widgets. small fix to make removal of first
item work properly with tearoff menus.

1998-12-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_freeze): Hide the root of the
canvas while the list is frozen.  This way the user does not see
icons loading at the upper left corner.
(gnome_icon_list_thaw): Show the canvas root again.

* gnome-icon-sel.c (append_an_icon): Do not destroy the image that
we insert in the icon list.  This is actually not the correct
solution.  Imlib needs to provide ref() and unref() functions for
its images.

1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): consider the
position after the tear off item to be the topmost one.

1998-12-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (icon_event): Propagate button-3 events to the
container.

1998-12-17  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app-helper.c (gnome_app_fill_menu_custom): Prepend a
tearoff if preferences tell us to.
(gnome_app_find_menu_pos): When checking if menu item is a
separator, ignore tear off menu items.

* gnome-preferences.[ch]: Add preference for menus_have_tearoff.

1998-12-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c (gnome_app_realize): Simply show the dock, instead
of showing_all.
(gnome_app_set_contents): Show the contents.
(gnome_app_set_menus): Show the dock item.  Put the dock item into a
new dock band.  The menubar now goes into
band 0 (instead of band -1).
(gnome_app_add_toolbar): Put the dock item into a new dock band.
The toolbar now goes into band 1 (instead of band 0).

1998-12-17  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c (gnome_app_set_menus): Make menubar relief agree
with with toolbar relief (relief on the dock item, around
handles).

Thu Dec 17  Felix Bellaby  <felix@pooh.u-net.com>
* gnome-client.c (gnome_client_connect, gnome_client_set_id): remove
some code left over from old config file naming scheme.

1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: added checks for all returns of
gnome_app_find_menu_pos, although the programmer should take
of using proper paths!

1998-12-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-popup-menu.c (gnome_popup_menu_do_popup_modal): REmoved
bogus assert.

1998-12-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-number-entry.c (calc_dialog_destroyed): Fix signal
signature.

* gnome-init.c (relay_gtk_signal): Return a value.

Wed Dec 16 17:53:48 1998  Raph Levien  <raph@gimp.org>

So far, no changes that affect canvas users or xlib custom items.

* gnome-canvas-util.h:
* gnome-canvas-util.c: Added a number of routines that are helpful
for aa rendering.

* gnome-canvas-rect-ellipse.c: re-enabled the rendering.

Wed Dec 16 11:51:23 1998  Raph Levien  <raph@gimp.org>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_render): Added
alphagamma arg to rendering calls.

1998-12-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.[ch]: Misc. updates to accomodate the new rendering
and propagation model.
* gnome-canvas-rect-ellipse.c: Likewise.
* gnome-canvas-image.c: Likewise.
* gnome-canvas-text.c: Likewise.
* gnome-canvas-line.c: Likewise.
* gnome-canvas-polygon.c: Likewise.
* gnome-canvas-widget.c: Likewise.
* gnome-icon-item.c: Likewise.

1998-12-16  Yukihiro Nakai <Nakai@abricot.co.jp>

* Added gtkrc.ja. The original gtkrc is not good for
the multi-byte users.

1998-12-16  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock-item.c (gnome_dock_item_detach): Set the "transient
for" hint properly.
        (gnome_dock_item_map_event): Do the `dock_item_detach()' hack
 only if we are actually floating.

1998-12-16  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-dock-item.c (gnome_dock_item_realize): set transient for
the floating window so that it gets minimized with the dock-item's
toplevel (usually a GnomeApp).

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

* gnome-rootwin.[ch]: Removed this before the freeze.

1998-12-15  Havoc Pennington  <hp@pobox.com>

* gnome-popup-menu.c (gnome_popup_menu_new): Set global variable
for use by connect function.
(popup_connect_func): Attach a pointer to the toplevel menu shell
to each menu item.
(popup_marshal_func): Get pointer to toplevel shell, instead of
immediate parent.

1998-12-15  Havoc Pennington  <hp@pobox.com>

* gnome-dock-item.h: Change GNOME_DOCK_ITEM_BEH_NEVER_DETACH
to GNOME_DOCK_ITEM_BEH_NEVER_FLOATING for Ettore; add
GNOME_DOCK_ITEM_BEH_LOCKED.

* gnome-dock-item.c: Reflect name changes and new flag.

* gnome-app.c (gnome_app_set_toolbar): GNOME_DOCK_ITEM_BEH_LOCKED
instead of NEVER_DETACH
(gnome_app_set_menus): Same

* dock_demo.c (main): Same

1998-12-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: clone apps layout whenever possible.
(gnome_mdi_set_mode): optimized things a bit. also
preserve the layout of the active app.
* gnome-dock.c (gnome_dock_size_allocate): keep
dock->client_area in sync with client_area's allocation
or initialize it to proper values if there is no client_area.
(drag_begin): no longer need to set values to dock->client_rect, as
it is always kept in sync with client_area's allocation, also we
don't SIGSEGV anymore if no client_area is set.
(drag_floating): prevent a SIGSEGV if there is no client_area.

1998-12-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c: Do not use imlib private data, use the new
exported routines instead.

1998-12-15  Martin Baulig  <baulig@merkur.uni-trier.de>

* pixmaps/Makefile.am (CLEANFILES): Add $(BUILT_SOURCES) here.

Tue Dec 15  Felix Bellaby  <felix@pooh.u-net.com>
* gnome-client.c (gnome_dlient_set_config_prefix): new function
for use by clients like the panel that use special config names.
* gnome-client.h: extra docs plus new function

1998-12-15  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c (gnome_app_get_dock): New function.
(gnome_app_add_dock_item): New function.
(gnome_app_add_docked): Rewritten by means of
 `gnome_app_add_dock_item()'.

* gnome-dock.c (gnome_dock_init): Initialize
`floating_items_allowed' to TRUE.
(gnome_dock_allow_floating_items): New function.
        (drag_motion): Do not detach if floating items are
not allowed.

* gnome-dock.h (struct _GnomeDock): New member
 `floating_items_allowed'.

* gnome-dock-band.h: Marked as immature.

* gnome-dock.h: Marked as immature.

* gnome-dock-item.h: Marked as immature.

* gnome-app.c (gnome_app_get_dock_item_by_name): New function.

* gnome-dock-item.c (gnome_dock_item_get_child): New function.

* gnome-app.c (gnome_app_set_menus):
 s/get_menubar_detachable/get_toolbar_detachable.

1998-12-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app.c (gnome_app_set_*): removed "layout_changed" signal
emissions after calling gnome_dock_add_item().
* gnome-dock.c (gnome_dock_add_item, gnome_dock_add_floating_item):
emit "layout_changed" signal.

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.c (gnome_proc_bar_set_orient): New function.

1998-12-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app-helper.c (gnome_app_install_appbar_menu_hints): Remove
C++ comments.

1998-12-15  Jeff Garzik  <jgarzik@pobox.com>

* gnome-spell.[ch], gtkspell.[ch]:
Renamed gtkspell to gnome-spell, internationalized, doc'd.

1998-12-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app.c (gnome_app_set_*bar): for setting things after the
layout is gone, use insertion directly into dock.
* gnome-dock.[ch]: fixed functions to have GnomeDockItem* instead
of GtkWidget* as a parameter (like layout functions).
(gnome_dock_add_item): put offset behind position.
* gnome-mdi-session.c: save layouts of the windows, but don't
restore them as we have no method to properly do that yet.
* gnome-mdi.[ch], gnome-mdi-child.h, gnome-mdi-generic-child.h,
gnome-mdi-session.h: some bug fixes and some cosmetics.

1998-12-14  Havoc Pennington  <hp@pobox.com>

* gnome-app.c (gnome_app_set_toolbar): Honor preferences by
setting behavior to NEVER_DETACH if user wants.
(gnome_app_set_menus): Same.

Maybe this should be done for add_docked too?

* gnome-dock-item.c: If we are BEH_NEVER_DETACH, don't draw
the handle box and don't allow movement. Ettore, not sure this
was the right flag; I used a GNOME_DOCK_ITEM_DETACHABLE macro
so I can add a different flag if needed.
(gnome_dock_item_size_request): If we are not detachable,
don't consider handle size.
(gnome_dock_item_size_allocate): If we aren't detachable,
give all space to child.
(gnome_dock_item_paint): If not detachable, don't draw
handle
(gnome_dock_item_button_changed): If not detachable,
ignore button presses.


* dock_demo.c: Add a NEVER_DETACH toolbar.

1998-12-15  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c (gnome_app_enable_layout_config): New function.

1998-12-14  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.h (GNOME_APP_MENUBAR_NAME, GNOME_APP_TOOLBAR_NAME):
New public #defines.

* gnome-app.c (gnome_app_init): Create the layout.
(gnome_app_set_menus): Add the menu to the layout instead of
 putting it into the dock directly.
(gnome_app_set_toolbar): Likewise.
(layout_changed): New private function.  If `enable_layout_config'
is TRUE, it updates the layout configuration via gnome-config.
(gnome_app_realize): New function.  Save the dock configuration if
`enable_layout_config' is TRUE.  Connect the "layout_change"
signal of the dock to `layout_changed()'.
(gnome_app_init): Install it.
(write_layout_config): New helper function.
(read_layout_config): New helper function.
(gnome_app_add_docked): New function.
(gnome_app_add_toolbar): New function.

* gnome-dock-layout.c (gnome_dock_layout_new): Return a
`GnomeDockLayout *' instead of `GtkObject *'.

* gnome-app.h: Reorganized with the following members: `name',
 `prefix', `dock', `statusbar', `vbox', `menubar', `accel_group',
 `contents'.  New member `auto_config_layout' to automagically
 handle layout configurations.

* gnome-app.c (gnome_app_init): Do not initialize `pos_menubar'
and `pos_toolbar' anymore.
(gnome_app_toolbar_set_position): Removed.
(gnome_app_menu_set_position): Removed.

* gnome-app.h: Removed `pos_menubar' and `pos_toolbar' members.

* gnome-dock.c (gnome_dock_class_init): Add handler for the
"layout_changed" signal.
(drag_end): Emit "layout_changed".
(gnome_dock_add_from_layout): New function.
(gnome_dock_get_client_area): New function.

* gnome-dock.h (struct _GnomeDockClass): Added `layout_changed'
 member.

* gnome-app.h (GnomeAppWidgetPositionType): Removed.

* gnome-app.c (get_orientation): Removed.

* gnome-dock-item.c (gnome_dock_item_get_floating_position): New
 function.
(gnome_dock_item_map): If floating, do not map widget->window.

* gnome-dock.c (drag_floating): Grab the pointer after calling
 `gnome_dock_item_detach()'.
(connect_drag_signals): New helper function.
(gnome_dock_add_item): Use it.
(gnome_dock_add_floating_item): Use it.

* gnome-dock-item.c (gnome_dock_item_init): Initialize `float_x'
and `float_y'.
(gnome_dock_item_detach): Set `float_x' and `float_y'.  Do not
move the window if the widget is not realized yet.  Do not grab
the pointer anymore.
(gnome_dock_item_realize): If floating, detach.
(gnome_dock_item_drag_floating): Update `float_x' and `float_y'.

* gnome-dock-item.h (struct _GnomeDockItem): New members
`float_x', `float_y' holding the position of the floating window.

* gnome-dock-layout.c (item_compare_func): Don't order floating
 items.
(gnome_dock_layout_add): Renamed to `gnome_dock_layout_add_item'.
(gnome_dock_layout_add_floating_item): New function.

* gnome-dock.c (gnome_dock_add_floating_item): New function.

* gnome-dock-layout.h (struct _GnomeDockLayoutItem): Added union
 `position' to store positions for docked and floating items
 differently.  All the functions updated to handle it.

* gnome-dock.h (enum GnomeDockPositionType): Renamed to
 `GnomeDockPlacement'.

* gnome-dock-item.c (gnome_dock_item_map_event): If
 `grab_on_map_event' is set, call `gnome_dock_item_detach()' at the
 current pointer position.
(gnome_dock_item_motion): Removed unused `snap_x', `snap_y'
 variables and `gdk_window_get_pointer()' call.
(gnome_dock_item_size_request): Return real size even when
 floating.

1998-12-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gil_get_items_per_line): Fetch the widget
width from the allocation, not the canvas.
(gil_mark_region): Likewise.

* gnome-canvas.c: Removed the gnome_canvas_set_size() function.
People can use gtk_widget_set_usize() now.  Also, removed
gnome_canvas_size_request().

* gnome-canvas.h (GnomeCanvas): Removed the width and height
fields, since they were the size of the allocation anyways.

Mon Dec 14 10:19:59 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-canvas.c: Add idle handlers at GTK_PRIORITY_INTERNAL,
so they trigger gtk_events_pending().

Sun Dec 13 20:50:06 1998  George Lebl  <jirka@5z.com>

* gnome-client.c: fix typo interaction_key -> interaction_keys

1998-12-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c (gnome_init_cb): Change of strategy.  Pixmaps are
not cached, but images are.

Mon Dec 14  Felix Bellaby  <felix@pooh.u-net.com>

* gnome-client.c (gnome_dlient_get_config_prefix): change the prefix
after each Save Yourself to avoid cuorrupting past saves.
* gnome-client.h: extra docs for obscure bits of the protocol.

1998-12-14  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-app.c: Removed some `#if 0'ed stuff.
(DEFAULT_TOOLBAR_NAME, DEFAULT_MENUBAR_NAME): New string
 constants.
(gnome_app_set_menus): Give the menubar the `DEFAULT_MENUBAR_NAME'.
(gnome_app_set_toolbar): Give the toolbar the
`DEFAULT_TOOLBAR_NAME'.  If not using toolbar reliefs, set the
dock item's border width to 1.

* dock_demo.c: Demonstrate usage of GnomeDockLayout by saving the
dock configuration on exit, and reloading it a startup.

* gnome-dock.h: Changed order of the `GnomeDockPositionType' so
that numbering goes clockwise.

* gnome-dock.c (drag_new): Return value made gboolean: return TRUE
 iff successfull.
(drag_to): Likewise.
(drag_floating): Likewise.
(drag_check): Return a value according to what the `drag_*'
 functions returned.
        (gnome_dock_get_item_by_name): New function.
(get_docked_item_by_name): New helper function.
(get_floating_item_by_name): New helper function.
 (gnome_dock_get_layout): New function to get the layout.
(layout_add_floating, layout_add_bands): New private helper
 functions.
(gnome_dock_add_item): When creating the new band, orient it
 appropriately.

* gnome-dock-layout.c, gnome-dock-layout.h: New files to handle
the docking layout.

* gnome-dock-item.c: Removed unused `GHOST_HEIGHT' and
 `CHILDLESS_SIZE' constants.
(gnome_dock_item_init): Set the container's border width to 1.
(gnome_dock_item_size_request): Request space only for the handle.
(gnome_dock_item_detach): Size_allocate after reparenting, not
 before.
(gnome_dock_item_size_request_with_child): New function.
(gnome_dock_item_init): Do not force a border width anymore.
 (gnome_dock_item_new): New parameter `name'.

* gnome-dock-item.h (struct _GnomeDockItem): New member `name',
 name of the item.  Member `child_detached' renamed to
 `is_floating'.

* gnome-dock.c, gnome-dock.h: Occurrences of the words "detached"
 and "undocked" replaced with "floating" for consistence.
* gnome-dock-item.c, gnome-dock-item.h: Likewise.

* gnome-dock-band.c (calc_prev_and_foll_space): Also consider the
 extra allocated space as empty, reusable space.
(gnome_dock_band_layout_add): New function.

* gnome-dock.c (drag_floating): New parameters `rel_x', `rel_y'.
  Detach only if the pointer is outside all the docking areas.  (To
be fixed.)
(drag_motion): Pass `rel_x' and `rel_y' to `drag_floating'.

1998-12-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>

(gnome_init_cb): Remove the hack mentioned below.
A better bug fix is now available in Imlib.

1998-12-13  Jeff Garzik  <jgarzik@pobox.com>

* gnome-init.c:
Created BROKEN_AXP_IMLIB define to eliminate BadMatch problems
on Alpha, with every single GNOME app that uses imlib.
FIXME: This is a hack that masks the real problem (whatever it is)

1998-12-13  Martin Baulig  <martin@home-of-linux.org>

* gnome-procbar.[ch]: New files. Added the GnomeProcBar that is
 used in GTop and the cpumemusage applet here.

1998-12-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-util.c (gnome_app_activate_statusbar): new private
function: raises the app, sets focus to statusbar and activate it.
(gnome_app_error_bar, gnome_app_message_bar, gnome_app_reply_bar):
activate the statusbar.

1998-12-13  Martin Baulig  <martin@home-of-linux.org>

* gnome-property-entries.c (gnome_property_entry_colors): New
function. See gtop/procview.c and gtop/graph.c for an usage
example.

* gnome-properties.h: Marked as immature.
* gnome-property-entries.h: Marked as immature.

1998-12-13  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-preferences.[ch]: Resurrect {menubar,toolbar}_handlebox as
{menubar,toolbar}_detachable, which should eventually cause the
gnome-dock in gnome-app not to have a handle (not functional yet).

* gnome-app.c, dock_demo.c:
s/container_border_width/container_set_border_width/

* gnome-app.c (gnome_app_set_menus): Set menubar dock item's
border width to 0.

Sat Dec 12  Felix Bellaby  <felix@pooh.u-net.com>

* gnome-client.c (gnome_client_parse_func): set program property so
that non-glibc systems meet SM spec requirements.
(grab_widget): grab widget for gtk events during session save.

1998-12-12  James Henstridge  <james@daa.com.au>

* gnome-href.c: small cosmetic change for this widget.  Now the cursor
is the hand cursor, as in netscape.

1998-12-12  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (setpage by_widget): don't touch GtkNotebook's
members, only use public functions.
(book_create): don't explicitly realize GtkNotebook.
(app_create): likewise for GnomeApps. this probably remained from
the old DnD protocol.
(app_set_view): only queue a resize for the parent menushell once.
(gnome_mdi_set_tab_pos): removed. this should only be set on a
per-user (via ui-properties) and not per-app basis.
* gnome-mdi.h (gnome_mdi_set_tab_pos): removed.

Fri Dec 11 21:45:32 1998 Gregory McLean <gregm@comstar.net>

* *.[c|h] : FSF address update.. (Had the old Mass Ave addy)

1998-12-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-preferences.c: Control the imlib cache from here.

* gnome-init.c: Acknowledge the setting from gnome-preferences to
the imlib cache.

Fri Dec 11 21:36:48 1998  Felix Bellaby  <felix@pooh.u-net.com>

* gnome-client.[ch] (gnome_client_save_any_dialog): more interact API
(gnome_client_save_error_dialog): more interact API

Fri Dec 11 03:16:17 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-icon-item.c (gnome_icon_text_item_stop_editing):
New function.

* gnome-icon-item.c (iti_idx_from_x_y): Fix to
position computation for click location.

* gnome-icon-item.[ch]: Start editing text on release,
not click.

* gnome-icon-item.[ch]: Keep an explicit flag to
tell if we are selecting. editable->have_selection is
something else.

* gnome-icon-list.c (icon_new_from_imlib): connect_after
to the presses on the text, so that the initial
press on text selects, not edits.

1998-12-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gil_button_release): Convert the button
release coordinates to world coordinates before calling
gil_mark_region().

1998-12-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: gnome_mdi_active_*() become
gnome_mdi_get_active_*().
* gnome-mdi.c (book_button_release): raise the app with the
destination notebook. some documentation fixes.
(gnome_mdi_set_active_view): remove all the focus stuff.

1998-12-09  Dave Camp  <campd@oit.edu>
* gnome-dateedit.c (select_clicked): Fixed the problem where
the first time the Calendar button was pushed it didn't place
itself right.  Also made it select the correct date in the
calendar widget
(create_children): Put the gtk_widget_show on the calender
back here.

1998-12-10  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app-helper.c, gnome-app.c (gnome_app_set_menus):
(gnome_app_set_toolbar): Have gnome dock item adhere to gnome
preferences toolbar and menubar relief styles.

* gnome-preferences.[ch]: Updates and cleanups.

{toolbar,menubar}_handlebox preferences removed; obsoleted by
gnome-dock integration.

Renamed toolbar_relief to toolbar_relief_btn.  Renamed
toolbar_flat to toolbar_relief, inverting the logic for
consistency with menubar relief.

1998-12-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (book_button_release): fixed some weird code that
caused mayhem when the last page of a notebook was being dragged
away. did I do this? ;)
(set_active_view): update mdi->active_window.

1998-12-09  Dave Camp  <campd@oit.edu>
        * gnome-dateedit.c (select_clicked):

        Shows the pop-up calendar widget.

        Synchnonizes the pop-up calendar with the date in the entrybox
        (create_children): Took out gtk_widget_show on the calendar, as
        is is now showed in select_clicked.

1998-12-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gil_place_icon): Center images in the icon
list.
(gil_unselect_all): Unselect all of the icons on left button
click.

1998-12-09  Ettore Perazzoli  <ettore@comm2000.it>

* dock_demo.c (main): Updated calls to `gnome_dock_add_item()'.
Set a default window size instead of forcing a minimum size.

* gnome-app.c: #Include "libgnomeui/gnome-dock.h".
(gnome_app_init): Create `dock' and `vbox', and make `dock' child
 of `vbox'.
(gnome_app_configure_positions): `#if 0'ed out.
(gnome_app_menu_set_position): Deprecated.
(gnome_app_toolbar_set_position): Deprecated.
(gnome_app_set_contents): Set `contents' as the `dock''s
 `client_area'.
(make_button_menubar): `#if 0'ed out.
(configure_toolbar): `#if 0'ed out.
(make_button_toolbar): `#if 0'ed out.
(gnome_app_rightclick_menubar): `#if 0'ed out.
(gnome_app_reparent_handle_box): `#if 0'ed out.
(gnome_app_rightclick_toolbar): `#if 0'ed out.
(gnome_app_setpos_activate_menubar): `#if 0'ed out.
(gnome_app_setpos_activate_toolbar): `#if 0'ed out.
(gnome_app_set_menus): Add the bar to the `GnomeDock'.  Removed
 right-click menu and position handling.
(gnome_app_set_toolbar): Likewise with the toolbar.

* gnome-dock.c (gnome_dock_set_client_area): If we already have a
 `client_area', unparent it.  Passing NULL as `widget' now removes
 the `client_area'.
(gnome_dock_add_item): Replaced `return's with `break's in switch.
  New parameter `in_new_band'.  If TRUE, it always adds a new band
 to the specified edge.
 (gnome_dock_add): Updated to the new `gnome_dock_add_item()'.
(gnome_dock_forall): New function, implementing the `forall'
 GtkContainer method.
(gnome_dock_class_init): Install it.
(gnome_dock_destroy): Now useless, removed.
(drag_floating): Add the widget to the `undocked_children' list.
(gnome_dock_remove): Handle the case when the child is a detached
 item.
(gnome_dock_map): Handle detached children.

* gnome-app.h (struct _GnomeApp): New member `dock'.  `table'
replaced by `vbox'.

1998-12-09  Jeff Garzik  <jgarzik@pobox.com>

* gnome-init.c (gnome_init_cb):
Added null-ptr-deref sanity checks.
Bugfix for trigger stuff to handle absent trigger list.

* gnome-mdi.[ch]:
(gnome_mdi_set_child_menu_path, gnome_mdi_set_child_list_path):
Make path arg const-correct.

1998-12-09  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-child.c (gnome_mdi_child_set_label): left-justify
the label. it looks better this way.

1998-12-09  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (client_set_state): New function.
(client_save_yourself_possibly_done): Handle the case, that a
 'SaveYourselfPhase2' request is rejected.
(gnome_client_class_init): Run the 'die' default handler last.
(gnome_client_request_interaction_internal): Handle the case, that
 a 'InteractRequest' is rejected.

* gnome-client.h (enum GnomeClientState): Added additional states.
(struct _GnomeClient): Removed phase.

1998-12-08  Tim P. Gerla  <timg@means.net>

* gnome-paper-selector.c: Added some padding around the dialog.

1998-12-08  Herbert Valerio Riedel  <hvr@hvrlab.ml.org>

* gtk-ted.c: fixed some cast-warnings
* gnome-stock.c: fixed some cast-warnings
* gnome-mdi.c: added #include <string.h> for memcpy()
* gnome-href.c: added #include <string.h> for strlen()
* gnome-font-selector.[ch]: enforced use of const-ness and
       glib-typedefs
* gnome-dns.c: GINT_TO_POINTER() instead of a mere (gpointer)
(gnome_dns_callback): same
* gnome-appbar.c: added #include <string.h> for strlen()
* gnome-init.c: added #include <esd.h> if HAVE_ESD

1998-12-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtkcauldron.c (get_gnome_number_entry_result): Make static.
(get_gnome_file_entry_result): same.

1998-12-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (book_switch_page): only call app_set_view() if the
new current page's child differs from active_view.
(gnome_mdi_set_mode): open a toplevel if there was one open before,
even without any children.
* gnome-app-helper.c (gnome_app_install_statusbar_menu_hints,
gnome_app_install_appbar_menu_hints): handle GNOME_APP_UI_RADIOITEMS
and don't try to set callback for GNOME_APP_UI_HELP entry.

1998-12-08  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-dock-band.h: Removed unused enum that caused
`makeenums.pl' to complain.

1998-12-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: scratched custom functions for creating
menubar/toolbar. use app_created signal instead to customize
each GnomeApp at your will if the GnomeUIInfo templates don't
do it for you. also moved GNOME_MDI_*_INFO_KEYs back to
gnome-mdi.c and added functions to retrieve the UIInfo arrays
from GnomeApps to prevent a temptation of the users to try and
set some of their own data with this key.
* gnome-mdi-session.c: added documentation.
* gnome-app-helper.c (gnome_app_install_menu_hints): new function
that tries to install menu hints depending on type of app->statubar.

1998-12-08  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c, gnome-app-helper.[ch]: Update for integrated
GtkToolbar space style functionality (obsoletes
gnome_app_toolbar_configure; removed).

1998-12-08  Ettore Perazzoli  <ettore@comm2000.it>

* libgnomeui.h: #Include "libgnomeui/gnome-dock.h"
 "libgnomeui/gnome-dock-band.h" and "libgnomeui/gnome-dock-item.h".

* dock_demo.c: New file: temporary demo for the GnomeDock*
 widgets.

* gnome-dock.c, gnome-dock.h: New files implementing the GnomeDock
widget.

* gnome-dock-band.c, gnome-dock-band.h: New files implementing the
GnomeDockBand widget.

* gnome-dock-item.c, gnome-dock-item.h: New files implementing the
GnomeDockItem widget.

1998-12-07  Havoc Pennington  <hp@pobox.com>

* gnome-app-helper.c (gnome_app_install_appbar_menu_hints):
Function which connects the hints in a UIInfo menu struct to
some GnomeAppBar.
(gnome_app_install_statusbar_menu_hints): Same for
GtkStatusbar.

1998-12-08  James Henstridge  <james@daa.com.au>

* gnome-mdi-generic-child.c: added documentation for this widget.

1998-12-07  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.h, gnome-dialog.c
(gnome_dialog_run_and_hide): removed.
(gnome_dialog_set_destroy): removed.
(gnome_dialog_run_modal): removed.
(gnome_dialog_run_and_destroy): removed.
(gnome_dialog_set_modal): removed.
(struct _GnomeDialog): Remove 'parent' member since
GtkWindow has one now.

* gnome-dialog.c (gnome_dialog_set_parent): Call
gtk_window_set_transient_for() to attach dialog to its parent.
Nearly all dialogs should call gnome_dialog_set_parent() now!

1998-12-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-child.[ch], gnome-mdi-generic-child.[ch]:
some cosmetic fixes. added almost all documentation.
* gnome-mdi.c: some doc fixes.

Sun Dec  6 22:40:23 1998  Raph Levien  <raph@gimp.org>

* gnome-canvas.h:
* gnome-canvas.c: Added basic support for antialiased rendering.
It's overeager to repaint (for example, any time an item gets
translated, the entire bounding box gets repainted). There is
no support yet for affine transformations or clip paths. However,
I feel that the basic concept is sound.

* gnome-canvas-rect-ellipse.h:
* gnome-canvas-rect-ellipse.c: I am using the rect-ellipse item as
the basic testbed for adding antialiased rendering. It's certainly
not perfect yet, but it basically works in the test-gnome demo.

1998-12-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: slight indentation changes. added documentation
to public functions.

1998-12-05  Jeff Garzik  <jgarzik@pobox.com>

* gnome-href.[ch]:
Made const-correct.
Added API docs.
Small formatting cleanups (judicious use of blank lines).
gnome_href_new() returns NULL if url arg is NULL.  (this is
implied with gnome_href_set_url checks)

1998-12-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-about.c (gnome_about_new): I got a bit carried away.

1998-12-04  Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.h: removed GNOME_MDI_REDRAW enum.
* gnome-mdi.c (gnome_mdi_set_mode): fixed a bug that caused
a toplevel window to be opened during the initial call.
(gnome_mdi_add_toplevel_view): make it do what you want it
to (One Of The Few, Pink Floyd, Final Cut, 1983) ;).
* gnome-mdi-session.h: changed typedef GnomeMDIChildCreate to
GnomeMDIChildCreator - it sounds better ;).
* gnome-mdi-session.c (gnome_mdi_save_state): properly save
window origins. fixed window ids to REALLY be the pointers
to GnomeApps. session saving should now work for all modes.
(widget_parent_func): removed. use view_window_func instead.
(window_list_func): removed.

1998-12-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: Indentation fixes.  Also, the main canvas module
now has full documentation!  Wheee!

1998-12-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-about.c (gnome_about_new): Add checks.

Wed Dec  2 12:51:54 1998  Raph Levien  <raph@gimp.org>

* gnome-canvas.h:
* gnome-canvas.c (gnome_canvas_request_redraw): This is the
microtile patch. Added gnome_canvas_request_redraw_uta, and
it all works with microtiles now.

1998-12-02  Martin Baulig  <martin@home-of-linux.org>

* gnome-properties.c: Added new GnomeProperty code here.

* gnome-property-entries.[ch]: New files. Makes it more easy
to create commonly used property entries like font properties etc.

1998-12-01  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gil_button_press): Grab the rectangle
selection item to grab the mouse.
(gil_button_release): Ungrab the item and thus the mouse.
(gil_button_press): Use a nice stipple pattern for the selection
rectangle.
(gil_mark_region): Do not look amateurish; make the selection
rectangle only extend to the borders of the window.
(gnome_icon_list_thaw): Do not allow thaws if the freeze counter
is <= zero.
Reverted all gil->frozen > 0 tests.

1998-12-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gil_mark_region): New routine.  Expand the
selection on the timeout handler as well.  This makes the banding
selection in the GnomeIconList much nicer when the mouse is
outside of the window.

1998-12-01  Justin Maurer  <justin@openprojects.net>

* gnome-paper-selector.[ch]: i f'ed up. checking in old versions.
starting again.

1998-12-01  Jeff Garzik  <jgarzik@pobox.com>

* gnome-app-helper.[ch]:
Updated API docs a bit.

(gnome_app_fill_menu, gnome_app_fill_menu_custom):
Changed insert_shortcuts to a gboolean.
Reformatted surrounding comments to fit in 80 columns.

1998-12-01  Dietmar Maurer  <dm@vlsivie.tuwien.ac.at>

* gnome-app-helper.[ch]: use the new gtk_pixmap_menu_item.
Removed indent_missing_pixmap parameter, since correct
indentation is handled by gtk_pixmap_menu_item.
create_pixmap_and_label replaced by create_label.

* gtkpixmapmenuitem.c: added new remove function.

1998-12-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c, gnome-mdi-child.[ch], gnome-mdi-generic-child.[ch]
gnome-mdi-session.c: applied James Henstridge's interp modifications
to make creating bindings for other languages easier.

1998-11-30  Justin Maurer  <justin@openprojects.net>

* gnome-paper-selector: merge old code with new, add in seth's
changes. sloppy. will test more.

1998-11-30  Jonathan Blandford  <jrb@aware-of-vacuity.labs.redhat.com>

* gnome-popup-help.c (gnome_popup_help_place_window): quick buglet fix

1998-11-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.h: Removed obsolete comment about
gnome_icon_list_new_thawed().

* gnome-icon-list.c: All the assertions that checked for the
number of icons in the ilist were wrong.  Fixed them.

1998-11-29  Justin Maurer  <justin@openprojects.net>

* gnome-app-helper.c: voila! done. small scattered bugfixes.

1998-11-29  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (client_save_yourself_possibly_done): New function.
(client_save_phase_2_callback): Uses new function.
(client_save_yourself_callback): Likewise.
(gnome_interaction_key_return): Likewise.

1998-11-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c, gnome-mdi-child.[ch], gnome-mdi-generic-child.[ch]:
changed all occurences of set_book_label to set_label.
* gnome-mdi.c (child_list_menu_*): use set_label function
to provide menu item labels as well as notebook page labels!

1998-11-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-sel.c (gnome_icon_selection_init): Fix to the new
behaviour of GnomeIconList.

* gnome-icon-list.c: Frozen tests are now done by comparing the
sign, not comparing different than zero.
(gil_init): IconList no longer starts in frozen state by popular demand.

1998-11-29  Havoc Pennington  <hp@pobox.com>

* gnome-guru.c: add a cast or two to remove compiler
warnings.

1998-11-29  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-app-helper.c (create_menu_item): Don't put unprotected
newlines in strings.  It is not portable.
(create_radio_menu_items): Likewise.
(create_help_entries): Likewise.
(create_toolbar_item): Likewise.
(create_radio_toolbar_items): Likewise.
(gnome_app_remove_menus): Likewise.
(gnome_app_insert_menus_custom): Likewise.

Sat Nov 28 21:30:09 1998  George Lebl  <jirka@5z.com>

* gnome-icon-sel.c: use GnomeIconList instead of CList, fixed
  minor possible leak with non-shown icons, and made _clear
  take an extra parameter as a boolean wheather the non shown
  icons are also cleared or not. Also documented the widget's
  functions

* gnome-icon-entry.c: fixed a small assumption about internals
  of icon-sel and documented the functions in icon-entry

* gnome-pixmap.c: do gtk_widget_combine_mask instead of the gdk
  function, this fixes pixmap problems with themes in case an
  x window is used

1998-11-28  Justin Maurer  <justin@openprojects.net>

* gnome-app-helper.h: removed GNOMEUIINFO_SUBTREE_ITEM_STOCK macro
(redundant). removed right justification stuff.

* gnome-app-helper.c: removed right justification stuff. cleaned up
code.
(create_help_entries): takes one less argument now.
(create_radio_menu_items): same.

1998-11-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-propertybox.c (gnome_property_box_append_page): Add checks
to the entry points.
(gnome_property_box_set_state): New function, lets you unsensitize
the properybox.
(gnome_property_box_changed): Check input parameters.

API document GnomePropertyBox.

* gnome-icon-list.c: (gnome_icon_list_new_thawed); New method to
create an IconList which starts up life in thawed state.

1998-11-28  Stuart Parmenter  <pavlov@pavlov.net>

* *.c
s/gtk_container_border_width/gtk_container_set_border_width/
s/gtk_window_position/gtk_window_set_position/
s/gtk_notebook_current_page/gtk_notebook_get_current_page/

* gnome-dialog.c:
        make sure that we initialize the action_area if the buttons args are
null.  Martin: this isn't how you had just changed things, but this
breaks Balsa the way you have it.

1998-11-28  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (client_set_value): New function.
(client_set_string): Renamed from 'client_set_prop_from_string'.
(client_set_gchar): Renamed from 'client_set_prop_from_gchar'.
(client_set_array): Renamed from 'client_set_prop_from_array'.
(client_set_array_with_arg): Renamed from
 'client_set_prop_from_array_with_arg'.
(client_unset): Renamed from 'client_unset_prop'.
(client_set_ghash): New function.
(client_set_prop_from_glist): Removed.

* gnome-client.h (struct _GnomeClient): Changed int-typed boolean
 members to gboolean.  Removed 'number of interact_requests' and
 replaced it with 'interaction_keys'. Member 'number of ...'
  renamed to 'save_yourself_emitted'. Made 'enviroment' of type
 'GHashTable' instead of 'GList'.

1998-11-26  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (interaction_key_find_by_tag): New function.
  Searchs a interaction key with a given tag.
(struct _InteractionKey): Renamed '_GnomeInteractData'.
(interaction_key_destroy): Renamed 'gnome_interaction_destroy'.
(interaction_key_destroy_if_possible): Renamed
 'gnome_interact_remove'.
(interaction_key_new): New function.
(interaction_key_use): Renamed 'gnome_invoke_interact_function'.

1998-11-28  Herbert Valerio Riedel  <hvr@hvrlab.ml.org>

* gtkspell.c, gnome-color-picker.c: added #include <gtk/gtkcompat.h>
because of the recent renaming in gtk+

1998-11-28  Dietmar Maurer  <dm@vlsivie.tuwien.ac.at>

* gtkpixmapmenuitem.[ch]: new widget for menu_items with pixmaps. See
  gtkpixmapmenuitem.h for a short description. Please can someone
  change gnome-app-helper to use this new widget (makes
  indent_missing_pixmaps obsolete)

1998-11-27  Tom Tromey  <tromey@cygnus.com>

* gnome-app-helper.h (GNOMEUIINFO_ITEM): Fixed typo (inserted
newline after backslash).

1998-11-27  Justin Maurer  <justin@openprojects.net>

* gnome-app-helper.c: Added GNOMEUIINFO_SUBTREE_ITEM_STOCK macro. Added
GNOMEUIINFO_SUBTREE_STOCK macro (currently broken). Cleaned up comments.

1998-11-27  Martin Baulig  <martin@home-of-linux.org>

* gnome-properties.[ch]: Scratched it. Please do not remove this
two files from CVS and the Makefile.am at the moment since I want
to add some functions here.

1998-11-27  Martin Baulig  <martin@home-of-linux.org>

* gnome-dialog.c (gnome_dialog_init): Don't create separator and
 action area here so it won't be shown if the dialog contains no
buttons at all.
 (gnome_dialog_init_action_area): New static function to create
 separator and action area.
(gnome_dialog_append_button*): Call gnome_dialog_init_action_area.

* gnome-dialog.c (gnome_dialog_append_button_with_pixmap):
New function to add arbitrary button with a pixmap, if the
pixmap is NULL this is equivalent to gnome_dialog_append_button.
(gnome_dialog_append_buttons_with_pixmaps): New function to
add multiple buttons with pixmaps. This is basically what
gnome_dialog_append_buttonsv does for ordinary buttons.

1998-11-27  bertrand  <Bertrand.Guiheneuf@inria.fr>

* gnome-canvas-line.c (gnome_canvas_line_draw): use the new parameter
in item_to_canvas to know the actual number of points drawn.

1998-11-27  bertrand  <Bertrand.Guiheneuf@inria.fr>

* gnome-canvas-line.c (item_to_canvas): Don't draw twice the same point
speeds up a lot when line contains a lot of points and the zoom factor
is very small.

Fri Nov 27 00:34:44 1998  George Lebl  <jirka@5z.com>

* gnome-pixmap.c: check the visuals and if imlib and gdk visuals
  are the same, morph ourselves into a GTK_NO_WINDOW widget and
  work more like gtkpixmap

* gnome-stock.c: combine_mask only needs to be called if gnomepixmap
  is a window widget otherwise it spits out a warning

1998-11-27  Jeff Garzik  <jgarzik@pobox.com>

* gnome-dialog-util: (gnome_question_dialog*, gnome_ok_cancel*):
NULL callbacks now supported.

* gnome-geometry.c:
Added API docs.

* gnome-calculator.c, gnome-client.c, gnome-dateedit.c,
gnome-entry.c, gnome-font-picker.c, gnome-font-selector.c,
gnome-geometry.c, gnome-init.c, gnome-mdi-session.c,
gnome-scores.c, gnome-stock.c, gtk-ted.c,
gtkdial.c, gtkspell.c, stock_demo.c, ted_demo.c,
winhints_demo.c:

        Replaced sprintf calls with g_snprintf.
        Updated a couple hardcoded length values to instead use sizeof().

Thu Nov 26 21:20:10 1998  George Lebl  <jirka@5z.com>

* gnome-pixmap-entry.c: added inline docs

1998-11-26  James Henstridge  <james@daa.com.au>

* gnometypes.c: added ability to register new boxed types.  This
is encapsulated in the function gnome_type_register_boxed, which
maybe should be moved to GTK.

* gnome-boxed.defs: added definitions of GdkImlibImage and
GnomeCanvasPoints, so type id's will be generated for them.

* gnome-canvas-image.c, gnome-canvas-line.c,
gnome-canvas-polygon.c, gnome-canvas-rect-ellipse.c,
gnome-canvas-text.c: changed occurences of GTK_TYPE_POINTER to
GTK_TYPE_GDK_IMLIB_IMAGE or GTK_TYPE_GNOME_CANVAS_POINTS where
appropriate.  Also changed the type for the stipples from
GTK_TYPE_BOXED to GTK_TYPE_GDK_WINDOW.

* gnome-font-picker.c: changed the argument to the font_set
signal from GTK_TYPE_POINTER to GTK_TYPE_STRING.

* gnome-icon-list.c: changed argument to (un)select_icon signals
from GTK_TYPE_POINTER to GTK_TYPE_GDK_EVENT.

1998-11-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk-ted.c (gtk_ted_init): Buglette fix.

Thu Nov 26 19:09:46 1998  George Lebl  <jirka@5z.com>

* gnome-file-entry.c: add inline documentation

1998-11-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-entry.c (show_icon_selection): Fixed spacing.

* gnome-file-entry.c (gnome_file_entry_get_full_path): Fixed spacing.

1998-11-26  Jeff Garzik  <jgarzik@pobox.com>

* gnome-dialog-util.[ch]: new, more generic function
  gnome_request_dialog().

  This replaces the now-deprecated
  gnome_request_string_dialog(),
  gnome_request_string_dialog_parented(),
  gnome_request_password_dialog(), and
  gnome_request_password_dialog_parent().

1998-11-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-session.c: make it respect latest changes to GnomeMDI.

1998-11-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-generic-child.[ch]: new object to allow simple
use of GnomeMDI without subclassing GnomeMDIChild.
* gnome-mdi-child.h (struct _GnomeMDIChildClass): converted
signals to "virtual" functions. they made no sense as signals
since all of them return allocated memory.
(gnome_mdi_child_new): removed. GnomeMDIChild is now an abstract
class.
* gnome-mdi-child.c (gnome_mdi_child_new): removed
(gnome_mdi_child_class_init): removed all signals, simply
set proper default values for "virtual" function pointers instead.
* gnome-mdi.[ch]: converted create_menus and create_toolbar from
signals to ordinary function members of GnomeMDI: now you have
to set them with gnome_mdi_set_[tool|menu]bar_creator() functions
instead of connecting handlers with gtk_signal_connect(). this will
probably _BREAK_ each and every app using GnomeMDI. sorry! ;)
(gnome_mdi_set_menu_template): is now gnome_mdi_set_menubar_template()
* gnome-mdi.c (setpage by_widget): check page != NULL instead of
page_num == -1. I know they should be the same, but this somehow
makes me more confident ;)

Thu Nov 26 02:53:44 1998  George Lebl  <jirka@5z.com>

* gnome-{file,icon,pixmap}-entry.c: use the new g_file_test
  function instead of custom ones, reduces codesize by 44 lines
  yay! :)

Thu Nov 26 01:56:38 1998  George Lebl  <jirka@5z.com>

* gnome-pixmap-entry.c: actually make preview work with the new
  scrolled window stuff by destroying the viewport not just the
  widget

Thu Nov 26 01:13:51 1998  George Lebl  <jirka@5z.com>

* gnome-icon-entry.c: use the browse_dialog_title of the file entry
  for the icon selection

Thu Nov 26 00:43:48 1998  George Lebl  <jirka@5z.com>

* gnome-dentry-edit.[ch]: now use icon_entry for the icon
  selection, also an important change is a slight api change
  for more consistency, _new doesn't take any argument, it will
  just create two pages for any kind of use, there is a function
  that acts like the onld _new, _new_notebook

1998-11-25  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.[ch] (gnome_client_set_restart_style):
(gnome_real_client_connect):
(gnome_client_request_save):
(client_save_yourself_callback):
(gnome_client_request_interaction_internal):
(enum GnomeInteractStyle):
(enum GnomeDialogType):
(enum GnomeSaveStyle):
(enum GnomeRestartStyle): Removed the enum's dependence on XSM
 definitions.  'gnome-client.h' does not depend on 'SMlib.h'
 anymore.
 (gnome_interaction_key_return): Changed int-typed boolean arg to
 gboolean.

* gnome-client.h (struct _GnomeClient): Renamed member 'save_type'
 in 'save_style'.

1998-11-25  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-client.c (gnome_client_new_without_connection):
Use `gnome_app_id' to initialize client->program.

1998-11-25  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.c (gnome_dialog_run): Monitor destroy events, and
don't manipulate destroyed dialogs.
(gnome_dialog_run_and_destroy):Deprecated.
(gnome_dialog_run_and_hide):    Deprecated.
(gnome_dialog_run_modal):       Deprecated.

1998-11-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: Removed unused function "dummy".

1998-11-25  Dietmar Maurer  <dm@vlsivie.tuwien.ac.at>

* gnome-app-helper.c (gnome_app_configure_toolbar)
only replace [hv]separators, not all GTK_TOOLBAR_CHILD_WIDGETs!

1998-11-25  James Henstridge  <james@daa.com.au>

* gtkcauldron.h (constants): Altered the values of a few of the
constants (previously GTK_CAULDRON_SPACE15 & GTK_CAULDRON_IGNOREESCAPE
was non zero).

1998-11-24  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (struct _GnomeInteraceData): Made 'in_use' and
 'interp' of type 'gboolean'.

1998-11-24  James Henstridge  <james@daa.com.au>

* gnome-icon-item.c (iti_paint_text): Do not dereference null pointer.

1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c (gnome_app_set_toolbar):
gnome-app-helper.c (gnome_app_fill_toolbar_custom): Listen to
toolbar labels setting.

* gnome-preferences.[ch] (prefs =): Add toolbar labels option,
default to use labels.

* gnome-app-helper.h: Add gnome_app_configure_toolbar public
prototype below gnome_app_fill_toolbar_custom.

* gnome-app-helper.c (gnome_app_fill_{menu,toolbar}_custom):
Configure any gnome app preferences which can be set here as well.

* gnome-app-helper.c (gnome_app_configure_toolbar):
gnome_app_configure_toolbar_separators from gnome-app.c moved to
public function here.  Useful for toolbars created with
gnome_app_fill_toolbar.
(create_toolbar_item): Listen to toolbar orientation for
separators at creation time.

* gnome-app.c (gnome_app_configure_positions): Call
gnome_app_configure_toolbar gnome-app-helper function instead of
gnome_app_configure_toolbar_separators.

1998-11-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_destroy): Free the color context
when the canvas is destroyed.

1998-11-24  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c: Removed definition of
 'gnome_client_new_default'.

* gnome-client.h: Removed declaration of
 'gnome_client_new_default'.

Tue Nov 24 01:56:28 1998  George Lebl  <jirka@5z.com>

* gnome-icon-entry.[ch]: new files, new widget for handeling
  of picking an icon, basically somewhat like pixmap-entry,
  but uses a picker button similiar to what was in dentry-edit,
  but this will allow both typing of a filename in a file selection
  widget for those keyboard people like me or picking an icon
  out of a list

* Makefile.am,libgnomeui.h: update for the above

1998-11-24  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c (gnome_client_init): Changed error handling
 slightly.  No aborts directly, if the master_client can't be
 created.
(gnome_master_client): Removed assertion.
(client_parse_func): Changed error handling slightly.  If a
 '--sm-client-id' and a '--sm-cloned-id' option is given, the
 'cloned_id' is now always taken from the '--sm-cloned-id'.
(gnome_client_object_init): Free 'pwd' after using it.

Mon Nov 23 23:55:41 1998  Owen Taylor  <otaylor@redhat.com>

* libgnomeui.h Makefile.am gtk{-plug,-socket,layout}.{c,h}
gnome-canvas.h:Moved Plug/Socket and Layout widgets to GTK+.

1998-11-23  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c (gnome_app_configure_toolbar_separators): Combined
version of the h/vseparator replacement code to be smaller.  Also
changed to work directly on a GtkToolbar to be more generic.

1998-11-23  Jeff Garzik  <jgarzik@pobox.com>

* gnome-client.[ch]: (gnome_client_request_save):
  Changed int-typed boolean args to gbooleans.
* gnome-canvas.c, gnome-client.c: Added API doc stubs.
* gnome-calculator.[ch]: Changed gnome_calculator_clear() reset arg
  from a gint to a gboolean, reformatted a bit, and added const'ness.
  No gnome apps appear to depend on this function.

  Added API docs to gnome-calculator.

1998-11-23  Havoc Pennington  <hp@pobox.com>

* gnome-appbar.c: Improve the docs a bit (mostly insignificant,
one mistake fixed).

1998-11-23  Jeff Garzik  <jgarzik@pobox.com>

* gnome-animator.c, gnome-app.c, gnome-appbar.c: Documented.
* gnome-app-helper.c, gnome-app-util.c: added doc stubs, some docs.

Mon Nov 23 02:19:09 PST 1998 Manish Singh <yosh@gimp.org>

* libgnomeui/gnome-font-selector.c
* libgnomeui/gnome-pixmap-entry.c
* libgnomeui/gtkcauldron.c
* libgnomeui/gtkspell.c
* libgnomeui/winhints_demo.c: use gtk_scrolled_window_add_with_viewport

Mon Nov 23 01:25:26 PST 1998 Manish Singh <yosh@gimp.org>

* gnome-pixmap.c: remove reference to GTK_BASIC, it's gone now

1998-11-22  Jay Painter <jpaint@serv.net>

* gnome-font-picker.c: fixed a dumb bug where the
gnome_font_picker_dialog_destroy would end up calling
g_free(gfp->preview_text), double-freeing the the memory
and killing the next call to malloc()

1998-11-22  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app-helper.c (create_toolbar_item): Do not create line
separators if prefs has toolbar lines option off.

* gnome-preferences.[ch]: Add toolbar_flat and toolbar_lines
preferences.  Default is set to have non-flat toolbars and toolbar
lines.

* gnome-app.c (gnome_app_configure_toolbar_[hv]separators): Always
attempt separator reconfiguration, if possible.
(gnome_app_set_toolbar): Adjust for flat toolbar in prefs, and
adjust border width slightly larger in the original case of relief
overlapping buttons without relief where the handlebox seems
broken. Set space size to GNOME_PAD if we are not using toolbar
lines.

Sun Nov 22 03:40:33 1998  George Lebl  <jirka@5z.com>

* gnome-number-entry.c: when the dialog exists update the info,
  also made some cleanup here

* gnome-color-picker.c: when dialog exists update it to the current
  value

* gnome-file-entry.c: add directory browsing capability
  (set_directory)

Sun Nov 22 02:41:12 1998  George Lebl  <jirka@5z.com>

* gnome-font-picker.c: raise the window on click if one exists
  already, so that if it was obscured, the user doesn't get
  confused

Sun Nov 22 01:11:26 1998  George Lebl  <jirka@5z.com>

* gnome-pixmap-entry.[ch]: added a simple preview for the pixmaps
  to the file selection dialog

* gnome-file-entry.h: added comment about browse_clicked signal

Sat Nov 21 22:57:15 1998  George Lebl  <jirka@5z.com>

* gnome-calculator.c: don't reset the calculator on realize, just
  write the current number as it might have been already set, and
  check for realized before trying to write the font

* gnome-number-entry.[ch]: get rid of problems with multiple
  dialogs and non-modalness of the dialog as in the previous
  cases (only one dialog, destroy on entry destroy)

Sat Nov 21 19:08:01 1998  George Lebl  <jirka@5z.com>

* gnome-color-picker.c: catch destroy event on the dialog, don't
  start a new dialog when one was started already, kill a couple
  of redundunt functions (destroy_cs,cancel)

1998-11-21  Andrew T. Veliath  <andrewtv@usa.net>

* gnome-app.c (gnome_app_configure_toolbar_hseparators): New
function; reconfigures vseparators to horizontal.
(gnome_app_configure_toolbar_vseparators): New function;
reconfigures hseparators to vseparators.
(gnome_app_configure_positions): Reconfigure toolbar separators to
given orientation. Changed separator length to GNOME_PAD * 2 (also
in gnome-app-helper.c: create_toolbar_item).  Ideally, this should
be calculated as a fraction of toolbar button_maxw/button_maxh.

* gnome-app-helper.c (gnome_app_create_menus_custom): Move menu
relief setting code to gnome_app.c (gnome_app_set_menus).
(gnome_app_create_toolbar_custom): Move space size setting to
gnome_app.c (gnome_app_set_toolbar) with change: if toolbar has
relieved buttons, use GNOME_PAD as space size, else use
GNOME_PAD_SMALL.
(create_toolbar_item): Use multiple of GNOME_PAD instead of
GNOME_PAD_BIG for separator height.

* gnome-preferences.c (gnome_preferences_load_custom): Toolbar
button relief default changed to "=false" to match
GnomePreferences structure default.

* gnome-app-helper.c (gnome_app_create_menus_custom): If menubar
relief is set to none, set menu bar shadow type to GTK_SHADOW_NONE.
(gnome_app_create_toolbar_custom): Remove the extra pad to toolbar
added previously, it's not needed now that handle box doesn't have a
relief in the case where it overlapped.

* gnome-preferences.c (prefs =): Add default for menubar_relief as
TRUE (i.e. unchanged behavior).  Add define for MENUBAR_RELIEF_KEY.
(gnome_preferences_load_custom): Load for menubar relief.
(gnome_preferences_save_custom): Save for menubar relief.
(gnome_preferences_{get,set}_menubar_relief): New functions.

* gnome-preferences.h: Add menubar_relief to GnomePreferences.
Add prototypes for gnome_preferences_{get,set}_menubar_relief.

* gnome-app.c (gnome_app_set_toolbar): If toolbar relief is set to
none and we are using a detachable toolbar, set handle box shadow
type to GTK_SHADOW_NONE.

* gnome-app-helper.c (create_toolbar_item): Insert a vseparator
with spaces if relief is set to none, rather than just a space.
(gnome_app_create_toolbar_custom): Set toolbar space size to
GNOME_PAD.  If relief is set to none, set border width of toolbar
to max (3, GNOME_PAD_SMALL / 2).

Fri Nov 20 01:48:01 1998  George Lebl  <jirka@5z.com>

* gnome-mdi.c: fix warnings about casting by using the G*_TO_*
  macros

* gnome-pixmap-entry.[ch]: add a get_filename function which
  returns a file only if it was able to load it as a pixmap with
  imlib. it also doesn't try to read directories as images anymore

Fri Nov 20 00:21:45 1998  George Lebl  <jirka@5z.com>

* gnome-segv.c: made button_click and delete_event static as to
  get rid of a warning

* gnome-file-entry.[ch]: added browse_clicked signal, which will
  be used in pixmap entry for modifying the file selection dialog,
  also made the set_default_path run the path through realpath
  to get rid of weird things in paths

* gnome-pixmap-entry.[ch]: a new widget that uses the file entry
  and can include a preview of the image that was picked, in the
  future it will have a file selection widget that is a lot like
  the electric eyes one

1998-11-20  Jonathan Blandford  <jrb@redhat.com>

* gnome-popup-help.c (popup_pre_callback): Now Cut and Copy are
disabled if there is no selection.

1998-11-20  Evan Lawrence <evan@worldpath.net>

* gnome-app-helper.[ch]: Added a gnome_app_remove_menu_range
  function, that allows you to specify a path to a menu to remove,
  plus an offset from that menu to begin removing items at -
  useful for recent documents in the file menu, see gEdit for
  an example.

Fri Nov 20 00:24:00 1998  Jeff Garzik  <jgarzik@pobox.com>

* gnome-icon-list.c: fixed doc string after CVS conflict
* gnome-about.c: added API docs

Beginning of libgnomeui doc landing.

Thu Nov 19 20:37:10 1998  George Lebl  <jirka@5z.com>

* gnome-file-entry.[ch]: added default paths and made modality
  optional, also added a utility function for getting the
  filename

1998-11-19  Havoc Pennington <hp@pobox.com>

* gnome-appbar.h, gnome-appbar.c: Add a function to get at the
GtkProgress.
* gnome-preferences.c: Change dialog default to "center of
screen," this emulates KDE and is nicer anyway. Change toolbar
default to no button relief.

1998-11-19  Jonathan Blandford  <jrb@redhat.com>

* gnome-popup-help.c (gnome_widget_add_help_with_uidata): we don't
actually want to not add help if we have no window, we just don't
wan't to subscribe to events.

Wen Nov 18 1998  Tim Gerla   <timg@means.net>

        * gnome-uidefs.h: Fixed another bug. :P

Wed Nov 18 17:12:07 1998  Raph Levien  <raph@gimp.org>

* Makefile.am: added links to libart_lgpl
* gnome-canvas.c: minimal dependency on libart

Wen Nov 18 04:57 PM 1998  Tim Gerla   <timg@means.net>

        * gnome-uidefs.h: Fixed to really be GnomeUIInfo compatible.

Wen Nov 18 03:26 PM 1998  Tim Gerla   <timg@means.net>

        * gnome-uidefs.h: Added some keybindings.

1998-11-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-rect-ellipse.c (set_stipple): Only do
gdk_gc_set_stipple if the stipple pixmap is not NULL.  Otherwise,
just use gdk_gc_set_fill() to set the fill mode to GDK_SOLID.

* gnome-canvas-line.c (set_stipple): Likewise.

* gnome-canvas-polygon.c (set_stipple): Likewise.

* gnome-canvas-text.c (set_stipple): Likewise.

1998-11-18  Tuomas Kuosmanen  <tigert@fun112.koivukyla.hoas.fi>

* gnome-stock.[c,h], stock_demo.c, pixmaps/stock_index.png
I updated the index stock-icon, and added stock icons for
alignment (left, right, center, justify) - (I thought I added
Changelog entries for these already!?) - index is meant for
the Help Browser for example, alignment stuff for
gnumeric and all editors/wordprocessors/whatever.

1998-11-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: got rid of all the DnD stuff and implemented my own
method for dragging notebook pages around. it works much better now
and doesn't confuse the children any more.
* gnome-mdi.h (struct _GnomeMDI): new mebers signal_id and in_drag
to serve the above changes ;).

1998-11-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c: Applied patch by Samuel Solon
<ssolon@usa.net> to make the icon list have hadjustment and
vadjustment object arguments, to act in the same way as GtkCList.
You now have to insert the GnomeIconList inside a
GtkScrolledWindow.

Sat Nov 14 14:55:48 1998  John Ellis  <johne@bellatlantic.net>

* gone-icon-sel.c(gnome_icon_selection_init): Add scrolled window
for the clist of icons.

Fri Nov 13 11:29:22 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-rootwin.c: Include gdkx.h not gdkprivate.h

1998-11-11  Havoc Pennington  <hp@pobox.com>

* gnome-geometry.c (gnome_geometry_string): Use
gdk_window_get_root_origin().

1998-11-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (popup_connect_func): Only connect to the
signal if the callback is not NULL.
(gnome_popup_menu_do_popup): If the event is NULL, use button 0
and GDK_CURRENT_TIME to pop up the menu.
(gnome_popup_menu_do_popup_modal): New public function to run a
popup menu modally, and return the index of the selected item.

* gnome-app-helper.c (do_ui_signal_connect): Only connect to the
signal if the callback is not NULL.

Wed Nov  4 11:31:57 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_filter_func): Call
gdk_window_destroy_notify() on a DestroyNotify, so
that the window gets removed from the XID table.

1998-11-09  Jeff Garzik  <jgarzik@pobox.com>

        * libgnomeui/Makefile.am,
          libgnomeui/gnome-dateedit.c, libgnomeui/gtkcalendar.c,
          libgnomeui/gtkcalendar.h, libgnomeui/libgnomeui.h:

                Removed gtkcalendar module.

1998-11-09  Jonathan Blandford  <jrb@aware-of-vacuity.labs.redhat.com>

* gnome-popup-help.c (gnome_popup_help_expose): added theme'd
drawing code back to the popup-window.

1998-11-08  Havoc Pennington  <hp@pobox.com>

* gnome-canvas.c (gnome_canvas_group_draw):
In determining whether to redraw each child, the group was
comparing its own bounds to the redraw area on each iteration,
ignoring the child's bounds. So all children were redrawn in every
case. Fixed this typo from hell after staying up all night trying
to figure out why my app was so slow.

1998-11-07  Jeff Garzik  <jgarzik@pobox.com>

* Makefile.am, libgnomeui.h: removed gnome-lamp.[ch]
* stock_demo.c: removed ifdef'd gnome_lamp widget code
* winhints_demo.c: made authors var const-correct
* gnome-lamp.[ch]: removed (general consensus considers
  gnome-lamp unused and ugly)

1998-11-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.[ch] (gnome_icon_text_item_get_text): New public
function to query the text from the icon item.

* gnome-icon-list.c (text_changed): Use gnome_icon_text_item_get_text().

1998-11-05  Chris Lahey  <clahey@umich.edu>

* pixmaps/Makefile.am (stock_images):
* gnome-stock.c:
* gnome-stock.h: Added GNOME_STOCK_PIXMAP_INDEX, a small pile of
documents.

* pixmaps/stock_index.png: Added this file.  The image for
GNOME_STOCK_PIXMAP_INDEX.

* gnome-app.c (gnome_app_set_toolbar): Removed an incorrect #ifdef
to get flat toolbars to work.

1998-11-05  Felix Bellaby <felix@pooh.u-net.com>

* gnome-client.c (options): Added CBFLAGS to make connection to
master_client.

1998-11-04  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-net.c (make_inetaddr): Use memset/memcpy rather than
bzero/bcopy.
(gnomesupport.h): Include.
(max_sockets): Specify `int' type.

1998-11-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtkcauldron.c: Make private functions static.

1998-11-04  Havoc Pennington  <hp@pobox.com>

* gnome-guru.c, gnome-guru.h: New widget, a simple-minded wizard
widget.
* gtkrc: Add a style for the title of each page in the GnomeGuru.
It only works with the standalone guru though, not the
guru-in-a-dialog. See test-gnome for demo. weird.
* libgnomeui.h, Makefile.am: added.
* gnome-icon-sel.c: The type of parent_class was wrong.

1998-11-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.h (GnomeIconTextItemClass): Added an
"editing_started" signal, too.

* gnome-icon-item.c (iti_class_init): Create the new signal.
(iti_start_editing): Emit the editing_started signal.

* gnome-icon-item.h (GnomeIconTextItemClass): Added an
"editing_stopped" signal.  It is emitted when the user presses
enter or esc and thus finishes editing the item.

* gnome-icon-item.c (iti_class_init): Create the new signal.
(iti_stop_editing): Emit the editing_stoppled signal.

1998-11-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: Updates to the TO-DO list.

1998-11-03  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-child.[ch] (gnome_mdi_active_window): return active_window
member.

1998-11-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-child.[ch]: added "set_book_label" signal, giving the user
some control over the notebook labels. see source and header for some
comments on the handler.
* gnome-mdi.c (book_add_view, gnome_mdi_update_child): emit
"set_book_label" signal to obtain or update the notebook label.

1998-11-01  Federico Mena Quintero  <federico@nuclecu.unam.mx>

Wheee!  Now we have stippling capabilities in the canvas.

* gnome-canvas.h (GnomeCanvas): Added fields for the offsets of
the temporary drawing pixmap.  This is needed by
gnome_canvas_set_stipple_origin().

* gnome-canvas.[ch] (gnome_canvas_set_stipple_origin): New public
function to set the stipple origin of an item's gc.  For use only
by item implementations.

* gnome-canvas.c (paint): Set the draw_xofs and draw_yofs fields
of the canvas.

* gnome-canvas-rect-ellipse.h (GnomeCanvasRE): Added fields for
the fill and outline stipple patterns.

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_class_init): Added
the arguments for stippling.
(set_stipple): New convenience function to set the stipple pattern
of a gc.
(gnome_canvas_re_set_arg): Set the fill/outline stipple arguments.
(gnome_canvas_re_get_arg): Query the fill/outline stipple
arguments.
(gnome_canvas_re_reconfigure): Reset the stipples.
(gnome_canvas_rect_draw): Set the origin of the stipple patterns
as appropriate.
(gnome_canvas_ellipse_draw): Likewise.
(gnome_canvas_re_destroy): Unref the stipple bitmaps.

* gnome-canvas-text.h (GnomeCanvasText): Added a stipple field.

* gnome-canvas-text.c (gnome_canvas_text_class_init): Register the
fill_stipple argument.
(gnome_canvas_text_destroy): Unref the stipple bitmap.
(set_stipple): New convenience function to set the stipple pattern.
(gnome_canvas_text_set_arg): Set the fill_stipple argument.
(gnome_canvas_text_get_arg): Query the fill_stipple argument.
(gnome_canvas_text_draw): Set the stipple origin as appropriate.

* gnome-canvas-line.h (GnomeCanvasLine): Added a stipple field.
Also, removed the arrow_gc field, since it was never used for
drawing.

* gnome-canvas-line.c (gnome_canvas_line_class_init): Add the
fill_stipple argument.
(gnome_canvas_line_destroy): Unref the stipple if it exists.
(set_stipple): New function to set the stipple pattern on the
line's gcs.
(gnome_canvas_line_set_arg): Set the stipple argument.
(gnome_canvas_line_get_arg): Query the stipple argument.
(gnome_canvas_line_draw): Set the stipple origin as appropriate.

* gnome-canvas-polygon.h (GnomeCanvasPolygon): Added fields for
fill and outline stipples.

* gnome-canvas-polygon.c (gnome_canvas_polygon_class_init): Added
the arguments for stippling.
(set_stipple): New convenience function to set the stipple pattern
of a gc.
(gnome_canvas_polygon_set_arg): Set the fill/outline stipple arguments.
(gnome_canvas_polygon_get_arg): Query the fill/outline stipple
arguments.
(gnome_canvas_polygon_reconfigure): Reset the stipples.
(gnome_canvas_polygon_draw): Set the origin of the stipple patterns
as appropriate.
(gnome_canvas_polygon_destroy): Unref the stipple bitmaps.

1998-10-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-app-helper.c (create_radio_menu_items): Now returns the
updated `pos' parameter, since the functions that call it need it.
(create_help_entries): Likewise.
(gnome_app_fill_menu_custom): Update the position from
create_help_entries() and create_radio_menu_items().

1998-10-29  Seth Alves  <alves@hungry.com>

* gnome-paper-selector.c (set_widgets_from_paper): pulled common
code into a subroutine
(gnome_paper_selector_init): added widgets for margin sizes

1998-10-29    <jrb@redhat.com>

* gnome-popup-help.c (gnome_widget_add_help_with_uidata): added some more
sanity checking.
(gnome_popup_help_place_window): removed print statements too

1998-10-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (gnome_popup_menu_attach): Use
gtk_widget_add_events() instead of set_events() -- this lets us
operate even on realized widgets.

1998-10-29    <jrb@aware-of-vacuity.labs.redhat.com>

* gtk-socket.c: Remove #define DEBUG_PLUGSOCKET

1998-10-28  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-app-helper.c (create_menu_item): i8l_label must be a
string, not a GtkWidget *.

* gnome-about.c (gnome_about_calc_size): Made static.
(gnome_destroy_about): Likewise.

* gnome-app.c (locations): Made const.

* gnome-mdi.c (target_table): Made const.

* gnome-client.c (arguments parser): Made const.

* gnome-init.c (our_gtk_options our_gtk_parser): Made const.

* makeenums.pl (parse_entries): Output the arrays of enumerations
as const.

* gnome-calculator.c (buttons): Made the buttons array const so
that it can be shared.

* gnome-lamp.c: Made the lamp data and enl_mappings const so that
they can be shared.

* gnome-stock.c (entries_data default_accel_hash): Made the list
of entries const so that it can be shared between processes.

1998-10-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch] (gnome_mdi_register, gnome_mdi_unregister):
changed parameter from GtkWidget*  to GtkObject*.

1998-10-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.c (get_bounds): New internal function to compute
the bounding box of the icon text item.
(recompute_bounding_box): Use get_bounds().
(gnome_icon_text_item_get_type): The object initialization
function did nothing, so removed it and use NULL instead.
(iti_bounds): Use get_bounds() and return the correct bounds.

1998-10-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c (iti_bounds): Realize the item if we are asked
for the bounds before realization.  Federico, this fixes the
problem you had without having to connect to the realize signal
(which should be very expensive in terms of memory use for every
icon).

(iti_realize): Remove unused Window
parameter.

Mon Oct 26 16:53:04 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-stock.c: Use gtk_widget_shape_combine_mask() instead
of gdk_window_", so theme switching doesn't remove
shape.

1998-10-25  Kjartan Maraas  <kmaraas@fib.hl.no>

* gnome-font-picker.c: Removed #include "gnome-font-picker-ico.h"
to make it compile again

1998-10-24  David Abilleira  <odaf@nexo.es>

* gnome-font-picker.c: Now it uses GNOME_STOCK_PIXMAP_FONT instead of
        the one in gnome-font-picer-ico.png

* gnome-font-picker-ico.png: Removed
* gnome-font-picker-ico.h: Removed

1998-10-24  Martin Baulig  <martin@home-of-linux.org>

* pixmaps/Makefile.am: Make `gnome-stock-imlib.h' depend upon
the Makefile.am so it will be rebuild if you add new files.

Sat Oct 24 13:09:50 CEST 1998  Eckehard Berns  <eb@berns.i-s-o.net>

* pixmaps/stock_font.png: new stock icon
* pixmaps/Makefile.am: added stock_font.png
* gnome-stock.[ch]: added defines for stock_font.png (icon, menu and
button)
* stock_demo.c: added sample stock_font icons and button

1998-10-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (icon_event): Mark the events as processed
when calling toggle_icon.

1998-10-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (icon_event): Fixed the handling of clicking.

1998-10-23  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-item.c (iti_get_width): Handle the case where iti->ti
has not been created yet.
(recompute_bounding_box): Likewise.

1998-10-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-help.c (gnome_popup_help_size_window): Use
"traditional" drawing functions until Gtk-themes is all over the
place.

Mon Oct 19 19:33:18 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_window_remove_embedded_xid): Added
some code for marking embedded windows so theme
switching can work properly. As soon as themes
are merged, this will be moved to GTK+.

1998-10-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c (recompute_bounding_box): Use item relative
cordinates, to support groups.
(iti_paint_text): Same.

1998-10-21    <jrb@redhat.com>

* gnome-popup-help.c: Added popup help.  Everyone should use
this.

* libgnomeui.h: added the popup stuff.

* Makefile.am: added the popup-help stuff.

1998-10-21  David Abilleira  <odaf@nexo.es>

* gnome-font-picker.h: removed "extern C" which is redundant with
        BEGIN_GNOME_DCLS

        * gnome-color-selector.c: Now it creates a modal dialog box only when
        there is another modal window yet.

1998-10-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c: Add width_changed signal to icon-text-item.

* gnome-icon-list.c: (toggle_icon): Make sure we emit a signal
with the correct index.
(icon_event): Generate events for button-2 and 3

* gnome-icon-list.c (gnome_icon_list_icon_is_visible): Fix wrong
return value.

1998-10-19  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (icon_event): call toggle_icon on double click
events.

1998-10-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_new): Fix merge  mistake.

1998-10-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: I am an idiot.  I did not think anyone would
ever override the canvas event handlers, so I was happily
returning FALSE from all of them.
(gnome_canvas_button): Return the appropriate value from
emit_event().
(gnome_canvas_motion): Likewise.
(gnome_canvas_key): Likewise.
(gnome_canvas_focus_in): Likewise.
(gnome_canvas_focus_out): Likewise.
(gnome_canvas_crossing): Return the appropriate value from
pick_current_item().

(emit_event): Now it returns a boolean value that indicates
whether the event was handled by someone or not.
(pick_current_item): Likewise.

1998-10-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (book_drop): something seems to have been screwed
up during owen's last commit. fixed now.

1998-10-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_init): Set the GTK_CAN_FOCUS flag
in the widget.

* gnome-color-picker.c (gnome_color_picker_set_title): Set the
title of the color selection dialog if it exists.

* gnome-init.c (our_gtk_options): Fixed spelling in the option
descriptions.

* gnome-canvas.c (gnome_canvas_item_grab_focus): Set the
ev.focus_change.window field to the canvas's bin window.
(emit_event): Rearranged some of the focusing tests.

Mon Oct 19 11:57:51 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-mdi.c: Change "drag_data_received" callback
to have proper signature.

1998-10-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: removed dnd_type member and g_free()ing
of it, since owen's changes made it redundant.

Sun Oct 18 18:59:33 1998  Owen Taylor  <otaylor@gtk.org>

* gnome-mdi.[ch] gnome-color-selector.c gnome-file-entry.c:
Adapted to the new GTK+ DND API.

* gnome-stock.[ch]: Added new function
gnome_stock-pixmap_gdk() to get a stock pixmap as
a GdkPixmap/GdkMask.

* gtk-socket.[ch]: Changes to enable DND proxying to
the embedded plug.

1998-10-17  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-stock.c: Removed `BUTTON_DEFBRD_WIDTH' and
`BUTTON_DEFBRD_HEIGHT' constants.

* gnome-uidefs.h: Removed `GNOME_BUTTON_WIDTH' and
 `GNOME_BUTTON_HEIGHT' constants.  These are not used by any
 application AFAIK.

* gnome-stock.c (gnome_pixmap_button): Do not force the button
 size anymore.

* gnome-dialog.c (gnome_dialog_append_button): Use
 `GTK_WIDGET_SET_FLAGS()' instead of `gnome_button_can_default()'
to set the `GTK_CAN_DEFAULT' flag.

* gnome-stock.c (gnome_button_can_default): Do nothing.  Just spit
out a warning, saying that this function is now deprecated.

1998-10-16    <jrb@aware-of-vacuity.labs.redhat.com>

* gnome-messagebox.h: changed comment to redirect user to the
right code.

1998-10-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (emit_event): Emit events for hidden items as
well -- they need to get a LeaveNotify, at least.

1998-10-16  Havoc Pennington  <hp@pobox.com>

* gnome-icon-list.c (gil_button_press): If there's already a
gil->sel_rect (i.e. we are already rubberbanding) don't create a
second rubberband if the user clicks one of the other mouse
buttons. Clicking another button now ends the select due to the
button release event.

1998-10-15  Mark Galassi  <rosalia@cygnus.com>

* Makefile.am (gnome_headers): fixed a typo: a \ was missing after
gnome-font-picker.h, thus causing several
$(prefix)/include/libgnomeui/*.h files to not be installed.

1998-10-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_hide):
(gnome_canvas_item_show): The canvas needs to repick the current
item when an item is shown/hidden.

1998-10-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_list_new): Thanks to Havoc for
spotting this one-line bug.  I was leaking an icon-list and
returning an incorrectly created icon list widget.

Thu Oct 15 03:33:21 CEST 1998  Eckehard Berns  <eb@berns.i-s-o.net>

* pixmaps/Makefile.am pixmaps/stock_attach.png: added attach pixmap.
* gnome-stock.[ch]: added defines for attach pixmap.
* stock_demo.c: added sample attach pixmap.

1998-10-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_show):
(gnome_canvas_item_hide): New public functions to hide/show items
in the canvas.  We have a new visibility flag for canvas items.
(gnome_canvas_item_init): New private initialization function --
makes items start as visible by default.
(redraw_if_visible): New convenience function to queue a redraw of
an item only if it is visible.  It is used in the places that used
to always queue a redraw.
(gnome_canvas_item_grab): Return GrabNotViewable if the item is
not visible.
(gnome_canvas_group_draw): Only draw visible items.
(gnome_canvas_group_point): Test only visible children.
(gnome_canvas_group_bounds): Only test visible children.
(pick_current_item): Only pick if the root is visible.
(emit_event): Only emit if the item is visible.
(paint): Only draw the root if it is visible.

1998-10-14  Havoc Pennington  <hp@pobox.com>

* gnome-icon-list.h: BEGIN_GNOME_DECLS, END_GNOME_DECLS so C++
programs will link.

1998-10-14  David Abilleira  <odaf@nexo.es>

* gnome-font-picker.[ch] New widget for selecting a font from a
simple to use button. This is equivalent to gnome-color-picker but to
select fonts.

* gnome-font-picker-ico.png and .h. Default ico to show inside
the button. At this moment header file generation is not
automated because I don't want to modify Makefile.am until I
know which is the right place to put the icon

* libgnomeui.h: Added gnome-font-picker.h to the list of headers.

* Makefile.am: Added gnome-font-picker.[ch] to the sources.

1998-10-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-polygon.[ch]: New polygon item for the canvas.  I
need it for Gnomecal, so I finally got around to implementing this.

* gnome-canvas.c: Update the TODO list; we now have a polygon item.

* libgnomeui.h: Added gnome-canvas-polygon.h to the list of headers.

* Makefile.am: Added gnome-canvas-polygon.[ch] to the list of sources.

1998-10-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-item.c (gnome_icon_text_item_select): When we are
unselected, cancel any pending editing facility on the item.

1998-10-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>

(gnome_icon_list_icon_is_visible):  Small name function name
change, for compatibility with the older code.  Somehow it got
dropped.

* gnome-icon-list.c (gnome_icon_list_get_items_per_line): Export
this routine.

* gnome-icon-item.c (iti_unrealize): Only call iti_stop_editing if
an editing was in course.
(iti_realize): account for the fact that we can be realized before
being configured (ie, the canvas is already visible).
(gnome_icon_text_item_configure): If the item has been realized do
the icon computations.

* gnome-icon-list.c (gnome_icon_list_set_separators): Implemented
missing routine.

(gnome_icon_list_new): As we depend on Imlib for drawing icons,
always use the Imlib visual.

1998-10-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_init): Now by default
lines start in width_pixels mode turned off, to be consistent with
rectangles and ellipses.

1998-10-13  Havoc Pennington  <hp@pobox.com>

* gnome-canvas.h, gnome-canvas.c (gnome_canvas_world_to_window):
New function, inverse of gnome_canvas_window_to_world.

1998-10-13  Havoc Pennington  <hp@pobox.com>

* gnome-icon-list.h, gnome-icon-list.c: Add
gnome_icon_list_construct function, and use it in _new.

1998-10-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_open_toplevel): restrict MDI
to a single toplevel when in modal mode.
* gnome-mdi.[ch] (gnome_mdi_set_window_view): removed:
gnome_mdi_set_active_view does precisely that and even more!
* gnome-mdi-session.c (gnome_mdi_restore_state): replaced
gnome_mdi_set_window_view() with gnome_mdi_set_active_view()
and removed a hash table lookup for the app since mdi retrieves
it from the view.

1998-10-13  Martin Baulig  <martin@home-of-linux.org>

* gnome-app-helper.c (create_menu_item): When the label is the
empty string, don't call gettext on it. This is required since
gettext maps the empty string to the header lines at the beginning
 of the .pot files.

1998-10-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c, gnome-icon-list.h: New implementations of the
GnomeIconList.  This GnomeIconList is derived from the GnomeCanvas
and has some nice features:  inline name edition of filenames and
banding selection of icons as well as a flicker free display.

The icon list API is fully documented with the proposed commenting
style.

The downside is that the constructor API has changed, I will
shortly fix the code on CVS to work with the new API.

* gnome-icon-item.c, gnome-icon-item.h: New files.  Canvas items
that implement text editing in a width-constrained region.  They
use a GtkEntry as a hidden backend to handle most of the nasty
details of input editing.  This means the edition features of them
are very complete.

* gnome-icon-text.c, gnome-icon-text.h:  Routines used to layout
wrapped text for tooltips and icons is now on their own file.
Fully documented as well.

1998-10-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_window_to_world): New public
function that takes in window coordinates (relative to the
GTK_LAYOUT (canvas)->bin_window) and converts them to world
coordinates.  This is what everyone needs :-)
(emit_event): Made it use gnome_canvas_window_to_world().

1998-10-12  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.h: remove GNOME_MDI_MS from GnomeMDIMode enums.
(gnome_mdi_open_toplevel): new function.
* gnome-mdi.c: removed all conditional code depending on
GNOME_MDI_MS.
(gnome_mdi_open_toplevel): new function.
(gnome_mdi_init): set initial mode to the one selected in
look and feel properties.
(gnome_mdi_set_mode): fix to accomodate the previous change.
(gnome_mdi_add_view, gnome_mdi_add_toplevel_view): fixed to
open a new toplevel if there isn't one.

1998-10-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-text.c (gnome_canvas_text_draw): Fixed stupid bug,
do not try to draw empty lines.

* gnome-canvas-text.c (gnome_canvas_text_bounds): Fixed a little
y1->x1 confusion.

1998-10-08  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-mdi-session.h: Fixup includes.

* gnome-mdi-session.c: Fixup includes.

1998-10-08  Raja R Harinath  <harinath@cs.umn.edu>

* gtkcauldron.h: Remove `#pragma }'.

1998-10-08  The Rasterman <raster@redhat.com>
* gnome-winhints.[ch]: moved to standard method of #defines in gtk+
and gnome by using enum's and all capitals. added extra support.
Cleaned up code. aded "check for a gnome compliant wm" code and
put this all into winhints_demo.c - currently onle E 0.15 in CVS
supports all of this. I hope other WM's will catch on soon.

1998-10-08  James Henstridge  <james@daa.com.au>

* gnome-href.[ch]:  Added a simple widget for embedding hyperlinks
into a GUI.  This uses my gnome-url code in libgnome.
* gtkrc:  Added some lines to make href text blue.

1998-10-05  Raja R Harinath  <harinath@cs.umn.edu>

Changes to parallel `gtk+'.
* Makefile.am (libgnomeuiinclude_HEADERS): Move non-generated
headers ...
(gnome_headers): ... here.
(gnome.defs): Depend on $(gnome_headers).
(auto-files, auto-files-1): Remove rules.
(BUILT_SOURCES): List generated files.

1998-10-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.h: Added a comment for the line_style argument.

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Actually set
the line_style.

1998-10-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-canvas.c (emit_event): Small bug fix:  do not reinitialize
the item to be used.

Sat Oct  3 23:46:51 EDT 1998 Gregory McLean <gregm@comstar.net>

* gnome-canvas.c (gnome_canvas_item_get_bounds):
Fixed a whoops in here that was causeing crashes
GNOME_CANVAS_ITEM_CLASS (item)->bounds should actually be
GNOME_CANVAS_ITEM_CLASS (item->object.klass)->bounds (though
yosh says it really should be (item)->klass) :)

* gnome-canvas-line.h (GnomeCanvasLine): I found myself needing
to have some dashed lines as items, it looked like a fairly trival
change so I added a GdkLineStyle member to GnomeCanvasLine.

* gnome-canvas-line.c: Added a line_style arg for drawing dashed
lines (gdk can do it so all we are doing is using that functionality)
Nothing looks like it broke.

1998-10-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_get_bounds): New public
function used to query an item for its bounding box.
(gnome_canvas_group_bounds): New function that iterates over all
the children in the group and adds up their bounds.

* gnome-canvas.h (GnomeCanvasItem): Added a "bounds" method used
to query the item for its bounding box.

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_bounds): New
function that implements the "bounds" method for rectangle and
ellipse items.

* gnome-canvas-image.c (gnome_canvas_image_bounds): New function
that implements the "bounds" method for image items.

* gnome-canvas-text.c (gnome_canvas_text_bounds): New function
that implements the "bounds" method for text items.

* gnome-canvas-line.c (get_bounds): Moved most of the stuff in
recalc_bounds() to this function.  This function only calculates
the line's bounds in world coordinates.
(recalc_bounds): Use the get_bounds() function.
(gnome_canvas_line_bounds): New function that implements the
"bounds" method for line items.

* gnome-canvas-widget.c (gnome_canvas_widget_bounds): New function
that implements the "bounds" method for widget items.

1998-10-03  Martin Baulig  <martin@home-of-linux.org>

* gnome-client.c (gnome_client_get_config_prefix): Use
`program_invocation_short_name' if `client->program' is NULL.

1998-10-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtklayout.c (gtk_layout_move): Provide a default value.

* gnome-canvas.c (gnome_canvas_realize): Added
GDK_FOCUS_CHANGE_MASK to the events the canvas gets.
(gnome_canvas_item_shutdown): clear the focus is the killed item
had it.
(gnome_canvas_focus_in, gnome_canvas_focus_out,
gnome_canvas_item_grab_focus): New functions to implement focus in
a canvas.

* gnome-canvas.h: Add new flag.  GNOME_CANVAS_ITEM_CAN_FOCUS.
GnomeCanvas: New field:  focused_item.

Fri Oct  2 09:21:47 CEST 1998  Eckehard Berns  <eb@berns.i-s-o.net>

* gnome-stock.c (create_pixmap_from_imlib_scaled): free the scaled_down
data.

1998-10-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtklayout.c (gtk_layout_gravity_works): Destroy the windows
created for the test.
(gtk_layout_gravity_works): Initialize event mask

1998-09-30  Havoc Pennington  <hp@pobox.com>

* gnome-color-picker.h, gnome-color-picker.c: Type fix-fest for
the benefit of C++.
(struct _GnomeColorPicker): Store stuff as gdouble.
(struct _GnomeColorPickerClass): color_set emits a guint;
should be gushort, but there is no GTK_VALUE_USHORT for some
reason.
(gnome_color_picker_set_i8, gnome_color_picker_get_i8): Use
guint8; remove range checking.
(gnome_color_picker_set_i16, gnome_color_picker_set_i16): Use
gushort; remove range checking (FIXME may need to check range on
some platforms? Gives a warning on Intel if check.)
(gnome_color_picker_get_d, gnome_color_picker_set_d): Use gdouble.
(gnome_color_picker_set_dither, gnome_color_picker_user_alpha):
Use gboolean.
(gnome_color_picker_set_title): const on the char*
(gnome_color_picker_class_init): color_set args are guint.
(cs_ok_clicked): Use gushort and gdouble.
(gnome_color_picker_clicked): gdouble
(gnome_color_picker_marshal_signal_1): GTK_VALUE_UINT

Wed Sep 30 17:09:01 1998  John Ellis  <johne@bellatlantic.net>

* pixmaps/stock_up_arrow.png, stock_down_arrow.png, stock_top.png,
stock_bottom.png, stock_exec.png: New stock images.
* pixmaps/Makefile.am: Added above files.
* gnome-stock.[ch]: Added references to above images.

1998-09-30  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-animator.c: Turned `GnomeAnimator' into a windowless
 widget.
(struct _GnomeAnimatorPrivate): New field `area'.
(realize): Removed function.
(state_or_style_changed): New function.
(style_set): New function.
(state_changed): New function.
(init): Set the `GTK_NO_WINDOW' widget flag.  Do not handle
 parent's signals anymore; install `style_set()' and
 `state_changed()' in the widget class description instead.
(draw_background_pixmap): Use the new `area' field in
 `GnomeAnimatorPrivate' to set the tile/stipple origin.
(size_allocate): Clear the parent widget's window area.  Set
 `area' in the private part.
(paint, draw): Updated to draw in the parent's window.
(setup_window_and_style): Removed.
(gnome_animator_new_with_size): Do not touch the widget's window.
(expose): Redraw only the part that is being exposed.

* gnome-animator.c
(gnome_animator_append_frames_from_imlib_at_size): Made a lot
 faster by rendering the GdkImlibImage once, and copying areas from
 the generated Pixmap.  Refuse to append frames
 (and return FALSE) if the width of the image is not a multiple of
 `x_unit'.

Wed Sep 30 01:52:39 PDT 1998 Manish Singh <yosh@gimp.org>

* gnome-animator.h: whitespace changes so makeenums.pl doesn't barf

1998-09-29  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-animator.h (struct _GnomeAnimator): Removed `frames'
 field.  Type of `playback_speed' changed to gdouble.
(gnome_animator_get_playback_speed): Return value changed to
 gdouble.

* gnome-animator.c: Updated to use GdkPixmaps instead of
 GdkImages, and a linked list instead of a dynamic array.
(struct _GnomeAnimatorFrame): Added `width', `height', `prev' and
 `next' fields.  `image' field replaced by a `pixmap' field.
(struct _GnomeAnimatorPrivate): `timeout_id' moved here from
 `struct _GnomeAnimator'.  New fields `first_frame', `last_frame'
 and `current_frame'.
(init): Initialize new fields in `GnomeAnimator' and
 `GnomeAnimatorPrivate'.
(free_all_frames): Free the linked list.
(paint): Use the `current_frame' field in `GnomeAnimatorPrivate'
 to get the current frame; updated to draw a GdkPixmap instead of a
 GdkImage.
(append_frame): Updated to use the linked list.
(gnome_animator_append_frame_from_imlib_at_size): Create a
 GdkPixmap, not a GdkImage.  Set the new `width' and `height'
 fields.
(gnome_animator_stop): Take `timeout_id' from
 `GnomeAnimatorPrivate'.
(gnome_animator_advance): Warn, with `g_error()', if the
 GnomeAnimatorLoopType is unknown.
(gnome_animator_goto_frame): Updated to use the linked list.
(gnome_animator_append_frame_from_gnome_pixmap): Take the frame's
 pixmap from the GnomePixmap widget by simply referencing it.  Set
 `width' and `height' in the new frame according to the pixmap's
 size.

1998-09-29  Martin Baulig  <martin@home-of-linux.org>

* gnome-mdi.c (gnome_mdi_get_view_from_window): New function.
(gnome_mdi_set_window_view): New function. This sets the active
view of a window without giving focus to that window.
* gnome-mdi.h: Add prototypes.

* gnome-mdi-session.c: We now save and restore window positions,
the active view of each window and the active window.

1998-09-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-text.c (gnome_canvas_text_class_init): Added two
new object arguments, text_width and text_height.  These are used
to query the rendered size of the text.
(gnome_canvas_text_get_arg): Process the new arguments.

* gnome-animator.c: Include only the necessary files.

* gnome-winhints.h: Include only the necessary files.

1998-09-29  Martin Baulig  <martin@home-of-linux.org>

* gnome-mdi-session.[ch]: New files.
(GnomeMDIChildCreate): New typedef. This is a pointer to a function
which parses the config string and creates a new GnomeMDIChild.
(gnome_mdi_save_state): Call this function when saving state with
the GnomeMDI object and the name of the config section to use.
(gnome_mdi_restore_state): Call this function with the GnomeMDI
object, the name of the config section and a (GnomeMDIChildCreate)
function pointer.

* gnome-mdi.c (gnome_mdi_add_toplevel_view): New function. Same as
`gnome_mdi_add_view', but when using GNOME_MDI_NOTEBOOK we add the
view to a newly created toplevel window.
* gnome-mdi.h (gnome_mdi_add_toplevel_view): Added prototype.

* gnome-mdi-child.c: Added new signal `get_config_string'. This
should be used in subclasses to return a config string representing
the object which can be used to recreate it when restarting from
the session manager.
* gnome-mdi-child.h (GnomeMDIChildClass): Added new signal handler
function `get_config_string'.

* libgnomeui.h: Include `gnome-mdi-session.h'.
* Makefile.am (libgnomeui_la_SOURCES): Added `gnome-mdi-session.c'.
(libgnomeuiinclude_HEADERS): Added `gnome-mdi-session.h'.

1998-09-29  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.c: Oops, fix a couple screwups in the last commit.
* gnome-messagebox.c: Use gtk_window_set_modal
* gnome-dialog-util.c: ditto
* stock_demo.c: ditto.

1998-09-29  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.c, gnome-dialog.h: Replace dialog's modality
facilities with the ones from GtkWindow. Since GtkWindow's were
exactly the same nothing should break (unless you accessed the
modal flag directly and then you deserve breakage). Also blew away
that log stuff on the bottom, for better or worse.
(struct _GnomeDialog): Nuke modal field.
(gnome_dialog_init): Don't init the modal field.
(gnome_dialog_set_modal): Call gtk_window_set_modal and spew
irritating warning to stop using this function.
(gnome_dialog_run_modal): Use gtk_window_set_modal
(gnome_dialog_run): Use GTK_WINDOW(dialog)->modal and
gtk_window_set_modal.
(gnome_dialog_close_real): Don't remove grab, GtkWindow does it on
hide.
(gnome_dialog_show): Don't add grab.

1998-09-28  Havoc Pennington  <hp@pobox.com>

* gnome-animator.c, gnome-animator.h: Misspell private, so C++
doesn't complain.

1998-09-28  Ettore Perazzoli  <ettore@comm2000.it>

* Makefile.am (libgnomeui_la_SOURCES): Added `gnome-animator.c'.
(libgnomeuiinclude_HEADERS): Added `gnome-animator.h'.
(noinst_PROGRAMS): Added `animator_demo'.
(animator_demo_SOURCES, animator_demo_LDADD): New variables for
compiling `animator_demo'.

* libgnomeui.h: #Include "gnome-animator.h".

* animator_demo.c: New file: simple demo for `GnomeAnimator'.  It
 currently requires some images from `gnome-core'...  I'll have to
 fix this.

* gnome-animator.c, gnome-animator.h: New files: new
 `GnomeAnimator' widget.

1998-09-27  Havoc Pennington  <hp@pobox.com>

* gnome-actionarea.h, gnome-actionarea.c: Removed.
* Makefile.am, libgnomeui.h: Changed accordingly.

1998-09-27  Raja R Harinath  <harinath@cs.umn.edu>

`automake' 1.3b and older have a bug with handling continuation
lines inside conditionals.
* Makefile.am (gtkcal_headers): Don't use continuation lines.
(gtkcal_sources): Likewise.
(EXTRA_libgnomeui_la_SOURCES): List gtkcalendar.[ch].

1998-09-28  Ettore Perazzoli  <ettore@comm2000.it>

* gnome-messagebox.c (gnome_message_box_new): Fixed some memory
 leaks.

1998-09-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-scores.c (gnome_scores_set_colors,
gnome_socres_set_def_color, gnome_scores_new): Use unsigned ints
here.

* gnome-preferences.c (gnome_preferences_set_button_layout):
Unsigned int warning fix.

* gnome-properties.c
(gnome_property_configurator_request_foreach): Unsigned int
warning fix.

* gnome-init.h: New file.  Move gnome-init declarations here.

* gnome-dns.c (struct): Use guint32 for the tag

* gnome-color-selector.c (color_dropped): Use usngined int

* gnome-dentry-edit.c: Include <string.h>

Sun Sep 27 16:54:33 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock.[ch]: still fiddling with this f**king background
colors. changed GnomeStock structure.
* gnome-stock.c (create_pixmap_from_imlib_scaled): check via
gnome_config if we want imlib's or out own resizing.
(build_disabled_pixmap): check via gnome_config how the disabled pixmap
should be built.
* gnome-pixmap.[ch] (gnome_pixmap_new_from_rgb_d_shaped_at_size,
gnome_pixmap_load_rgb_d_shaped_at_size): new functions.
* gnome-app-helper.c (create_pixmap_and_label): check via gnome_config
if we want icons in menus to keep consistance with
gnome_stock_menu_item.

1998-09-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_reparent): Added all the usual
sanity checks, plus the extra checks pertaining to reparenting --
both items must be in the same canvas, and the new parent cannot
be the item itself or an inferior of the item.  Added proper
redrawing requests and mark the canvas as needing a repick.  Also,
recalculate the item's bounds.

1998-09-27  Michael Lausch  <mla@gams.at>

* gnome-canvas.c (gnome_canvas_item_reparent): new function. Moves
a canvas_item from one canvas_item_group to another.

1998-09-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (popup_marshal_func): Fixed stupid bug in the
marshaller; I was using args[0] instead of the actual object.

Wed Sep 23 17:04:05 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock.[ch]: expanded the functionality of
gnome_stock_pixmap_widget to load GnomeStock widgets from files.
(gnome_stock_pixmap_widget_at_size): new function. Loads a GnomeStock
widget from a file and scales it using antializing.
* stock_demo.c: added an example how to use the new functionality.

1998-09-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Avoid
unnecessary reconfiguration, recalculation of bounds, and arrow
polygon recomputation.

* gnome-canvas-text.c (gnome_canvas_text_set_arg): Avoid
unnecessary item reconfiguration and recalculation of bounds.

* gnome-canvas-rect-ellipse.c (get_color_arg): New function to
avoid a bit of duplicated code in gnome_canvas_re_get_arg().
(set_outline_gc_width): Now the outline GC's line width is
calculated here.
(gnome_canvas_re_set_arg): Optimizations to avoid unnecessary
item reconfiguration and recalculation of bounds.

* gnome-app-helper.c (create_menu_item): Set separators as
insensitive so that they cannot be selected.
(create_pixmap): Look for pixmap files in the standard pixmap
paths.  This was accidentally removed during the rewrite of
GnomeAppHelper - my bad :-(

1998-09-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: added view_changed signal, similar to child_changed.
* gnome-mdi.c (app_set_view): update active_view and active_child to
hold new values before emitting child_changed and/or view_changed
signals and pass old child/view as signal handler arguments. this
seems saner since the appropriate gnome-app is already updated to
match the new view.

1998-09-20  Raja R Harinath  <harinath@cs.umn.edu>

* pixmaps/Makefile.am (stock_images): New variable.  Lists all the
stock images.
(EXTRA_DIST): Add $(stock_images).
(BUILT_SOURCES): Add `gnome-stock-imlib.h'.
(gnome-stock-imlib.h): Don't use wildcards, use $(stock_images).

* Makefile.am (libgnomeui_la_SOURCES):
Remove `pixmaps/gnome-stock-imlib.h'.

Sun Sep 20 18:40:44 1998  John Ellis  <johne@bellatlantic.net>

* pixmaps/calculator-font.xpm: Changed to png
* pixmaps/Makefile.am: Changed reference to above.
* gnome-calculator.c: Changed to use the png file.
* Makefile.am: Changed gnome-stock-imlib.h to
pixmaps/gnome-stock-imlib.h

Mon Sep 21 00:03:03 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock.c: removed some compiler warnings.
GnomeStock is now a bit smarter concerning the background color for
transparency and disabled pixmaps (for those of you who play
around with the gtk styles).

Sun Sep 20 15:26:41 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* pixmaps/: use PNG images instead of XPMs.
* puxmaps/Makefile.am: updated to use PNGs.

Sat Sep 19 19:37:13 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock.c (gnome_stock_paint): added gtk_widget_queue_draw
* gnome-stock.[ch]: added menu versions of the timer icons

Sat Sep 19 17:24:58 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* pixmaps/Makefile.am: removed xpm2rgb which needs a Display.
use ../../tools/convertrgb/convertrgb to build gnome-stock-imlib.h

Sat Sep 19 12:47:35 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* pixmaps/xpm2rgb.c pixmaps/stock_*.xpm: new files
* pixmaps/Makefile.am: added generation of gnome-stock-imlib.h
* gnome-stock.c: include pixmaps/gnome-stock-imlib.h

1998-09-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-popup-menu.c (gnome_popup_menu_new): New public function
to create a popup menu from a GnomeUIInfo array.
(gnome_popup_menu_attach): New public function to attach a popup
menu to a widget -- the popup menu can be called by pressing mouse
button 3 over the widget.  The menu can be shared between multiple
widgets and it will be destroyed when the last widget it is
attached to is destroyed.
(gnome_popup_menu_do_popup): New public function to explicitly
popup a menu.

* gnome-app-helper.c (do_ui_signal_connect): Use
gtk_signal_connect_full() instead of gtk_signal_connect_interp(),
since the latter is obsolete (but works anyway...).

* stock_demo.c:
* gnome-stock.c:
* gnome-number-entry.c:
* gnome-init.c:
* gnome-dialog.h:
* gnome-dialog.c:
* gnome-dentry-edit.c:
* gnome-client.c (gnome_client_init):
* gnome-calculator.c:
* gnome-app.c:
* libgnomeui.h: Removed occurrences of #ifdef GTK_HAVE_FEATURES_1_1_0.
We require it, anyways.

* Makefile.am: Moved all the conditional canvas files into the
main list of sources -- they are always compiled now.

1998-09-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* Makefile.am: Renamed gnome-popupmenu.[ch] to gnome-popup-menu.[ch].

1998-09-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* libgnomeui.h: corrected gnome-popupmenu.h to gnome-popup-menu.h and
the same (but here this is only a typo, not a bug ;-) in
gnome-popup-menu.h and gnome-popup-menu.c

1998-09-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app-helper.c (create_pixmap): If no pixmap has been
provide, behave like GNOME_APP_PIXMAP_NONE.

1998-09-17  Martin Baulig  <baulig@merkur.uni-trier.de>

* gnome-app-helper.c (do_ui_signal_connect): Store both `uiinfo->user_data'
(GNOMEUIINFO_KEY_UIDATA) and `uibdata->data' (GNOMEUIINFO_KEY_UIBDATA) in
the widget using gtk_object_set_data().

1998-09-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.[ch] (gnome_app_fill_menu_*): added a gint pos
argument in order to reimplement broken menu insertion functions.
(gnome_app_insert_menus_custom): use gnome_app_fill_menus_custom().
(gnome_app_find_menu_pos): fixed to work with Federico's changes.

1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-app-helper.c (gnome_app_fill_menu_custom): More function
arguments sanity checks.
(gnome_app_create_menus): Likewise.
(gnome_app_create_menus_interp): Likewise.
(gnome_app_create_menus_with_data): Likewise.
(gnome_app_create_menus_custom): Likewise.
(setup_accelerator): Added an argument for the signal name.
(gnome_app_fill_toolbar gnome_app_fill_toolbar_custom): New public
functions to fill toolbars from a GnomeUIInfo array.
(gnome_app_create_toolbar):
(gnome_app_create_toolbar_interp):
(gnome_app_create_toolbar_with_data):
(gnome_app_create_toolbar_custom): Make these functions use the
new fill_toolbar ones.
Removed the old #ifdef'ed functions.

1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-app-helper.c (gnome_app_fill_menu
gnome_app_fill_menu_custom): New public functions that are a
rewrite of the menu creation code in GnomeAppHelper.  These are
saner versions with additional goodies, like working accelerators,
underlined shortcuts, sanity checks, etc.
(gnome_app_create_menus):
(gnome_app_create_menus_interp):
(gnome_app_create_menus_with_data):
(gnome_app_create_menus_custom): Made these functions use the new
fill_menu code.
The toolbar code still needs sanitizing; will do that tomorrow.

* gnome-app-helper.h: Beautification and documentation of the
header file.
(GnomeUISignalConnectFunc): Removed the app parameter to functions
of this type, as it is not needed or used.  Please make the
appropriate changes to your language bindings and such.

* gnome-app-helper.c: Added a little TODO list.

* gnome-popupmenu.c: #ifdef'ed out the function bodies, since
gnome-popupmenu is completely broken and needs rewriting.

* gnome-canvas.c: Updates to the TODO list.

* gnome-preferences.c (gnome_preferences_get_menus_have_icons
gnome_preferences_set_menus_have_icons): New public functions to
get/set whether menu items have icons in them.
(gnome_preferences_load): Load the menus_have_icons parameter.
(gnome_preferences_save): Save the menus_have_icons parameter.

* gnome-rootwin.c (gnome_rootwin_expose): Return FALSE.

* gnome-app.c: Added g_return_* sanity checks where they were missing.
(gnome_app_set_contents): Fix the case where contents == NULL.

* gnome-app.h: Added some comments/documentation.
(struct _GnomeApp) Added an accel_group field -- this is the accel
group where the window's hotkeys live.

* gnome-app.c (gnome_app_init): Create the app window's accel
group and attach it.

* gnome-app.c (get_orientation): Added a small warning if the
orientation is not matched.

Tue Sep 15 11:22:24 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_realize): Add a gdk_flush()
so that our newly created window is guaranteed to
already have SubstructureRedirect when another app
gets the XID.

1998-09-14  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_remove_view): fixed view removal to
update the menubar correctly.

Sat Sep 12 13:50:29 1998 Paul Sheer <psheer@obsidian.co.za>

* gtkcauldron.c: Added inline labels: specified as text between
an `(' and a `)' with no space between the `(' and the first
text character.

* gtkcauldron.c: Added scrollable frames: specify with the v and
h options to the `]' of a frame. Eg `]v' or `]vh' or ']h'. See
README.gtkcauldron for more details.

1998-09-12 Francisco Bustamante <pancho@nuclecu.unam.mx>

* gnome-app-helper.c (gnome_app_do_menu_creation): added check for
NULL moreinfo pointer in a GNOME_APP_UI_SUBTREE case.

1998-09-12  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c, gnome-mdi-child.c: changed some GTK_TYPE_POINTERs
in parameters passed to gtk_signal_new() to gtk_widget_get_type()
calls.

1998-09-11  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-child.c (gnome_mdi_child_set_name): moved the
gnome_mdi_rename_child()'s functionality here.
* gnome-mdi.c (gnome_mdi_rename_child): removed.
(child_list_activated_cb, gnome_mdi_set_active_view): moved
much of the former to the latter.
(app_set_view, app_create): when uisng GnomeUIInfo templates to
create menus and the toolbar, the MDI menus and toolbar are now
set up with a gnome_app_create_*_with_data() call so that relevant
callbacks are passed a pointer to the MDI as data. in a similar
manner the child specific menus' callbacks are passed a pointer to
the child.

1998-09-09  Havoc Pennington  <hp@pobox.com>

* gnome-gtk-utils.h: Cleanup. Added copyright (FSF? I guess so.)
Added GNOME_BEGIN_DECLS (took me an hour to figure out that was
causing gnome-- breakage). Made include guards consistent with
other headers.

1998-09-09  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-dentry-edit.c: Protect inclusion of `gnomesupport.h' with
NEED_GNOMESUPPORT_H.

Tue Sep  8 22:54:31 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-dentry-edit.c: Include gnomesupport.h for strndup.

1998-09-06  Martin Baulig  <martin@home-of-linux.org>

* gnome-mdi.c (gnome_mdi_set_mode, rootwin_drop): Make the newly
created windows have the same size the current view had before.

* gnome-mdi.h (gnome_mdi_active_view): New function.
(gnome_mdi_set_active_view): New function.

* gnome-mdi.c: Renamed static `gnome_mdi_set_active_view()'
 to `set_active_view()' and added new global function
 `gnome_mdi_set_active_view()'.

Fri Sep 04 17:53:41 1998  George Lebl  <jirka@5z.com>

* gnome-color-picker.c: initialize use_alpha

1998-09-03  Martin Baulig  <martin@home-of-linux.org>

* gnome-font-selector.c (gnome_font_select_with_default): New
function. Same as gnome_font_select () but let you give a
default font.

Thu Sep  3 05:47:19 1998  Tim Janik  <timj@gtk.org>

* gnome-icon-list.c (gnome_icon_list_forall): provide a _forall
implementation instead of _foreach.

1998-09-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_root): Changed the return type to
GnomeCanvasGroup, as it is more convenient that way.

* gnome-color-picker.[ch]: New color picker that is a real
widget.  GnomeColorSelector is now deprecated.

* gnome-color-selector.c (gnome_color_selector_new): Added message
of deprecation.

* libgnomeui.h: Added gnome-color-picker.h to the list of headers.

* Makefile.am: Added gnome-color-picker.[ch] to the sources.

1998-09-02  Martin Baulig  <martin@home-of-linux.org>

* gnome-mdi.c (gnome_mdi_rename_child): New function. This is
required to set the correct name in the menu item.

1998-09-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app-helper.c (gnome_create_toolbar_with_data,
gnome_create_toolbar_custom): New routines to reuse the toolbar
creation code without having the toolbar be attached by default.

1998-08-28  Havoc Pennington  <hp@pobox.com>

* gtklayout.c (gtk_layout_move): Fix infinite loop (add
g_list_next on each iteration).

1998-08-25  Havoc Pennington  <hp@pobox.com>

* gnome-canvas.h (gnome_canvas_item_set_valist): New function
takes a va_list as argument.
* gnome-canvas.c (gnome_canvas_item_set): Implement in terms of
set_valist.

Wed Aug 26 00:50:27 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-app.c (gnome_app_reparent_handle_box): Declare to avoid
warnings.

* gnome-propertybox.c (gnome_property_box_init): Changed calls to
reflect typo fix.
* gnome-preferences.h: Declare
gnome_preferences_get_property_box_apply,
gnome_preferences_set_property_box_button_apply.
* gnome-preferences.c (gnome_preferences_get_property_box_apply):
Renamed to fix typo.

1998-08-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

Fixed a bug waiting to happen on my previous change: Specifically,
UI-properties would have been the only victim (change of the style
of a gnome-propertybox while using it).

* gnome-propertybox.c (gnome_property_box_init): Implement support
for OK/CANCEL/HELP vs OK/APPLY/CLOSE/HELP modes.

* gnome-preferences.c (gnome_preferences_load): Activate the code
for the preference dialog box configuration.

1998-08-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtkcauldron.c (gtk_dialog_cauldron_parse): Use
gtk_window_position on the created dialog box.

Mon Aug 24 22:51:50 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_realize): Use
gtk_widget_get_parent_window() to get the parent window.

Mon Aug 24 19:01:02 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_size_request/allocate): Don't
need to assert that the widget->window != NULL.

Mon Aug 24 23:43:47 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock-imlib.h: added convert and jump_to icons
* gnome-stock.h: added defines for the new icons
* gnome-stock.c: added entries for the new icons
added some `const's and (char *) typecasts to let gnome-stock
compile without warnings with -Wall
* stock_demo.c: added convert and jump_to icons

1998-08-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app.c (gnome_app_rightclick_menubar,
gnome_app_rightclick_toolbar):  Make the handleboxes reparent on
double click.

Mon Aug 24 07:53:53 1998  Tim Janik  <timj@gtk.org>

* gnome-canvas.c (gnome_canvas_item_construct): added a
 const gchar *first_arg_name, to the prototype which is required by
gtk_object_args_collect(). pass va_list by value. unfortunately this
 change is source incompatible ;(
(gnome_canvas_item_new): added first_arg_name, to pass to
gnome_canvas_item_construct, source compatile change.
(gnome_canvas_item_set): added first_arg_name, to pass to
gtk_object_args_collect. pass va_list by value.

* gnome-net.c (gnome_net_printf): use g_strdup_vprintf() instead of
g_vprintf().

1998-08-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: Fixed the new compiler warnings.

1998-08-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtkcauldron.c (gtk_cauldron_button_exit): Used gtk_main_quit for
terminating the dialog instead of destroying the window, as the
code expects the window to be valid after the cauldron main
loop.
(gtk_dialog_cauldron_parse): Hook to the delete_event instead of
destroy (as we do the destroy always after gtk_main).

Fri Aug 21 18:28:43 1998  Jonathan Blandford  <jrb@redhat.com>
* gtk-plug.[ch]:
(gtk_plug_construct): New function.

Thu Aug 20 19:06:19 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-dentry-edit.c: Include <ctype.h>.
(gnome_dentry_edit_split): New function.
(gnome_dentry_edit_sync_dentry): Use it.

Thu Aug 20 19:22:47 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_claim_focus): Yet another fix
for when the plug window hasn't appeared yet.

Thu Aug 20 18:40:38 1998  Owen Taylor  <otaylor@redhat.com>

* winhints_demo.c gnome-wmhints.[ch]: Removed
excess header file includes from gnome-wmhints.h,
fixed a few things so the result compiles.

1998-08-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c: Updates to the to-do list.

* gnome-canvas-text.c (gnome_canvas_text_class_init): Added
clip_width, clip_height, clip, x_offset, and y_offset arguments.
These are used to define an optional clip rectangle and offset
distance for the text.  Please see the comments in
gnome-canvas-text.h for an explanation of these.
(split_into_lines): Added support for multiline text; this
function splits the text into an array of lines.
(gnome_canvas_text_draw): Changed to draw
multiline/justified/clipped text.
(gnome_canvas_text_point): Modified to calculate the distance to
multiline clipped text.

Thu Aug 20 15:44:22 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_filter_func): Small
improvement to CreateNotify handling.

Thu Aug 20 15:23:58 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c (gtk_socket_filter_func): We seem to
be getting ConfigureRequests before CreateNotify when
our plug window is added, so we need to handle them.

Wed Aug 19 18:21:24 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-socket.c: Don't process focus requests when we don't have
have a plug.

Wed Aug 19 13:33:31 EDT 1998 The Rasterman <raster@redhat.com>
* gnome-rootwin.c - removed lots of unecessary event mask entries for
the root window widget - made it have dummy (do nothing) draw and
expose handlers. Now it works correctly with themes.

1998-08-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-propertybox.c (gnome_property_box_append_page): Wonder why
this routine was tagged as deprecated.  Make it legal to use
again.

1998-08-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_get_arg):
* gnome-canvas-text.c (gnome_canvas_text_get_arg):
* gnome-canvas-rect-ellipse.c (gnome_canvas_re_get_arg): Return a
malloc()ed color for the color arguments.

Tue Aug 18 06:41:47 1998  Tim Janik  <timj@gtk.org>

* gnome-init.c (our_gtk_options): added --gtk-module, and a few
descriptions.
(our_gtk_parse_func): fix for the flag name lookup in g_strconcat(),
which was referring to the option name off-by-one.

1998-08-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_get_arg): Made the
fill_color_gdk argument read/write.

* gnome-canvas-text.c (gnome_canvas_text_get_arg): Made the
font_gdk and fill_color_gdk arguments read/write.

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_get_arg): Made the
fill_color_gdk and outline_color_gdk arguments read/write.

1998-08-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-text.c (gnome_canvas_text_class_init): The font
argument should be of type GTK_TYPE_GDK_FONT.

Wed Aug 12 18:33:15 EDT 1998 Gregory McLean <gregm@comstar.net>

* gnome-app-helper.c: Adjusted the GNOME_PIXMAP_FILENAME
stuff to do a gnome_pixmap_file() on the file name passed in
otherwise you wind up doing all sorts of silly stuff to maintain
good code.. Anyone have a better soultion?

Wed Aug 12 14:48:24 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-stock-imlib.h: Made all gnome stock pixmaps
  const. (Makes >100k more memory shared between gnome apps)

Wed Aug 12 18:01:30 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock.[ch]: 1st go at a rewrite of the gnome stock widget.
Because of a new widget (GnomeStock) some apps might get minor
problems. The majority of the apps should work though.

Tue Aug 11 23:35:58 1998  Jonathan Blandford <jrb@mit.edu>
* gnome-app.c: added GTK_SHRINK to the x/y options.

1998-08-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_grab): Set the
canvas->current_item to the grabbed item to force events to go to
it.

* gnome-canvas-widget.h:
* gnome-canvas-line.h:
* gnome-canvas-image.h:
* gnome-canvas-text.h:
* gnome-canvas-rect-ellipse.h:
* gnome-canvas.h: Documentation fixes and additions.  Added
descriptions of object arguments.

1998-08-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_set_arg): Added
fill_color_gdk and outline_color_gdk arguments.  The argument's
value is a pointer to an already-allocated GdkColor.

* gnome-canvas-text.c (gnome_canvas_text_set_arg): Added font_gdk
and fill_color_gdk arguments.  The argument values are a pointer
to a GdkFont and an already-allocated GdkColor, respectively.

* gnome-canvas-line.c (gnome_canvas_line_set_arg): Added
fill_color_gdk argument.

Sun Aug 09 14:37:58 1998  George Lebl  <jirka@5z.com>

* gnome-about.c: draw the pixmap with the correct clip mask

1998-08-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_reconfigure):
* gnome-canvas-text.c (gnome_canvas_text_reconfigure):
* gnome-canvas-image.c (gnome_canvas_image_reconfigure):
* gnome-canvas-line.c (gnome_canvas_line_reconfigure):
* gnome-canvas-widget.c (gnome_canvas_widget_reconfigure): Call
the parent class reconfigure method at the start of the overriden
method.

1998-08-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-preferences.[ch]: added MDI preferences.
* gnome-mdi.h: changed the GnomeMDIMode enums a bit: this requires
recompiling any apps using MDI.
* gnome-mdi.c: take UI properties into account.

1998-08-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c:
* gnome-canvas-image.c:
* gnome-canvas-text.c:
* gnome-canvas-rect-ellipse.c: Call the parent class
realize/unrealize/map/unmap methods in the overriden methods.

Wed Aug  5 23:08:53 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock*: added tigert's undelete icon, changed yes/no buttons,
added prev/next button with images from back forward.

Wed Aug  5 12:47:01 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-stock.c (gnome_stock_pixmap_widget_realize): A widget
  is not allowed to changed it's requisition during the
  realize() method. Moved initial pixmap setting into
  new(). (Past changes have eliminated the need to
  have everything realized first.) This should keep
  gtk_vbox_size_allocate() from getting confused. But
  the entire widget needs to be rewritten from scratch,
  as a bin instead of the current GtkVBox hack.

* gnome-app-helper.c (gnome_app_do_menu_creation): Removed
  unecessary realize().

1998-08-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtklayout.c (gtk_layout_size_allocate): Move_resize the
bin_window, not just resize it.  This is for when we have parents
that do funky size allocation, because the bin_window may not act
as expected as it has the gravity bits set.

Wed Aug  5 11:19:56 1998  Owen Taylor  <otaylor@redhat.com>

* gnome-dialog.c (gnome_dialog_destroy): Don't remove
  the accelerator group - GTK+ handles it for us.

* gnome-app.c gnome-app-helper.c: Added gtk-1.1 code to check
  if AccelGroup is already attached before attaching it
  again.

1998-08-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtkcauldron.c: Fixup includes.
(user_callbacks): Made static.
Fixed for Gtk-1.1.  Could someone please test that it runs?  I
only fixed it for compilation.

* gtkcauldron.h: Fixup includes.

* libgnomeui.h: #include "gnome-number-entry.h"

* gnome-canvas.c (gnome_canvas_button):
(gnome_canvas_motion):
(gnome_canvas_expose):
(gnome_canvas_key):
(gnome_canvas_crossing): Only do stuff if the event window is the
same as the canvas->layout.bin_window.

* gnome-canvas-widget.[ch]: New widget item type for GnomeCanvas.
It still needs to be debugged.

* Makefile.am: Added gnome-canvas-widget to the sources.

* libgnomeui.h: Added gnome-canvas-widget.h to the list of headers.

* gnome-canvas-image.c (gnome_canvas_image_set_arg): Take the
absolute value of the width/height arguments.

1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_draw): Use the zoom offsets when
calculating coordinates.
(gnome_canvas_expose): Likewise.
(paint): Likewise.
(gnome_canvas_set_scroll_region): Likewise.
(gnome_canvas_set_pixels_per_unit): Likewise.
(pick_current_item): Likewise.
(window_to_world): Likewise.
(scroll_to): New internal function to scroll the canvas to a new
position.  It takes care of adjusting the scroll offset and zoom
offset to keep as much as possible of the canvas scrolling region
in view.
(gnome_canvas_scroll_to): Use the new scroll_to function.
(gnome_canvas_set_pixels_per_unit): Likewise.
(gnome_canvas_set_scroll_region): Likewise.
(gnome_canvas_size_allocate): Reset the adjustment page_size and
page_increment.

* gnome-canvas.h (struct _GnomeCanvas): New fields zoom_xofs and
zoom_yofs.  These are used to track the inset offsets to use when
the canvas is zoomed out.

1998-08-03  Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.h: new GnomeMDI member tab_pos: stores the desired tab
position of MDI notebook widgets.
* gnome-mdi.c (gnome_mdi_set_tab_pos): sets the desired tab position
for MDI notebook widgets.
(book_create): set the desired tab position of created notebook widgets.

1998-08-02  Raja R Harinath  <harinath@cs.umn.edu>

* Makefile.am (gnome.defs): Simplify rule by using `cd $srcdir'
before doing any of the stuff.
(gnometypebuiltins{.h,_vars.c,_ids.c,_evals.c}: Likewise.
* makeenums.pl (parse_entries): `srcdir' is now not passed in the
environment.

1998-07-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_set_scroll_region):
(gnome_canvas_set_pixels_per_unit): Use gtk_layout_freeze/thaw().
(DISPLAY_X1): Use the layout->xoffset value instead of the
adjustment value.
(DISPLAY_Y1): Likewise.
(gnome_canvas_get_scroll_region): New public function to query the
scrolling limits of the canvas.

* gtklayout.c (gtk_layout_freeze):
(gtk_layout_thaw): Added public freeze/thaw functions for
GtkLayout.  These disable/enable moving and repainting of the
bin_window of the layout, respectively.
(gtk_layout_position_children): New private function to reposition
all the children in the layout.
(gtk_layout_adjustment_changed): Don't do anything but update the
offsets if it is frozen.  Use gtk_layout_position_children().

* gtklayout.h (struct _GtkLayout): Added frozen field.

1998-07-31  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

        * gnome-mdi-child.h: GnomeMDIChild now has a pointer to his
parent MDI [if it exists].
* gnome-mdi.[ch] (gnome_mdi_update_child): new public function.
for now all it updates are the children's names.
* gnome-mdi.c (gnome_mdi_add_child, gnome_mdi_remove_child):
take care of updating the child's parent pointer.
(findpage by_widget): new private convenience function.
* gnome-mdi-child.c (gnome_mdi_child_set_name): call
gnome_mdi_update_child().

1998-07-30  Mark Crichton  <crichton@expert.cc.purdue.edu>

* gnome-popupmenu.c (gnome_app_create_popup_menus_custom):
The old reparent there was a bad thing.  Changed to a
container_add.  Mem leak still exists,will be fixed soon.
(gnome_app_create_popup_menus): Changed #if to #ifdef so
code would actually compile correctly.

Popup menu code is now "stable" for general testing now.  If
anyone can fix thebad display-ish bug I'm having, I'd appreciate
leads.

1998-07-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-init.c: Fixup includes.

* gnome-canvas.c (gnome_canvas_scroll_to): Re-added the
gnome_canvas_scroll_to() function.  It changes the scroll offset
by emitting the proper signals, and takes care of all the gritty
details.
(gnome_canvas_get_scroll_offsets): New public function to query
the scroll offsets of the canvas.

1998-07-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

OK, some semi-major changes.  The canvas is now a descendant of
GtkLayout, which does smooth scrolling a la Mozilla (so that
subwindows of the window you are scrolling do not trail behind
when you scroll).

There are some problems left with setting the adjustments to
reasonable values when the canvas is zoomed in; I will be fixing
that shortly.

Please read the changes below to see what needs to be done for
stuff derived from the canvas.

* gtklayout.[ch]: Added the supercool GtkLayout container to the
source tree.

* gtklayout.c (gtk_layout_adjustment_changed): Do not do any
window-related operations if the widget is not mapped.

* Makefile.am: Added gtklayout.[ch] to the sources.

* libgnomeui.h: Added gtklayout.h to the list of headers.

* gnome-canvas.[ch]: The GnomeCanvas widget now descends from
GtkLayout.  Made the necessary changes to the Gtk-related
functions to make this happen.

* gnome-canvas.h (struct _GnomeCanvas): Removed the bg_pixel and
bg_set fields.  Also, removed the display_x1 and display_y1 fields
-- these can now be queried from the
canvas->layout.hadjustment->value and vadjustment fields.

* gnome-canvas.h: Removed the gnome_canvas_scroll_to() function.
The scroll offset can now be set using the parent layout's
adjustments.

* gnome-canvas.h (struct _GnomeCanvas): Removed the visual and
colormap fields.

* gnome-canvas.h: gnome_canvas_new() now takes zero arguments --
it will use the proper Gtk visual and colormap (settable by using
gtk_widget_push_visual() and gtk_widget_push_colormap()).

* gnome-canvas.h: Removed the gnome_canvas_construct() function.

* gnome-canvas.c (gnome_canvas_construct): Removed this function
and moved the useful parts to gnome_canvas_init().
(gnome_canvas_new): Now just creates the object and returns it as
is -- now all initialization can be done in gnome_canvas_init().

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_realize): Use the
canvas->layout.bin_window.
* gnome-canvas-text.c (gnome_canvas_text_realize): Likewise.
* gnome-canvas-image.c (gnome_canvas_image_realize): Likewise.

1998-07-29  Raja R Harinath  <harinath@cs.umn.edu>

* Makefile.am (EXTRA_DIST): Add `gnome.defs', make{types,enums}
scripts, and gnometypebuiltins_{vars,ids,evals}.c.

1998-07-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_set_arg): When re-setting
the coordinates of the line, drop the arrowhead polygons if they
exist, as they need to be regenerated.

* gnome-canvas-line.c (reconfigure_arrows): Do not do anything if
the line does not have any points at all.
(recalc_bounds): Only grow the bounds to include the arrows if the
arrows have been defined yet.

* gnome-canvas-line.c (reconfigure_arrows): Do not scale the
arrows when the width of the line is specified in (unchanging)
pixels, to be consistent with the rest of the canvas.
(gnome_canvas_line_point): Adjust the effective width of the line
for the distance-to-point calculation so that even lines that are
logically less than one pixel thick can be picked up.

1998-07-29  Havoc Pennington  <hp@pobox.com>

* gnome-icon-list.h, gnome-icon-list.c: Put const on char* args.

1998-07-28  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_draw): Draw the
arrowheads if they exist.
(reconfigure_arrows): New function used to recompute the arrowhead
polygons.

* gnome-canvas-line.c (recalc_bounds): Doh.  Call
gnome_canvas_group_child_bounds() to notify the line's parent of
the changed bounds.

Added standard Gtk functions for querying object arguments:

* gnome-canvas.c (gnome_canvas_group_get_arg): New function.
* gnome-canvas-rect-ellipse.c (gnome_canvas_re_get_arg): New function.
* gnome-canvas-text.c (gnome_canvas_text_get_arg): New function.
* gnome-canvas-line.c (gnome_canvas_line_get_arg): New function.

* gnome-canvas.c (gnome_canvas_request_redraw): Do not do anything
if the widget is not drawable.

1998-07-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_destroy): Doh, forgot to
assign line.

* gnome-canvas.c (item_post_create_setup): Moved
realization/mapping from here to group_add().
(group_remove): Unmap/unrealize the child here as well.  This is
in preparation for the reparent functions of the canvas.

* gnome-canvas.h: Added realized and mapped flags for items.
Sigh, I thought I would not be needing them.

* gnome-canvas.c (gnome_canvas_item_shutdown): Only
unmap/unrealize the item if appropriate.

* gnome-canvas.c (gnome_canvas_group_realize):
(gnome_canvas_group_unrealize):
(gnome_canvas_group_map):
(gnome_canvas_group_unmap): Use the realized/mapped flags to see
which children to operate on.

* gnome-canvas.c (gnome_canvas_item_shutdown): Unmap/unrealize the
item before unparenting it.
(group_remove): Rewrote for sanity's sake.
(gnome_canvas_item_shutdown): Reset the canvas current_item and
new_current_item to null.
(gnome_canvas_group_destroy): Proper destruction of the list of
children.

1998-07-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): fixed a bug with
multiple items with same prefixes in a menu.

Sun Jul 26 13:31:27 1998  Tom Tromey  <tromey@cygnus.com>

Some `-Wall -Wmissing-declarations' fixes:
* gnome-scores.c (gnome_scores_new): Changed type of `buttons' to
match gnome_dialog_constructv prototype.
* gnome-popupmenu.c (gnome_app_create_popup_menus_custom): Removed
unused variables.
* gnome-lamp.c (type_hash): Now static.
* gnome-init.c: Include libgnomeui/libgnomeui.h.
(gnome_init): Protect segv code with USE_SEGV_HANDLE.
(gnome_segv_handle): Likewise.
* gnome-icon-sel.c: Include <string.h>.
* gnome-entry.c (gnome_entry_load_history): Removed unused
variable.
(gnome_entry_save_history): Likewise.
* gnome-dns.c (gnome_dns_server_req): Now static.
(gnome_dns_create_server): Likewise.
(gnome_dns_callback): Likewise.
* gnome-dialog-util.c: Include gnome-dialog-util.h.
* gnome-client.c (client_set_prop_from_array_with_arg): Added cast
to avoid warning.
* gnome-app-helper.c (gnome_app_add_radio_menu_entries): Always
return a value.
(gnome_app_add_help_menu_entries): Likewise.
(gnome_app_insert_menus_custom): Removed unused variable.
* gnome-appbar.c: Include libgnomeui/gnome-preferences.h.
* gnome-app.c: Include libgnomeui/gnome-preferences.h.

1998-07-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: removed some unused variables and functions and
fixed some things that I forgot during the previous commit.
Thanks go to Tom Tromey for pointing things out and sending a patch.

1998-07-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app.c: don't use GTK_SHRINK flag when attaching toolbar,
menubar or statusbar. it seems nicer if these don't shrink when
the GnomeApp itself is shrunk.
* gnome-mdi.h: changed GNOME_MDI_* mode flags to enums.
* gnome-mdi.c (book_create): make the notebook scrollable: this fixes
the problem with lots of children in notebook mode.
(app_create): allow growing and shrinking of GnomeApps.
(gnome_mdi_get_app_from_view, gnome_mdi_get_child_from_view):
convenience functions for getting the GnomeMDIChild or GnomeApp data
from an associated view.
* gnome-mdi-child.h: removed VIEW_GET_* macros. they have been obsoleted
by the gnome_mdi_get_*_from_view() functions.
* gnome-mdi.[ch] (gnome_mdi_register, gnome_mdi_unregister): these
functions should make life easier if an application opens windows
that should "keep the app alive" even if there are no MDI windows
open. any such windows should be registered with the MDI: as long
as there is a window registered, the MDI will not destroy itself
(even if the last of the MDI windows is closed). balsa's Mailbox List
window comes to mind as an example.

Fri Jul 24 19:54:43 1998  Havoc Pennington  <hp@pobox.com>

* gnome-scores.c (gnome_scores_new): Use construct to set
the title and buttons.

        * gnome-app-util.c: Switch to parented dialogs.

* gnome-dialog-util.h, gnome-dialog-util.c: Added "parented"
versions of these. The old versions are not really necessary
anymore because you can just pass NULL for parent, but they
save typing I guess.

* gnome-preferences.h: New functions for dialog position, whether
 to attempt dialog-over-parent centering, whether dialogs are
 TOPLEVEL or DIALOG.

* gnome-dialog.c (gnome_dialog_newv): Remove unused variable.
(gnome_dialog_set_parent): New function, allows setting a parent
the dialog should be centered over.

Sat Jul 25 02:51:12 1998  Simon Kagedal  <simon@sdf.se>

 * gnome-scores.c, gnome-scores.h:
 made the GnomeScore dialog inherit from GnomeDialog
 instead of GtkWindow

1998-07-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (emit_event): When there is a grabbed item, the
event should also be propagated upwards in the item hierarchy, not
just when the current item is actually the grabbed item.
(is_descendant): New function that returns whether an item is a
descendant of some parent group.

* gnome-canvas-line.c (gnome_canvas_line_point): Fixed effective
width calculation.  Doh.

* gnome-canvas-util.c (gnome_canvas_polygon_to_point): Fixed typo
(y -> py).

* gnome-canvas-line.c (gnome_canvas_line_translate): Implemented
translate method.
(recalc_bounds): Doh.  Fixed off-by-one error when growing
bounding box.

* gnome-canvas-util.c (gnome_canvas_get_miter_points): Fixed typo
(x2 -> x3).

* gnome-canvas-line.c (gnome_canvas_line_point): When on the last
edge, projecting the butt points depends on whether we are using
GDK_CAP_PROJECTING.

Fri Jul 24 02:34:31 1998  John Ellis  <johne@bellatlantic.net>

* gnome-dentry-edit.c:
(gnome_dentry_edit_sync_display): now update icon select dialog too.
(static void gnome_dentry_edit_sync_dentry): if text fields are blank,
set the corresponding dentry pointer NULL to avoid blank entries in
the .desktop files.
(gnome_dentry_edit_set_icon): now no icon sets the dentry->icon pointer
NULL instead of "", like the above this avoids blank entries.

Thu Jul 23 00:59:23 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock: added `first' and `last' icons from gnomecard.

1998-07-22  Havoc Pennington  <hp@pobox.com>

* gnome-stock.h: #include "gnome-pixmap.h" rather than
  <libgnomeui/gnome-pixmap.h>

* gnome-pixmap.h: #include gnome-defs.h so that this file
can be included without the rest of libgnomeui (e.g. in
gnome--)

1998-07-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.c (gnome_canvas_line_point): Finished
implementing distance-to-point method.  It is a bit buggy, I will
test it tomorrow.

* gnome-canvas-util.c (gnome_canvas_get_miter_points): New public
function to calculate the butt points of a line segment.
(gnome_canvas_polygon_to_point): New public function to compute
the distance between a polygon and a point.

* gnome-canvas-line.c (recalc_bounds): We can only calculate
mitered points up to (line->num_points - 3).
(gnome_canvas_line_draw): Use pointer arithmetic instead of
calculating indices explicitly.
(recalc_bounds): Likewise.

Mon Jul 20 22:41:29 1998  John Ellis  <johne@bellatlantic.net>

* gnome-dentry-edit.c (gnome_dentry_edit_sync_display): fix segfault
when dentry->exec should be empty, but isn't. hmm...
(gnome_dentry_edit_set_icon): fix when clearing by setting it "".

Mon Jul 20 17:30:12 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-client.c (gnome_client_init): Only reallocate buffer if
errno is ERANGE.

Sun Jul 19 23:07:38 1998  George Lebl  <jirka@5z.com>

* gnome-propertybox.c: fix the {set,get}_data calls, they now use
  the proper object

1998-07-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_construct
gnome_canvas_item_constructv): Removed the unused type parameter.

* gnome-canvas-line.c (recalc_bounds): Implemented the
bounds-calculation routine.

* gnome-canvas-util.c (gnome_canvas_get_miter_points): New public
function to compute the miter points of a line's corner.

* gnome-canvas-line.c (gnome_canvas_line_destroy): Free line
structure's fields properly.
(gnome_canvas_line_draw): Optimization: use a static array of
points instead of allocating one, when possible.

Sun Jul 19 22:54:12 1998  Havoc Pennington  <hp@pobox.com>

* gnome-canvas.h, gnome-canvas-c: Added
gnome_canvas_item_construct,
gnome_canvas_item_constructv

Sun Jul 19 18:06:38 1998  Tom Tromey  <tromey@cygnus.com>

Reverted change of July 7:
* gnome-client.c (gnome_client_save): Removed.
(gnome_client_restart_session): Removed.
* gnome-client.h (gnome_client_save,
gnome_client_restart_session): Removed.

1998-07-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_raise
gnome_canvas_item_lower): Do not accept values less than 1.
(gnome_canvas_item_raise_to_top
gnome_canvas_item_lower_to_bottom): New public functions to
raise/lower an item to the top/bottom of its parent's z-order,
respectively.

* gnome-canvas-rect-ellipse.c (gnome_canvas_rect_draw
gnome_canvas_ellipse_draw): Made a little optimization when
converting item coordinates to canvas pixel coordinates.

* Makefile.am: Added gnome-canvas-line and gnome-canvas-util to the
sources.

* gnome-canvas.c (gnome_canvas_item_new gnome_canvas_item_newv):
Removed the canvas parameter passed to these functions.  It is not
needed, as we can extract the canvas from the parent item parameter.

1998-07-19  Havoc Pennington <hp@pobox.com>

* gnome-appbar.h, gnome-appbar.c: Add construct function.

Sat Jul 18 20:25:28 1998  George Lebl  <jirka@5z.com>

* gnome-propertybox.[ch]: cleaned up the way the notebook
  page "dirty" flags are handeled, now one should just use
  gtk_notebook functions on the ->notebook item in the
  struct

Sat Jul 18 20:26:40 1998  John Ellis  <johne@bellatlantic.net>

        * gnome-dentry-edit.c (gnome_dentry_edit_load_file): changed
        gnome_desktop_entry_load to unconditional.

Sat Jul 18 12:42:09 1998  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.c (gnome_dialog_constructv): Use append_button,
not append_buttons without NULL termination.
(gnome_dialog_construct): Same.
(gnome_dialog_new): Reverted last change. Use the construct
 function rather than cut-and-pasting it.

1998-07-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch] (gnome_mdi_find_child): made the function
public.
* gnome-mdi.c: added some g_return_if_*() checks in all the
public functions and removed some ancient parts of code that
did nothing.

1998-07-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* Added gnome-canvas-line.[ch] to the build process.

Fri Jul 17 14:48:14 1998  John Ellis  <johne@bellatlantic.net>

* libgnomeui.h:
        * Makefile.am: Added gnome-dentry-edit.[ch] and
gnome-icon-sel.[ch] so they can be used in gmenu. They have been
collecting dust, so it's about time :)

1998-07-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-line.[ch]: Beginnings of a polyline/curve item for
the canvas.  It is not in the compilation process yet.

* gnome-canvas-util.[ch]: New files with miscellaneous public
utility functions for the canvas.

* gnome-canvas-rect-ellipse.c (gnome_canvas_rect_draw): Fixed
off-by-one error when painting unfilled rectangles.  Stupid X
weird semantics.
(gnome_canvas_ellipse_draw): Likewise for ellipses.  Gotta hate X.

Thu Jul 16 23:14:00 1998  Havoc Pennington  <hp@pobox.com>

* gnome-about.h, gnome-about.c (gnome_about_new):
 const-correctness.
(gnome_about_construct): new function.

1998-07-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-image.c (gnome_canvas_image_set_arg): Do not reset
the width and height when the image is changed.  This makes
updating an existing image easier.
(gnome_canvas_image_destroy): Oops, the parent class destroy
method was not being called.

* gnome-canvas.c (gnome_canvas_item_grab): Test the return value
of gdk_pointer_grab() before actually setting the grabbed item in
the canvas structure.
(gnome_canvas_item_raise gnome_canvas_item_lower): New public
functions used to raise and lower items in their parent's z-order.

Wed Jul 15 22:31:58 1998  Havoc Pennington  <hp@pobox.com>

* gnome-popupmenu.h, gnome-popupmenu.c (__GNOME_POPUPMENU_H__):
 added include guards, and LGPL. The author needs to put in the
copyright owner, I didn't want to assume FSF.

        * gnome-appbar.c (entry_insert_text_cb): Don't use
gtk_editable_get_position with Gtk 1.0

1998-07-15  Raja R Harinath  <harinath@cs.umn.edu>

* gnome-popupmenu.c (gnome_app_create_popup_menus): Declare `void'
return type.
(gnome_app_create_popup_menus_custom): Likewise.
* gnome-popupmenu.h: Coressponding changes.  Also add
{BEGIN,END}_GNOME_DECLS gaurds.

Wed Jul 15 19:14:44 1998  Havoc Pennington  <hp@pobox.com>

* TODO: Updated.

1998-07-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.h (GnomeCanvas): New field, grabbed_item, points to
the item that holds the active pointer grab.

* gnome-canvas.c (gnome_canvas_item_grab
gnome_canvas_item_ungrab): New public functions; perform a mouse
grab on the specified item.  These are pretty much like
XGrabPointer() and XUngrabPointer(), respectively.

* gnome-canvas.c (emit_event): If there is a grabbed item, check
that it is the current item for emission.

* gnome-canvas.c (shutdown_transients): New function, remove the
idle handler and ungrab the mouse.

* gnome-canvas.c (gnome_canvas_unmap): Use shutdown_transients().
* gnome-canvas.c (gnome_canvas_unrealize): Likewise.

* gnome-canvas-image.h (GnomeCanvasImage): New need_recalc flag --
specifies whether we need to rescale the image when needed.

* gnome-canvas-image.c (gnome_canvas_image_reconfigure): Just turn
on the need_recalc flag, do not actually do the rescaling work here.

* gnome-canvas-image.c (recalc_if_needed): Rescale the image and
fetch the pixmap/mask if needed.

* gnome-canvas-image.c (gnome_canvas_image_draw): Use recalc_if_needed().
* gnome-canvas-image.c (gnome_canvas_image_point): Likewise.

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_set_arg): Do not
recalc bounds unnecessarily.
* gnome-canvas-image.c (gnome_canvas_image_set_arg): Likewise.

* gnome-canvas.c (gnome_canvas_construct): Ref/sink root item.
(group_add): Ref/sink item.
(group_remove): Unref item.
(gnome_canvas_destroy): Unref root item.

Tue Jul 14 22:47:33 1998  Havoc Pennington  <hp@pobox.com>

* gnome-app.h, gnome-app.c, gnome-dialog.h, gnome-dialog.c:
Added "construct" functions. The gnome-dialog one takes a va_list
which is kind of weird; if there's a good alternative I'd like
to use it instead.

1998-07-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (paint): Fixed off-by-one bug in the rectangle
coordinates comparison.
(gnome_canvas_new): Use the construct function.
(gnome_canvas_construct): New public function; constructor useful
for derived classes and language bindings.

The canvas no longer supports unattached item sets, since the
application can take care of a list of arbitrary items by itself.
Only hierarchical groups are supported now.

(gnome_canvas_group_new): Removed this function.
(group_add): Made static and renamed from gnome_canvas_group_add.
(group_remove): Made static and renamed from gnome_canvas_group_remove.

1998-07-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c (gnome_mdi_add_view): check if view has been successfully
added to the child.
* gnome-mdi-child.c (gnome_mdi_child_add_view): check if view has been
successfully created.

Sun Jul 12 22:57:55 1998  Havoc Pennington  <hp@pobox.com>

* gnome-app-util.c: Implementations for interactive appbar
and appbar progress bar.
* gnome-app-util.h: Change set_progress to use gdouble rather
than gfloat.
* gnome-appbar.h, gnome-appbar.c: Try implementing interactive
minibuffer with a GtkEntry hack. It doesn't work so good; think of
it as a prototype.
* gnome-types.h: GnomePreferencesType enum
* gnome-dialog-util.c: Use set_modal instead of grab_add for modal
dialogs; this fixes a bug (the "modal" dialogs weren't).

Fri Jul 10 10:19:38 1998  Tim Janik  <timj@gtk.org>

* gnome-app-helper.c (gnome_app_do_menu_creation):
* gnome-stock.c (gnome_stock_menu_item):
create GtkAccelLabel if GTK_HAVE_ACCEL_GROUP, so accelerators are
visible.

Fri Jul 10 08:08:45 1998  Tim Janik  <timj@gtk.org>

* gnome-canvas.c:
 (gnome_canvas_item_new):
(gnome_canvas_item_set): adapted the argument collection and setting
 code to work with the recent gtk changes.

1998-07-09  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: GnomeMDI's create_menubar and create_toolbar
signal handlers now receive additional parameter that holds a
pointer to the corresponding GnomeApp widget. This should be
useful when, say, calling gnome_stock_pixmap_widget(app, ...)
in these handlers.
* gnome-mdi.c (rootwin_drop): open the new GnomeApp at the
position of the mouse pointer.

1998-07-08  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_scroll_to): New public function to
set the top-left display coordinates of the canvas.

1998-07-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_group_point): Fixed * and /
confusion when coverting coordinates.

* gnome-canvas-image.c (dist_to_mask): New function, calculates
the distance in pixels from a point to a mask.  The point is
considered to be "inside" the mask if it is on a white pixel.

* gnome-canvas.c (emit_event): Convert event coordinates to world
coordinates before emitting.

* gnome-canvas-image.c: Scale the image properly; it wasn't working.

* gnome-canvas-image.h (GnomeCanvasImage): New fields cwidth and
cheight.  These represent the rendered size of the image in pixels.

1998-07-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: fixed updating of active_view and active_child
throughout the code.
* gnome-mdi.h: made the GNOME_MDI_*_INFO_KEYs public. these allows
users to get access of the copies of menu and toolbar templates.

1998-07-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas-image.[ch]: New imlib image type for the canvas.

* libgnomeui.h:
* Makefile.am: Added gnome-canvas-image.[ch].

* gnome-canvas-rect-ellipse.c (gnome_canvas_re_realize):
* gnome-canvas-text.c (gnome_canvas_text_realize): Call the
reconfigure method instead of the explicit function.

* gnome-canvas.c (gnome_canvas_item_move): Take care of incomplete
item type implementations by warning about unimplemented method.
(gnome_canvas_group_draw): Test for presence of draw method.
(gnome_canvas_group_point): Test for presence of point method, and
use an initialized point_item in case the method is incompletely
implemented.
(gnome_canvas_update_now): Now we flush the X queue here to ensure
repaint.

* gnome-canvas-text.c (gnome_canvas_text_translate): Implemented
translate method for text items.

Tue Jul  7 00:03:21 1998  John Ellis  <johne@bellatlantic.net>

* gnome-dentry-edit.c (gnome_dentry_get_dentry): fixed segfault.
(gnome_dentry_edit_set_icon): icons now display when changed.
* gnome-icon-sel.[ch] (gnome_icon_selection_show_icons): new
function, call this after adding all directories so the progress
bar updates correctly.

Mon Jul  6 22:46:58 1998  Havoc Pennington  <hp@pobox.com>

* gnome-appbar.h, gnome-appbar.c: A tentative start at this
widget inspired by Mozilla; eventually it will be a lot nicer
hopefully.
        * gnome-app-util.h, gnome-app-util.c (gnome_app_set_status,
gnome_app_push_status, gnome_app_pop_status): Removed functions.
(gnome_app_progress_update): renamed to set_progress
* gnome-app-util.c: Changed to use AppBar
* libgnomeui.h, Makefile.am: Add gnome-appbar.[ch]
* gnome-app.c: #ifdef GTK_RELIEF_NONE around toolbar relief stuff.
* gnome-preferences.c: I mispelled the menubar handlebox config
key.

1998-07-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): can look for separators.
* gnome-mdi.c: some bugfixes.

Sun Jul  5 18:12:24 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-client.c (master_environment): Removed DISPLAY, HOME,
PATH, LD_LIBRARY_PATH.

1998-07-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: added child_changed signal and did some extensive
code clean-up ;).

1998-07-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): added a
check if submenu is not NULL.
* gnome-mdi.[ch]: removed child_menu_label and all related
functions. now all children items are inserted where
child_list_path points.

1998-07-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_update_now): New public function
that tells the canvas to redraw itself immediately, instead of
waiting for the idle loop.

* gnome-canvas-text.c: New text item for the canvas, still not finished.

* libgnomeui.h:
* Makefile.am: Added gnome-canvas-text.[ch].

1998-07-05  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gnome-mdi.c (app_create): Fixed a typo.

1998-07-04  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* gnome-app-helper.h (GNOMEUIINFO_JUSTIFY_RIGHT): Fixed a wrong
order of GnomeUIInfo fields, which caused a compile error.

1998-07-03  Chris Lahey  <clahey@umich.edu>

* libgnomeui.h: Check for GDK_HAVE_FULL_CROSSING_EVENT before
including gnome-canvas.h and gnome-canvas-rect-ellipse.h.

Fri Jul  3 16:51:31 CDT 1998  Richard Hestilow  <hestgray@ionet.net>

* gnome-app.c (gnome_app_set_toolbar) : Added check for
Gtk+ support of relief features. (GTK_HAVE_RELIEF_STYLE)

Mon Jun 29 14:10:48 1998  Havoc Pennington  <hp@pobox.com>

* gnome-preferences.h, gnome-preferences.c
(gnome_preferences_get_toolbar_relief,
gnome_preferences_set_toolbar_relief): Whether the toolbar buttons
have the beveled edge.
* gnome-app.c (gnome_app_set_toolbar): Turn off the toolbar button
relief if user requested it.
* gnome-preferences.c (gnome_preferences_load): Oops, forgot to
push a new prefix for the GnomeApp stuff, it was being saved under
Dialog prefs.
* gnome-dialog.h, gnome-dialog.c (gnome_dialog_run_and_die):
Renamed to run_and_destroy - run_and_die was cute at 2 am, but
probably not a good name. ;-)

1998-07-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk-socket.h, gtk-plug.h: Fix prototypes

1998-07-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* Makefile.am (INCLUDES): Cosmetic cleanups.

* gnome-canvas.c (gnome_canvas_destroy): Use canvas_parent_class,
not item_parent_class on the destroy method.

Thu Jul  2 14:12:14 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-stock*: new icons by tigert.
stock_demo.c: added search-replace sample icons

1998-07-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.c: the child-specific menu callbacks no longer
get their GnomeMDIChild pointer passed as user data.
gnome_mdi_get_active_view() (or mdi->active_view) and
VIEW_GET_CHILD() macro should be used to get the pointer
to the GnomeMDIChild in callbacks.

1998-07-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_item_shutdown): Implemented
shutdown method, mostly stolen from GtkWidget.
(gnome_canvas_item_set): Request redraw and repick.
(gnome_canvas_item_setv): likewise
(gnome_canvas_item_move): likewise

Implemented reference counting for items.  It is still missing in
several places.

1998-07-01  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c (gnome_canvas_group_child_bounds): Now can either
add an item's bounds to the group's bounds, or rebuild the entire
group's bounds recursively.
(gnome_canvas_item_w2i): New function to convert from world
coordinates to item coordinates.

* gnome-canvas.c (gnome_canvas_group_translate): Implemented
translate method.

* gnome-canvas-rect-ellipse.c (recalc_bounds): Whoops, we were
doing everything in world coordinates.  Now it takes item
coordinates into account.
(gnome_canvas_re_translate): Implemented translate method.
(recalc_bounds): Don't forget to notify parent that our bounds changed.

1998-07-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.[ch]: changed
"typedef struct _GnomeUIBuilderData *GnomeUIBuilderData" to
"typedef struct _GnomeUIBuilderData GnomeUIBuilderData" and
patched the functions using this. This will probably break some
apps, but changes are trivial. It seems more consistent this way.

Tue Jun 30 22:02:34 PDT 1998 Manish Singh <yosh@gimp.org>

* Makefile.am: added back in the optional gnome-canvas sources
so they get installed too

1998-06-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c:
* gnome-canvas.h:
* gnome-canvas-rect-ellipse.c:
* gnome-canvas-rect-ellipse.h: Here is the new canvas that uses
GtkObjects for the canvas items.  It supports a hierarchical
organization of items, and arbitrary item sets as well.  This is
still a work in progress.  Please see the test-gnome demo for
information on how to use this beast.

Tue Jun 30 16:13:19 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-color-selector.c: Include <stdio.h>.
* gnome-stock.c: Include libgnome/gnome-i18nP.h.
* gnome-mdi.c: Include libgnome/gnome-i18nP.h.
* gnome-dateedit.c: Include libgnome/gnome-i18nP.h, <stdio.h>.
* gtk-ted.c: Include libgnome/libgnomeP.h.
* gnome-startup.c: Include libgnome/libgnomeP.h.
* gnome-pixmap.c: Include libgnome/libgnomeP.h.
* gnome-number-entry.c: Include libgnome/libgnomeP.h.
* gnome-init.c: Include libgnome/libgnomeP.h.
* gnome-font-selector.c: Include libgnome/libgnomeP.h.
* gnome-entry.c: Include libgnome/libgnomeP.h.
* gnome-dentry-edit.c: Include libgnome/libgnomeP.h.
* gnome-client.c: Include libgnome/libgnomeP.h.
* gnome-calculator.c: Include libgnome/libgnomeP.h.

1998-06-30  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.[ch]: Modified menu and toolbar creation functions
to support GNOME_APP_UI_BUILDER_DATA items that supply GnomeUIBuilderData
structure to use with the following entries until the end of the current
GnomeUIInfo array or next GNOME_APP_UI_BUILDER_DATA item. BuilderData
structures supplied in this manner do not affect subtrees [initial structures
created by or supplied to appropriate gnome_app_helper__create_*() calls are
used for this] or other GnomeUIInfo arrays at the same level.

Tue Jun 30 17:14:31 1998Jonathan Blandford <jrb@redhat.com>
* gnome-app-helper.c: Modified gnome_app_add_radio_menu_entries()
to handle separators.

1998-06-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: dnd types now differ for each process using MDI.
this prevents false impression that dragging a notebook page from
MDI of one process to MDI of another will work.

1998-06-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-entry.c: Remove the prefix_list get/set stuff.

1998-06-29  Nuno Ferreira <nmrf@rnl.ist.utl.pt>

* gnome-file-entry.c: Include config.h, do not include
libgnomeui/libgnomeui.h, instead include libgnome/gnome-i18nP.h

Mon Jun 29 03:04:30 1998  Havoc Pennington  <hp@pobox.com>

* TODO: Updated a little.

Mon Jun 29 02:58:15 1998  Havoc Pennington  <hp@pobox.com>

* gnome-preferences.h, gnome-preferences.c
(gnome_preferences_get_toolbar_handlebox,
gnome_preferences_set_toolbar_handlebox,
gnome_preferences_get_menubar_handlebox,
gnome_preferences_set_menubar_handlebox): New functions.

* gnome-app.c (gnome_app_set_menus): Obey preferences for
handlebox.
(gnome_app_set_toolbar): Obey handlebox prefs.

Mon Jun 29 02:52:10 1998  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.h, gnome-dialog.c (gnome_dialog_run): Take out the
hide stuff.
(gnome_dialog_run_and_hide): Do what gnome_dialog_run used to do.
(gnome_dialog_run_and_die):  Run and then destroy the dialog.
(gnome_dialog_button_connect_object): Someone requested this.


Sun Jun 28 10:50:01 1998  Tom Tromey  <tromey@cygnus.com>

* libgnomeui.h: Include libgnome/gnome-parse.h, so libgnomeui.h
can be included without first including libgnome.h.

Mon Jun 29 00:35:47 1998  Havoc Pennington  <hp@pobox.com>

* gnome-app-util.h, gnome-app-util.c: Implementation for all
functions except interactive statusbar stuff. However,
ui-properties doesn't allow you to turn on interactive statusbar
yet, so all the functions should be usable if possibly buggy.
Also, many of the functions changed to return the dialog created.
* gnome-app.c: Initialize the statusbar member to NULL.
* gnome-preferences.h, gnome-preferences.c: Add statusbar
 vs. dialog options.
* libgnomeui.h: Add gnome-app-util.h
* Makefile.am: Add gnome-app-util.h, gnome-app-util.c

1998-06-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-app.c (make_button_toolbar): i18n strings marked;  Added
code that still does not work for configuring toolbar settings (we
should configure pictures/text-pictures/text-only/tooltips).

* gnome-client.c (gnome_client_new_default): Until someone
documents what is the procedure to use the new client stuff, I am
removing this warning, as it apparently does the right thing.

1998-06-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi-child.[ch]: removed declaration of non-existing
gnome_mdi_get_views() and removed some other stale stuff.

1998-06-28  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-scores.c: Included 'gnome-i18nP.h' instead of 'gnome-i18n.h'.

1998-06-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-init.c: Add a new argument handled by Gtk+.  Reindent.

1998-06-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: new member child_menu_label and function
for setting it, so MDI doesn't always display Children.

Sun Jun 21 15:09:04 CEST 1998  Eckehard Berns  <eb@berns.pirma.de>

* gnome-pixmap.[ch] (gnome_pixmap_new_from_imlib): new function
(gnome_pixmap_new_from_imlib_at_size): new function
(gnome_pixmap_load_imlib): new function
(gnome_pixmap_load_imlib_at_size): new function
(finish_load): changed to accept `int destroy', which determines
whether the GdkImlibImage should be destroyed or not.

The new functions make it possible to pass valid GdkImlibImages for
GnomePixmap creations/updates.

1998-06-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c: Fixed bug where it would crash if you clicked
on an empty icon list.  Thanks to James Henstridge
<james@quoll.daa.com.au> for the patch.

Thu Jun 18 23:52:04 1998  George Lebl  <jirka@5z.com>

* gnome-init.c: set up config autosyncing during gnome_init

* gnome-entry.c: don't sync every time we want to do a set,
  we can realy on the autosync to do it for us, this should
  reduce cpuusage.

1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-number-entry.c: Fixup includes.

1998-06-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c: changed gnome_app_add_[radio|help]_menu_entries() to
return new pos so that insertion works properly.

Thu Jun 18 02:47:26 1998  George Lebl  <jirka@5z.com>

* gnome-number-entry.[ch]: new entry type modeled after file
  entry, but for numbers. has a "browse" dialog with a
  calculator.

* gnome-calculator.[ch]: add some new functions for more control

Thu Jun 18 00:40:27 1998  George Lebl  <jirka@5z.com>

* gnome-entry.c: use the new gnome_config prefix list functions
  so that gnome_entry doesn't interfere with app's prefix stack

Tue Jun 16 15:35:01 1998  Havoc Pennington  <hp@pobox.com>

* gnome-dentry-edit.h, gnome-dentry-edit.c, gnome-icon-sel.h,
gnome-icon-sel.c: New files.
* gnome-pixmap.h, gnome-pixmap.c (gnome_pixmap_new_from_file,
gnome_pixmap_new_from_file_at_size, load_file,
gnome_pixmap_load_file, gnome_pixmap_load_file_at_size):
const char * for filename arguments.

Sun Jun 14 13:46:09 1998  Tom Tromey  <tromey@cygnus.com>

* Makefile.am (INCLUDES): Look in intl source and build
directories.

Sat Jun 13 16:46:18 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-client.c (arguments): Fixed typo.

1998-06-12  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c: (array_insert_arg): Removed.
(master_environment): New array.  Lists all environment variables,
 that will set automatically to the master client.
(gnome_client_init): Sets the environment variables listed in
 'master_environment' and the current_directory now.
(gnome_client_set_current_directory): Sets only one environment
 variable instead of all.
(client_set_prop_from_string): Include the trailing '\0' character
 when sending strings.

* gnome-client.h: Changed declaration of
 'gnome_client_set_environment'.  This function now only sets one
 environment variable and not the hole environment.
(struct _GnomeClient): member environment now of type GList.

1998-06-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-calculator.c:
* gnome-properties.c: #include <config.h>

* gnome-pixmap.[ch]: Removed the *old* gnome_pixmap_* functions
that predated the GnomePixmap widget.

Wed Jun 10 21:19:25 EDT 1998 Gregory McLean <gregm@comstar.net>

* gnome-dialog-util.c : #include <config.h> (seeing as
we went through all the trouble of detcecting all this stuff...

1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>

* Makefile.am (EXTRA_libgnomeui_la_SOURCES): Add gnome-canva-*
here.  These files are conditionally built.

Wed Jun 10 14:19:39 EDT 1998 Gregory McLean <gregm@comstar.net>

* gnome-canvas-* stuff gets automaticly turned on and off
  depending on which gtk you build against. As I'm not an auto*
  guru I'm fairly sure its not bullet proof but it works for me.

Wed Jun 10 13:07:09 EDT 1998 Gregory McLean <gregm@comstar.net>

* Wheee libgnomeui now compiles (with the exception of the
  canvas stuff) under 1.0.x again. It also compiles under 1.1
  for thoose of you that like to bleed. Please please if you
  add code that _requires_ gtk 1.1 shield it with HAVE_DEVGTK
  so us boring folks can continue to get stuff done.

Wed Jun 10 00:45:36 1998  Tom Tromey  <tromey@cygnus.com>

* gnome-init.c (our_gtk_options): Added help separator entry.

Mon Jun  8 20:11:52 1998  Havoc Pennington  <hp@pobox.com>

* gnome-dateedit.c: #include <stdlib.h> for atoi.
(day_selected): use g_snprintf, sprintf was undeclared.

* gnome-mdi-child.c (gnome_mdi_child_destroy): Use g_free, free
was undeclared.
(gnome_mdi_child_set_name): Use g_strdup, g_free.

* gnome-mdi-child.h: Declare gnom_mdi_child_get_type()

* gnome-mdi.c: #include "libgnome/gnome-util.h"
Removed a bunch of unused variables.
(app_set_title): Use g_copy_strings in place of strcat
(app_set_active_view): Slight rewrites for "assignment in
conditional" warning.
(top_add_view): Same.
(gnome_mdi_add_child): Use return_val_if_fail, for checks.
(gnome_mdi_remove_child): Same, and a couple unused variables.

* gnome-stock.c (gnome_pixmap_button): Use g_snprintf, fixes
warning about undeclared sprintf.

* gtkdial.c: Use return_val_if_fail when function returns
something. Removed a couple of unused variables.

Mon Jun  8 19:27:17 1998  Havoc Pennington  <hp@pobox.com>

* gnome-less.h, gnome-less.c: Changed error handling; rather than
have the widget report errors, return FALSE from show functions if
there is an error and set errno if applicable.
(gnome_less_show_file): add return value.
(gnome_less_show_command): add return value.
(gnome_less_show_filestream): add return value. Use fgets instead
of fread because a book I have here says fread isn't portable. (?)
(gnome_less_show_fd): New function, for file descriptors.
(gnome_less_write_file): New function, writes contents to a
filename.
(gnome_less_write_fd): New, for file descriptor.
(gnome_less_set_font): Put in header, no longer static. Set
arbitrary font.
(gnome_less_set_fixed_font): allow turning fixed font on and off.
(gnome_less_reshow): Reshow contents with current font, etc.
(gnome_less_fixed_font): Deprecated warning.

Mon Jun  8 19:22:03 1998  Havoc Pennington  <hp@pobox.com>

 * gnome-app-helper.h (GNOMEUIINFO_JUSTIFY_RIGHT): New macro for a
 struct with everything 0/NULL and type
 GNOME_APP_UI_JUSTIFY_RIGHT. I hope this is right.

Mon Jun  8 19:19:24 1998  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.h: #include <gtk/gtkaccelgroup.h>

Mon Jun  8 19:10:24 1998  Havoc Pennington  <hp@pobox.com>

* gnome-geometry.h, gnome-geometry.c (gnome_geometry_string):
New function gets a geometry string which describes a GdkWindow.
Code comes from gnomecal.
(gnome_parse_geometry): Use the glib types instead of standard C
types, since I had to include gdk anyway for GdkWindow. Also, fix
spelling of a variable name.

1998-06-08 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx>

* gnome-app-helper.c (gnome_app_do_menu_creation): The support for
pixmapped menus was broken (if you tried to put menus with pixmaps
of your own, you got warnings). This patch fixes it.

1998-06-08  Chris Lahey  <clahey@umich.edu>

* gnome-less.h:
* gnome-dns.c: Included stdio.h so that it would compile
correctly.

1998-06-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gtkdial.[ch]: added view_only member and gtk_dial_set_view_only()
function that makes gtkdial not respond to mouse events in case
it is only used as display.

1998-06-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (draw_rounded_box): Now we show marked files
with a rounded box instead of a box.

Sun Jun 07 17:24:15 1998  George Lebl  <jirka@5z.com>

* gnome-mdi.h,gnome-mdi-child.h: fix the cplusplus stuff,and
  make it use GNOME_(BEGIN|END)_DECLS

1998-06-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-mdi.[ch]: a configurable MDI object.
see gnome-hello/gnome-hello-7-mdi.c or gnome-utils/ghex for an
example of its use.
 * gnome-mdi-child.[ch]: an MDI child object
* libgnomeui.h: includes above headers
* Makefile.am: changed to include above sources in libgnomeui

1998-06-07  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-client.c: Inclueded 'stdarg.h'.
(gnome_client_object_init): Preset 'static_args'.
(gnome_client_add_static_arg): New function.  Enables one to set
 some command line options, which will always be added to the clone
 and restart command.
(gnome_real_client_destroy): Free 'static_args'.
(client_set_prop_from_array_with_arg): Includes static arguments
 into the command line, before sending them to the session manager.
(client_set_prop_from_glist): New function. Sets properties from a
 list of string (Not yet used).

* gnome-init.c: Included 'libgnomeui/gnome-client.h'. New variable
 'client'.
(our_gtk_parse_func): Adds the parsed gtk command line options as
 static arguments to the master client.

* gnome-client.h: Added 'gnome_client_add_static_arg' declaration.
(struct _GnomeClient): Added member 'static_args'.

1998-06-06  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-init.c (gnome_init): Added 'gnome_client_init' call.

* gnome-client.c: New variable 'gnome_client_auto_connect_master',
 'cloned_client', 'sm_cloned_id_arg_name' and
 'cloned_id'. 'default_client' renamed to 'master_client'. Replaec
 'array_free' with 'gnome_string_array_free'.
 (gnome_client_object_init): Renamed 'gnome_client_init' function.
(master_client_connect): Renamed 'default_client_connect'
 function.
(master_client_disconnect): Renamed 'default_client_disconnect'
 function.
(gnome_client_init): Renamed 'default_client_init' function.
(arguments): Added 'sm-cloned-id' and 'sm-disable' option.
(client_set_prop_from_array_with_arg): New function.  Sets a
 property from a string array and adds a additional command to the
 commandline.
(gnome_master_client): New function.
(gnome_cloned_client): New function.
(gnome_client_new_default): Added warning message.
(client_parse_func): Added setting of restart and clone command.  Connecting to session manager when receiving ARGP_KEY_FINI.
(gnome_client_disable_master_connection): New function.

* gnome-client.h: New 'gnome_client_disable_master_connection',
 'gnome_master_client' and 'gnome_cloned_client' declaration.

Thu Jun  4 14:53:55 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-lamp.h: new function gnome_lamp_set_window_type.

* gnome-lamp.c (gnome_lamp_set_window_type): new function to set the
wm hints for lamps/beacons.
(gnome_lamp_set_win_app_state): new static function to set the
WIN_APP_STATE window property. This is an implementation of raster's
proposal as found in the E sources (gnome.c).

1998-06-03  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* libgnomeui.h:
* Makefile.am:
* gtkdial.[ch]: moved gtkdial from gnome-admin/gxsnmp/widgets
 to libgnomeui.

1998-06-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* libgnomeui.h:
* Makefile.am: Removed the canvas stuff from these files, for the
upcoming release which will use gtk-1.0.4.  The canvas needs the
development branch of Gtk.

1998-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.c (gnome_app_find_menu_pos): set *pos to 0 if
path is emtpy and check whether menuitem's child is NULL in order
not to SIGSEGV at separators in menus. Also added a call to
gtk_widget_queue_resize() on the parent widget at the end of
insertion or removal!

1998-06-01  Seth Alves  <alves@twitch.hungry.com>

* gnome-app-helper.c (gnome_app_find_menu_pos): if path is empty,
return parant, rather than fail

Tue Jun  2 00:50:56 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-lamp.c: added sequence support.

Mon Jun  1 17:48:28 CEST 1998  Eckehard Berns  <eb@berns.prima.de>

* gnome-lamp.c (gnome_lamp_set_pixmap_color): use imlib's best color
match for color calculation in colormap modes.

1998-06-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.[ch]: added gnome_app_remove_menus() and
gnome_app_insert_menus_* routines. For the time being they
dont set or remove accelerators, since I had no idea how to
handle this - especially removal.

1998-05-31  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

* gnome-about.c: Include "libgnome/gnome-i18nP.h" instead of
 "libgnome/gnome-i18n.h".

* gnome-client.h: Added 'gnome_client_get_config_prefix' and
 'gnome_client_get_global_config_prefix' declarations.
(struct _GnomeClient): New member 'config_prefix' and
 'global_config_prefix'.

* gnome-client.c: Added 'program_invocation_short_name'
 declaration.  Added 'client_unset_config_prefix' declaration.
(gnome_client_get_type): Changed return value of
 'gnome_client_get_type' to 'GtkType'.
(gnome_client_init): Preset '[global_]config_prefix'.
(gnome_real_client_destroy): Released '[global_]config_prefix'.
(gnome_client_connect): Added some calls to unset config prefix.
(gnome_client_set_program): Likewise.
(gnome_client_set_id): Likewise.
(gnome_client_get_previous_id): Added check, if the client
 parameter really is client.
(gnome_client_get_config_prefix): New function.  Calculates a
 config prefix depending on program name and client id.
(gnome_client_get_global_config_prefix): New function.  Calculates a
 config prefix depending on program name.
(client_unset_config_prefix): New function.

1998-05-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

* gnome-app-helper.h: added new GnomeUIInfoType
GNOME_APP_UI_JUSTIFY_RIGHT that notifies app-helper routines that
all the menu items from now on should be right justified. This
should prove useful for adding help menu to the menubar.

* gnome-app-helper.c (gnome_app_do_menu_creation): take care
of handling GNOME_APP_UI_JUSTIFY_RIGHT GnomeUIInfoType.

1998-05-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-canvas.c gnome-canvas.h: The GnomeCanvas widget!  This is
still not finished and is not ready for general consumption.  I
need it on cvs to hack on it a bit while being at the Linux Expo :-)

* gnome-canvas-rect-ellipse.c: Rectangle and ellipse primitives
for the canvas; still not finished.

* Makefile.am: Added the canvas files to the listing.

1998-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gnome-icon-list.c (relayout_icon), gnome-icon-list.h: add
desired_text_width.

1998-05-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gnome-icon-list.c (gnome_icon_layout_text): I must be stupid or
something.  Fixed the bug that caused the ".\n." effect; it was
the same bug that put separators on the new row instead of on the
row they split.

Mon, 25 May 1998 10:55:37 +0200 Paolo Molaro <lupus@debian.org>

* gtkspell.[ch]: spell-check widget using ispell.

Sat May 25  1:58:00 1998  Cesar Miquel  <miquel@df.uba.ar>

* gnome-about.c Applied a patch provided by Changwoo Ryu
<cwryu@adam.kaist.ac.kr> that makes the gnome_about_new's
"logo" argument more convenient to use. It:

 1) Uses gdk_imlib.  Goodbye, xpm.
2) Find the logo file in the pixmap
   directory (by gnome_pixmap_file).

Sat May 23 21:55:41 1998  Havoc Pennington  <hp@pobox.com>

* gnome-dialog.c (gnome_dialog_run_modal): Don't call set_modal,
leave the dialog in the same state we came to it. Don't call
close_hides, leave close behavior up to the caller. Connect a
handler to the "close" signal which refuses to close the dialog
unless a button has been clicked. Thus -1 will never be
returned. Remove signal handlers when a button is clicked. Call
gtk_main_quit() when a button is clicked to avoid piling up
gtk_main's and cause the function to actually return. Call
gtk_widget_show on the dialog if it has not yet been shown. Use a
define instead of -1 for invalid button.
(gnome_dialog_set_modal): Make it work if the widget has already
been shown.

* gnome-dialog.h: Updated a couple of comments.
(GnomeDialogButton): Removed unused typedef.


Fri May 22 23:26:11 1998  Tom Tromey  <tromey@cygnus.com>

Some -Wall fixes:
* ted_demo.c (main): Return 0.
* gtkcalendar.c (gtk_calendar




GSDL Error





  
  
   










button): Removed unused decl. * gtk-ted.c (gtk_ted_add): Removed unused variable. (parent_class): Removed. * gnome-client.c (gnome_client_new_without_connection): Removed unused variable. * gnome-about.c (gnome_about_repaint): Removed unused variable. (gnome_about_display_comments): Removed unused label. (gnome_fill_info): Removed unused variables. (gnome_about_new): Likewise. * gnome-net.c (net_socket_new): Removed unused variable. * gnome-init.c: Include gnome-preferences.h. * gnome-font-selector.c (gnome_font_selector_get_selected): Removed unused variables. (text_points_callback): Commented out for now. * gnome-geometry.c (gnome_parse_geometry): Removed unused variable. * gnome-dns.c (gnome_dns_create_server): Removed unused variable. (server_init_cnt): Removed. * gnome-dialog.c (gnome_dialog_run_modal): Use g_return_val_if_fail. Removed unused variable. * gnome-color-selector.c (gnome_color_selector_get_button): Use g_return_val_if_fail. * gnome-app.c (gnome_app_class_init): Removed unused variable. (gnome_app_add): Commented out. 1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-init.c (our_gtk_parse_func): Use gtk_rc_set_image_loader only for Gtk 1.1 compilations. This allows people to compile parts of gnome with Gtk 1.0. 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtkcalendar.c (gtk_calendar_thaw): Remove warnings Make the internal color names static. * gnome-stock.c (gnome_stock_transparent_window): New routine for creating toplevel shaped popup windows from the stock icons. These are used to make DnD icons easily availble to applications that need them. New icons: imlib_not and imlib_multiple_file: The "can not drop here" and the "various files are being dragged". Thu May 21 18:43:14 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.c (build_disabled_pixmap): destroy the GC when done * gnome-lamp.[ch]: new files. Proposal for the basic implementation of lamps/beacons. 1998-05-21 John Ellis <johne@bellatlantic.net> * gnome-pixmap.h: changed char *data in gnome_pixmap_new_from_rgb_d_at_size to unsigned char *data. * gnome-pixmap.c: added missing definition of GtkWidget *gnome_pixmap_new_from_rgb_d_at_size(...). 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.c (gnome_icon_paint_text): Added justification parameter. This is generally useful to have. It is also required for when the icon list is in GNOME_ICON_LIST_TEXT_RIGHT mode. (draw_icon): Use the proper justification for text. (ilist_signals): Strange, this baby did not have a type (guint). Wed May 20 17:30:19 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-pixmap.[ch] (gnome_pixmap_new_from_gnome_pixmap): new function. I need that to get a copy of a pixmap to work with. * gnome-stock.c (gnome_pixmap_button): added check for GnomePixmap to build a GnomeStockPixmapWidget to get the functionality to gray it out if it's unsensitive. * gnome-stock.[ch]: added GNOME_STOCK_PIXMAP_TYPE_GPIXMAP to be able to use GnomePixmaps as stock pixmaps. (gnome_pixmap_button): added check for ButtonsUseLabels (don't know if this is usefull though). * gnome-dialog.c (gnome_dialog_append_button): use gnome_button_can_default. 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.c (relayout_icon): New function; recals the text layout info field of an icon. (reassign_max): Recomputes the max pixmap/text width/height of the ilist. (finish_recalc): Calculates the max icon width/height of the ilist. (recalc_max_icon_size_1): Reimplemented in terms of the three functions above. (recalc_max_icon_size): Reimplmented in term of the three functions above. * gnome-icon-list.h (GnomeIconList): New fields that store the max text width/height. They are needed for the new text layout stuff. * gnome-icon-list.h (GnomeIconTextInfo): Renamed structure. * gnome-icon-list.c (gnome_icon_layout_text): Rewrote function to handle separators/max_width/confine parameters. * gnome-icon-list.c (gnome_icon_paint_text): Now it only takes the upper-left position where to paint the text block. * gnome-icon-list.c (draw_icon): Fixed to calculate text position correctly. 1998-05-19 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si> * gnome-icon-list.c (get_iconNo.from_xy): properly return on_spacing=TRUE and *num=-1 when a column without an icon in last row is clicked. (adjust_scrollbars): now properly adjusts scrollbars when the viewed area expands beyond icon list's width or height due to some change. Tue May 19 21:38:15 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.c (gnome_pixmap_button): New function. Returns a button with a pixmap and label. Added default size to the created button. (gnome_stock_menu_item): Use gnome_config_get_bool. (gnome_pixmap_button): Likewise. * gnome-stock.[ch]: added some `const' to `char *'s. 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.c (gnome_icon_layout_text): Now we can configure the separators and confinement status of the wrapped text. * gnome-icon-list.h: Added prototype for gnome_icon_list_append_imlib. * gnome-icon-list.c (sync_selection): Removed warnings by using the GPOINTER_TO_INT and GINT_TO_POINTER macros. (gnome_icon_list_set_separators): New function; lets you set the characters where it is fine to split the icon text rows. 1998-05-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-client.c (gnome_client_class_init): Use GTK_RUN_LAST for the save_yourself signal * gnome-icon-list.c (gnome_icon_paint_text, gnome_icon_layout_text, gnome_icon_text_info_free): moved from gmc's gtrans.c code here. Some more code reuse. (gnome_icon_layout_text): The split routine should be improved to split on various other characters to give us a better layout than we currently have. Implemented icons with wrapped text. Sun May 17 16:00:21 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.h, gnome-dialog.c (gnome_dialog_editable_enters): New function, call this if your dialog contains an editable to keep the editable from disabling the Return keyboard shortcut (assuming you don't want to disable it). * gnome-dialog-util.c (request_dialog): Use the new function. Sun May 17 12:01:55 1998 Havoc Pennington <hp@pobox.com> * gnome-preferences.h, gnome-preferences.c: Use access functions instead of global struct. * gnome-dialog.c: Use the access functions. Sun May 17 02:29:14 1998 Havoc Pennington <hp@pobox.com> * Makefile.am, libgnomeui.h: Include gnome-preferences. Cross fingers. * gnome-dialog.c: Don't put libgnomeui/ in front of #includes. Use gnome-preferences setting for button position. * gnome-init.c (gnome_init): gnome_preferences_load() * gnome-preferences.c: Add trailing slash to section names; gnome-config is a little finicky about this. Use array instead of defines for possible button style options. (gnome_preferences_load): Use a loop to load the styles, instead of a long if-else thing. (gnome_preferences_save): Implemented just the dialog button styles part. Sat May 16 16:02:38 1998 Havoc Pennington <hp@pobox.com> * gnome-actionarea.c: Add annoying warning. I am deleting this in a week or so. * gnome-color-selector.c: Added "FIXME no copyright". Use g_return_if_fail throughout instead of g_assert, for consistency with rest of lib. * gnome-dateedit.c: Add some g_return_if_fail checks. * gnome-pixmap.c: g_return_if_fail * gnome-properties.c: #include gnome-config, don't #include action-area. Add a couple g_return_if_fail checks. (gnome_property_configurator_setup): Don't show the property box in setup; it needs to be shown *after* the pages are added to it. This makes desktop-properties come up much more nicely. (gnome_property_configurator_destroy): Don't destroy the property box in _destroy(); it destroys itself on close. Sat May 16 02:12:43 1998 Tom Tromey <tromey@cygnus.com> * gnome-preferences.c (gnome_preferences_load): Removed useless prefix push/pop. (UI_APPNAME): Changed value to start with "Gnome". (GENERAL): Likewise. (DIALOGS): Likewise. (_PROPERTY_BOX_BUTTONS): Removed leading "/". (DIALOG_BUTTONS_STYLE_KEY): Likewise. * gnome-stock.c (stock_button_from_entry): Use Gnome and not GnomeStock as file name in config key. (gnome_stock_menu_item): Likewise. (accel_hash): Likewise. (gnome_stock_menu_accel_dlg): Likewise. 1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-dateedit.c: Add support for 12/24 hour format. 1998-05-15 Federico Mena <federico@nuclecu.unam.mx> * gnome-icon-list.c (gnome_icon_list_init): Connect to the "changed" signal of the adjustments as well, otherwise we will not reset stuff properly when clearing the icon list. 1998-05-15 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si> * gnome-icon-list.c (gnome_icon_list_button_press): pressing non-left mouse button on a selected icon now calls toggle_icon() immediately and not upon button release. * gnome-icon-list.c (toggle_icon): changed behavior so that only left mouse button can SHIFT- or CTRL-select and that pressing a non-left button on a selected icon does not unselect other selected icons. this seems more appropriate to me. * gnome-icon-list.c: changed all initializations of last_selected member from -1 to 0. This prevents segfaults when SHIFT-selecting before any icons have been selected. Thu May 14 12:31:28 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-dialog.c (gnome_dialog_close): changed type of close_handled to gint. 1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-icon-list.c: Added dirty flag to the gnome icon list Wed May 13 00:16:35 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog-util.h, gnome-dialog-util.c: Return the created dialog. This makes the functions much more useful. I was thinking they should be maximally opaque, but went a little overboard I guess. * testgnome.c: Well, that was short-lived. Someone else did it already. Yay! 1998-05-11 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-icon-list.c (gnome_icon_list_unselect_all): New function. Tue May 12 00:33:10 1998 Havoc Pennington <hp@pobox.com> * gnome-preferences.h, gnome-preferences.c: Hmm, I didn't think about that earlier attempt much. This should work a little better. * testgnome.c: Barest skeletal start. Sat May 9 15:55:48 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog-util.h, gnome-dialog-util.c: gnome-app-util had some internal functions to quickly pop up some common dialogs; so I put them here for anyone to use. Probably bloat, if they weren't used in gnome-app-util anyway. * gnome-app-util.c: #include without the libgnomeui prefix. Remove most of the code and put it in gnome-dialog-util.c. * gnome-types.h: New file, for now has a couple of function pointer typedefs used in the above stuff. * gnome-app-util.h: Changed to use gnome-types.h * TODO: Updated. * Makefile.am, libgnomeui.h: Include new files. 1998-05-09 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-client.c (default_client_init): Use the new macro GTK_HAVE_SIGNAL_INIT 1998-05-08 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtkcalendar.c (gtk_calendar_thaw): Added freeze/thaw functionality. Fri May 8 10:06:01 1998 Tom Tromey <tromey@cygnus.com> * gnome-client.c (default_client_init): Call gtk_type_init and gtk_signal_init. Thu May 7 21:46:24 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.c: Take out debug printfs. 1998-05-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-icon-list.c: Changed required for gmc icon view. (icon_new_from_imlib): New routine, this is now used internally to create an icon from an Imlib image. (gnome_icon_list_append_imlib): New routine: add icons from an Imlib created image. (gnome_icon_list_append): Modified, load the file and call gnome_icon_list_append_imlib. (toggle_icon): Implemented the Windows-like selection scheme. Thu May 7 19:13:33 1998 Havoc Pennington <hp@pobox.com> * Makefile.am, libgnomeui.h: Add gnome-less * gnome-less.h, gnome-less.c: Set default width to 80 columns when the font is changed. * TODO: Check this item off. * gnome-preferences.h: Fiddled around, not important. Thu May 7 15:47:21 1998 Havoc Pennington <hp@pobox.com> * gnome-about.c (gnome_about_new): Use set_close instead of deprecated set_destroy. Wed May 06 23:00:55 1998 George Lebl <jirka@5z.com> * stock_demo.c: it's now possible to get rid of the damn "really quit" window, without actually quitting Wed May 06 22:42:40 1998 George Lebl <jirka@5z.com> * gnome-dialog.c: emitting the close signal passed a NULL where a pointer to retval was supposed to be producing a segfault Wed May 6 18:54:54 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.h, gnome-dialog.c: Recommit of April 30 changes; difference is using a new "close" signal instead of delete_event. However, the "close" signal marshaller segfaults for now. * gnome-messagebox.c, gnome-propertybox.c: Use new gnome-dialog stuff. * gnome-uidefs.h: GNOME_YES, GNOME_NO to make button handling more readable; also for use with gnome-app-util * stock-demo.c: Use new dialog stuff; try to use "close" signal just to expose the bug. * TODO: Updated. * gnome-app-util.h, gnome-app-util.c: Started on the dialog/statusbar abstraction; status bar part doesn't work yet. * gnome-preferences.h: Define sections and keys for use in libgnomeui global preferences. Wed May 6 01:29:33 1998 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si> * gnome-app.[ch]: added gnome_app_set_statusbar() function which simply allows for insertion of another widget in the bottom row of the table. Sun May 3 10:56:50 1998 Tom Tromey <tromey@cygnus.com> * gnome-ice.c (ice_tag): Removed. (new_ice_connection): Always call gdk_input_add. Fri May 1 02:52:27 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.h, gnome-dialog.c: Revert to 1.3 and 1.7 respectively, before any accelerator/destroy changes. * gnome-propertybox.c: Revert to 1.8 accordingly. Fri May 1 02:04:06 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.c (gnome_dialog_clicked): Revert to old destroy behavior. * gnome-dialog.c (gnome_dialog_key_pressed): Return TRUE if the event was handled (???). Mostly it shouldn't really make a difference though, for this function. Disable Escape functionality for now. Thu Apr 30 23:13:31 1998 George Lebl <jirka@5z.com> * gnome-calculator.[ch]: added an accelerator table and accelerators since too many people complained about it. it doesn't work for the numpad which is kind of weird Thu Apr 30 21:31:43 1998 Tom Tromey <tromey@cygnus.com> * gnome-client.c (client_set_prop_from_string): Don't include trailing \0 in length. (client_set_prop_from_array): Likewise. Thu Apr 30 23:25:19 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.h (struct _GnomeDialog): New member, GtkAcceleratorTable * accelerators * gnome-dialog.h (gnome_dialog_set_accelerator): New function, EZ way to connect an accelerator to a button. * gnome-dialog.h (gnome_dialog_close): New function. Emits delete_event, hides then destroys only if delete_event isn't handled. * gnome-propertybox.c (just_close): Use gnome_dialog_close. * gnome-dialog.c: Use gnome-uidefs rather than custom button/border sizes. Implement new gnome-dialog.h interfaces. * gnome-dialog.c (gnome_dialog_key_pressed): New function, gnome_dialog_close if GDK_Escape is pressed, otherwise call parent's key_press_event handler. * gnome-dialog.c (gnome_dialog_class_init): widget_class->key_press_event = gnome_dialog_key_pressed; * gnome-dialog.c (gnome_dialog_init): Create accelerator table. * gnome-dialog.c (gnome_dialog_button_clicked): Use gnome_dialog_closed() to self destruct. * gnome-dialog.c (gnome_dialog_destroy): Unref accelerator table. Thu Apr 30 21:31:43 1998 Tom Tromey <tromey@cygnus.com> * gnome-client.c (client_parse_func): Set previous_id for client. 1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtkcalendar.c: return meaningful values from most routines. Thu Apr 30 11:45:38 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-app-helper.c (gnome_app_create_menus_custom, gnome_app_do_toolbar_creation): if GnomeApp gets a new accelerator table, add it to the window. Thu Apr 30 01:27:52 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h, gnome-appsmenu.c: Removed. 1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-geometry.c (get_number): Handle the case +-10. Thu Apr 30 00:48:54 1998 Havoc Pennington <hp@pobox.com> * gnome-less.h, gnome-less.c: Added simple widget to display a file or command output. GtkText wrapper. Not included in Makefile due to feature freeze. * gnome-uidefs.h: Added GNOME_BUTTON_WIDTH, GNOME_BUTTON_HEIGHT. Shouldn't break anything. 1998-04-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-color-selector.c (gnome_color_selector_button_clicked): Use correct visual and colormap for color selector. 1998-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-pixmap.c (finish_load): Hide the old window and show the new one if the widget is mapped. Otherwise reloading a new pixmap won't work right. Wed Apr 29 21:16:28 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-dialog.c (gnome_dialog_append_buttons): changed signal_connect for button to signal_connect_after. 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-geometry.c (gnome_parse_geometry): Add preconditions; Support 'X' and '=' as XParseGeometry does. 1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-geometry.c: New file, provides X geometry string parsing. 1998-04-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-propertybox.c (global_apply): Use correct types for the parameters passed to gtk_signal_emit(). * gnome-propertybox.h (struct _GnomePropertyBoxClass): Fixed prototypes for the signal handlers (they take a gint parameter as well). Sun Apr 26 15:40:48 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock: supplied `About' icon for use in buttons Sun Apr 26 00:18:02 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.c (gnome_dialog_init): Pack the dialog's vbox with expand set to TRUE. 1998-04-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-file-entry.c (gnome_file_entry_init): Undo the emission of a signal on content change, as GtkText already emitted "changed". Sat Apr 25 14:04:55 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock{.c,-imlib.h}: fixed apply/ok stock buttons, added trash and trash_full to the list of stock menu items. Fri Apr 24 16:32:33 1998 Owen Taylor <otaylor@gtk.org> * gtk-socket.c: Re-fixed destroy handling on the socket so that it can be destroyed correctly _and_ notifies the child correctly of the destruction. Thu Apr 23 20:50:56 1998 George Lebl <jirka@5z.com> * gtk-socket.c: fixed destroy handeling on the socket, before it only worked if you destroyed the plug, if you destroyed the socket it just messed up 1998-04-23 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-dialog.c (gnome_dialog_new): Actually set the window title; it was just being ignored. Fri Apr 24 01:32:21 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock: added new icons by tigert * gnome-stock.c (stock_button_from_entry): added support for normal stock icons in stock buttons Wed Apr 22 19:29:49 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.h: Added better comments. * gnome-dialog.c (gnome_dialog_button_connect): New function. 1998-04-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-calculator.c (gnome_calculator_class_init): Register the signals. * gnome-file-entry.c (gnome_file_entry_init): Added emission of a signal when the information on the entry changes. Wed Apr 22 16:47:49 CEST 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock: added new icons by tigert 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-calculator.c (gnome_calculator_init): Add padding to calculator buttons. * gtkcalendar.c (gtk_calendar_select_day): Call gtk_calendar_compute_days every time when selecting a day and a month. Tue Apr 21 14:26:22 1998 George Lebl <jirka@5z.com> * gnome-calcualtor.c: spelling error in comment Tue Apr 21 00:04:28 1998 George Lebl <jirka@5z.com> * gnome-calculator.c: use function call finite and stop NAN's. this should help portability 1998-04-20 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-calculator.c (gnome_calculator_init): Added internationalization. * gnome-app-helper.h (GNOMEUIINFO_ITEM_STOCK): New macro, this one uses STOCK pixmaps. Sun Apr 19 17:34:22 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.c: Cleanup and rearranging, generalized some functions to think about moving them to gnome-util. * gnome-appsmenu.h: Fixed a typo. Sat Apr 18 16:32:09 1998 George Lebl <jirka@5z.com> * gnome-calculator.c: catch SIGFPE's and set error, this catches all the errors (intel doesn't give SIGFPE's enough, and alpha SIGFPE's all over the place) Fri Apr 17 19:42:54 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h: #define GNOME_APPS_MENU_DENTRY_DIR_EXTENSION * gnome-appsmenu.c: Saving works now, mostly. Successfully loaded system menu, saved in .gnome, reloaded, displayed. (GNOME_APPS_MENU_DEBUG_PRINT): debugging macro (g_extract_file): New, reverse of g_concat_dir_and_file (may move to gnome-util along with get_extension, is_dotfile?). (dentry_save_func): Implemented. (is_dotfile): Oops, didn't stop at first path separator. Fixed. (gnome_apps_menu_new_from_file): optimized to immediately ignore backup files. (gnome_apps_menu_save): Made to work, previously it saved the .directory file in the wrong directory and got confused. Still does symlinks wrong I think (like ftw(), potentially traverses them twice.) Fri Apr 17 15:49:02 1998 George Lebl <jirka@5z.com> * gnome-calcualtor.c: fix the +/- button to actually change the sign. Fri Apr 17 16:03:36 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h (GnomeAppsMenu): rearranged order of items in struct (put bit flags together) (GnomeAppsMenuSetupFunc): Changed required behavior - can now take NULL arguments and ignore them. * gnome-appsmenu.c: Implemented vtable instead of function lookup, meaning small changes throughout. (gnome_apps_menu_check): Check presence of vtable. (find_class): Took out this function, not needed with vtables. (dentry_setup_func): Changed to use new SetupFunc semantics. (dentry_save_func): New function, just a stub. (gnome_apps_menu_new_from_file): new function. (gnome_apps_menu_load): destroy empty menu, and return NULL, rather than return an empty menu. (gnome_apps_menu_save): Removed use of ftw(). Get name of directory AppsMenu and create a matching filesystem directory. Delete empty filesystem directories. Delete old backup files. Still doesn't work, some kind of memory corruption, and likely fails on symlinks or other weird situations. (gnome_apps_menu_new): Init vtable. 1998-04-17 Arturo Espinosa <arturo@nuclecu.unam.mx> * gtkcalendar.[hc]: display option GTK_CALENDAR_NO_MONTH_CHANGE to avoid undesired month changings. 1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-dateedit.c (gnome_date_edit_new): Now gets a show_time flag that indicates show the time part (or just the date). (gnome_date_edit_init): Fix cut&paste typo when showing time_entry. 1998-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-dateedit.c (gnome_date_edit_set_time): Print the date correctly. Thu Apr 16 00:18:13 1998 George Lebl <jirka@5z.com> * gnome-calculator.[ch]: added error handeling, some workarounds to alpha's SIGFPE problem, and added a result_changed signal. Thu Apr 16 02:06:07 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h, gnome-appsmenu.c: Renamed "variety" to "class" throughout, for clarity. Starting on using a vtable instead of whatever dumb thing I was doing. (GnomeAppsMenuGtkMenuItemFunc): Replaced by GnomeAppsMenuSetupFunc, this is more versatile and works with GtkTree or whatever as well. Uses of GtkMenuItemFunc changed appropriately. (gnome_apps_menu_setup): Calls setup function. (gnome_apps_menu_save, gnome_apps_menu_save_default): new functions, started implementing them. Wed Apr 15 18:03:36 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h: Updated comments. * gnome-appsmenu.c: Moved things around and fixed comments to make file clearer. (gtk_menu_item_new_from_apps_menu): Fixed bug which assumed menu was of homogeneous type (because the particular variety's function did the recursion rather than the generic function). (gtk_menu_new_from_apps_menu): ignore the root node, rather than creating a one-item menu with the root node on it. Remaining bug: Child menus show up on my screen before I call _show() on the root menu. I do not understand this. 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-dateedit.c (gnome_date_edit_init): The "Calendar" button is now prettier. * gnome-dateedit.c (select_clicked): The date editor widget now has a real popup for the calendar, and generally does the calendar stuff in a saner way. Wed Apr 15 00:57:30 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.c: I got a working panel-like menu out of share/apps, so that's progress. Many rough edges remain. Changes: use G_DISABLE_CHECKS; implemented function to create GtkMenuItem from the menu structure, complete with pixmaps; took out some unused code * gnome-appsmenu.h (GNOME_APPS_MENU_IS_DENTRY): Removed unused macros for identifying .desktop-based menus, according to new "no special cases" policy. 1998-04-15 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx> * gtkcalendar.c (gtk_calendar_size_allocate): just an if to avoid a warning when not using the header window. * gtkcalendar.c (gtk_calendar_select_day): another if for added functionality: gtk_calendar_select_day (my_widget, 0) now eliminates any selected day in the calendar. This was already possible, but generated a warning. 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-dateedit.c (day_selected): Use gtk_calendar_get_date (). * gtkcalendar.c (gtk_calendar_size_request): In libdate, months are indexed in [1, 12]. Make the calculation of the max month width know about this. (gtk_calendar_get_date): Added gtk_calendar_get_date() function to avoid the user having to access the widget's fields. * gtkcalendar.h: Added prototype for gtk_calendar_get_date(). * gnome-dateedit.c (select_clicked): Add 1900 to the tm_year field of the struct tm. The calendar was getting the wrong year. (day_selected): Synchronize calendar month and displayed month. (gnome_date_edit_get_date): We have to test for >= 1900, not just >. (gnome_date_edit_set_time): Add 1900 to tm_year. * gnome-dateedit.c (gnome_date_edit_class_init): Initialize signal handlers. (gnome_date_edit_init): Changed flags passed to gtk_box_pack_start() to make the widget look nicer when resized. * gnome-dateedit.h: Fixed the declarations for the class signals. Tue Apr 14 16:35:40 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h (gnome_apps_menu_new): Now has arguments. * gnome-appsmenu.c: Added lots of debugging stuff to check invariants. Broke gnome_apps_menu_load() apart into lots of little functions and it seems to work now. Tue Apr 14 00:34:54 1998 George Lebl <jirka@5z.com> * gnome-calculator.c: added parenthesis and factorial, which means that except for error handeling it's almost complete Mon Apr 13 22:48:11 1998 George Lebl <jirka@5z.com> * gnome-calculator.c: added conversions DEG/RAD/GRAD Mon Apr 13 22:17:02 1998 George Lebl <jirka@5z.com> * Makefile.am: added pixmap subdir * pixmaps/Makefile.am: install calcualtor-font.xpm * gnome-calculator.[ch]: reduce object size by not including the font pixmap and redone how buttons are made Tue Apr 14 10:27:25 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h, gnome-appsmenu.c: Fixed many little glitches, after first compilation attempt. Compiles, doesn't work. Copyright changed to FSF. Mon Apr 13 00:43:32 1998 George Lebl <jirka@5z.com> * gnome-calculator.c: fixed display Sun Apr 12 23:43:11 1998 George Lebl <jirka@5z.com> * gnome-calculator.c: added e and PI buttons and made the display have more digits after . Sun Apr 12 23:28:02 1998 George Lebl <jirka@5z.com> * gnome-calcualtor.c: DEG/RAD/GRAD modeswitching button added Sun Apr 12 23:01:24 1998 George Lebl <jirka@5z.com> * gnome-calculator.[ch]: now has pretty font display, reduced the number of digits to 12 and added memory functions. * pixmaps/calculator-font.xpm: the font for the calculator display Sun Apr 12 19:29:52 1998 George Lebl <jirka@5z.com> * gnome-calculator.[ch]: killed a few bugs, seems to kind of work now Sun Apr 12 17:24:39 1998 George Lebl <jirka@5z.com> * gnome-calculator.[ch]: added the beginnings of a double precision calculator widget modeled after xcalc * libgnomeui.h, Makefile.am: added gnome-calculator references Sat Apr 11 14:20:26 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h, gnome-appsmenu.c: Began implementing load and menu creation functions. .directory support. * gnome-appsmenu.h (gtk_menu_item_new_from_apps_menu): New function. Sat Apr 11 11:35:24 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h, gnome-appsmenu.c (gnome_apps_menu_load_system, gnome_apps_menu_load_default): Two new functions. (GnomeAppsMenuVariety): moved from .h to .c (gnome_apps_menu_variety_new): also moved 1998-04-10 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> * gnome-app-helper.h (GnomeUIInfoType): New type, extracted from GnomeUIInfo, to make access to this type easier when using C++. (GnomeUIPixmapType): likewise (GnomeUIInfo): Use GnomeUIInfoType and GnomeUIPixmapType. (GNOMEUIINFO_END): Use expicit type casts to GnomeUIPixmapType and GdkModifierType to prevent C++ from generating compiler warnings. (GNOMEUIINFO_SEPARATOR): likewise (GNOMEUIINFO_ITEM): likewise (GNOMEUIINFO_ITEM_DATA): likewise (GNOMEUIINFO_TOGGLEITEM): likewise (GNOMEUIINFO_TOGGLEITEM_DATA): likewise (GNOMEUIINFO_HELP): likewise (GNOMEUIINFO_RADIOLIST): likewise (GNOMEUIINFO_RADIOITEM): likewise (GNOMEUIINFO_RADIOITEM_DATA): likewise Fri Apr 10 00:14:03 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h (gnome_apps_menu_variety_new): New function. * gnome-appsmenu.c: Continued implementation. Variety registration is done, load and GtkMenu creation isn't. Thu Apr 9 23:25:29 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h: Added basic menu-manipulation functions. * gnome-appsmenu.c: New file, began implementation. Doesn't work yet. Thu Apr 9 22:12:49 1998 Havoc Pennington <hp@pobox.com> * gnome-appsmenu.h: New interface, not yet implemented. Wed Apr 8 19:17:18 1998 Havoc Pennington <hp@pobox.com> * gnome-dialog.c, gnome-messagebox.c: Use gnome-uidefs.h * libgnomeui.h: #include gnome-uidefs.h * gnome-uidefs.h: New file. 1998-04-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (lift_me): I never thought that gtk_signal_emit_stop_by_name was so easy to use :-). This means, GtkTed is now back to functional for GUI editing. (gtk_ted_setup_layout): Handle the case where the widgets do no longer exist in the code, but the layout file still has information on them. (gtk_ted_init_divisions): New routine, now when editing an existing dialog box, the correct number of control rows/columns are created. Mon Apr 6 13:10:43 CDT 1998 Havoc Pennington <hp@pobox.com> * gnome-about.h (GnomeAboutButton): typedef removed. * gnome-about.h (GNOME_ABOUT_BUTTON_WIDTH, GNOME_ABOUT_BUTTON_HEIGHT): defines removed. * gnome-about.h, gnome-about.c: GnomeAbout now derives from GnomeDialog. * gnome-about.c: Unused signal enum removed. * gnome-about.c (parent_class): Unused global variable removed. * gnome-about.c: Removed button-creating code, since GnomeDialog handles it. * gnome-about.c (gnome_about_button_clicked): Callback removed, GnomeDialog handles it. * gnome-about.c: Removed border-width code; use default border from GnomeDialog. * gnome-about.c (gnome_destroy_about): Fixed memory leak; function freed uninitialized tmp variable rather than gai->names. Removed tmp declaration. * libgnomeui.h: #include <libgnomeui/gnome-dialog.h> * gnome-net.h: use BEGIN_GNOME_DECLS * gnome-net.c (gnome_net_gets): changed if (errno = EAGAIN) to if (errno == EAGAIN). * gnome-about.c, gnome-net.c, gnome-scores.c, gnome-propertybox.c: #include specific headers, not <gnome.h> * gnome-propertybox.c, gnome-messagebox.c, gnome-dialog.c: Removed i18n defines; will use new private header. * gnome-actionarea.h: Added a "deprecated" comment. * gnome-dialog.h, gnome-dialog.c (gnome_dialog_set_sensitive): New function to set button sensitivity. * gnome-propertybox.h, gnome-propertybox.c: Now derives from GnomeDialog. * gnome-propertybox.c (GNOME_PAD): Removed this #define. * gnome-propertybox.c (dialog_clicked_cb): new function. * gnome-propertybox.c: Changed signature of previous button callbacks. They are now called from dialog_clicked_cb, so they have no button argument. * gnome-propertybox.c (gnome_property_box_init): Don't set up button box or vbox, since GnomeDialog now handles that. * gnome-propertybox.c (global_apply): return if property_box->items == NULL. Initialize variable 'item' to NULL, to make -Wall happy. * gnome-dialog.c (gnome_dialog_button_clicked): Since PropertyBox destroyed itself when this function emitted "clicked", and this function then tried to look at a GnomeDialog struct member, there was a bug. Fixed. * gnome-propertybox.c (gnome_property_box_init): Don't do the 3D frame, since GnomeDialog handles it. * gnome-dialog.c (gnome_dialog_init): Added a nice 3D bevel to the edge of the dialog, like gnome-propertybox had. 1998-04-06 Marc Ewing <marc@redhat.com> * gtk-socket.[ch]: change "id" parameter name to "wid" so as not to conflict with objc reserved word (again). Mon Apr 06 00:57:23 1998 George Lebl <jirka@5z.com> * gtk-{plug,socket}.[ch]: updated to owen's plugsocket v0.2 Fri Apr 3 23:29:11 1998 Havoc Pennington <hp@pobox.com> * gnome-messagebox.c, gnome-messagebox.h: Now derived from gnome-dialog. * Makefile.am (libgnomeui_la_SOURCES): Added gnome-dialog.c. (libgnomeuiinclude_HEADERS): Added gnome-dialog.h. * gnome-dialog.c, gnome-dialog.h: New files. 1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-dateedit.c: #include <string.h> Removed unused global variable parent_class. * gnome-dateedit.h: Add prototype for gnome_date_edit_get_type(). 1998-04-03 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-dateedit.c (fill_time_popup): Make the top boundary inclusive 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtkcalendar.[ch]: Update to latest version from gcalendar cvs module. 1998-04-01 Arturo Espinosa <arturo@nuclecu.unam.mx> * gtkcalendar.c (gtk_calendar_select_month, gtk_calendar_select_day): Don't paint unless the widget is drawable! 1998-04-01 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-dateedit.c, gnome-dateedit.h: New widget for editing a date/time. * gtkcalendar.c (gtk_calendar_class_init): Declare signal "day_selected"; (gtk_calendar_marshall_date): Marshaller for new signal. (gtk_calendar_main_button): when a click happens in a day, emit the signal day_changed. 1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtkcalendar.[ch]: Updated to latest version from gcalendar module. 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtkcalendar.c: Added Shawn's and Cesar's calendar widget to the gnome-libs. 1998-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.c (gnome_icon_list_moveto): Finished implementing moveto routine. It only supports vertical alignment, as the icon list tries to display only whole columns and thus disable horizontal scrolling. * gnome-icon-list.h: New function gnome_icon_list_get_icon_at(). Returns the index of the icon that is under the specified coordinates, or -1 if the coordinates are over white space. * gnome-icon-list.c: Added missing functionality regarding selecting/unselecting of icons. 1998-03-27 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.c (draw_icon): Only try to set the masks if the pixmap exists. (get_iconNo.from_xy): Fixed a couple of off-by-one errors. Sat Mar 28 18:12:33 CET 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock{,-imlib}.[ch], stock_demo.c: Added more of tigert's pixmaps. 1998-03-27 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.c (draw_icons_area): Only paint icons within exposure area width. (adjust_scrollbars): Use better values for step_increment in adjustments. 1998-03-27 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> * gnome_segv.c: included "config.h" (main): Added i18n. 1998-03-26 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-icon-list.h: New files gnome-icon-list.[ch]. This provides the GnomeIconList widget. It is an icon list widget with several display modes. It has an API very similar to the GtkCList, so using it should be easy. It will be used on the file manager for the iconic view, for an icon selector property box, etc. It is still not finished and it has bugs, but you can start playing with it now. There is a small example program on http://www.nuclecu.unam.mx/~federico/test-ilist.c * libgnomeui.h: Added gnome-icon-list.h to the includes. * Makefile.am: Added gnome-icon-list.[ch] to the rules. Thu Mar 26 13:29:18 1998 Radek Doulik <gis@academy.cas.cz> * gnome-client.c (gnome_client_flush): check HAVE_LIBSM, hope I don't break something Wed Mar 25 01:30:00 CET 1998 Eckeherad Berns <eb@berns.prima.de> * stock_demo.c: use the "Really quit?" message box for real. * gnome-stock.c: minor i18n fix for clist titles. Tue Mar 24 23:06:44 CET 1998 Eckeherad Berns <eb@berns.prima.de> * gnome-messagebox.c (gnome_message_box_init): applied patch from robert havoc pennington <rhpennin@midway.uchicago.edu> with some sanity checks and use of gnome_pixmap_file Tue Mar 24 22:32:11 CET 1998 Eckeherad Berns <eb@berns.prima.de> * gnome-propertybox.c: applied patch from Havoc Pennington <hp@pobox.com> Tue Mar 24 19:24:23 CET 1998 Eckeherad Berns <eb@berns.prima.de> * gnome-messagebox.c (gnome_message_box_new): use gnome_pixmap_new_from_file for pixmap loading We will have to supply some pixmaps for the gnome message box. I couldn't find any "bomp.{xpm,png}". Tue Mar 24 19:24:23 CET 1998 Eckeherad Berns <eb@berns.prima.de> * gnome-app-helper.c (gnome_app_do_ui_accelerator_setup): use gtk_widget_install_accelerator to make the accelerators visible in the menu Tue Mar 24 19:16:55 CET 1998 Eckeherad Berns <eb@berns.prima.de> * stock_demo.c, gnome-stock.c: use GnomePropertyBox's own signals. * gnome-propertybox.c: fix some box-packing (to allow window resizing). (just_close): fix "delete_event" (segfaulted if someone realy catched the signal) Tue Mar 24 01:07:14 1998 Tom Tromey <tromey@cygnus.com> * stock_demo.c (message_dlg): New function to test gnome-messagebox. (This could be moved elsewhere; it is just a hack.) * gnome-propertybox.c (gnome_property_box_new): Buttons now kept in a button box. * gnome-messagebox.c (gnome_message_box_new): Buttons now kept in a button box. (GNOME_PAD): Define. Sun Mar 23 02:24:44 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.c: fixed some segfaults when clicking on empty accelerators. Sun Mar 23 00:09:49 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.c: Added config dialog for menu accelerators. This might not be the proper place, but I didn't know where else to put it. * stock_demo.c: Choosing preferences opens the accel config dlg. Sun Mar 22 19:16:58 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.[ch]: Added gnome_stock_menu_accel_parse. * gnome-stock.c: Added parsing of default accelerators in rc GnomeStock. Sun Mar 22 16:04:00 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.[ch]: Added gnome_stock_menu_accel * stock_demo.c: Use gnome_stock_menu_accel. Include GnomePropertyBox sample. Sun Mar 22 10:26:09 1998 Radek Doulik <rodo@aquarius> * gnome-propertybox.c (just_close): send delete_event to property box instead of widget_destroy Sun Mar 22 00:07:06 1998 Tom Tromey <tromey@cygnus.com> * gnome-propertybox.c (global_apply): Emit apply signal with page number of -1 after all pages applied. Sat Mar 21 00:45:10 1998 Tom Tromey <tromey@cygnus.com> * gnome-properties.c (apply_page): New function. (gnome_property_configurator_setup): Connect apply_page to "apply" signal on property box. (gnome_property_configurator_request): Removed. * gnome-properties.h (GnomePropertyConfigurator): Replaced notebook with property_box. * gnome-propertybox.c (gnome_property_box_new): Actually pack widgets into frame. (gnome_property_box_init): Initalize `items'. * libgnomeui.h: Include gnome-propertybox.h. * gnome-propertybox.h: New file. * gnome-propertybox.c: New file. * Makefile.am (libgnomeui_la_SOURCES): Added gnome-propertybox.c. (libgnomeuiinclude_HEADERS): Added gnome-propertybox.h. * gnome-messagebox.c: Changed all names from gnome_messagebox_* to gnome_message_box_*. The latter mathches Gtk style, and works better with gnome.defs/gen-typeinfo. Somewhat modified patch from Havoc Pennington: * gnome-messagebox.c (gnome_messagebox_new): Initialize buttons element to NULL, not to a new list. Call va_end. (gnome_messagebox_set_default): Use g_list_nth. (gnome_messagebox_button_clicked): Now static. Fri Mar 20 23:02:46 1998 Tom Tromey <tromey@cygnus.com> * gnome-messagebox.c (gnome_messagebox_new): Use gnome_stock_or_ordinary_button. * gnome-stock.h (gnome_stock_or_ordinary_button): Declare. Updated copyright. * gnome-stock.c (stock_button_from_entry): New function. (gnome_stock_button): Use it. (gnome_stock_or_ordinary_button): New function. Updated copyright. 1998-03-20 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-file-entry.c (realize): Added drop support to gnome file-entries. Now you can drag files from mc to the file entries and guess what happens :-) Fri Mar 20 00:01:47 1998 Tom Tromey <tromey@cygnus.com> * gtk-plug.h: Changed `()' to `(void)'. * gtk-clock.h: Renamed `clock' arguments to `gclock' to avoid clash with ANSI function. * gtk-socket.h: Renamed `socket' argument to `gsocket' to avoid clash with Unix system call. Thu Mar 19 18:02:04 1998 Tom Tromey <tromey@cygnus.com> * gnome-init.c (our_gtk_parse_func): Allocate two slots for every slot in argv. 1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-app.c (gnome_app_add): Add support for gtk_container_add to GnomeApp widget. 1998-03-20 Eckehard Berns <eb@berns.prima.de> * gnome-stock-imlib.h: added timer and timer_stopped icons. At least two apps already use timer buttons: gtt and gtop. * gnome-stock.[ch]: Added gnome_stock_pixmap_widget_set_icon. See stock_demo.c for an example. * stock_demo.c: added an example for the use of ..._set_icon. 1998-03-19 Marc Ewing <marc@redhat.com> * gtk-socket.{c,h}: change "id" parameter name to "wid" so as not to conflict with objc reserved word. Wed Mar 18 20:40:43 1998 Tom Tromey <tromey@cygnus.com> * gnome-stock.c (NOT_ALWAYS_SHADE): Renamed to fix typo. (_default_entries_data): Added `label' field. (entries_data): Added label info to each element. (stock_pixmaps): Copy label into hash entry. (gnome_stock_menu_item): Fail if text is NULL. (gnome_stock_button): Look up label in entry. * gnome-stock.h: Added `label' field to each GnomeStockPixmapEntry structure. 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-file-entry.h: New files gnome-file-entry.[ch]. This is a combo box widget with an extra "Browse" button to enter file names. All places in Gnome where an entry widget is being used to get a filename should use the GnomeFileEntry widget instead. * libgnomeui.h: Added gnome-file-entry.h to the includes. * Makefile.am: Added gnome-file-entry.[ch] to the file lists. Tue Mar 17 22:45:47 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock/stock_demo: added "Save As" icon. Tue Mar 17 22:28:47 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.h: added dummy variable to include N_("blah")s for i18n. * gnome-stock.c (gnome_stock_button): use dgettext, not gettext. 1998-03-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-app-helper.c (gnome_app_do_menu_creation): The activate signal should not be connected to subtree items --- you don't want to call a subtree structure when the user clicks on a submenu, right? 1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-app-helper.h: Removed the explicit values from the type enum and removed the GNOME_APP_UI_LAST value (never used). Added #ifndef GNOME_APP_HELPER_H... stuff. 1998-03-16 Eckehard Berns <eb@berns.prima.de> * gnome-stock/stock_demo: Added undo stock icon. Added some more stock icons to the list of converted menu icons. * gnome-stock-xpm-h: removed -- fully switched to imlib rgbs. 1998-03-16 Eckehard Berns <eb@berns.prima.de> * gnome-stock*.[ch]: Added new icons for yes/no buttons. Added a quick and durty scale_down function to convert the toolbar icons for the menus. Hope it works on all mashines. Removed external reference to gnome_stock_pixmap - use gnome_stock_pixmap_widget instead. * gnome-pixmap.[ch]: Added gnome_pixmap_new_from_rgb_d_shaped to support imlib's shape_color for gnome-stock. 1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-rootwin.h: New widget GnomeRootWin. This is a widget that corresponds to the root window of the screen. Yes, I know it is weird. However, it provides a nice Gtk abstraction for the root window. The immediate use of this will be to drop objects from the file manager into the root window. Some hacking is still needed in this widget to make it work exactly like normal GtkWindows. * libgnomeui.h: Added #include "libgnomeui/gnome-rootwin.h". * Makefile.am: Added gnome-rootwin.[ch] to the list of files. 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-pixmap.c (gnome_pixmap_draw): Doh. I don't know how to subtract. Fixed offsetting, again. Thu Mar 12 15:50:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (gtk_ted_set_spacings): Set the spacings for each line with a hacky widget on every line. 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-pixmap.c: Added warnings of "don't use me" to all the obsolete functions. (gnome_pixmap_draw): Added proper widget draw function. We need a special draw function because a GnomePixmap's window may not be as big as its allocation. (paint): New function that actually paints the stuff. (gnome_pixmap_expose): Use the paint() function. Tue Mar 10 22:27:31 1998 Tom Tromey <tromey@cygnus.com> * gnome-client.c (gnome_client_flush): New function. (gnome_client_disconnect): Flush client. * gnome-client.h (gnome_client_flush): Declare. * gnome-client.c (gnome_client_set_restart_command): Don't insert --sm-client-id option if restart_command is NULL. (gnome_real_client_connect): Likewise. Tue Mar 10 15:01:05 1998 Federico Mena <federico@nuclecu.unam.mx> * gnome-color-selector.c (gnome_color_selector_new): Use the proper visuals for the color selectors. Mon Mar 9 23:59:41 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (gtk_ted_load_layout): Remove gracious printf. 1998-03-09 Raja R Harinath <harinath@cs.umn.edu> * gnome-init.c (gnome_init): Only set `program_invocation_name' and `program_invocation_short_name' if they are not already set. Mon Mar 9 23:21:22 1998 Eckehard Berns <eb@berns.prima.de> * stock_demo.c: added stock icon properties, added descriptions for `other icons' * gnome-stock*: changed other icons to look like tigert's and added a preferences stock icon. Mon Mar 9 17:37:44 1998 Tom Tromey <tromey@cygnus.com> * gnome-init.c (gnome_init): Set program_invocation_short_name. Mon Mar 9 17:37:17 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-init.c (gnome_init): Initialize the program_invocation_name. Wonder if this fixes stuff for people? Sun Mar 8 17:59:38 1998 Tom Tromey <tromey@cygnus.com> * Makefile.am (INCLUDES): Added @SUPPORTINCS@. (ted_demo_LDADD): Added @LIBSUPPORT@. (stock_demo_LDADD): Likewise. Sat Mar 7 01:21:57 1998 Tom Tromey <tromey@cygnus.com> * gnome-client.c (gnome_client_new_without_connection): Don't look for magic argument. (default_client_connect): Use sm_client_id_prop. (default_client_disconnect): Likewise. (array_has_sm_client_id_arg): Removed. (array_insert_sm_client_id_arg): Now static. (gnome_client_set_clone_command): Duplicate RestartCommand if clone command is freed. (gnome_real_client_connect): Only add magic option to duplicate of restart command. (gnome_client_set_restart_command): Likewise. (array_copy): Now static. (array_init_from_arg): Likewise. (array_free): Likewise. (array_remove_sm_client_id_arg): Removed. * stock_demo.c (main): Use new form of gnome_init. * ted_demo.c (main): Use new form of gnome_init. Fri Mar 6 21:46:37 1998 Tom Tromey <tromey@cygnus.com> * gnome-client.c (gnome_get_default_client): Removed. (gnome_client_new_default): New function. (default_client_init): Renamed, now static. (arguments): New static. (parser): Likewise. (client_parse_func): New function. (gnome_client_new): Changed interface. (gnome_client_new_without_connection): Likewise. * gnome-init.c (gnome_init): Pass argv[0], not *argv[0], to gnome_rc_parse. Sat Mar 8 02:35:33 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock-{imlib,xpm}.h: foolishly tried to make remaning stock icons look like tigert's pixmaps. * gnome-stock.c: changed_size fields (20x20 -> 24x24) for affected icons Sat Mar 7 16:40:08 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock.c (create_pixmap_from_data): use gnome_pixmap_new_from_xpm_d_at_size. * gnome-stock.h: added new stock icons: print, search, back, forward. * gnome-stock-{imlib,xpm}.h: added tigert's icons. * stock_demo.c: included new icons Fri Mar 6 18:06:32 1998 Eckehard Berns <eb@berns.prima.de> * gnome-stock{,-imlib,-xpm}.[ch]: reorganized pixmaps. ./pixmaps/ isn't needed any longer Wed Mar 4 00:14:01 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (gtk_ted_new_layout): create widgets with an argument that specifies where the layout is stored. 1998-03-03 Raja R Harinath <harinath@cs.umn.edu> * gnome-about.c (gnome_about_new): Uses /* */ comments, not //. 1998-03-01 Eckehard Berns <eb@berns.prima.de> * gnome-pixmap.c (gnome_pixmap_expose): I have to draw the pixmap on every expose :-( 1998-03-01 Eckehard Berns <eb@berns.prima.de> * gnome-pixmap.c: fixed GnomePixmaps positioning. * gnome-stock.c (..._size_request): request size of current pixmap if there is one. * gnome-stock-{imlib,xpm}.h: added/changed those nasty stock button pixmaps to other nasty pixmaps (when will someone with at least a minimum of some drawing skill replace my ugly pixmaps?) Sun Mar 1 00:23:29 1998 Tom Tromey <tromey@cygnus.com> * gnome-about.c (gnome_about_display_comments): Simplified paragraph splitting. Don't crash if comments is empty string. Don't leak memory if malloc fails. Sat Feb 28 17:27:41 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-app.c (gnome_app_new): Set app->name to appname. Do not know how this got to the current state. 1998-02-27 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-pixmap.c (gnome_pixmap_expose): Repaint only the exposed area. (gnome_pixmap_size_allocate): Center the pixmap's window on its allocation. (setup_window_and_style): Center the window on the widget's allocation. 1998-02-26 Arturo Espinosa <arturo@nuclecu.unam.mx> * gnome-scores.c: Set window policy for the score dialog so that it doesn't shrink nor grow. 1998-02-26 Arturo Espinosa <arturo@nuclecu.unam.mx> * gnome-scores.c: The scores dialog now uses a stock button for OK. 1998-02-26 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-stock.c (build_disabled_pixmap): The style that provides the GC for painting should come from the pixmap, not from the window, to avoid BadMatch problems. Also, the visual and colormap should come from there. Eliminated the window argument, as it is no longer needed. I still have a problem, though. The widget needs to be realized to pick its style (for the gc). So I realize it if it is not realized yet --- this will create a toplevel window if the widget has not been parented yet, and looks extremely ugly, and doesn't work. (build_disabled_pixmap): OK, I now use a color context to paint the stipple, so realization is not needed. (build_disabled_pixmap): Removed unused variable style. 1998-02-26 Eckehard Berns <eb@berns.prima.de> * gnome-stock.[ch]: made gnome-stock use gnome-pixmap. Thu Feb 26 18:07:40 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-about.c: Undefine _ when compiling to avoid clash with i18n definition. 1998-02-26 Arturo Espinosa <arturo@nuclecu.unam.mx> * gnome-stock.[ch]: New tb_scores pixmap for the games. * gnome-about.c (gnome_about_new): Now uses a stock button for OK. 1998-02-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-app-helper.c (gnome_app_add_radio_toolbar_entries): Use the GnomePixmap widget. (gnome_app_do_toolbar_creation): Likewise. 1998-02-25 Raja R Harinath <harinath@cs.umn.edu> * gnome-app.c (gnome_app_new): Use "" instead of NULL. Friendler to systems where `strlen(NULL)' is broken. 1998-02-24 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-pixmap.c (gnome_pixmap_init): GnomePixmap is a GTK_BASIC widget. 1998-02-23 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-pixmap.c (load_file): New internal function that takes care of file loading and widget setup. (gnome_pixmap_load_file): Changed to use load_file() internally. (gnome_pixmap_load_file_at_size): New function to load an image file and resize it to the specified size. For example, this is useful to have a single icon size for the panel and just specify the size one will use (full size for the launchers, half size for menu items, etc.). (gnome_pixmap_new_from_xpm_d): New function, creates pixmap from XPM data in memory. (gnome_pixmap_new_from_xpm_d_at_size): Likewise. (gnome_pixmap_load_xpm_d): Likewise. (gnome_pixmap_load_xpm_d_at_size): Likewise! (gnome_pixmap_new_from_rgb_d): New function, creates pixmap from RGB plus (optional) Alpha data in memory. (gnome_pixmap_new_from_rgb_d_at_size): Likewise. (gnome_pixmap_load_rgb_d): Likewise. (gnome_pixmap_load_rgb_d_at_size): Likewise, you know it! (finish_load): New misc. internal function that does all the boilerplate image loading finalization. (load_file): Modified to use finish_load(). (load_xpm_d): New internal function. (load_rgb_d): Likewise. * gnome-app-helper.c (gnome_app_do_toolbar_creation): Use gnome_pixmap_new_from_file() widget instead of gnome_create_pixmap_widget(). I did not replace the g_c_p_widget_d() call because GnomePixmap does not support creating pixmaps from xpm data yet. * gnome-pixmap.c: * gnome-pixmap.h: New GnomePixmap widget! It was created to replace the ugly gnome_create_pixmap_*() functions. Now you can simply do something like: GtkWidget *gpixmap; gpixmap = gnome_pixmap_new_from_file ("hello.jpg"); gtk_container_add (container, gpixmap); gtk_widget_show (gpixmap); And that's it. The GnomePixmap widget takes care of all the visuals/colormaps/other_icky_X_stuff. GnomePixmap uses gdk_imlib for its work, so now gdk_imlib is a required component of Gnome. Please install it if you have not done it yet; it is a very cool thing to have. During the next hours, I will be converting most of Gnome to use the new GnomePixmap widget instead of the old gnome_creat_pixmap_*() functions. * gnome-init.c (gnome_init): Added gdk_imlib_init() to the GnomeUI initialization procedure. 1998-02-23 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> * gnome-client.c (gnome_default_client_init): New function. Creates a new client without connection to a session manager. This client is called the 'default client'. (Not used yet) (default_client_connect): New callback function. This callback is registered to the connect signal of the default client and sets the SM_CLIENT_ID property to the gdk client leader window. (default_client_disconnect): New callback function. Removes SM_CLIENT_ID property. (gnome_get_default_client): New function. * gnome-app-helper.h: Removed comma in pixmap_type. 1998-02-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-entry.c (entry_activated): Now the GnomeEntry pushes a history item if the entry field was activated (via return key, for example). We do proper checks to see if it is not an empty string and such (in which case a history item does not need to be pushed). * gnome-entry.h: Added changed field. This is set to true if the entry field has changed but it has not been put into the history list. False otherwise. * Gnome-entry.c: First usable version of the GnomeEntry widget. * gnome-startup.c: * gnome-client.c: Added #include <string.h> * libgnomeui.h: Added gnome-entry.h to the includes list. * Makefile.am: Added gnome-entry.{c,h} * gnome-entry.c: * gnome-entry.h: New Gnome甹try widget -- entry field with automagic history saving. * ted_demo.c (main): Added app_id "ted_demo". * stock_demo.c (main): Added app_id "stock_demo". * gnome-init.c (gnome_init): Added app_id parameter to this function. Changes to the rest of Gnome are in progress. 1998-02-19 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> * gnome-session.c: Removed. Was replaced by gnome-client. * gnome-session.h: same as above. Wed Feb 18 13:52:00 PST 1998 Christoph Toshok <toshok@hungry.com> * gnome-app-helper.c (gnome_app_do_menu_creation): If any items in a menu have GNOME_APP_PIXMAP_STOCK, use gnome_stock_menu_item for all of them, so the left side of the labels line up. (gnome_app_do_toolbar_creation): Use gnome_stock_pixmap_widget_new to create the toolbar button. Wed Feb 18 17:03:13 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gnome-about.c (gnome_destroy_about): Fixed refcounting. (gnome_fill_info, gnome_about_new): Fixed I18N problem. (but a dirty hack, it uses ONLY the fonts from gtkrc.). * gtkrc: Moved GnomeAbout styles to here. 1998-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-init.c (gnome_init): At last! The horribly broken gnome_colors goes to hell now that we have imlib and the GdkColorContext :-) * libgnomeui.h: Removed gnome-colors include. Tue Feb 17 00:16:49 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gnome-messagebox.c (gnome_messagebox_button_clicked): Fixed buttonnumber counting. * gnome-scores.[ch]: Fixed i18n problem. All color/font settings are in gtkrc. (gnome_scores_set_logo_label_title): New function (gnome_scores_set_current_player): New function. * gnome-scores.c (gnome_scores_display): Use the above new functions. * gtkrc: New file, the global gtk+ rc file of GNOME. * Makefile.am: Added gtkrc. 1998-02-17 Eckehard Berns <eb@berns.prima.de> * gnome-stock.[ch]: added width/height fields to the GnomeStock...Entry structs to make sure a size_request gets the correct values. Tue Feb 17 00:16:49 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gnome-scores.c (gnome_scores_set_color): gtk_style_unref() new GtkStyle after gtk_widget_set_style. (gnome_scores_set_logo_label): Likewise. * gnome-about.c (gnome_about_new): Likewise. * gnome-font-selector.c (text_resize_text_widget): Likewise. Mon Feb 16 11:53:14 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gnome-client.h: Include <gtk/gtkobject.h>. Sun Feb 15 21:22:33 1998 Tom Tromey <tromey@cygnus.com> * libgnomeui.h: Include gnome-startup.h. * Makefile.am (libgnomeui_la_SOURCES): Include gnome-startup.c. (libgnomeuiinclude_HEADERS): Include gnome-startup.h. * gnome-startup.c: New file. * gnome-startup.h: New file. * gnome-client.c (gnome_client_init): Initialize previous_id. (gnome_real_client_destroy): Free previous_id if required. (gnome_client_new_without_connection): Set previous_id. (gnome_client_get_previous_id): New function. * gnome-client.h (struct _GnomeClient): Added previous_id member. (gnome_client_get_previous_id): Declare. * gnome-client.h: Corrected comment. Sat Feb 14 17:15:18 1998 Tom Tromey <tromey@cygnus.com> * gnome-scores.h (test): Removed declaration. * gnome-client.h: Removed RCS "Id" line. 1998-02-15 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> * gnome-client.h: Two arguments were named 'id'. This broke the objectiv-c interface, so I named them 'client_id' and 'user_id'. 1998-02-14 Christoph Toshok <toshok@hungry.com> * gnome-app-helper.c (gnome_app_create_menus_with_data): new function, to handle the (common) case of creating an entire menu system with the same callback data. (gnome_app_create_toolbar_with_data): analogous addition for toolbars. (gnome_app_do_menu_create): add data parameter, which is passed in by both gnome_app_create_menus_with_dat and gnome_app_create_menus, and which is passed on to gtk_signal_connect. Also, add handling for new menuinfo type, GNOME_APP_MENU_SEPARATOR. (gnome_app_do_toolbar_create): analogous change for toolbars. * gnome-app-helper.h: wrap with BEGIN_GNOME_DECLS/END_GNOME_DECLS and add GNOME_APP_MENU_HELP enum. 1998-02-14 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> * libgnomeui.h: includes the new session management support header file 'gnome-client.h' instead of the old one 'gnome-session.h' * Makefile.am (libgnomeui_la_SOURCES): replaced 'gnome-session.c' with 'gnome-client.c' (libgnomeuiinclude_HEADERS): replaced 'gnome-session.h' with 'gnome-client.h' (ted_demo_LDADD): added '$(INTLLIBS)' (stock_demo_LDADD): added '$(INTLLIBS)' * gnome-client.h: new file * gnome-client.c: new file 1998-02-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-about.c (gnome_fill_info): Made gdk_color_alloc() use the widget default colormap instead of the system colormap. This is actually not the right way to do it; the about box should do all color allocation via a GdkColorContext. The cc structure should reside in the GnomeAboutClass so that all about boxes can share it. * gnome-stock.c (gnome_stock_pixmap_widget_state_changed): Added gtk_widget_ref() when a new pixmap is created, because later they may get gtk_container_remove()d. (gnome_stock_pixmap_widget_size_request): Bad hack: if the pixmap window is NULL, we return a default size. The gnome-stock architecture has to be rewritten, I think. Please see my forthcoming post to gnome-list for a proposal on how to do this. * gnome-app.c: indentation fixes. * gnome-stock.c (build_hash_key): Made routine use g_copy_strings(). Fri Feb 13 19:03:21 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (gtk_ted_parse_pos): Initialize flags to zero before doing the parsing. Fri Feb 13 18:23:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-messagebox.c: Message boxes now take a variable number of arguments instead of having 3 options at most. Fri Feb 13 18:09:46 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (gtk_ted_update_position): More refcouting joy. Fri Feb 13 11:45:12 1998 Nuno Ferreira <nmrf@rnl.ist.utl.pt> * gnome-app.c (gnome_app_configure_positions): use app->toolbar when dealing with the toolbar, not app->menubar. Wed Feb 11 15:06:05 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk-ted.c (gtk_ted_widget_drop gtk_ted_prepare_editable_widget): refcouting fixes