]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agomaybe fix #64160 Also, forgot to save gtktreeview.h
Jonathan Blandford [Thu, 15 Nov 2001 23:46:05 +0000 (23:46 +0000)]
maybe fix #64160 Also, forgot to save gtktreeview.h

Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
Also, forgot to save gtktreeview.h

22 years agoMove '.' out of quote. (#64407)
Matthias Clasen [Thu, 15 Nov 2001 23:18:15 +0000 (23:18 +0000)]
Move '.' out of quote. (#64407)

        * gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)

22 years agoNew function to get a GdkWindow to compare event->window to.
Jonathan Blandford [Thu, 15 Nov 2001 22:20:18 +0000 (22:20 +0000)]
New function to get a GdkWindow to compare event->window to.

Thu Nov 15 16:24:55 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
to get a GdkWindow to compare event->window to.

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
the signal for lateral motion too, #64361

* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
arg as it is useless, #64137

22 years agoSome small drawing fixes for scroll arrows.
Owen Taylor [Thu, 15 Nov 2001 21:12:27 +0000 (21:12 +0000)]
Some small drawing fixes for scroll arrows.

Thu Nov 15 16:07:42 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.

22 years agoCal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann)
Owen Taylor [Thu, 15 Nov 2001 21:04:51 +0000 (21:04 +0000)]
Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann)

Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>

  * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
  gdk_window_invalidate_maybe_recurse() for recursion.
  (Soeren Sandmann)

  * gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)

* gtk/gtkcontainer.c (gtk_container_expose): Call
gtk_container_forall() not _foreach() to propagate,
since we need to propagate exposes to internal children
as well.

* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
Remove the restriction of only being able to call these
on window widgets, since we have lots of NO_WINDOW widgets
with windows now; for add events, recurse over the children
of widget->window to find one owned by the widget.

* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
window to catch events.

* gtk/gtktogglebutton.[ch]: Remove the code for switching
between NO_WINDOW and WINDOW widgets based on the mode.

* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.

* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.

* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
change for range.

* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.

* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.

22 years agoGo back to DocBook 3.0 to get the autobuilder on developer.gnome.org back
Matthias Clasen [Thu, 15 Nov 2001 19:52:07 +0000 (19:52 +0000)]
Go back to DocBook 3.0 to get the autobuilder on developer.gnome.org back

        * gtk/gtk-docs.sgml: Go back to DocBook 3.0 to get the
        autobuilder on developer.gnome.org back to work, but add
        the png notation for the stock icons.

22 years agoPatch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT
Owen Taylor [Thu, 15 Nov 2001 17:58:35 +0000 (17:58 +0000)]
Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT

Thu Nov 15 11:59:35 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmessagedialog.c: Patch from Murray Cumming to add
"message_type" and "buttons" CONSTRUCT properties. (#64069)

* tests/testsocket.c: Expand tests to add a "local passive
child" (Test case for #64428)

22 years agocreate the label with a mnemonic
jacob berkman [Wed, 14 Nov 2001 23:59:03 +0000 (23:59 +0000)]
create the label with a mnemonic

2001-11-14  jacob berkman  <jacob@ximian.com>

* gtk/gtkgamma.c (button_clicked_callback): create the label with
a mnemonic

22 years agomake it compile without warnings.
Sven Neumann [Wed, 14 Nov 2001 23:20:31 +0000 (23:20 +0000)]
make it compile without warnings.

2001-11-15  Sven Neumann  <sven@gimp.org>

* tests/testgtk.c: make it compile without warnings.

22 years agoDon't recalculate the layout on each gkt_label_ensure_layout () for
Alex Larsson [Wed, 14 Nov 2001 23:10:53 +0000 (23:10 +0000)]
Don't recalculate the layout on each gkt_label_ensure_layout () for

2001-11-14  Alex Larsson  <alexl@redhat.com>

* gtk/gtklabel.c:
Don't recalculate the layout on each gkt_label_ensure_layout () for
wrapped labels.

22 years agoReturn the currently selected column when we get the column, #64380
Jonathan Blandford [Wed, 14 Nov 2001 22:52:43 +0000 (22:52 +0000)]
Return the currently selected column when we get the column, #64380

Wed Nov 14 17:40:23 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Return
the currently selected column when we get the column, #64380

* gtk/gtkentry.c (gtk_cell_editable_key_press_event): Handle Esc
to cancel CellRendererText editting, #63613

* gtk/gtkcellrenderertext.c: ditto

* gtk/gtkcellrenderertext.h: formatting changes

22 years agoAdd --sgml-mode.
Matthias Clasen [Wed, 14 Nov 2001 22:39:35 +0000 (22:39 +0000)]
Add --sgml-mode.

        * docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
        docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
        docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.

        * docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
        docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
        docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent shor

22 years agoRearrange docs (#64566)
Matthias Clasen [Wed, 14 Nov 2001 22:36:23 +0000 (22:36 +0000)]
Rearrange docs (#64566)

        * gtk/gtkbutton.c (gtk_button_get_label): Rearrange docs (#64566)

        * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Typo fix (#64474)

        * gtk/gtkruler.c (gtk_ruler_get_metric): Typo fix (#64470)

        * gtk/gtknotebook.c (gtk_notebook_prepend_page): Typo fix (#64467)

        * gtk/gtklabel.c: Documentation fixes (#64452)

        * docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
        docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
        docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.

        * docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
        docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
        docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent short descriptions.
        * docs/reference/gtk/tmpl/gtkprogressbar.sgml: Remove duplicate docs. (#64469)

        * docs/reference/gtk/gtk-sections.txt: Add missing TITLEs (#64459, #6456

22 years agoRemove unused static function. (xpm_skip_string): Dito.
Daniel Egger [Wed, 14 Nov 2001 21:50:00 +0000 (21:50 +0000)]
Remove unused static function. (xpm_skip_string): Dito.

2001-11-14  Daniel Egger  <degger@fhm.edu>

* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.

* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.

* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.

* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.

22 years agoBack out accidental commit of debugging timing code
Owen Taylor [Wed, 14 Nov 2001 20:20:03 +0000 (20:20 +0000)]
Back out accidental commit of debugging timing code

Wed Nov 14 15:14:48 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
out accidental commit of debugging timing code

22 years agofix Control-E so it doesn't move to a new line each time you press it
Havoc Pennington [Wed, 14 Nov 2001 19:05:21 +0000 (19:05 +0000)]
fix Control-E so it doesn't move to a new line each time you press it

2001-11-14  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_move_cursor): fix Control-E so
it doesn't move to a new line each time you press it

* gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix
return value, #62987

22 years agobulk of the tests were commented out, oops.
Havoc Pennington [Wed, 14 Nov 2001 18:58:26 +0000 (18:58 +0000)]
bulk of the tests were commented out, oops.

2001-11-14  Havoc Pennington  <hp@redhat.com>

* tests/testtextbuffer.c (main): bulk of the tests were commented
out, oops.

* gtk/gtktextiter.c (find_paragraph_delimiter_for_line): make this
function work, should resolve #63426
(gtk_text_iter_ends_line): return TRUE for the end iterator

* gtk/gtktextiter.h: put padding back in GtkTextIter, I thought of
a couple things that might get cached in here.

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Wed, 14 Nov 2001 15:02:49 +0000 (15:02 +0000)]
Updated Norwegian (bokmål) translation.

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

* no.po: Updated Norwegian (bokmål) translation.

22 years agoparam spec fix
Tim Janik [Wed, 14 Nov 2001 03:03:54 +0000 (03:03 +0000)]
param spec fix

22 years agonew "model" construct property for language bindings.
Jonathan Blandford [Wed, 14 Nov 2001 02:06:28 +0000 (02:06 +0000)]
new "model" construct property for language bindings.

Tue Nov 13 21:00:59 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new
"model" construct property for language bindings.

* gtk/gtktreestore.c (gtk_tree_store_set_column_types): New
function to let you set the column types of a GtkTreeStore for
language bindings.

* gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.

22 years agoadd set_border_width for testing
Havoc Pennington [Wed, 14 Nov 2001 00:33:45 +0000 (00:33 +0000)]
add set_border_width for testing

22 years agodocs including reference to bugzilla bug about how we should have a better
Havoc Pennington [Wed, 14 Nov 2001 00:26:14 +0000 (00:26 +0000)]
docs including reference to bugzilla bug about how we should have a better

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

* gtk/gtktextview.c (gtk_text_view_add_child_in_window): docs
including reference to bugzilla bug about how we should have
a better way of positioning children

* gtk/gtktextview.h (struct _GtkTextViewClass): add some padding

* gtk/gtktextview.c (gtk_text_view_size_allocate): assign zero
size to side rects if they don't exist, #63438

22 years agofix to properly replace selection with Return or Tab
Havoc Pennington [Tue, 13 Nov 2001 23:56:11 +0000 (23:56 +0000)]
fix to properly replace selection with Return or Tab

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

* gtk/gtktextview.c (gtk_text_view_key_press_event): fix to
properly replace selection with Return or Tab

* gtk/gtktextdisplay.c (gtk_text_layout_draw): fix broken code
that didn't locate the end of the line correctly, should fix #63800

22 years agoadd border width to requisition, request non-anchored children
Havoc Pennington [Tue, 13 Nov 2001 23:36:18 +0000 (23:36 +0000)]
add border width to requisition, request non-anchored children

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

* gtk/gtktextview.c (gtk_text_view_size_request): add border width
to requisition, request non-anchored children
(gtk_text_view_size_allocate): handle border width, allocate
non-anchored children
(text_view_child_new_window): set the child as object data
(gtk_text_view_move_child): allow children at negative
coordinates, no reason why not
(gtk_text_view_forall): make it copy the list of children before
walking it, to avoid reentrancy issues
(gtk_text_view_move_child): short-circuit if position is unchanged
(changed_handler): only queue_resize if requisition has changed
(gtk_text_view_init): don't redraw_on_allocate, since we can do
a better job of invalidation ourselves

* tests/testtext.c: add tests for the fixed-position children

22 years agoprotect idle handle with gdk threads macro.
Tim Janik [Tue, 13 Nov 2001 18:52:25 +0000 (18:52 +0000)]
protect idle handle with gdk threads macro.

Tue Nov 13 19:51:43 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c (handle_accels_changed): protect idle handle
        with gdk threads macro.

22 years agoadded gtkaccelmap.sgml. other updates.
Tim Janik [Tue, 13 Nov 2001 00:53:47 +0000 (00:53 +0000)]
added gtkaccelmap.sgml. other updates.

Mon Nov 12 23:06:38 2001  Tim Janik  <timj@gtk.org>

        * added gtkaccelmap.sgml. other updates.

Mon Nov 12 23:08:37 2001  Tim Janik  <timj@gtk.org>

* gtk/maketypes.awk: fix type utils generation on unix.

* gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator
registry.

* gtk/gtkaccelgroup.[hc]: major API/implementation revamp:
removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default,
gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry,
gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove,
gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object.
introduced ::accel_changed signal for change notification, and
gtk_accel_group_connect/disconnect to connect closures to accel groups.
made gtk_accel_group_attach/detach and gtk_accel_group_activate private
functions.
deprecated gtk_accel_group_ref/unref.

* gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention
to accel group changed notification and basically operate on closures.
removed gtk_accel_label_get_accel_object and
gtk_accel_label_set_accel_object.
introduced gtk_accel_label_set_accel_closure, and for convenience,
gtk_accel_label_set_accel_widget.

* gtk/gtkitemfactory.[hc]: removed accelerator propagation code
which mostly moved into gtkaccelmap.[hc].
removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_*
and gtk_item_factory_print_func.

* gtk/gtkmain.c: call _gtk_accel_map_init().

* gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(),
that associates an accelerator path with menu items, through which
persistent accelerator settings on menu items are enabled.

* gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator
paths of menu item can be default constructed to allow installation
of accelerators on menu items that don't come with an accelerator
binding by default.

* gtk/gtksettings.c: fix STRING type rc settings by special casing
them appropriately in the parser.

* gtk/gtksignal.[hc]: allow a class function offset of 0 for
gtk_signal_newv().

* gtk/gtkwidget.[hc]: accelerator API revamp.
removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal,
gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and
gtk_widget_(un)lock_accelerators.
accelerators maintained through gtk_widget_add/remove_accelerator()
are not runtime changable now, the correct sequence to setup a
widget for runtime changable accelerators is now:
  gtk_accel_map_add_entry(accel_path, key, mods);
  _gtk_widget_set_accel_path(widget, accel_path, accel_group);

* gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel
group changes (as well as mnemonic changes) through the new signal
::accels_changed.

Sat Nov 10 12:08:56 2001  Tim Janik  <timj@gtk.org>

* gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle
GString->string conversions.

22 years agoWarn
Owen Taylor [Tue, 13 Nov 2001 00:35:24 +0000 (00:35 +0000)]
Warn

Mon Nov 12 19:33:52 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn

22 years agonew files explaining where the code for rendering pixbufs lives. (#61151)
Matthias Clasen [Mon, 12 Nov 2001 22:50:58 +0000 (22:50 +0000)]
new files explaining where the code for rendering pixbufs lives. (#61151)

        * gdk-pixbuf/gdk-pixbuf-rendering.sgml,
        gdk-pixbuf/gdk-pixbuf-from-drawables.sgml: new files explaining
        where the code for rendering pixbufs lives. (#61151)

        * gdk-pixbuf/gdk-pixbuf.sgml: Use the new files.

22 years agoDocumentation fixes. (#64377)
Matthias Clasen [Mon, 12 Nov 2001 22:29:13 +0000 (22:29 +0000)]
Documentation fixes. (#64377)

        * gtk/gtktreeview.c: Documentation fixes. (#64377)

        * gtk/gtktreestore.c: Documentation fixes. (#64376)

22 years agoUpdate.
Fatih Demir [Sun, 11 Nov 2001 12:03:12 +0000 (12:03 +0000)]
Update.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Sun, 11 Nov 2001 11:53:54 +0000 (11:53 +0000)]
Updated Slovak translation.

2001-11-11  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

22 years agoMass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108,
Matthias Clasen [Sat, 10 Nov 2001 22:06:44 +0000 (22:06 +0000)]
Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108,

        * gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c,
        gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c,
        gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs.
        (#63544, #57007, #64141, #63472, #57108, #60818, #61562)

        * gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml,
        gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml,
        gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml,
        gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml:
        Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918,
        #64154, #60422, #54697)

22 years agomake sure we know what we are talking about when asked for MINMAXINFO.
Hans Breuer [Sat, 10 Nov 2001 13:23:36 +0000 (13:23 +0000)]
make sure we know what we are talking about when asked for MINMAXINFO.

2001-11-10  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
we know what we are talking about when asked for MINMAXINFO.
Also some cleaning for !HAVE_DIMM_H etc.

22 years agoFix docs for gtk_tree_view_column_set_sort_order. (#62647)
Matthias Clasen [Sat, 10 Nov 2001 01:30:31 +0000 (01:30 +0000)]
Fix docs for gtk_tree_view_column_set_sort_order. (#62647)

        * gtk/gtktreeviewcolumn.c: Fix docs for
        gtk_tree_view_column_set_sort_order. (#62647)

        * gtk/gtkcontainer.c: Fix docs for
        gtk_container_set_border_width. (#64139)

        * gtk/gtkcolorsel.c: Documentation fixes.

        * gtk/tmpl/gtkpaned.sgml: Document gtk_paned_set_gutter_size
        as noop. (#45802)

        * gtk/tmpl/gtkcolorsel.sgml: Remove stuff duplicating inline
        docs. (#60481)

22 years agoDocument all stock items with their stock text.
Matthias Clasen [Sat, 10 Nov 2001 00:02:13 +0000 (00:02 +0000)]
Document all stock items with their stock text.

        * gtk/tmpl/gtkstock.sgml: Document all stock items
        with their stock text.

        * gtk/tmpl/gtkhseparator.sgml: Small corrections.

        * gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates.

22 years agouse g_strcasecmp(), some poor platforms don't have strcasecmp()
Hans Breuer [Fri, 9 Nov 2001 21:52:52 +0000 (21:52 +0000)]
use g_strcasecmp(), some poor platforms don't have strcasecmp()

2001-10-28  Hans Breuer  <hans@breuer.org>

* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()

* gtk/gtktextview.c : to fix crashing on e.g. TextView::find need
to remove the idle funcs in gtk_text_view_destroy (). To reduce
code duplication wrap it in its own function and use it in
gtk_text_view_unrealize () and gtk_text_view_destroy_layout ()

* gdk/win32/gdkdrawable-win32.c : implement the finalize
method like the X11 version does, allow to set_colormap NULL
* gdk/win32/gdkwindow-win32.c : adapt GdkWindowImplWin32::
set_colormap, also some adaption to X11 version :
(gdk_window_hide) call _gdk_window_clear_update_area
(gdk_window_reparent) call _gdk_window_init_position

* gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints) :
call gdk_window_resize() after all hints are set, because the
window resizing process (WM_GETMINMAXINFO) takes all of them into
account

* gdk/win32/gdkfont-win32.c : make gdk_font_equal return a gboolean

* gdk/win32/gdkvisual-win32.c : register GdkVisual with
sizeof (GdkVisualPrivate)

* gdk/gdk.def gtk/gtk.def : upated externals

* gdk/makefile.msc gdk/win32/makefile.msc gdk-pixbuf/makefile.msc
  gdk-pixbuf/pixops/makefile.msc gtk/makefile.msc.in tests/makefile.msc :
from now on use make.msc from $(TOP)/glib/build/win32

* gtk/stock-icons/makefile.msc : add stock_missing_image

22 years agoAdd headers. Add section about ActiveIMM.
Tor Lillqvist [Thu, 8 Nov 2001 20:57:18 +0000 (20:57 +0000)]
Add headers. Add section about ActiveIMM.

2001-11-08  Tor Lillqvist  <tml@iki.fi>

* README.win32: Add headers. Add section about ActiveIMM.

* configure.in: Add --with-ie55 flag to specify the location of
the "IE55 libs and headers" package downloadable from Microsoft,
which contains, among other things, the Active IMM header dimm.h
and UUID library uuid.lib. Use test -f instead of AC_CHECK_FILE.
Require GLib 1.3.10.

* config.h.win32.in: New version, produced by merging two
configure-generated ones (for gcc and MSVC). Hopefully #defines
the same flags that the previous, hand-written one, did.

* gdk/Makefile.am
* gdk/win32/Makefile.am: Handle the uuid library from the IE55 lib.

* gdk/win32/gdkevents-win32.c: Conditionalize ActiveIMM
stuff. Remove unused GdkIOClosure.

* gdk/win32/surrogate-dimm.h: Remove, use real dimm.h instead (if
available).

* gdk/win32/libie55uuid.la: New file, handwritten libtool wrapper
for uuid.lib. (Does it really have to be this hard to use an
existing library with libtool? Probably I am missing something.)

22 years agoFix an obvious typo where it says LEFT instead of CENTER.
Darin Adler [Thu, 8 Nov 2001 18:56:23 +0000 (18:56 +0000)]
Fix an obvious typo where it says LEFT instead of CENTER.

* gtk/gtklabel.c: (gtk_label_ensure_layout): Fix an obvious
typo where it says LEFT instead of CENTER.

22 years agoAdd g_return_if_fail.
Darin Adler [Wed, 7 Nov 2001 18:12:25 +0000 (18:12 +0000)]
Add g_return_if_fail.

* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.

22 years agoAdd row_draggable() vfunc, and wrapper function.
Owen Taylor [Tue, 6 Nov 2001 19:10:03 +0000 (19:10 +0000)]
Add row_draggable() vfunc, and wrapper function.

Mon Nov  5 22:34:29 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
Add row_draggable() vfunc, and wrapper function.

* gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make
row_drop_possible take a GtkSelectionData, rather than
model/row pair.

* gtk/gtktreestore.c gtk/gtkliststore.c: Update for
new DND interfaces.

* gtk/gtktreeview.[ch]: Remove the row_draggable_func
location_dropable_func from gtk_tree_view_set_rows_drag_source/dest.
and rename them to enable_model_drag_source/dest.

* gtk/treeviewcolumn.c: Add DND of columns between rows.
Still can't drop _to_ the left tree, but other places
work.

* gtk/gtktreeview.c (unset_reorderable): Unset the
reorderable property if unset/enable_model_drag_source/dest
are called manually.

* gtk/gtktreestore.c (gtk_tree_store_row_drop_possible):
Correct for change in depth count handling.

* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
Pass in a expose area to gtk_tree_view_column_cell_render()

22 years agowacky easter egg
Havoc Pennington [Tue, 6 Nov 2001 18:25:15 +0000 (18:25 +0000)]
wacky easter egg

2001-11-06  Havoc Pennington  <hp@redhat.com>

* demos/gtk-demo/textview.c (easter_egg_callback): wacky easter egg

22 years agolost this file due to CVS broken pipe
Havoc Pennington [Tue, 6 Nov 2001 17:12:42 +0000 (17:12 +0000)]
lost this file due to CVS broken pipe

22 years agoFix misplaced HAVE_XFT.
Owen Taylor [Tue, 6 Nov 2001 15:14:09 +0000 (15:14 +0000)]
Fix misplaced HAVE_XFT.

Tue Nov  6 10:13:16 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkgc-x11.c: Fix misplaced HAVE_XFT.

22 years agoexpose the child widgets in here (gtk_text_view_realize): set parent
Havoc Pennington [Tue, 6 Nov 2001 00:54:24 +0000 (00:54 +0000)]
expose the child widgets in here (gtk_text_view_realize): set parent

2001-11-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_paint): expose the child
widgets in here
(gtk_text_view_realize): set parent window of child widgets
(gtk_text_view_size_request): use child req to decide whether
to invalidate layout, not widget->requisition

* gtk/gtktextdisplay.c (render_layout_line): set
shaped_width_pixels for NULL shape objects, so that we properly
draw the "missing pixbuf/widget" thing
(render_layout_line): don't draw the widget here
(gtk_text_layout_draw): pass out a list of widgets that need exposing

* demos/gtk-demo/textview.c (insert_text): add demo of child
widgets

* gtk/gtktextlayout.c (add_child_attrs): remove debug spew

* gtk/gtktextdisplay.c (render_layout_line): remove debug spew

* gtk/gtktextview.c (gtk_text_view_update_child_allocation): add
scroll offsets
(gtk_text_view_value_changed): poke new X and Y into child allocations

22 years agoDo search GTK_BINARY_VERSION -specific directory on Windows, too (#63759).
Tor Lillqvist [Tue, 6 Nov 2001 00:40:19 +0000 (00:40 +0000)]
Do search GTK_BINARY_VERSION -specific directory on Windows, too (#63759).

2001-11-06  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkmain.c (find_module): Do search GTK_BINARY_VERSION
-specific directory on Windows, too (#63759).

22 years agoupdated
Marius Andreiana [Mon, 5 Nov 2001 19:07:53 +0000 (19:07 +0000)]
updated

2001-11-05  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years agoRedo Xft support to go directly to Picture objects instead of using
Owen Taylor [Mon, 5 Nov 2001 17:48:58 +0000 (17:48 +0000)]
Redo Xft support to go directly to Picture objects instead of using

Mon Nov  5 12:46:44 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
gdk/x11/gdkpixmap-x11.c gdk/x11/gdkprivate-x11.h
gdk/x11/gdkwindow-x11.c: Redo Xft support to go
directly to Picture objects instead of using XftDraw.
This fixes the problem where we weren't able to
properly destroy XftDraw objects before destroying
the accompanying windows, and probably improves
efficiency a bit too. (#50214)

22 years agoClamp max window width/height to 32767, not 32768 since we have to be able
Owen Taylor [Mon, 5 Nov 2001 15:56:50 +0000 (15:56 +0000)]
Clamp max window width/height to 32767, not 32768 since we have to be able

Mon Nov  5 10:01:49 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position):
Clamp max window width/height to 32767, not 32768 since
we have to be able to deal with a dx/y of -32768 without
getting a width of 65536 when guffaw scrolling.

* gdk/x11/gdkgeometry-x11.c: Implement gdk_window_scroll()
for the guffaw scrolling case, fixing some problems with
copy-area case as well. Fix BadValue bug with moving windows
by large amounts.

* gdk/x11/gdkgeometry-x11.c (gdk_window_clip_changed): Update
clip in window structue before calling gdk_window_invalidate_region
since that trims new invalidations to the window's visible
region.

* gdk/x11/gdkwindow-x11.c (gdk_window_set_static_gravities):
Really set the static window gravity on the children, not
repeatedly on the window.

* gtk/testgtk.c: Add a torture test for big windows and
gdk_window_scroll().

22 years agosigsetjmp is macroized in some places, so use AC_TRY_LINK instead of
Manish Singh [Mon, 5 Nov 2001 01:39:22 +0000 (01:39 +0000)]
sigsetjmp is macroized in some places, so use AC_TRY_LINK instead of

Sun Nov  4 17:36:08 2001  Manish Singh  <yosh@gimp.org>

        * acconfig.h configure.in: sigsetjmp is macroized in some places,
        so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.

22 years agoImplement gdk_color_parse() in terms of pango_color_parse().
Owen Taylor [Mon, 5 Nov 2001 00:23:45 +0000 (00:23 +0000)]
Implement gdk_color_parse() in terms of pango_color_parse().

Sun Nov  4 19:16:23 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
        in terms of pango_color_parse().

        * gdk/{linux-fb,win32,x11}/gdkcolor-*.c: Remove port-specific
        gdk_color_parse() implementations.

22 years agoqueue_resize_on_group with both the old and new mode, not just the new
Owen Taylor [Sun, 4 Nov 2001 23:43:37 +0000 (23:43 +0000)]
queue_resize_on_group with both the old and new mode, not just the new

Sun Nov  4 18:39:43 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksizegroup.c (gtk_size_group_set_mode):
queue_resize_on_group with both the old and new mode, not
just the new mode. (#60171, Nicolas Setton). Also, notify
the "mode" property.

22 years agoAdd a function gdk_window_invalidate_maybe_recurse() for use in "shallow
Owen Taylor [Sun, 4 Nov 2001 22:57:03 +0000 (22:57 +0000)]
Add a function gdk_window_invalidate_maybe_recurse() for use in "shallow

Sun Nov  4 16:02:08 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkwindow.[ch]: Add a function gdk_window_invalidate_maybe_recurse()
        for use in "shallow invalidation" of a widget. (Windows belonging
        to the widget, but not to the widget's children)

        * gtk/gtkprivate.h gtk/gtkwidget.c gtk/gtksizegroup.c: Add private
        flags GTK_ALLOC_NEEDED, GTK_REQUEST_NEEDED.  These flags are set
        up on ancestors up to the resize container on queue_resize. Size
        requests only actually take place if GTK_REQUEST_NEEDED, size
        allocations only take place if GTK_ALLOC_NEEDED or the size
        changed.

        * gtk/gtkcontainer.c gtk/gtkwidget.c: Remove
        container->resize_widgets and the RESIZE_NEEDED flag since the
        above flags are sufficient to figure out what needs to be
        resized/reallocated. Remove code manipulating
        container->resize_widget.

        * gtk/gtkwidget.[ch]: Add gtk_widget_set_redraw_on_alloc(); this
        allows widgets to turn off being automatically invalidated is when
        they are resized.

        * gtk/gtkwidget.[ch] (gtk_widget_size_allocate): Invalidation when
        a widget is resized or moved is "shallow" as described above -
        only the windows that need to be invalidated are invalidated.

        * gtk/gtkbox.c gtk/gtktable.c gtk/gtkalignment.c docs/Changes-2.0.txt:
        Make these widget's init functions call
        gtk_widget_set_redraw_on_allocate(widget,FALSE).

        * gtk/gtkwindow.c (gtk_window_configure_event): Call
        _gtk_container_queue_resize(), since we don't want
        redrawing. (Probably could be done for other
        calls to gtk_widget_queue_resize() in gtkwindow.c,
        but this is the most important one.)

        * gtk/gtkwindow.c (gtk_window_move_resize): Don't call
        gtk_widget_queue_draw() - size_allocate() handles
        that as appropriate.

        * gtk/gtkframe.c (gtk_frame_size_allocate): Invalidate instead
        of queue_clear() to avoid invalidating children.

22 years agodon't free the module name until after we load the module
jacob berkman [Sun, 4 Nov 2001 20:14:41 +0000 (20:14 +0000)]
don't free the module name until after we load the module

2001-11-04  jacob berkman  <jacob@ximian.com>

* gtk/gtkmain.c (find_module): don't free the module name until
after we load the module

22 years agoConvert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed
Owen Taylor [Sun, 4 Nov 2001 19:57:17 +0000 (19:57 +0000)]
Convert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed

Sat Nov  3 13:57:21 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
        derivation instead of boxed derivation.

        * gtk/gtkmarshal.list: Remove some now unused marshallers.

22 years agoCan't include gtkprivate.h (I added the include yesterday, without really
Tor Lillqvist [Sat, 3 Nov 2001 23:26:03 +0000 (23:26 +0000)]
Can't include gtkprivate.h (I added the include yesterday, without really

2001-11-04  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
include yesterday, without really thinking), as that defeats the
working of correct_libdir_prefix() (it becomes a no-op.). Add
comment mentioning that. Thanks to Hans Breuer for noticing.

22 years agoUse GtkWindow* as first signal argument (was GtkWidget*).
Daniel Elstner [Sat, 3 Nov 2001 23:02:40 +0000 (23:02 +0000)]
Use GtkWindow* as first signal argument (was GtkWidget*).

2001-11-03  Daniel Elstner  <daniel.elstner@gmx.net>

* gtk/gtkwindow.h (frame_event): Use GtkWindow* as first
signal argument (was GtkWidget*).

* gtk/gtkwindow.c (gtk_window_frame_event),
  gtk/gtkwindow-decorate.c (gtk_decorated_window_frame_event):
Fixed argument types as above, removed GTK_WINDOW casts and
added some GTK_WIDGET casts instead.

22 years agochain finalize to parent class to get removed from the toplevel_list.
Hans Breuer [Sat, 3 Nov 2001 20:47:50 +0000 (20:47 +0000)]
chain finalize to parent class to get removed from the toplevel_list.

2001-11-03  Hans Breuer  <hans@breuer.org>

* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
finalize to parent class to get removed from the toplevel_list.
Should fix 'random' crashes of #63474.

* gtk/gtktreemodelsort.c : chain finalize() to parent class

22 years agogdk_rgb_init() doesn't need to be called anymore. Use g_object_(un)_ref
Sebastian Wilhelmi [Sat, 3 Nov 2001 18:49:43 +0000 (18:49 +0000)]
gdk_rgb_init() doesn't need to be called anymore. Use g_object_(un)_ref

2001-11-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk-pixbuf/tmpl/refcounting.sgml,
gdk-pixbuf/porting-from-imlib.sgml, tmpl/creating.sgml:
gdk_rgb_init() doesn't need to be called anymore. Use
g_object_(un)_ref instead of gdk_pixbuf_(un)ref.

* tmpl/module_interface.sgml: Typo fix.

* gdk-pixbuf/gdk-pixbuf.sgml: Fixed jade complaining about '_' by
replacing it with '-'. Now builds again.

* gdk-pixbuf-loader.c, gdk-pixbuf-scale.c: Documentation fixes.

22 years agoCorrect some renamed functions.
Tor Lillqvist [Sat, 3 Nov 2001 00:44:35 +0000 (00:44 +0000)]
Correct some renamed functions.

2001-11-03  Tor Lillqvist  <tml@iki.fi>

* gtk/gtk.def: Correct some renamed functions.

* gtk/gtkimmodule.c (correct_libdir_prefix): New function, used on
Windows to turn build-time paths from a gtk.immodules distributed
as part of a binary package into runtime ones in the
end-user-chosen installation directory.
(gtk_im_module_init): Use it for module path and domain
directory.

22 years agoUse -no-undefined on Windows. Look for .dll or .so as appropriate as
Tor Lillqvist [Fri, 2 Nov 2001 22:56:59 +0000 (22:56 +0000)]
Use -no-undefined on Windows. Look for .dll or .so as appropriate as

2001-11-03  Tor Lillqvist  <tml@iki.fi>

* modules/input/Makefile.am: Use -no-undefined on Windows. Look
for .dll or .so as appropriate as module suffix.

* gtk-zip.sh.in: Use correct import library names.

* gtk/gtk.def: Add a couple of missing entry points. (#63585)

2001-11-02  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous
comma.  Include gtkprivate.h for GTK_LIBDIR etc definitions on
Windows.

2001-10-30  Tor Lillqvist  <tml@iki.fi>

* Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc
files. Configure on Win32 (running on Cygwin) thinks symlinks
exist, but pkg-config is not necesarily a Cygwin program, and
doesn't understand them.

22 years agoClean up height code a bit. I don't think it's completely correct yet, but
Jonathan Blandford [Fri, 2 Nov 2001 21:47:27 +0000 (21:47 +0000)]
Clean up height code a bit. I don't think it's completely correct yet, but

Fri Nov  2 16:45:17 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code
a bit.  I don't think it's completely correct yet, but it's
getting there.

22 years agoRemove random + 5 for width and height. If people want padding, they
Owen Taylor [Fri, 2 Nov 2001 21:16:54 +0000 (21:16 +0000)]
Remove random + 5 for width and height. If people want padding, they

Fri Nov  2 16:14:15 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
random + 5 for width and height. If people want padding,
they should add padding. (Note the +5 isn't padding
that will always appear - it just appears in the case
where the widget is allocated it's requisition.)
(#51018, Janet Davis)

22 years agoPad the structure for future expansion.
Owen Taylor [Fri, 2 Nov 2001 20:54:18 +0000 (20:54 +0000)]
Pad the structure for future expansion.

Fri Nov  2 15:53:23 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
the structure for future expansion.

22 years agoPatch from HideToshi Tajima (#51922)
Owen Taylor [Fri, 2 Nov 2001 20:48:15 +0000 (20:48 +0000)]
Patch from HideToshi Tajima (#51922)

Fri Nov  2 15:30:34 2001  Owen Taylor  <otaylor@redhat.com>

        Patch from HideToshi Tajima (#51922)

        * gtk/gtkimmulticontext.c: Proxy set_use_preedit().

        * gtk/modules/input/gtkimcontextxim.[ch]: Implement
        set_use_preedit().

        * gtk/modules/input/gtkimcontextxim.[ch]: If we have
        to destroy the input context because we change the
        client window or use_preedit, make sure we empty
        the preedit string.

22 years agoGo to the GUP proposed ordering of buttons with [OK] in the lower right
Owen Taylor [Fri, 2 Nov 2001 20:02:44 +0000 (20:02 +0000)]
Go to the GUP proposed ordering of buttons with [OK] in the lower right

Fri Nov  2 14:55:53 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c,
gtkgamma.c,gtkmessagedialog.c}: Go to the GUP
proposed ordering of buttons with [OK] in the lower
right hand corner. Patch from Gregory Merchan,
#56331.

22 years agoremove extraneous gtk_label_clear_layout (label)
Jonathan Blandford [Fri, 2 Nov 2001 17:18:01 +0000 (17:18 +0000)]
remove extraneous gtk_label_clear_layout (label)

Fri Nov  2 11:51:49 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)

22 years agoRemoved -DGTK_DISABLE_COMPAT_H.
Sebastian Wilhelmi [Fri, 2 Nov 2001 15:39:04 +0000 (15:39 +0000)]
Removed -DGTK_DISABLE_COMPAT_H.

2001-11-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* tests/makefile.msc, gtk/makefile.msc.in: Removed
-DGTK_DISABLE_COMPAT_H.

* docs/Changes-2.0.txt:
s/GDK_DISABLE_COMPAT_H/GDK_DISABLE_DEPRECATED/

* gtk/gtkcompat.h.in, gdk/gdkcompat.h: Removed from CVS.

22 years agoConvert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
Owen Taylor [Fri, 2 Nov 2001 15:27:27 +0000 (15:27 +0000)]
Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)

Fri Nov  2 10:21:03 2001  Owen Taylor  <otaylor@redhat.com>

* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)

22 years agoremove totally broken unused, non-compiling, static function.
Matt Wilson [Fri, 2 Nov 2001 14:49:37 +0000 (14:49 +0000)]
remove totally broken unused, non-compiling, static function.

2001-11-02  Matt Wilson  <msw@redhat.com>

* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.

22 years agoIterate through children of the action area, not of the vbox. (#58278,
Owen Taylor [Fri, 2 Nov 2001 13:20:17 +0000 (13:20 +0000)]
Iterate through children of the action area, not of the vbox. (#58278,

Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
Iterate through children of the action area, not of
the vbox. (#58278, Sergey Kuzminov)

22 years agohandle -1 argument in order to remove a workaround in Nautilus that forced
Havoc Pennington [Fri, 2 Nov 2001 05:22:07 +0000 (05:22 +0000)]
handle -1 argument in order to remove a workaround in Nautilus that forced

2001-11-01  Havoc Pennington  <hp@pobox.com>

* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
order to remove a workaround in Nautilus that forced
GTK_ENABLE_BROKEN

* gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs

22 years agoPatch from George Lebl to fix division by zero for full scroll bars.
Owen Taylor [Fri, 2 Nov 2001 01:13:31 +0000 (01:13 +0000)]
Patch from George Lebl to fix division by zero for full scroll bars.

Thu Nov  1 20:09:31 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrange.c: Patch from George Lebl to
fix division by zero for full scroll bars. (#62114)

22 years agoref/unref around gtk_widget_event() if we are going to set a flag
Owen Taylor [Fri, 2 Nov 2001 01:00:40 +0000 (01:00 +0000)]
ref/unref around gtk_widget_event() if we are going to set a flag

Thu Nov  1 19:56:40 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmain.c (gtk_main_do_event): ref/unref
around gtk_widget_event() if we are going to
set a flag afterwards. (#63464)

22 years agoActually add the missing/broken image icon as the image for the "missing
Owen Taylor [Fri, 2 Nov 2001 00:48:28 +0000 (00:48 +0000)]
Actually add the missing/broken image icon as the image for the "missing

Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
Actually add the missing/broken image icon as the
image for the "missing image" stock icon.

22 years agoSet a reasonable default height for the window.
Owen Taylor [Fri, 2 Nov 2001 00:25:14 +0000 (00:25 +0000)]
Set a reasonable default height for the window.

Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/stock_browser.c (do_stock_browser):
Set a reasonable default height for the window.

* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
bug where subsequent '-' weren't converted to '_'.
(#59550, Matthias Clasen)

* demos/gtk-demo/appwindow.c (menu_items): Don't right
justify the Help menu - just include a comment on
how to do it. (#63539,  Marius Andreiana)

* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
list GTK_ICON_SIZE_INVALID.

* demos/gtk-demo/stock_browser.c: Show the biggest available
size, not a fixed size. (Often reported, including #63539,
Marius Andreiana)

22 years agoFix reorder_fixup, #59583
Jonathan Blandford [Fri, 2 Nov 2001 00:13:30 +0000 (00:13 +0000)]
Fix reorder_fixup, #59583

Thu Nov  1 19:11:35 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
#59583

* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
warning.

22 years agoMake GtkFunction return boolean, not gint. (Daniel Elstner).
Owen Taylor [Thu, 1 Nov 2001 21:54:52 +0000 (21:54 +0000)]
Make GtkFunction return boolean, not gint. (Daniel Elstner).

Thu Nov  1 16:54:00 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
(Daniel Elstner).

22 years agoAdd: - A ::retrieve_surrounding signal that asks the widget for context
Owen Taylor [Thu, 1 Nov 2001 21:50:58 +0000 (21:50 +0000)]
Add: - A ::retrieve_surrounding signal that asks the widget for context

Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontext.[ch]: Add:
  - A ::retrieve_surrounding signal that asks the widget for
    context around the insertion point.
  - A ::delete_surrounding signal that asks the widget to
    delete context aroudn the insertion point.
  - gtk_im_context_set_context() for widgets to set context
    around the insertion point in response to ::retrieve_context.
  - gtk_im_context_get_context() for context to get context
    around the insertion point

* gtkmarshal.list: Add BOOL:INT,INT

* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
set_surrounding() methods, and the ::retrieve_surrounding /
::delete_surrounding signals.

* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
GtkIMContext::retrieve_surrounding / ::delete_surrounding
signals.

22 years agoit's amazing how well things work sometimes, even when they're completely
Jonathan Blandford [Thu, 1 Nov 2001 20:46:01 +0000 (20:46 +0000)]
it's amazing how well things work sometimes, even when they're completely

Thu Nov  1 15:45:04 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
it's amazing how well things work sometimes, even when they're
completely wrong.

* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
where you could try to collapse a node w/o it having children.

(gtk_tree_view_class_init): remove Shift L<->R as they already
existed for expand/collapse.

22 years agoFix crash found by Matt Wilson.
Jonathan Blandford [Thu, 1 Nov 2001 17:23:03 +0000 (17:23 +0000)]
Fix crash found by Matt Wilson.

Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.

22 years agoSupport Shift, Control, and Shift|Control L<->R, #63475
Jonathan Blandford [Thu, 1 Nov 2001 06:29:35 +0000 (06:29 +0000)]
Support Shift, Control, and Shift|Control L<->R, #63475

Thu Nov  1 00:44:50 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475

22 years agofix infinite loop noticed by yosh.
Jonathan Blandford [Thu, 1 Nov 2001 00:06:32 +0000 (00:06 +0000)]
fix infinite loop noticed by yosh.

Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.

22 years agounset the GTK_REALIZED flag so we don't re-enter when we are destroyed
Michael Meeks [Wed, 31 Oct 2001 23:58:31 +0000 (23:58 +0000)]
unset the GTK_REALIZED flag so we don't re-enter when we are destroyed

2001-11-01  Michael Meeks  <michael@ximian.com>

* gtk/gtksocket.c (gtk_socket_unrealize): unset the
GTK_REALIZED flag so we don't re-enter when we are
destroyed from the plug side.

22 years agoAdd a "menu" property and notify on it. (#62798, Padraig O'Briain)
Owen Taylor [Wed, 31 Oct 2001 23:49:09 +0000 (23:49 +0000)]
Add a "menu" property and notify on it. (#62798, Padraig O'Briain)

Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
Add a "menu" property and notify on it. (#62798,
Padraig O'Briain)

* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
Fix set_text to take a gchar, not a guchar, and to have
a len argument.

22 years agofix typo to make it compile
Manish Singh [Wed, 31 Oct 2001 23:33:22 +0000 (23:33 +0000)]
fix typo to make it compile

Wed Oct 31 15:31:13 2001  Manish Singh  <yosh@gimp.org>

        * gtk/gtkstock.c: fix typo to make it compile

22 years agodon't know why this didn't commit
Jonathan Blandford [Wed, 31 Oct 2001 22:57:51 +0000 (22:57 +0000)]
don't know why this didn't commit

22 years agoif the widget is insensitive, draw the text insensitively, #63306
Jonathan Blandford [Wed, 31 Oct 2001 22:57:28 +0000 (22:57 +0000)]
if the widget is insensitive, draw the text insensitively, #63306

Wed Oct 31 17:27:20 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): if
the widget is insensitive, draw the text insensitively, #63306

22 years agoAdd stock items for most stock icons. (#61757)
Matthias Clasen [Wed, 31 Oct 2001 22:27:29 +0000 (22:27 +0000)]
Add stock items for most stock icons. (#61757)

        * gtk/gtkstock.c: Add stock items for most stock icons. (#61757)

22 years agoinclude initialization_versions.sgml, file-saving.sgml and
Matthias Clasen [Wed, 31 Oct 2001 22:07:13 +0000 (22:07 +0000)]
include initialization_versions.sgml, file-saving.sgml and

        * gdk-pixbuf/gdk-pixbuf.sgml: include initialization_versions.sgml,
        file-saving.sgml and module_interface.sgml.

        * gdk-pixbuf/tmpl/module_interface.sgml: add short description.

        * gtk/tmpl/gtkarg.sgml, gtk/tmpl/gtkdata.sgml,
        gtk/tmpl/gtkcellrenderertextpixbuf.sgml: removed, since they described
        no longer existent stuff and aren't included anymore.

        * gdk/tmpl/color_contexts.sgml, gdk/tmpl/input_contexts.sgml,
        gdk/tmpl/input_methods.sgml: removed, since they described no longer
        existent stuff and aren't included anymore.

22 years agorename gtk_selection_data_set_tree_row, #60218
Jonathan Blandford [Wed, 31 Oct 2001 21:55:55 +0000 (21:55 +0000)]
rename gtk_selection_data_set_tree_row, #60218

Wed Oct 31 16:53:48 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
gtk_selection_data_set_tree_row, #60218
(gtk_tree_get_row_drag_data): rename
gtk_selection_data_get_tree_row, #60218

* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
get this right, after the third try, #63122.

22 years agothese should be 31, not 3. Hooray for Xatoms (and not using the XA_*
jacob berkman [Wed, 31 Oct 2001 21:52:29 +0000 (21:52 +0000)]
these should be 31, not 3. Hooray for Xatoms (and not using the XA_*

2001-10-31  jacob berkman  <jacob@ximian.com>

* gdk/gdkselection.h (GDK_TARGET_STRING):
(GDK_SELECTION_TYPE_STRING): these should be 31, not 3.  Hooray
for Xatoms (and not using the XA_* macros)!

22 years agoAdd a gtk_window_get_focus() getter to determine the currently focused
Owen Taylor [Wed, 31 Oct 2001 20:41:02 +0000 (20:41 +0000)]
Add a gtk_window_get_focus() getter to determine the currently focused

Wed Oct 31 15:38:14 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.[ch] (gtk_window_get_focus): Add a
gtk_window_get_focus() getter to determine the currently
focused widget within the window. (#63145, request
from Damian Ivereigh)

22 years agoAdd GTK_SELECTION_NONE enum, #61695
Jonathan Blandford [Wed, 31 Oct 2001 20:20:12 +0000 (20:20 +0000)]
Add GTK_SELECTION_NONE enum, #61695

Wed Oct 31 14:45:08 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkenums.h (enum): Add GTK_SELECTION_NONE enum, #61695

* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Handle new
GTK_SELECTION_NONE enum.
(_gtk_tree_selection_internal_select_node): ditto

* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): add
constness.

* gtk/gtkcellrenderertoggle.c: more yummy constness.

* gtk/gtkclist.c (gtk_clist_set_selection_mode): g_return_if_fail
if mode == GTK_SELECTION_NONE

22 years agoAdded a "cursor_changed" signal, #62850.
Jonathan Blandford [Wed, 31 Oct 2001 19:08:09 +0000 (19:08 +0000)]
Added a "cursor_changed" signal, #62850.

Wed Oct 31 14:05:17 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_class_init): Added a
"cursor_changed" signal, #62850.

22 years agoafter allocating the treedatalist, zero it to make sure the values are
Matt Wilson [Wed, 31 Oct 2001 18:54:20 +0000 (18:54 +0000)]
after allocating the treedatalist, zero it to make sure the values are

2001-10-31  Matt Wilson  <msw@redhat.com>

* gtk/gtktreedatalist.c (_gtk_tree_data_list_alloc): after
allocating the treedatalist, zero it to make sure the values are
cleared from any garbage that was in this chunk.

22 years agoremove conflict moarker
Matt Wilson [Wed, 31 Oct 2001 18:52:22 +0000 (18:52 +0000)]
remove conflict moarker

22 years agogchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are...
Murray Cumming [Wed, 31 Oct 2001 10:27:17 +0000 (10:27 +0000)]
gchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are noe const gchar*.

22 years agomassize rewrite. Static models now totally work. I'm not 100% sure about
Jonathan Blandford [Wed, 31 Oct 2001 00:20:15 +0000 (00:20 +0000)]
massize rewrite. Static models now totally work. I'm not 100% sure about

Tue Oct 30 19:17:57 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
rewrite.  Static models now totally work.  I'm not 100% sure about
row_inserted and row_changed, but I'll get those later.

22 years agoUpdates. (#63293)
Matthias Clasen [Tue, 30 Oct 2001 23:58:00 +0000 (23:58 +0000)]
Updates. (#63293)

        * gdk-pixbuf/gdk-pixbuf-sections.txt,
        gdk-pixbuf/tmpl/animation.sgml,
        gdk-pixbuf/tmpl/module_interface.sgml: Updates. (#63293)

22 years agoshut up CVS
Sven Neumann [Tue, 30 Oct 2001 16:51:39 +0000 (16:51 +0000)]
shut up CVS