]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoFix args to pango_x_shutdown_display().
Owen Taylor [Fri, 2 Aug 2002 20:22:49 +0000 (20:22 +0000)]
Fix args to pango_x_shutdown_display().

Fri Aug  2 15:56:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): Fix
        args to pango_x_shutdown_display().

        * gdk/linux-fb/gdkinput.c gdk/linux-fb/gdkinputprivate.h
        gdk/win32/gdkinput-win32.[ch] gdk/win32/gdkinput.c
        gdk/win32/gdkwindow-win32.c gdk/x11/gdkinput-x11.c
        gdk/x11/gdkinput-xfree.c gdk/x11/gdkinput.c
        gdk/x11/gdkinputprivate.h gdk/x11/gdkwindow-x11.c: Move
        a bunch of functions gdk_input => _gdk_input. Clean
        up some header file cruft. (#79971)

21 years agoCall pango_x[ft]_shutdown_display().
Owen Taylor [Fri, 2 Aug 2002 19:19:42 +0000 (19:19 +0000)]
Call pango_x[ft]_shutdown_display().

Fri Aug  2 12:21:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose):
        Call pango_x[ft]_shutdown_display().

21 years agodeclare screen_x11 variable to fix build w/ xinerama
jacob berkman [Fri, 2 Aug 2002 16:28:29 +0000 (16:28 +0000)]
declare screen_x11 variable to fix build w/ xinerama

2002-08-02  jacob berkman  <jacob@ximian.com>

* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama

21 years agoSwitch back to using XftDraw so that we take advantage of the
Owen Taylor [Fri, 2 Aug 2002 04:57:53 +0000 (04:57 +0000)]
Switch back to using XftDraw so that we take advantage of the

Fri Aug  2 00:43:15 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkpixmap-x11.c
gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c:
Switch back to using XftDraw so that we take
advantage of the draw-to-non-RENDER capabilities
of Xft2.

* demos/gtk-demo/changedisplay.c (query_for_toplevel):
Fix the case where the user clicks on the "click on
a window popup".

21 years agoNew demo for window migration between different displays and screens.
Owen Taylor [Thu, 1 Aug 2002 23:43:13 +0000 (23:43 +0000)]
New demo for window migration between different displays and screens.

Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/changedisplay.c: New demo for
window migration between different displays and screens.

* gtk/gtkrc.c gtkstyle.[ch]: Add
_gtk_style_init_for_settings(), so that gtkrc.c
can initialize the styles it creates for the
right display.

* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
* gtk/gtksettings.c (gtk_settings_get_default)
* gtk/gtkstyle.c (gtk_style_init): Handle absence of
a default screen.

* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
Handle display == NULL.x

* gdk/gdkdisplay.c (gdk_display_dispose): Free the
event queue.

* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
Remove the event source when closing a display.

* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
isn't convenient enough by itself.

* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
Create foreign windows for watch windows if there isn't
an existing window, instead of installing a global filter.

* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
Clean up the xsettings_client when we are done with
it.

* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
excess call to _gdk_x11_events_init_screen()

21 years agoMerge from stable:
Sven Neumann [Thu, 1 Aug 2002 18:22:28 +0000 (18:22 +0000)]
Merge from stable:

2002-08-01  Sven Neumann  <sven@gimp.org>

Merge from stable:

* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.

21 years agoStart implementing display/screen closing scheme; keep a flag for whether
Owen Taylor [Thu, 1 Aug 2002 15:28:40 +0000 (15:28 +0000)]
Start implementing display/screen closing scheme; keep a flag for whether

Thu Aug  1 11:26:03 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:
Start implementing display/screen closing scheme; keep a
flag for whether displays and screens are closed,
call g_object_run_dispose(). Remove public gdk_screen_close().

* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkscreen-x11.c: Add
dispose() methods; move appropriate parts of the finalize
there.

* gdk/x11/gdkcolor-x11.c gdk/x11/gdkimage-x11.c
gdk/x11/gdkmain-x11.c gdk/x11/gdkpango-x11.c
gdk/x11/gdkpixmap-x11.c gdk/x11/gdkproperty-x11.c
gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.c:
Start of making everything correctly ignore operations
when a display has been closed.

* gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations):
Handle decorations == NULL.

* gdk/x11/gdkcolor-x11.c (gdk_colormap_remove):
Remove unnecessary hash table creation.

* gdk/x11/gdkinput.c gdk/x11/gdkinput-x11.c gdk/win32/gdkinput.c
Fix up gdk_device_get_history - handle events, n_events == NULL,
etc.

* gdk/x11/gdkproperty-x11.c (gdk_property_get):
Handle failure better.

* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
Handle failure better, handle data == NULL, move docs
here, remove an excess round trip by asking for
all selection data at once.

* gdk/gdkselection.c gdk/win32/{x11,win32}/gdkselection-{x11,win32}.c
  gdk/{x11,win32}/gdkmain-{x11,win32}.c gdk/gdkdisplay.c: Move
gdk_text_property_to_text_list(), gdk_string_to_compound_text(),
gdk_display_set_sm_client_id() to display-independent part of GDK.

* gdk/Makefile.am (gdk_c_sources): Sort gdkdisplay/screen.[ch]
into the right place.

21 years agoescape_string() only takes one arg
jacob berkman [Wed, 31 Jul 2002 19:08:39 +0000 (19:08 +0000)]
escape_string() only takes one arg

2002-07-31  jacob berkman  <jacob@ximian.com>

* gtk/queryimmodules.c (print_escaped): escape_string() only takes
one arg

21 years agoAvoid using g_strescape(), since it mangles UTF-8, (#89479, Yao Zhang.)
Owen Taylor [Wed, 31 Jul 2002 16:54:46 +0000 (16:54 +0000)]
Avoid using g_strescape(), since it mangles UTF-8, (#89479, Yao Zhang.)

Wed Jul 31 12:50:51 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/queryimmodules.c: Avoid using g_strescape(),
        since it mangles UTF-8, (#89479, Yao Zhang.)

21 years agofree the result of gdk_pixdata_serialize() (bug #89411).
Sven Neumann [Wed, 31 Jul 2002 08:17:43 +0000 (08:17 +0000)]
free the result of gdk_pixdata_serialize() (bug #89411).

2002-07-31  Sven Neumann  <sven@gimp.org>

* gdk-pixdata.c (gdk_pixdata_to_csource): free the result of
gdk_pixdata_serialize() (bug #89411).

21 years agoHandle inverted ranges correctly (#85436, fix from Norihiro UMEDA)
Owen Taylor [Tue, 30 Jul 2002 23:17:50 +0000 (23:17 +0000)]
Handle inverted ranges correctly (#85436, fix from Norihiro UMEDA)

Tue Jul 30 19:09:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrange.c (gtk_range_scroll_event): Handle
        inverted ranges correctly (#85436, fix from
        Norihiro UMEDA)

21 years agoFix bug in the selection mode option menus which were setting the wrong
Owen Taylor [Tue, 30 Jul 2002 20:43:15 +0000 (20:43 +0000)]
Fix bug in the selection mode option menus which were setting the wrong

Tue Jul 30 16:36:53 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/testgtk.c: Fix bug in the selection mode option
        menus which were setting the wrong values.
        (#85763, Manuel Op de Coul)

21 years agoHonor GDK_PIXBUF_CSOURCE from configure.in when cross-compiling. (#87099,
Owen Taylor [Tue, 30 Jul 2002 20:00:16 +0000 (20:00 +0000)]
Honor GDK_PIXBUF_CSOURCE from configure.in when cross-compiling. (#87099,

Tue Jul 30 15:39:06 2002  Owen Taylor  <otaylor@redhat.com>

        * demos/Makefile.am: Honor GDK_PIXBUF_CSOURCE from
        configure.in when cross-compiling. (#87099,
        J. Ali Harlow)

21 years agoCommitted updated translation.
Fatih Demir [Tue, 30 Jul 2002 09:13:06 +0000 (09:13 +0000)]
Committed updated translation.

21 years agoFix some warnings by adding casts to PixopsInterpType. (#85839, David L.
Owen Taylor [Tue, 30 Jul 2002 03:09:39 +0000 (03:09 +0000)]
Fix some warnings by adding casts to PixopsInterpType. (#85839, David L.

Mon Jul 29 23:06:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-scale.c: Fix some warnings by adding
        casts to PixopsInterpType. (#85839, David L. Cooper, II.)

21 years agoFix up the example program a bit. (#88814, Johnson Wong)
Owen Taylor [Tue, 30 Jul 2002 02:39:59 +0000 (02:39 +0000)]
Fix up the example program a bit. (#88814, Johnson Wong)

Mon Jul 29 22:36:06 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtkfilesel.sgml: Fix up the example program
        a bit. (#88814, Johnson Wong)

21 years agoChanges, bug fixes etc.
Anders Carlsson [Mon, 29 Jul 2002 21:11:23 +0000 (21:11 +0000)]
Changes, bug fixes etc.

21 years agoUnset gtk-im-surrounding-info object data again. (Fix from Yao Zhang,
Owen Taylor [Mon, 29 Jul 2002 21:04:22 +0000 (21:04 +0000)]
Unset gtk-im-surrounding-info object data again. (Fix from Yao Zhang,

Mon Jul 29 16:42:30 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
        Unset gtk-im-surrounding-info object data again.
        (Fix from Yao Zhang, #86811)

21 years agori Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Fri, 26 Jul 2002 22:21:39 +0000 (22:21 +0000)]
ri Jul 26 17:59:06 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Replace uses of grep \(A\|B\) ... with
        egrep (A|B). (#84872, Arnaud Charlet)

21 years agoAPI additions: _move, _reorder and _swap for stores, path constructor.
Kristian Rietveld [Fri, 26 Jul 2002 20:51:13 +0000 (20:51 +0000)]
API additions: _move, _reorder and _swap for stores, path constructor.

Fri Jul 26 22:53:37 2002  Kristian Rietveld  <kris@gtk.org>

        API additions: _move, _reorder and _swap for stores, path
        constructor.

        * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.

        * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
        gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.

        * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
        gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.

Fri Jul 26 22:32:57 2002  Kristian Rietveld  <kris@gtk.org>

        Merge from stable:

        * gtk/gtktreestore.c (node_free): return FALSE,
        (gtk_tree_store_finalize): use g_node_traverse instead of
        g_node_children_foreach, so the whole tree will be freed (#88854,
        patch from Emmanuel Briot).

Fri Jul 26 22:32:24 2002  Kristian Rietveld  <kris@gtk.org>

        Merge from stable:

        * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
        (#84426, patch from Matthias Clasen).

Fri Jul 26 22:31:25 2002  Kristian Rietveld  <kris@gtk.org>

        Merge from stable:

        * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
        check shouldn't be in g_return_return_val_if_fail (pointed out by
        Josh Green, #88997),
        (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
        for each column when we unset the model (part of #82484),
        (gtk_tree_view_get_cell_area): return if we ran out of tree or
        if we got an invalid path (#82376).

        * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.

        * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
        which disconnects the sort_column_changed_signal (part of #82484).

        * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
        given postion is off the end of the tree (#85813).

        * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
        2-space indent, commit changes if up/down keys has been pressed,
        this overrides the focus key foo so the user won't be surprised
        (#84665).

21 years agoCheck if depth of the source is not equal to the depth of the colormap
Shivram U [Fri, 26 Jul 2002 11:14:13 +0000 (11:14 +0000)]
Check if depth of the source is not equal to the depth of the colormap

Fri Jul 26 16:34:34 2002  Shivram U  <shivaram.upadhyayula@wipro.com>

* gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable),
(gdk_pixbuf_get_from_image), (rgbconvert), (convert_real_slow):
Check if depth of the source is not equal to the depth of the colormap
passed. (#75597)

21 years agoUse gdk_rgb_convert_4, not gdk_rgb_convert_8 for depth 4, bpp 8,
Matthias Clasen [Thu, 25 Jul 2002 20:31:08 +0000 (20:31 +0000)]
Use gdk_rgb_convert_4, not gdk_rgb_convert_8 for depth 4, bpp 8,

* gdk/gdkrgb.c (gdk_rgb_select_conv): Use gdk_rgb_convert_4,
not gdk_rgb_convert_8 for depth 4, bpp 8, PseudoColor visuals.
(#88697)

21 years agoWhen a menubar is up, use F10 to cycle menubars, not Control-Tab (#87159,
Owen Taylor [Thu, 25 Jul 2002 18:17:28 +0000 (18:17 +0000)]
When a menubar is up, use F10 to cycle menubars, not Control-Tab (#87159,

Thu Jul 25 14:14:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenushell.c: When a menubar is up, use F10 to cycle
        menubars, not Control-Tab (#87159, Calum Benson. Patch from
        Padraig O'Briain.)

        * gtk/gtkmenubar.c: When cycling menu bars, cancel
        after the last instead of wrapping around.

21 years ago[ Patch from Padraig O'Briain, #87904 ]
Owen Taylor [Thu, 25 Jul 2002 16:12:46 +0000 (16:12 +0000)]
[ Patch from Padraig O'Briain, #87904 ]

Thu Jul 25 11:57:57 2002  Owen Taylor  <otaylor@redhat.com>

        [ Patch from Padraig O'Briain, #87904 ]

        * gtk/gtkwidget.c (gtk_widget_class_init): Cleanup -
        use G_SIGNAL_RUN_LAST not GTK_RUN_LAST when using
        g_signal new.

        * gtk/gtktogglebutton.c (gtk_toggle_button_mnemonic_activate):
        Always focus the widget, even when we are activating
        as well.

21 years agoApply patch from Gustavo Giraldez for bug #78513
Havoc Pennington [Thu, 25 Jul 2002 02:52:44 +0000 (02:52 +0000)]
Apply patch from Gustavo Giraldez for bug #78513

2002-07-24  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c: Apply patch from Gustavo
Giraldez for bug #78513

21 years agoDon't use GTK_RC_FILES, since it causes problems with what KDE (etc.) does
Owen Taylor [Wed, 24 Jul 2002 20:54:34 +0000 (20:54 +0000)]
Don't use GTK_RC_FILES, since it causes problems with what KDE (etc.) does

Wed Jul 24 16:43:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
        GTK_RC_FILES, since it causes problems with what KDE (etc.)
        does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)

21 years agoAvoid unnecessary casting.
Matthias Clasen [Tue, 16 Jul 2002 17:32:08 +0000 (17:32 +0000)]
Avoid unnecessary casting.

* io-ras.c (DoCompressed): Avoid unnecessary casting.

21 years agofixed the example code (return TRUE from the expose_event handler).
Sven Neumann [Tue, 16 Jul 2002 17:21:25 +0000 (17:21 +0000)]
fixed the example code (return TRUE from the expose_event handler).

2002-07-16  Sven Neumann  <sven@gimp.org>

* gdk/tmpl/rgb.sgml: fixed the example code (return TRUE from the
expose_event handler).

21 years agoFixed the LSB -> MSB case. Fixes #79463.
Federico Mena Quintero [Tue, 16 Jul 2002 17:18:09 +0000 (17:18 +0000)]
Fixed the LSB -> MSB case. Fixes #79463.

2002-07-16  Federico Mena Quintero  <federico@ximian.com>

* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.
Fixes #79463.

21 years agogdk/gdk.c gdk/gdkinternals.h gdk/win32/gdkmain-win32.c pass argc and argv
Sven Neumann [Tue, 16 Jul 2002 16:11:49 +0000 (16:11 +0000)]
gdk/gdk.c gdk/gdkinternals.h gdk/win32/gdkmain-win32.c pass argc and argv

2002-07-16  Sven Neumann  <sven@gimp.org>

* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).

21 years agoactivate the menu item so old apps work properly
jacob berkman [Wed, 10 Jul 2002 18:47:32 +0000 (18:47 +0000)]
activate the menu item so old apps work properly

2002-07-10  jacob berkman  <jacob@ximian.com>

* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the
menu item so old apps work properly

21 years agoFix some cases where signal connection IDs where being assigned to guint
Owen Taylor [Wed, 10 Jul 2002 18:30:23 +0000 (18:30 +0000)]
Fix some cases where signal connection IDs where being assigned to guint

Wed Jul 10 14:27:14 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c gtk/gtkcolorsel.c
        gtk/gtkdialog.c gtk/gtktextbtree.c: Fix some cases
        where signal connection IDs where being assigned to
        guint rather than gulong. (part of #87281, Shivram U)

21 years agoNew function for loading an image from a file either via module->load or
Matthias Clasen [Sun, 7 Jul 2002 20:29:48 +0000 (20:29 +0000)]
New function for loading an image from a file either via module->load or

* gdk-pixbuf-io.c (generic_image_load): New function for loading
an image from a file either via module->load or incrementally.
(prepared_notify): ModulePreparedNotifyFunc for generic_image_load.
(gdk_pixbuf_new_from_file): Use generic_image_load.
* io-bmp.c, io-ico.c, io-ras.c, io-wbmp.c: Remove trivial
implementations of module->load.  (#71266)

21 years agoupdated italian translation
Christopher R. Gabriel [Sun, 7 Jul 2002 01:34:42 +0000 (01:34 +0000)]
updated italian translation

21 years agoCorrect computation of image height. (OneLine): Correct update
Matthias Clasen [Sat, 6 Jul 2002 23:54:50 +0000 (23:54 +0000)]
Correct computation of image height. (OneLine): Correct update

* io-ico.c (DecodeHeader): Correct computation of image height.
(OneLine): Correct update notification.

21 years agoLoad-at-size functionality for gdk-pixbuf.
Matthias Clasen [Sat, 6 Jul 2002 23:10:46 +0000 (23:10 +0000)]
Load-at-size functionality for gdk-pixbuf.

21 years agoHandle global_error == NULL better. (tiff_image_parse): Don't trust
Matthias Clasen [Sat, 6 Jul 2002 08:55:51 +0000 (08:55 +0000)]
Handle global_error == NULL better. (tiff_image_parse): Don't trust

* io-tiff.c (tiff_set_error): Handle global_error == NULL
better.
(tiff_image_parse): Don't trust TIFFRGBAImageBegin to set
the "put" routine.  (Fixes #87384)
(gdk_pixbuf__tiff_image_stop_load): Don't call TIFFClose too
early.

21 years agoAdd an extra parameter to _gtk_menu_item_select_first() to allow us to
Owen Taylor [Sat, 6 Jul 2002 00:21:43 +0000 (00:21 +0000)]
Add an extra parameter to _gtk_menu_item_select_first() to allow us to

Fri Jul  5 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
        gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
        to _gtk_menu_item_select_first() to allow us to choose
        whether we want to select the first item predictably
        or to select the first sensitive item. Fixes problem
        with insensitive menu items and keynav. (#85796,
        reported by Bill Haneman and others.)

21 years agofix warning. (gtk_tree_view_search_iter): fix warning, #85884
Jonathan Blandford [Fri, 5 Jul 2002 17:25:16 +0000 (17:25 +0000)]
fix warning. (gtk_tree_view_search_iter): fix warning, #85884

Fri Jul  5 02:50:24 2002  Jonathan Blandford  <jrb@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning.
(gtk_tree_view_search_iter): fix warning, #85884

* gtk/gtktreestore.c (gtk_tree_store_get_flags): change return
value to GtkTreeModelFlags to fix compiler warning, #85883

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change
return value to GtkTreeModelFlags to fix compiler warning, #85882

* gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler
warning, #85881

21 years agoMerge from HEAD.
Kristian Rietveld [Fri, 5 Jul 2002 10:44:36 +0000 (10:44 +0000)]
Merge from HEAD.

Fri Jul  5 12:51:39 2002  Kristian Rietveld  <kris@gtk.org>

        Merge from HEAD.

        * gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after            sorting.

21 years agoUpdated Ukrainian translation
Yuri Syrota [Fri, 5 Jul 2002 08:48:47 +0000 (08:48 +0000)]
Updated Ukrainian translation

21 years ago Miscellaneous bmp loader fixes (#85448, #86286, #86287):
Matthias Clasen [Tue, 2 Jul 2002 17:54:06 +0000 (17:54 +0000)]
Miscellaneous bmp loader fixes (#85448, #86286, #86287):

* io-bmp.c (grow_buffer): New function to avoid crashes
on unchecked reallocs.
(DecodeHeader, DecodeColormap, decode_bitmasks,
DoCompressed): Use grow_buffer instead of g_realloc
throughout. Change signatures where necessary to pass the
errors up.
(OneLine16): Fix loading of 16bpp BI_RGB bmps.
(DoCompressed): Rewritten to properly support BI_RLE4 and
skips and jumps.

21 years agoUse hyphen instead of underscore in signal names in calls to
Padraig O'Briain [Tue, 2 Jul 2002 16:22:19 +0000 (16:22 +0000)]
Use hyphen instead of underscore in signal names in calls to

* gtk/gtksocket.c (gtk_socket_hierarchy_changed):
Use hyphen instead of underscore in signal names in calls to
g_signal_connect_swapped (Fixes bug #86339)

21 years agoonly validate the visible area if we've ever been requisitioned.
Jonathan Blandford [Tue, 2 Jul 2002 04:36:30 +0000 (04:36 +0000)]
only validate the visible area if we've ever been requisitioned.

Tue Jul  2 00:33:26 2002  Jonathan Blandford  <jrb@gnome.org>

* gtk/gtktreeview.c (validate_visible_area): only validate the
visible area if we've ever been requisitioned.

21 years ago Support for compressed ras images (#84994):
Matthias Clasen [Mon, 1 Jul 2002 22:30:51 +0000 (22:30 +0000)]
Support for compressed ras images (#84994):

* io-ras.c (RAS2State): Error on unsupported ras variations.
(OneLine8): Fix colormap indexing.
(OneLine): Call updated_func with proper region.
(DoCompressed): New function, handles compressed ras data.
(gdk_pixbuf__ras_image_load_increment): Handle compressed ras
images.

21 years ago Better colorspace support for the jpeg loader (#61211):
Matthias Clasen [Mon, 1 Jul 2002 22:20:20 +0000 (22:20 +0000)]
Better colorspace support for the jpeg loader (#61211):

* io-jpeg.c (convert_cmyk_to_rgb): New function.
(gdk_pixbuf__jpeg_image_load,
gdk_pixbuf__jpeg_image_load_increment): Allocate a pixbuf with
alpha for 4-channel jpegs and call convert_cmyk_to_rgb for these.

21 years agosync up white space/variable names to match tree_store equiv.
Jonathan Blandford [Mon, 1 Jul 2002 21:15:35 +0000 (21:15 +0000)]
sync up white space/variable names to match tree_store equiv.

Mon Jul  1 17:04:09 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkliststore.c (gtk_list_store_real_set_value): sync up
white space/variable names to match tree_store equiv.

* gtk/gtktreestore.c (gtk_tree_store_real_set_value): sort if we
set the value.

21 years agoFix for failure of gdk_pixbuf_xlib_get_from_drawable if source
Bill Haneman [Mon, 1 Jul 2002 16:21:51 +0000 (16:21 +0000)]
Fix for failure of gdk_pixbuf_xlib_get_from_drawable if source
drawable is root window.

22 years agoconverted a Tab to spaces.
Sven Neumann [Fri, 28 Jun 2002 14:14:42 +0000 (14:14 +0000)]
converted a Tab to spaces.

2002-06-28  Sven Neumann  <sven@gimp.org>

* gdk-pixbuf-csource.c (print_blurb): converted a Tab to spaces.

22 years ago*** empty log message ***
Wang Jian [Sat, 22 Jun 2002 18:22:28 +0000 (18:22 +0000)]
*** empty log message ***

22 years agoRenames:
Owen Taylor [Thu, 20 Jun 2002 23:59:27 +0000 (23:59 +0000)]
Renames:

Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
        tests/*.c: Renames:

         gdk_get_default_display => gdk_display_get_default
         gdk_get_default_screen  => gdk_screen_get_default
         gdk_open_display        => gdk_display_open

22 years agoAdd a singleton object that we can use to get notification when displays
Owen Taylor [Thu, 20 Jun 2002 23:29:19 +0000 (23:29 +0000)]
Add a singleton object that we can use to get notification when displays

Thu Jun 20 16:49:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
        gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
        gdk/win32/gdkdisplay-win32.c: Add a singleton object that
        we can use to get notification when displays
        appear / disappear or the default display changes.

        gdk_set_default_display() => gdk_display_manager_set_default_display()
        gdk_list_displays() => gdk_display_manager_list_displays().
        (#85696)

        * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
        generation.

        * gdk/gdkintl.h: Add this.

        * gtk/gtkmain.c: Add gtk_parse_args() that initializes
        GTK+ without opening a display.

        * gtk/gtkmain.c: Set things up so if a module
        exports gtk_module_init() and gtk_module_display_init(),
        then we treat it as multihead aware, otherwise,
        we only initialize it after the default display is set.

22 years agoPatch from Erwann Chenede.
Owen Taylor [Thu, 20 Jun 2002 19:59:30 +0000 (19:59 +0000)]
Patch from Erwann Chenede.

Thu Jun 20 15:53:21 2002  Owen Taylor  <otaylor@redhat.com>

Patch from Erwann Chenede.

* gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkprivate-x11.h:
Introduce a yes/no/unknown GdkTristate, use it
in a couple of places. (#79962)

* gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.h: Make
gravity_works per-display. (#79963)

22 years agoGet the owner from the display if !NULL. Otherwise, warn for multihead.
Owen Taylor [Thu, 20 Jun 2002 19:38:22 +0000 (19:38 +0000)]
Get the owner from the display if !NULL. Otherwise, warn for multihead.

Thu Jun 20 15:36:40 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkselection.c (gtk_selection_owner_set): Get
        the owner from the display if !NULL. Otherwise, warn for
        multihead. (#85680)

22 years agoGet rid of gtk_style_get_font_for_display(), make gtk_style_get_font()
Owen Taylor [Thu, 20 Jun 2002 19:29:16 +0000 (19:29 +0000)]
Get rid of gtk_style_get_font_for_display(), make gtk_style_get_font()

Thu Jun 20 15:17:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.[ch]: Get rid of gtk_style_get_font_for_display(),
        make gtk_style_get_font() warn for multihead if called
        on an unattached style.

        * gtk/gtktext.c: Remove use of gtk_style_get_font_for_display();
        this makes gtktext not multihead safe, but it doesn't matter;
        it's ENABLE_BROKEN anyways.

        * gtk/gtkmain.c gtk/gtkdebug.h: Add GTK_NOTE(MULTIHEAD,[])

22 years agoOnly change the double click time if the screen for the notification is
Owen Taylor [Thu, 20 Jun 2002 18:55:56 +0000 (18:55 +0000)]
Only change the double click time if the screen for the notification is

Thu Jun 20 14:51:30 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtksettings.c (gtk_settings_notify): Only
        change the double click time if the screen for
        the notification is screen 0 of the display.
        (#77978)

        * gdk/gdkevents.c (gdk_display_set_double_click_time): Fix
        half-done rename.

22 years agoAdd notification for screen property. (#80280)
Owen Taylor [Thu, 20 Jun 2002 16:14:24 +0000 (16:14 +0000)]
Add notification for screen property. (#80280)

Thu Jun 20 12:16:00 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkinvisible.c (gtk_invisible_set_screen): Add
notification for screen property. (#80280)

22 years agoSet the display.
Owen Taylor [Wed, 19 Jun 2002 23:36:42 +0000 (23:36 +0000)]
Set the display.

Tue Jun 18 19:38:08 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
display.

* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
missing check for mv_resize == NULL.

22 years agoUpdated Ukrainian translation.
Andrew V. Samoilov [Wed, 19 Jun 2002 11:01:41 +0000 (11:01 +0000)]
Updated Ukrainian translation.

* uk.po: Updated Ukrainian translation.

22 years agoUpdated Russian translation.
Andrew V. Samoilov [Wed, 19 Jun 2002 10:26:50 +0000 (10:26 +0000)]
Updated Russian translation.

* ru.po: Updated Russian translation.

22 years agoSet the display.
Owen Taylor [Tue, 18 Jun 2002 23:37:05 +0000 (23:37 +0000)]
Set the display.

Tue Jun 18 19:38:08 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
        display.

        * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
        missing check for mv_resize == NULL.

22 years agoTypo fix.
Owen Taylor [Tue, 18 Jun 2002 23:29:10 +0000 (23:29 +0000)]
Typo fix.

Tue Jun 18 19:30:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktreeview.c: Typo fix.

22 years agoMake the core pointer object per-display. (#85698)
Owen Taylor [Tue, 18 Jun 2002 23:23:30 +0000 (23:23 +0000)]
Make the core pointer object per-display. (#85698)

Tue Jun 18 19:11:51 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h
        gdk/gdkinternals.h gdk/win32/gdkevents-win32.c
        gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c
        gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h:
        Make the core pointer object per-display. (#85698)

22 years agoAdded Bulgarian (bg).
Yanko Kaneti [Tue, 18 Jun 2002 21:33:57 +0000 (21:33 +0000)]
Added Bulgarian (bg).

2002-06-18  Yanko Kaneti <yaneti@declera.com>

   * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).

po/

   * bg.po (added): Bulgarian translation by
   Borislav Aleksandrov <B.Aleksandrov@cnsys.bg>.

100%

22 years agoFix for cursor screen => display change.
Owen Taylor [Tue, 18 Jun 2002 21:02:11 +0000 (21:02 +0000)]
Fix for cursor screen => display change.

Tue Jun 18 17:02:48 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk-sections.txt: Fix for cursor screen => display
        change.

22 years agoReplace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
Owen Taylor [Tue, 18 Jun 2002 20:59:44 +0000 (20:59 +0000)]
Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().

Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
        gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
        gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
        (#85671)

        * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
        gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
        gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
        gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
        Adapt to above change.

22 years agoue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Tue, 18 Jun 2002 18:35:41 +0000 (18:35 +0000)]
ue Jun 18 12:04:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk.c (gdk_init_check): Change handling
        of gdk_intialized(), so that gdk_parse_args(),
        gdk_init_check() sequence works.

22 years agoAdd a gboolean create argument, so we don't create the structure unless we
Owen Taylor [Tue, 18 Jun 2002 15:45:05 +0000 (15:45 +0000)]
Add a gboolean create argument, so we don't create the structure unless we

Tue Jun 18 11:46:33 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add
        a gboolean create argument, so we don't create the
        structure unless we actually emulate move-resize
        drags.

22 years agofix bugzilla references
Owen Taylor [Sun, 16 Jun 2002 13:48:20 +0000 (13:48 +0000)]
fix bugzilla references

22 years agoActually use the UTF-8 filename, so we actually fix #83386.
Owen Taylor [Sun, 16 Jun 2002 03:58:44 +0000 (03:58 +0000)]
Actually use the UTF-8 filename, so we actually fix #83386.

Sat Jun 15 23:53:03 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
        Actually use the UTF-8 filename, so we actually
        fix #83386.

        * tests/testgtk.c: Remember the directory as a
        test of gtk_file_selection_set_filename().

22 years agoFix backwards asssertion. (#85434)
Owen Taylor [Sun, 16 Jun 2002 03:12:05 +0000 (03:12 +0000)]
Fix backwards asssertion. (#85434)

Sat Jun 15 23:05:19 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
        Fix backwards asssertion. (#85434)

22 years agoNotify about "background-full-height-set", not "bg_full_height_set".
James M. Cape [Sat, 15 Jun 2002 21:14:37 +0000 (21:14 +0000)]
Notify about "background-full-height-set", not "bg_full_height_set".

Sat Jun 15 16:10:00 2002  James M. Cape <jcape@ignore-your.tv>

* gtk/gtktexttag.c (gtk_text_tag_set_property):
Notify about "background-full-height-set", not
"bg_full_height_set".

22 years agoFix bug #84268, where validate_rows sometimes didn't remove itself
Jonathan Blandford [Fri, 14 Jun 2002 19:43:12 +0000 (19:43 +0000)]
Fix bug #84268, where validate_rows sometimes didn't remove itself

Fri Jun 14 15:41:50 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes
didn't remove itself correctly.  Thanks to Dave Camp for the fix.

22 years agodisconnect_by_func instead of disconnect_by_data. Someone else could use
Jonathan Blandford [Fri, 14 Jun 2002 19:20:21 +0000 (19:20 +0000)]
disconnect_by_func instead of disconnect_by_data. Someone else could use

Fri Jun 14 15:09:11 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_adjustments):
disconnect_by_func instead of disconnect_by_data.  Someone else
could use the same data as us.

* gtk/gtktreeview.c (do_validate_rows): update the adjustment
immediately after we update the size.  Fixes some scroll_to bugs.
(validate_visible_area): ditto

22 years agoIgnore state change events for windows that aren't our toplevels. (#84482,
Owen Taylor [Fri, 14 Jun 2002 14:34:09 +0000 (14:34 +0000)]
Ignore state change events for windows that aren't our toplevels. (#84482,

Fri Jun 14 10:31:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
        Ignore state change events for windows that aren't
        our toplevels. (#84482, Thomas Leonard)

22 years agori Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Fri, 14 Jun 2002 14:16:06 +0000 (14:16 +0000)]
ri Jun 14 10:00:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkwindow.c (gdk_window_update_idle): Add
        missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
        (Report of non-thread-safety from Nicholas Allen)

        * gtk/gtkmain.c (rewrite_events_translate): Fix sign
        problem with coordinate translation. (Fix from
        Robin Lu, #85229)

22 years agoFix type names for GtkIconSet, GtkIconSource, GtkSelectionData, GtkBorder,
Owen Taylor [Thu, 13 Jun 2002 23:44:59 +0000 (23:44 +0000)]
Fix type names for GtkIconSet, GtkIconSource, GtkSelectionData, GtkBorder,

Thu Jun 13 19:41:56 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
        gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
        gtk/gtkwidget.c: Fix type names for GtkIconSet,
        GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
        GtkTextAttributes, GtkTreePath, GtkTreeIter,
        GtkRequisition, which were all registered as GtkType*.
        (#84634, James Henstridge; patch from Jonathan Blandford.)

22 years agoMake work gdk_colormap_sync() work for DirectColor visuals as well. Fill
Owen Taylor [Thu, 13 Jun 2002 22:52:52 +0000 (22:52 +0000)]
Make work gdk_colormap_sync() work for DirectColor visuals as well. Fill

Thu Jun 13 18:48:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcolor-x11.c: Make work
        gdk_colormap_sync() work for DirectColor visuals
        as well. Fill in the ->colors array in
        gdk_screen_get_system_colormap () for DirectColor visuals.
        (#81954, Based on a patch from shivaram.upadhyayula@wipro.com)

22 years agoFix problem where when no alpha was involved, we scaled rather than
Owen Taylor [Thu, 13 Jun 2002 22:12:53 +0000 (22:12 +0000)]
Fix problem where when no alpha was involved, we scaled rather than

Thu Jun 13 18:11:11 2002  Owen Taylor  <otaylor@redhat.com>

        * pixops/pixops.c: Fix problem where when no alpha was
        involved, we scaled rather than composited, but then
        went ahead and composited anyways. (#76958, Patch
        from Matthias Clasen). Needs to be merged to GNOME
        1.4 gdk-pixbuf

22 years agoFix problem where when no alpha was involved, we scaled rather than
Owen Taylor [Thu, 13 Jun 2002 22:11:53 +0000 (22:11 +0000)]
Fix problem where when no alpha was involved, we scaled rather than

Thu Jun 13 18:11:11 2002  Owen Taylor  <otaylor@redhat.com>

        * pixops/pixops.c: Fix problem where when no alpha was
        involved, we scaled rather than composited, but then
        went ahead and composited anyways. (#76958, Patch
        from Matthias Clasen). Needs to be merged to GNOME
        1.4 gdk-pixbuf.

22 years agoAdd the obsolete CUA cut/copy/paste bindings. (#79078)
Owen Taylor [Thu, 13 Jun 2002 22:06:06 +0000 (22:06 +0000)]
Add the obsolete CUA cut/copy/paste bindings. (#79078)

Thu Jun 13 17:50:36 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
        CUA cut/copy/paste bindings. (#79078)

        * gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
        a synonym for for Backspace. (#80302, Jeff Waugh)

22 years agoUse libjpeg in buffered-image mode in order to incrementally display
Matthias Clasen [Thu, 13 Jun 2002 20:22:59 +0000 (20:22 +0000)]
Use libjpeg in buffered-image mode in order to incrementally display

* io-jpeg.c: Use libjpeg in buffered-image mode in order to
incrementally display incrementally loaded progressive jpegs.

22 years agoIgnore all client events that were sent to a window that we don't know
Owen Taylor [Thu, 13 Jun 2002 19:35:08 +0000 (19:35 +0000)]
Ignore all client events that were sent to a window that we don't know

Thu Jun 13 15:02:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c: Ignore all client events that
        were sent to a window that we don't know about or
        to a foreign window. (#81543, Young-Ho, Cha)

22 years agoFix so that the encoding of the filename is handled properly in the case
Owen Taylor [Thu, 13 Jun 2002 16:32:52 +0000 (16:32 +0000)]
Fix so that the encoding of the filename is handled properly in the case

Thu Jun 13 12:24:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
        Fix so that the encoding of the filename is handled
        properly in the case of non-UTF-8 filesystems;
        document the encoding. (#83386, Sebastian Ritau)

        * gtk/gtkfilesel.c (filenames_drag_get): Remove
        debug printf. Fix UTF-8 / filename encoding
        confusion.

22 years agoFix so that the encoding of the filename is handled properly in the case
Owen Taylor [Thu, 13 Jun 2002 16:32:32 +0000 (16:32 +0000)]
Fix so that the encoding of the filename is handled properly in the case

Thu Jun 13 12:24:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
        Fix so that the encoding of the filename is handled
        properly in the case of non-UTF-8 filesystems;
        document the encoding. (#83386, Sebastian Ritau)

        * gtk/gtkfilesel.c (filenames_drag_get): Remove
        debug printf. Fix UTF-8 / filename encoding
        confusion

22 years agoRemove po/README.tools, po/desk.pl and po/update.pl.
Christian Rose [Thu, 13 Jun 2002 16:30:05 +0000 (16:30 +0000)]
Remove po/README.tools, po/desk.pl and po/update.pl.

2002-06-13  Christian Rose  <menthos@menthos.com>

* Makefile.am (EXTRA_DIST): Remove po/README.tools, po/desk.pl
and po/update.pl.

22 years agoRemoved. These are obsoleted by intltool.
Christian Rose [Thu, 13 Jun 2002 16:15:52 +0000 (16:15 +0000)]
Removed. These are obsoleted by intltool.

2002-06-13  Christian Rose  <menthos@menthos.com>

* desk.pl, update.pl, update.sh, README.tools: Removed. These are
obsoleted by intltool.

22 years agoDon't return a positive status unless there is a text target in the drag.
Owen Taylor [Thu, 13 Jun 2002 16:02:51 +0000 (16:02 +0000)]
Don't return a positive status unless there is a text target in the drag.

Thu Jun 13 12:01:36 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
        a positive status unless there is a text target in
        the drag. (#83386, Thomas Leonard.)

22 years agoSave the initial grab time, use that when changing the pointer. (#83052,
Owen Taylor [Thu, 13 Jun 2002 15:56:20 +0000 (15:56 +0000)]
Save the initial grab time, use that when changing the pointer. (#83052,

Thu Jun 13 11:36:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
        the initial grab time, use that when changing the
        pointer. (#83052, help from Dave Camp tracking it down.)

22 years agotraverse all nodes, not just the leafs (pointed out by Josh Parsons)
Kristian Rietveld [Thu, 13 Jun 2002 14:32:57 +0000 (14:32 +0000)]
traverse all nodes, not just the leafs (pointed out by Josh Parsons)

Thu Jun 13 16:42:40 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
        not just the leafs (pointed out by Josh Parsons)

22 years agocheck that pango has Xft2 support, instead of checking whether Xft2
Havoc Pennington [Wed, 12 Jun 2002 22:58:58 +0000 (22:58 +0000)]
check that pango has Xft2 support, instead of checking whether Xft2

2002-06-12  Havoc Pennington  <hp@redhat.com>

  * configure.in: check that pango has Xft2 support, instead of
  checking whether Xft2 exists.

22 years agoAdd an informative g_warning() when the entry has lost a focus-out-event.
Owen Taylor [Wed, 12 Jun 2002 21:47:29 +0000 (21:47 +0000)]
Add an informative g_warning() when the entry has lost a focus-out-event.

Wed Jun 12 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (blink_cb): Add an informative
        g_warning() when the entry has lost a focus-out-event.
        (#78305, Michel Selten)

22 years agoCheck to see if the menu item is selectable before setting
Owen Taylor [Wed, 12 Jun 2002 21:32:25 +0000 (21:32 +0000)]
Check to see if the menu item is selectable before setting

Wed Jun 12 17:31:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
        Check to see if the menu item is selectable before
        setting menu_shell->active_menu_item. This hopefully
        will keep gail from getting confused.
        (#84115, Remus Draica)

22 years agoFix bug where if CENTER_ON_PARENT was set, but there was no parent,
Owen Taylor [Wed, 12 Jun 2002 21:19:05 +0000 (21:19 +0000)]
Fix bug where if CENTER_ON_PARENT was set, but there was no parent,

Wed Jun 12 17:13:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Fix bug
        where if CENTER_ON_PARENT was set, but there was
        no parent, GDK_HINT_POS would be set, resulting
        in a dialog at 0,0. (#83479, Havoc Pennington)

22 years agoed Jun 12 16:34:13 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Wed, 12 Jun 2002 20:42:44 +0000 (20:42 +0000)]
ed Jun 12 16:34:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenubar.c: When fetching the menubars for
        the window for F10 handling, only add viewable menu
        bars. (Apparently, people sometimes put menu bars
        in notebook pages!) (Tim Janik, #82627)

22 years agoClamp size of child to at least 1x1. (#82431, Boris Shingarov.)
Owen Taylor [Wed, 12 Jun 2002 20:23:30 +0000 (20:23 +0000)]
Clamp size of child to at least 1x1. (#82431, Boris Shingarov.)

Wed Jun 12 16:21:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate):
        Clamp size of child to at least 1x1. (#82431,
        Boris Shingarov.)

22 years agoHandle 0 increment, to fix division-by-zero problem. (#82816, George
Owen Taylor [Wed, 12 Jun 2002 19:42:48 +0000 (19:42 +0000)]
Handle 0 increment, to fix division-by-zero problem. (#82816, George

Wed Jun 12 15:43:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkspinbutton.c (gtk_spin_button_snap): Handle
        0 increment, to fix division-by-zero problem.
        (#82816, George Lebl.)

22 years agoFix memory leak. (Patch from Matthias Clasen, #84926)
Owen Taylor [Wed, 12 Jun 2002 19:37:43 +0000 (19:37 +0000)]
Fix memory leak. (Patch from Matthias Clasen, #84926)

Wed Jun 12 15:38:01 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
        Fix memory leak. (Patch from Matthias Clasen, #84926)

        * gtk/gtkrange.c (gtk_range_init): Initialize
        mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)

22 years agoAllow NULL for widget path or class path as documented. (#83150, Sergey
Owen Taylor [Wed, 12 Jun 2002 19:08:32 +0000 (19:08 +0000)]
Allow NULL for widget path or class path as documented. (#83150, Sergey

Wed Jun 12 15:08:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
        NULL for widget path or class path as documented.
        (#83150, Sergey Kuzminov

22 years agoFix ZWJ => ZWN typo. (#83092, Tino Meinen)
Owen Taylor [Wed, 12 Jun 2002 19:01:58 +0000 (19:01 +0000)]
Fix ZWJ => ZWN typo. (#83092, Tino Meinen)

Wed Jun 12 15:02:30 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextutil.c: Fix ZWJ => ZWN typo.
        (#83092, Tino Meinen)