]> Pileus Git - ~andy/gtk/log
~andy/gtk
23 years agoRequire libtool-1.4, automake-1.4p1.
Owen Taylor [Wed, 16 May 2001 18:51:07 +0000 (18:51 +0000)]
Require libtool-1.4, automake-1.4p1.

Sun May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>

        * autogen.sh (have_automake): Require libtool-1.4,
        automake-1.4p1.

        * acinclude.m4: Remove libtool macros.

        * gdk-pixbuf/Makefile.am: Add dependencies to loade
        modules.

        * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
        for libgdk.

        * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
        libgdk.la for libgtk.

        * modules/input/Makefile.am: Make modules have full
        dependencies.

23 years agofix bug #54699 where paths weren't being checked for correctness.
Jonathan Blandford [Wed, 16 May 2001 18:16:57 +0000 (18:16 +0000)]
fix bug #54699 where paths weren't being checked for correctness.

Wed May 16 14:06:01 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): fix bug
#54699 where paths weren't being checked for correctness.

23 years agoYou can now set all sorts of properties in any order you wan, whether or
Jonathan Blandford [Wed, 16 May 2001 00:23:30 +0000 (00:23 +0000)]
You can now set all sorts of properties in any order you wan, whether or

Tue May 15 20:13:24 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c: You can now set all sorts of properties
in any order you wan, whether or not the column is added to the
tree, or the tree is realized.  Yay!

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_setup_sort_column_id_callback): handle
sorting columns a lot saner

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_reorderable):
new function to actually set wether or not a column is
reorderable.

* gtk/gtktreeview.c (gtk_tree_view_unrealize): Only destroy things
if we have 'em.

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_set_tree_view):
Fix nasty bug where we were showing the button just before
realizing it.  As a result, the parent window was
tree_view->window instead of tree_view->priv->header_window.

* gtk/gtktreeview.c (gtk_tree_view_set_reorderable): new property
to let you easily reorder a list or tree.

23 years agoFixed encoding
Matthias Warkus [Tue, 15 May 2001 17:48:31 +0000 (17:48 +0000)]
Fixed encoding

23 years agoUpdated German translations for Glib and GTK+ HEAD. Phew.
Matthias Warkus [Tue, 15 May 2001 17:47:47 +0000 (17:47 +0000)]
Updated German translations for Glib and GTK+ HEAD. Phew.

23 years agoApply patch from John Margaglione that converts from args to properties.
Alexander Larsson [Tue, 15 May 2001 15:31:45 +0000 (15:31 +0000)]
Apply patch from John Margaglione that converts from args to properties.

2001-05-15  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkpacker.c: Apply patch from John Margaglione that converts
from args to properties.

23 years agoUpdated Ukrainian transaltion
Yuri Syrota [Tue, 15 May 2001 14:52:55 +0000 (14:52 +0000)]
Updated Ukrainian transaltion

23 years agoApply patch from John Margaglione converting from args to properties.
Owen Taylor [Tue, 15 May 2001 14:14:19 +0000 (14:14 +0000)]
Apply patch from John Margaglione converting from args to properties.

Tue May 15 10:11:59 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkpreview.c: Apply patch from John Margaglione converting
from args to properties. (#51957)

* gtk/gtkscale.c (gtk_scale_class_init): Move install property
calls to after ->set_property call.

23 years agoUpdated Ukrainian transaltion
Yuri Syrota [Tue, 15 May 2001 11:08:39 +0000 (11:08 +0000)]
Updated Ukrainian transaltion

23 years agoBlock against redundant changes.
Owen Taylor [Mon, 14 May 2001 19:14:57 +0000 (19:14 +0000)]
Block against redundant changes.

Mon May 14 14:56:21 2001  Owen Taylor  <otaylor@redhat.com>

* tests/prop-editor.c: Block against redundant changes.

* gtk/gtkpaned.c gtk/gtk[hv]paned.c: Add position, position_set
properties.

23 years agoMissed from last commit.
Owen Taylor [Sun, 13 May 2001 22:43:26 +0000 (22:43 +0000)]
Missed from last commit.

23 years agoRemove creative formatting.
Owen Taylor [Sun, 13 May 2001 22:41:30 +0000 (22:41 +0000)]
Remove creative formatting.

Sun May 13 18:40:04 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixmap.h: Remove creative formatting.

Thu May 10 19:22:28 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktogglebutton.c:  Patch from John Margaglione converting to
property API. (#51669)

* gtk/gtkscale.c: Patch from John Margaglione converting to
property API. (#51891)

* gtk/gtkaccellabel.c: Applied patch from Lee Mallabone, converting
to property API. (#50985)

23 years agoremember widget's double buffering state across expose event, so we still
Tim Janik [Sat, 12 May 2001 13:16:40 +0000 (13:16 +0000)]
remember widget's double buffering state across expose event, so we still

Fri May 11 20:13:44 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
        buffering state across expose event, so we still call end_paint().

23 years agoPeek strike-through setting (gdk_draw_layout_line_with_colors): Render
ERDI Gergo [Fri, 11 May 2001 23:29:37 +0000 (23:29 +0000)]
Peek strike-through setting (gdk_draw_layout_line_with_colors): Render

2001-05-05  ERDI Gergo  <cactus@cactus.rulez.org>

* gdk/gdkpango.c (gdk_pango_get_item_properties): Peek
strike-through setting
(gdk_draw_layout_line_with_colors): Render strike-through

23 years agoExpose the ring in the triangle at the correct place when exposing just a
Alexander Larsson [Fri, 11 May 2001 22:24:59 +0000 (22:24 +0000)]
Expose the ring in the triangle at the correct place when exposing just a

2001-05-11  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkhsv.c (paint_triangle):
Expose the ring in the triangle at the correct place when
exposing just a part of the triangle.

23 years agoReturn FALSE, or window focusing will not work.
Alexander Larsson [Fri, 11 May 2001 21:57:33 +0000 (21:57 +0000)]
Return FALSE, or window focusing will not work.

2001-05-11  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
Return FALSE, or window focusing will not work.

23 years agodocs, fixes bug #54144
Havoc Pennington [Fri, 11 May 2001 17:13:44 +0000 (17:13 +0000)]
docs, fixes bug #54144

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

* gtk/gtkimage.c (gtk_image_new_from_stock): docs, fixes bug
#54144

* gtk/gtkcolorsel.c (gtk_color_selection_new): docs, fixes
bug #54330

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

* gtk/tmpl/gtkvruler.sgml,
gtk/tmpl/gtkhruler.sgml: fix bug #54431

* gtk/tmpl/gtkdrawingarea.sgml: fix bug #54331

* gtk/tmpl/gtkenums.sgml: fix bug #54329, and
update some other random things

* gtk/gtk-sections.txt: updates

* gtk/tmpl/gtkmenuitem.sgml: fix bug #54277

* gtk/tmpl/gtkradiomenuitem.sgml: fix bug #54323,
#54324, #54325

23 years agodon't propagate exposes to NULL child.
Tim Janik [Fri, 11 May 2001 04:09:47 +0000 (04:09 +0000)]
don't propagate exposes to NULL child.

Fri May 11 02:53:57 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtktogglebutton.c (gtk_toggle_button_expose): don't
        propagate exposes to NULL child.

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed): guard
        against not having one of the scrollbars.

        * gtk/gtklabel.c (gtk_label_setup_mnemonic): clean up after us,
        we don't keep a mnemonic window if we have no mnemonic installed.

23 years agogrum, gtk_type_class() is not GNUC_CONST it has the _important_ side
Tim Janik [Thu, 10 May 2001 23:22:15 +0000 (23:22 +0000)]
grum, gtk_type_class() is not GNUC_CONST it has the _important_ side

Fri May 11 01:05:00 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.h: grum, gtk_type_class() is not GNUC_CONST
        it has the _important_ side effect of initializing a class.

23 years agoMake sure you can compile out the implementation/wrapper assert macros.
Alexander Larsson [Thu, 10 May 2001 22:44:27 +0000 (22:44 +0000)]
Make sure you can compile out the implementation/wrapper assert macros.

2001-05-10  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkprivate-fb.h:
Make sure you can compile out the implementation/wrapper assert
macros.

* gdk/linux-fb/gdkdrawable-fb2.c:
Check implementation/wrappers, initialize type for pixmap dummys.

* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image):
Hide the cursor if reading from the screen.

* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
Fix sign bug in tiling code.

* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
Handle background pixmaps.

23 years agoNew function to let user control where columns are dragged.
Jonathan Blandford [Wed, 9 May 2001 22:23:12 +0000 (22:23 +0000)]
New function to let user control where columns are dragged.

Wed May  9 15:27:22 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_function): New
function to let user control where columns are dragged.

* gtk/gtktreeview.c (gtk_tree_view_key_press): Cancel drags if
Escape is pressed.

23 years agoAdded include of unistd.h so that gid_t is defined (on Solaris)
Padraig O'Briain [Wed, 9 May 2001 16:15:09 +0000 (16:15 +0000)]
Added include of unistd.h so that gid_t is defined (on Solaris)

23 years agoNew "columns_changed" signal.
Jonathan Blandford [Wed, 9 May 2001 13:18:46 +0000 (13:18 +0000)]
New "columns_changed" signal.

Wed May  9 09:08:44 2001  Jonathan Blandford  <jrb@webwynk.net>

* gtk/gtktreeview.c (gtk_tree_view_class_init): New
"columns_changed" signal.
(gtk_tree_view_motion_draw_column_motion_arrow): Change column
motion code to draw arrows to the side if indicator is outside the
widget.
(gtk_tree_view_map_expanded_rows): Implement.

23 years agofixed invalid end-of-line.
Michael Natterer [Wed, 9 May 2001 12:29:49 +0000 (12:29 +0000)]
fixed invalid end-of-line.

2001-05-09  Michael Natterer  <mitch@convergence.de>

* ja.po: fixed invalid end-of-line.

23 years agoAdded .cvsignore files for CVS not to complain about executables
ÉRDI Gergo [Mon, 7 May 2001 22:05:32 +0000 (22:05 +0000)]
Added .cvsignore files for CVS not to complain about executables

23 years agoInclude gdkfb.h on linux-fb.
Alexander Larsson [Mon, 7 May 2001 19:27:51 +0000 (19:27 +0000)]
Include gdkfb.h on linux-fb.

2001-05-07  Alexander Larsson  <alexl@redhat.com>

* demos/testpixbuf-save.c:
* demos/testpixbuf-drawable.c:
Include gdkfb.h on linux-fb.

23 years agoNew function for getting toplevel window at position.
Alexander Larsson [Mon, 7 May 2001 19:24:18 +0000 (19:24 +0000)]
New function for getting toplevel window at position.

2001-05-07  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkdnd-fb.c (get_toplevel_window_at):
New function for getting toplevel window at position.
(gdk_drag_find_window): Use get_toplevel_window () instead
of gdk_window_get_pointer(). (gdk_drag_status): Use
correct context for getting window.

* gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
g_strdup the atom name.

* gdk/linux-fb/gdkwindow-fb.c:
Costmetic fix.

* gtk/gtkdnd.c (gtk_drag_source_handle_event):
Add code for changing cursor on linux-fb backend (same as
win32).

23 years agoFixlet - Federico
Federico Mena Quintero [Mon, 7 May 2001 18:12:30 +0000 (18:12 +0000)]
Fixlet - Federico

23 years agoTest for bin->child being present before doing anything with it. Patch
Federico Mena Quintero [Mon, 7 May 2001 18:08:10 +0000 (18:08 +0000)]
Test for bin->child being present before doing anything with it. Patch

2001-05-07  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
present before doing anything with it.  Patch from Håvard Kvålen
<havardk@netcom.no>.

23 years agofix some shell typos
Havoc Pennington [Mon, 7 May 2001 15:58:47 +0000 (15:58 +0000)]
fix some shell typos

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

* configure.in: fix some shell typos

* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix

* gtk/gtkimage.c: handle animations

* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
border_width * 2, not just border_width

* gtk/gtkscale.c: add "format_value" signal to allow people
to override the way values are drawn.
(gtk_scale_get_value_size): fix width/height mistake,
and compute size from actual displayed text, not
from made-up text.

* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
signal registration

* tests/testtext.c: Add "Remove all tags" menu item for testing

* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement

* demos/gtk-demo/main.c (main): add hack so we can find modules
without installing gtk

* demos/gtk-demo/textview.c (insert_text): demo font scaling

* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
factor)
(gtk_cell_renderer_text_set_property): remove some bogus
g_object_notify

* gtk/gtktexttag.c: add "scale" property which is a font scaling
factor

* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
to layout

* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
gtk_text_iter_is_first

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

* pixops/pixops.c (pixops_process): merge fix from stable: Patch
 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
 bug #50371.

        * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
confusion of using "src" instead of "p".
        (pixops_composite_color_nearest): Use a more accurate (and
correct, to begin with) compositing method.  This cures checks
showing through on images with no alpha.

* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
bytes unfilled.

* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints

* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
area_updated signal to use signed ints.  Removed animation-related
signals.

* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
rewrite action

* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
all the pesky details. Remove old frame-based API. Make
GdkPixbufAnimation an abstract base class, derived by the loaders.

23 years agoUpdated Swedish translation.
Christian Rose [Mon, 7 May 2001 01:33:23 +0000 (01:33 +0000)]
Updated Swedish translation.

23 years agoupdated exports
Hans Breuer [Sun, 6 May 2001 14:07:49 +0000 (14:07 +0000)]
updated exports

2001-01-06  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def : updated exports

* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
gdk won't compile anymore

* gdk/win32/gdkevents-win32.c : initialize ret_val when
processing GDK_FILTER functions, initialize event.key->hardware_keycode.
Improved gdk_flush () to not only do pending drawing operations
but also process all currently pending events. This should make
the behaviour more similar to the X11 version.

* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
option needs to be set even if there is no GDK_GC_BACKGROUND.
(gdk_win32_hdc_get) : use predraw_set_background () independent
of value_mask. This allows to draw dashed lines leaving the original
background intact.

* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
after processing, because we can't reuse it as the X11 version does.

* gtk/gtk.def : updated exports

* gtk/makefile.msc.in : added ATK, removed all test apps. (I
would like to get rid of this file again, and use straight
makefile.msc again, as the other Gtk+ subdirs do)

* test/makefile.msc (new file) : build the test apps here

(phase two: something has send me a broken pipe signal :)

23 years agoupdated exports
Hans Breuer [Sun, 6 May 2001 14:02:45 +0000 (14:02 +0000)]
updated exports

2001-01-06  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def : updated exports

* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
gdk won't compile anymore

* gdk/win32/gdkevents-win32.c : initialize ret_val when
processing GDK_FILTER functions, initialize event.key->hardware_keycode.
Improved gdk_flush () to not only do pending drawing operations
but also process all currently pending events. This should make
the behaviour more similar to the X11 version.

* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
option needs to be set even if there is no GDK_GC_BACKGROUND.
(gdk_win32_hdc_get) : use predraw_set_background () independent
of value_mask. This allows to draw dashed lines leaving the original
background intact.

* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
after processing, because we can't reuse it as the X11 version does.

* gtk/gtk.def : updated exports

* gtk/makefile.msc.in : added ATK, removed all test apps. (I
would like to get rid of this file again, and use straight
makefile.msc again, as the other Gtk+ subdirs do)

* test/makefile.msc (new file) : build the test apps here

23 years agoRelease 1.3.5
Owen Taylor [Sat, 5 May 2001 14:07:45 +0000 (14:07 +0000)]
Release 1.3.5

Sat May  5 10:06:24 2001  Owen Taylor  <otaylor@redhat.com>

* Release 1.3.5

* configure.in (GTK_MICRO_VERSION): Up to 1.3.5

        * NEWS: Updated

* demos/gtk-demo/Makefile.am (EXTRA_DIST): Fix minor
Makefile breakage.

23 years agoFix typo in filename.
Owen Taylor [Sat, 5 May 2001 13:21:22 +0000 (13:21 +0000)]
Fix typo in filename.

Sat May  5 09:18:30 2001  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/images.c (progressive_timeout): Fix
typo in filename.

* gtk/gtktreeview.c (gtk_tree_view_row_activated): Comment
out FIXME warning; just too annoying.

23 years agoupdated azeri file
Pablo Saratxaga [Sat, 5 May 2001 10:27:13 +0000 (10:27 +0000)]
updated azeri file

23 years agoBetter error messages.
Alex Larsson [Fri, 4 May 2001 21:41:17 +0000 (21:41 +0000)]
Better error messages.

2001-05-04  Alex Larsson  <alla@lysator.liu.se>

* gdk/linux-fb/gdkcolor-fb.c:
Better error messages.

* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new):
Initialize abs_x and abs_y.

* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
Correct handling of stipple offset.

* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
Treat directcolor framebuffers as truecolor.

23 years agoAdd dependency on Atk for accessibility support.
Owen Taylor [Thu, 3 May 2001 20:11:14 +0000 (20:11 +0000)]
Add dependency on Atk for accessibility support.

Thu May  3 14:13:49 2001  Owen Taylor  <otaylor@redhat.com>

        * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add
dependency on Atk for accessibility support.

* configure.in **/Makefile.am: Major reworking of substituted
variables for CFLAGS/LIBS to make a lot more sane and
keep the the compile/link lines a bit shorter.

* gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.

23 years agoremove '.' from end of include directory
James Henstridge [Thu, 3 May 2001 14:43:15 +0000 (14:43 +0000)]
remove '.' from end of include directory

23 years agoFix return value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, use
Owen Taylor [Thu, 3 May 2001 12:14:37 +0000 (12:14 +0000)]
Fix return value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, use

Thu May  3 08:10:54 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktexttag.c (gtk_text_tag_class_init): Fix return
value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also,
use _gtk_boolean_handled_accumulator.

23 years agoPatch from Juan Pablo Mendoza Mendoza to fix things so clicking inside
Owen Taylor [Thu, 3 May 2001 11:15:26 +0000 (11:15 +0000)]
Patch from Juan Pablo Mendoza Mendoza to fix things so clicking inside

Thu May  3 07:00:09 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
to fix things so clicking inside selection leaves cursor
at point where clicked. (#50324)

* gtk/gtksettings.c (gtk_settings_class_init): Restore
sane value for default double click time.

* tests/testtext.c (test_init): Really path to input modules.

23 years agoFix trailing comma on enumeration. (#54071)
Owen Taylor [Thu, 3 May 2001 09:38:45 +0000 (09:38 +0000)]
Fix trailing comma on enumeration. (#54071)

Thu May  3 05:36:06 2001  Owen Taylor  <otaylor@redhat.com>

        * pixbuf.h: Fix trailing comma on enumeration. (#54071)

23 years agoinclude target-specific headers as done in testpixbuf-drawable.c
Sven Neumann [Thu, 3 May 2001 09:38:07 +0000 (09:38 +0000)]
include target-specific headers as done in testpixbuf-drawable.c

2001-05-03  Sven Neumann  <sven@convergence.de>

        * demos/testpixbuf-save.c: include target-specific headers as
        done in testpixbuf-drawable.c

23 years agoSplit the property editor code out for reuse, improve.
Owen Taylor [Thu, 3 May 2001 00:46:41 +0000 (00:46 +0000)]
Split the property editor code out for reuse, improve.

* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am:
Split the property editor code out for reuse, improve.

23 years agoReduce new_text_length appropriately when we run into the size limit for
Owen Taylor [Thu, 3 May 2001 00:46:19 +0000 (00:46 +0000)]
Reduce new_text_length appropriately when we run into the size limit for

Wed May  2 20:36:38 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_real_insert_text): Reduce
new_text_length appropriately when we run into the
size limit for the entry. (#53445, reported by Jeff Franks)

* tests/testgtk.c (create_entry): Remove most of the
property toggle buttons. Replace with a "Props" button
that brings up a property editor.

* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am:
Split the property editor code out for reuse, improve.

23 years agoAlways trap errors around calls to XSetInputFocus since we have no way of
Owen Taylor [Wed, 2 May 2001 21:31:52 +0000 (21:31 +0000)]
Always trap errors around calls to XSetInputFocus since we have no way of

Wed May  2 17:26:22 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.c: Always
trap errors around calls to XSetInputFocus since we have
no way of knowing reliably whether we are viewable or
not. (#53947)

23 years agofix bug in dropping columns. Moving columns now basically works modula
Jonathan Blandford [Wed, 2 May 2001 05:25:09 +0000 (05:25 +0000)]
fix bug in dropping columns. Moving columns now basically works modula

Tue May  1 09:21:23 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
fix bug in dropping columns.  Moving columns now basically works
modula some fine tuning.

23 years agoAdd autoscroll support. It mostly works, but could use some fine tuning.
Jonathan Blandford [Tue, 1 May 2001 23:09:50 +0000 (23:09 +0000)]
Add autoscroll support. It mostly works, but could use some fine tuning.

Tue May  1 19:09:21 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_horizontal_autoscroll): Add
autoscroll support.  It mostly works, but could use some fine
tuning.
* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
Actually move the column.

23 years agoNew default theme! A slighly improved version of the 2.0 Raleigh theme,
Owen Taylor [Tue, 1 May 2001 01:36:33 +0000 (01:36 +0000)]
New default theme! A slighly improved version of the 2.0 Raleigh theme,

Mon Apr 30 20:29:27 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
     New default theme! A slighly improved version of the 2.0 Raleigh
  theme, with Windows-esque focus/drawing default.
  (GtkWidget::interior_focus defaults to TRUE.)

* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.

23 years agofix to work with gtk_paint_layout change
Havoc Pennington [Tue, 1 May 2001 01:32:41 +0000 (01:32 +0000)]
fix to work with gtk_paint_layout change

2001-04-30  Havoc Pennington  <hp@pobox.com>

* tests/testtext.c (line_numbers_expose): fix to work with
gtk_paint_layout change

23 years agoAdd an extra parameter use_text to gtk_paint_label() to deal with
Owen Taylor [Mon, 30 Apr 2001 23:23:54 +0000 (23:23 +0000)]
Add an extra parameter use_text to gtk_paint_label() to deal with

Mon Apr 30 19:18:07 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.[ch] gtk/gtkaccellabel.c gtk/gtkcellrenderertext.c
  gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c gtk/gtkprogressbar.c
  gtk/gtkvruler.c gtk/gtkvscale.c: Add an extra parameter
          use_text to gtk_paint_label() to deal with style->bg[] vs style->text[].

* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
  with GtkWidget::interior_focus = TRUE better.

* gtk/gtkbutton.c

* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
change that had to be made with g_object_get.

23 years agonew function. (gtk_tree_view_move_column_after): Clean up interface.
Jonathan Blandford [Mon, 30 Apr 2001 16:16:02 +0000 (16:16 +0000)]
new function. (gtk_tree_view_move_column_after): Clean up interface.

Sun Apr 29 20:13:40 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_get_columns): new function.
(gtk_tree_view_move_column_after): Clean up interface.

23 years agomoved GtkAnchorType and GtkSideType from gtkpacker.h to gtkenum.h.
Tim Janik [Sun, 29 Apr 2001 03:08:32 +0000 (03:08 +0000)]
moved GtkAnchorType and GtkSideType from gtkpacker.h to gtkenum.h.

Sun Apr 29 03:02:02 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkpacker.h:
        * gtk/gtkenums.h: moved GtkAnchorType and GtkSideType from gtkpacker.h
         to gtkenum.h.

        * gtk/gtkmain.c (gtk_main_do_event): silence compiler (GDK_SETTING not
        handled in switch).

        * gtk/Makefile.am:
        (gtk.defs): generate enum portions with  glib-mkenums.
        (gtktypebuiltins_evals.c): generate this with glib-mkenums.
        got rid of makeenums.pl and makeenums.awk in distributed tarballs.

        * gtk/gtkaccelgroup.c (gtk_accel_group_add): refined havocs warning
        addition.

        * docs/Changes-2.0.txt: keep a note on signal handlers now
        not getting emitted during the emission they were connected within.

23 years agofix bug in tooltip
Havoc Pennington [Sun, 29 Apr 2001 02:27:27 +0000 (02:27 +0000)]
fix bug in tooltip

2001-04-28  Havoc Pennington  <hp@pobox.com>

* gtk/gtkcolorsel.c (palette_new): fix bug in tooltip

23 years agovoc Pennington <hp@redhat.com>
Havoc Pennington [Sat, 28 Apr 2001 20:18:29 +0000 (20:18 +0000)]
voc Pennington  <hp@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line):
(gtk_text_layout_move_iter_to_next_line): fix these two for
invisible text, lots of other stuff still hosed.

* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
new function, replaces the get/set palette stuff. This function
is intended for use by libgnomeui which should set the hook to a
thing which sets the palette in GConf, and we need the
GConf-to-xsettings proxy which will result in the change being
propagated back to the GTK app.

* gtk/gtkaccelgroup.c (gtk_accel_group_add): add note to warning
about unusable signals that it may be because the signal has
parameters.

* gtk/gtkwidget.c (gtk_widget_modify_style): always copy the
style, otherwise gtkrc.c won't know to create a new GtkStyle for
it.
(gtk_widget_modify_color_component): call
gtk_widget_modify_style() so the rc style will get copied.
(gtk_widget_modify_font): ditto

* gtk/gtkrc.c: make a couple variables static

* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): hide
help button by default, since it does nothing

* gtk/gtkcolorsel.c: add tooltips, work on key navigation, fool
around with UI

* gtk/gtkentry.c (gtk_entry_realize): request enter/leave notify
so we can have tooltips

* gtk/gtkhsv.c (gtk_hsv_realize): request enter/leave notify so we
can have tooltips

* gdk/gdkimage.h: mark gdk_image_new_bitmap with
GDK_ENABLE_BROKEN, because its memory behavior is completely
hosed.

* gtk/gtknotebook.c: remove key press handler, replace with
binding set, add numeric keypad support

* gtk/gtktextview.c (gtk_text_view_class_init): accept KP_Delete

* gtk/gtktext.c (gtk_text_key_press): add a bunch of KP keysyms

* gtk/gtkentry.c (gtk_entry_class_init): accept GDK_KP_Delete in
addition to plain Delete

* gtk/gtktextview.c (gtk_text_view_key_press_event): accept
GDK_KP_Enter in addition to GDK_Return

* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): connect to
activate on entry instead of key press
(gtk_font_selection_on_clist_key_press): get
rid of this signal handler, not needed with new font sel.

* gtk/gtkfilesel.c (gtk_file_selection_key_press): remove a
no-longer-needed emit_stop_by_name(), just return TRUE

* gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.c: remove keybindings
cruft, this widget is no longer focusable.

* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkvscale.c,
gtk/gtkhscale.c: Get rid of trough_keys virtual function, add
move_slider action signal, add binding set for vscale/hscale, in
the process support numeric keypad

* gtk/gtkentry.c (gtk_entry_class_init): Add keypad bindings;
make GDK_Return and GDK_KP_Enter activate the entry via
binding set, instead of hardcoded.

23 years agos/G_PARAM_WRITE/G_PARAM_WRITABLE/
James Henstridge [Sat, 28 Apr 2001 05:17:31 +0000 (05:17 +0000)]
s/G_PARAM_WRITE/G_PARAM_WRITABLE/

obvious fix to make it compile

23 years agoMassive reorder/cleanup of a lot of the code. Some documentation added.
Jonathan Blandford [Sat, 28 Apr 2001 00:29:34 +0000 (00:29 +0000)]
Massive reorder/cleanup of a lot of the code. Some documentation added.

Fri Apr 27 20:27:21 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
code.  Some documentation added.

23 years agofix warning
Havoc Pennington [Sat, 28 Apr 2001 00:12:47 +0000 (00:12 +0000)]
fix warning

2001-04-27  Havoc Pennington  <hp@redhat.com>

* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): make messages selectable

* gtk/gtkentry.c (gtk_entry_real_insert_text): don't strip
line/para separators
(gtk_entry_create_layout): set single paragraph mode on the layout

* gtk/gtkbutton.c (gtk_button_new_from_stock): don't put much
spacing between the image and label; instead, inside a button box
the button will get extra space that will go there, but if people
configure button box for 0 chubbiness, then there's no spacing.

* gtk/gtkbbox.c (gtk_button_box_class_init): Make child ipadding
and min/max size style properties, so people can tune their
chubbiness.

* tests/testgtk.c (make_toolbar): remove calls to removed toolbar
functions

* gtk/gtktoolbar.c (gtk_toolbar_class_init): Make space_size,
space_style, and button_relief into style properties, remove
functions for setting them

* gtk/gtkmenu.c (gtk_menu_key_press): handle menu bar accel to pop
it back down

* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): free boxed
types from gtk_widget_style_get

* gtk/gtkmenubar.c (gtk_menu_bar_set_shadow_type): Remove, replace
with a style property.

* gdk/x11/gdkevents-x11.c: namespace the settings

* gtk/gtkmenubar.c: Add F10 accelerator to move between menubars.

* gtk/gtksettings.c (gtk_settings_class_init): remove code with
side effects from inside g_assert(), so that G_DISABLE_ASSERT can
be used. Also, translate doc strings for settings. Also, namespace
the double-click-time property. Also, remove bell properties crap.

23 years agobefore creating links, check if pkg-config files exist for the default
Sven Neumann [Fri, 27 Apr 2001 01:38:54 +0000 (01:38 +0000)]
before creating links, check if pkg-config files exist for the default

2001-04-27  Sven Neumann  <sven@gimp.org>

* Makefile.am: before creating links, check if pkg-config files
exist for the default target. Otherwise link to the pkg-config files
that got installed with this build.

23 years agoremoved invalid multibyte sequence. fixed invalid end-of-line.
Michael Natterer [Thu, 26 Apr 2001 23:33:50 +0000 (23:33 +0000)]
removed invalid multibyte sequence. fixed invalid end-of-line.

2001-04-27  Michael Natterer  <mitch@convergence.de>

* da.po: removed invalid multibyte sequence.
* jp.po: fixed invalid end-of-line.

23 years agoclean up column dragging code. Revealed some (potential) GdkWindow bugs.
Jonathan Blandford [Thu, 26 Apr 2001 23:17:36 +0000 (23:17 +0000)]
clean up column dragging code. Revealed some (potential) GdkWindow bugs.

Thu Apr 26 19:11:46 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_motion): clean up column
dragging code.  Revealed some (potential) GdkWindow bugs.

* gdk/x11/gdkwindow-x11.c (gdk_window_reparent): add
_gdk_window_init_position to the end of reparent to fix the case
of reparenting when new_x != old_x and new_y != old_y.

23 years agoAdded Hebrew Punctuation/Point Marks to the text.
Chookij Vanatham [Thu, 26 Apr 2001 19:03:58 +0000 (19:03 +0000)]
Added Hebrew Punctuation/Point Marks to the text.

23 years agoremove some left-over files
Owen Taylor [Thu, 26 Apr 2001 18:39:06 +0000 (18:39 +0000)]
remove some left-over files

23 years agoFix optimization that was correct for the use here, but completely
Owen Taylor [Thu, 26 Apr 2001 14:57:13 +0000 (14:57 +0000)]
Fix optimization that was correct for the use here, but completely

Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (strstr_len): Fix optimization that
was correct for the use here, but completely incorrect
in general.

23 years agoRemove deprecation of gtk_window_set_default_size() until patch adding
Owen Taylor [Thu, 26 Apr 2001 14:42:41 +0000 (14:42 +0000)]
Remove deprecation of gtk_window_set_default_size() until patch adding

Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
until patch adding gtk_window_set_size() is recommitted.

* **Makefile.am configure.in gdk/x11/gdkim-11.c
  gtk/gtkmain.c gtk/gtkimmulticontext.c gtk/gtkmain.c
  gtk/gtkrc.c: Remove all traces of -DX_LOCALE support.
  (#10784)

23 years agoAdd note about GTK_ENABLE_BROKEN.
Owen Taylor [Wed, 25 Apr 2001 16:34:09 +0000 (16:34 +0000)]
Add note about GTK_ENABLE_BROKEN.

Wed Apr 25 12:33:03 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtktreeitem.sgml: Add note about GTK_ENABLE_BROKEN.

23 years agoTest for window == NULL in a number of cases.
Owen Taylor [Wed, 25 Apr 2001 16:17:46 +0000 (16:17 +0000)]
Test for window == NULL in a number of cases.

Wed Apr 25 12:16:36 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/X11/gdkevents-x11.c (gdk_event_translate): Test for
window == NULL in a number of cases.

* tests/testdnd.c: Set module path for gdk-pixbuf.

23 years agoset_decorations_hint and set_functions_hint were still in the header
Havoc Pennington [Wed, 25 Apr 2001 14:15:04 +0000 (14:15 +0000)]
set_decorations_hint and set_functions_hint were still in the header

2001-04-25  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwindow.h: set_decorations_hint and set_functions_hint
were still in the header

23 years agoForgot the ChangeLog entry.
Alexander Larsson [Tue, 24 Apr 2001 14:59:12 +0000 (14:59 +0000)]
Forgot the ChangeLog entry.

23 years agoi2001-04-24 Alexander Larsson <alexl@redhat.com>
Alexander Larsson [Tue, 24 Apr 2001 14:58:33 +0000 (14:58 +0000)]
i2001-04-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkclist.[ch]:
* gtk/gtkctree.c:
When there is a row highlighted for D'n'D it must alse
be painted hightlighted on exposes. Otherwise exposes from
the icon being dragged will mess up the hightlight.

* gtk/gtkfontsel.c:
Don't recenter selected font when exposing the font family
clist. This means you can now actually scroll the font family
list.

* gtk/gtknotebook.c:
Fix focus movement on scrolling tabs that are placed on the left
and right.

23 years agohandle 0-height empty/invisible lines.
Havoc Pennington [Tue, 24 Apr 2001 12:24:35 +0000 (12:24 +0000)]
handle 0-height empty/invisible lines.

2001-04-21  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
empty/invisible lines.

* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
(gtk_text_iter_set_visible_line_index): new functions to set
indexes excluding invisible text

* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
index

* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
(gtk_text_iter_get_visible_line_offset): new functions to
get indexes excluding invisible text

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
bunch of extra padding that served no purpose

* gtk/gtkdialog.c: Make all the spacings configurable via style
properties, for chubbiness configuration in themes

* tests/testtext.c: fix path to the immodules.

23 years agoadd missing '}' that got munched by #endif.
Jonathan Blandford [Mon, 23 Apr 2001 23:03:53 +0000 (23:03 +0000)]
add missing '}' that got munched by #endif.

Mon Apr 23 18:57:03 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that
got munched by #endif.

* gtk/Makefile.am (gtk_plug_c_sources): add missing '\'

* gtk/gtktreeview.c: Refactored code to clean up a number of
events.

* gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return
values to make consistent with other functions.  Spotted by Jeff
Franks <jcf@tpg.com.au>.

* gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal
declaration spotted by Jeff Franks <jcf@tpg.com.au>.

23 years agogtk/Makefile.am gtk/gtkplug.c on request of Owen, reverted my last change
Sven Neumann [Mon, 23 Apr 2001 19:51:06 +0000 (19:51 +0000)]
gtk/Makefile.am gtk/gtkplug.c on request of Owen, reverted my last change

2001-04-23  Sven Neumann  <sven@gimp.org>

        * gtk/Makefile.am
        * gtk/gtkplug.c
        * gtk/gtksocket.c: on request of Owen, reverted my last change
        and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets

23 years agoput into #ifdef GDK_WINDOWING_X11 to make GTK+ compile for non-X11 targets
Sven Neumann [Mon, 23 Apr 2001 18:20:44 +0000 (18:20 +0000)]
put into #ifdef GDK_WINDOWING_X11 to make GTK+ compile for non-X11 targets

2001-04-23  Sven Neumann  <sven@gimp.org>

* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
compile for non-X11 targets again

23 years agoAdd $(MATH_LIB).
Owen Taylor [Sun, 22 Apr 2001 19:52:55 +0000 (19:52 +0000)]
Add $(MATH_LIB).

Sun Apr 22 15:51:32 2001  Owen Taylor  <otaylor@redhat.com>

* Makefile.am (LDADDS): Add $(MATH_LIB).

23 years agoTranslations from Keld
Keld Jørn Simonsen [Sun, 22 Apr 2001 12:06:57 +0000 (12:06 +0000)]
Translations from Keld
evolution/po/da.po galeon/po/da.po gb/po/da.po gernel/po/da.po
gimp/po/da.po glade/po/da.po gnome-applets/po/da.po
gnome-core/po/da.po gnome-db/po/da.po gnome-pim/po/da.po
gnomeicu/po/da.po gnumeric/po/da.po gtk+/po/da.po
gtranslator/po/da.po nautilus/po/da.po pong/po/da.po
sodipodi/po/da.po ximian-setup-tools/po/da.po

23 years agoTranslations from keld
Kenneth Christiansen [Sat, 21 Apr 2001 21:19:39 +0000 (21:19 +0000)]
Translations from keld
control-center/po/da.po eog/po/da.po gb/po/da.po
gernel/po/da.po gimp/po/da.po gnome-db/po/da.po
gnome-libs/po/da.po gnome-lokkit/po/da.po gnome-print/po/da.po
gnomeicu/po/da.po gphoto/po/da.po gtk+/po/da.po
gtranslator/po/da.po libgda/po/da.po mc/po/da.po pan/po/da.po
pong/po/da.po sodipodi/po/da.po ximian-setup-tools/po/da.po

23 years agoAPI Change. Take GdkColor arguments instead of gdouble *. Leave the old
Alexander Larsson [Fri, 20 Apr 2001 10:59:48 +0000 (10:59 +0000)]
API Change. Take GdkColor arguments instead of gdouble *. Leave the old

2001-04-20  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkcolorsel.[ch]:
API Change. Take GdkColor arguments instead of gdouble *.
Leave the old gtk_color_selection_set_color for compatibility,
but marked deprecated.
Do correct rounding when converting RGB <-> HSV.

* gtk/gtkcolorseldialog.c:
* tests/testgtk.c:
Use new GtkColorSelection API.

* gtk/gtkhsv.c:
Fix problem selecting colors in triangle when Hue is 330.
Fix some black dots around the HSB triangle.

* gtk/gtkfilesel.c:
return FALSE from the focus_in_event handler to fix focus problems.

23 years agoFile containing #defines for XEMBED protocol.
Owen Taylor [Thu, 19 Apr 2001 20:36:46 +0000 (20:36 +0000)]
File containing #defines for XEMBED protocol.

Thu Apr 19 16:11:07 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/Makefile.am xembed.h: File containing #defines
for XEMBED protocol.

* gtk/gtkplug.[ch] gtk/gtksocket.[ch]:

- Change protocol from old plug/socket specific protocol
  to XEMBED draft
- Various fixes to work with GTK+-2.0

Still quite a bit of work to do here to handle initiation
from the socket side (as specified by XEMBED), to handle
the more advanced features of XEMBED, and to figure out
a good way to handle same-app embedding with less overhead
than using full XEMBED.

23 years agoadd signals and binding set, so keybindings are configurable
Havoc Pennington [Wed, 18 Apr 2001 22:21:45 +0000 (22:21 +0000)]
add signals and binding set, so keybindings are configurable

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gtk/gtkwindow.c (gtk_window_class_init): add signals and binding
set, so keybindings are configurable
(gtk_window_activate_default): Change to activate the focus widget
instead if there's a focus widget, to be consistent with the
behavior that previously existed in key_press_event

23 years agoHandle numeric keypad keysyms; bug #50201
Havoc Pennington [Wed, 18 Apr 2001 20:33:26 +0000 (20:33 +0000)]
Handle numeric keypad keysyms; bug #50201

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201

23 years agoClose bug #50615:
Havoc Pennington [Wed, 18 Apr 2001 20:16:38 +0000 (20:16 +0000)]
Close bug #50615:

2001-04-18  Havoc Pennington  <hp@redhat.com>

        Close bug #50615:

* gtk/gtkstyle.c (gtk_default_draw_layout): Use text_gc to draw
the layout

* gtk/gtktext.c: Use base/text instead of bg/fg throughout

* gtk/gtkentry.c: Use base/text instead of bg/fg throughout

* gtk/gtktextdisplay.c: Use base/text instead of bg/fg throughout

* gtk/gtkstyle.c (gtk_style_init): make GTK_STATE_SELECTED default
to blue for base, in addition to bg

23 years agoallow shrinking the image window to test that we clip to allocation.
Havoc Pennington [Wed, 18 Apr 2001 19:56:48 +0000 (19:56 +0000)]
allow shrinking the image window to test that we clip to allocation.

2001-04-18  Havoc Pennington  <hp@redhat.com>

* tests/testgtk.c (create_image): allow shrinking the image window
to test that we clip to allocation.

* gtk/gtkimage.c (gtk_image_expose): clip to allocation,
#9845

* gtk/gtkenums.h: move GtkWrapMode in here, #50472

23 years agoTry changing mode on shm segments to 0600. We'll see who complains.
Owen Taylor [Wed, 18 Apr 2001 18:28:19 +0000 (18:28 +0000)]
Try changing mode on shm segments to 0600. We'll see who complains.

Wed Apr 18 14:23:14 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing
mode on shm segments to 0600. We'll see who complains.

* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call
_gdk_windowing_window_destroy() AFTER recursing through
children.

* tests/Makefile.am (noinst_PROGRAMS): Build testsocket,
testsocket_child on X.

* tests/testsocket[_child].c: Fix uses of
gtk_window_get_default_accel_group().

[ Merge patch from Ramiro Estrugo  <ramiro@eazel.com> from gtk-1-2 ]

* gdk/gdkimage.c: (gdk_image_get):
Deal with the possibility that XGetImage() might return NULL.
Allocate the GdkImagePrivate structure only after XGetImage()
succeeds in order not to dereference a NULL ximage pointer.  This
prevents a core dump when XGetImage() fails - which is unlikely,
but can happen due to race conditions accessing the geometries of
drawables.  An x error will still be triggered, but the gdk image
wrapper at least wont seg fault.

23 years agofix to properly queue resizes when the image is set
Havoc Pennington [Wed, 18 Apr 2001 18:09:18 +0000 (18:09 +0000)]
fix to properly queue resizes when the image is set

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gtk/gtkimage.c: fix to properly queue resizes when the image is
set

* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
if the insertion point isn't editable

* demos/gtk-demo/images.c: Added a GtkImage demo

* demos/gtk-demo/drawingarea.c: drawing area demo

* demos/gtk-demo/menus.c (create_menu): cleanups

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
given color.

23 years agoIntroduce an extra child of toplevel windows that serves to hold the focus
Owen Taylor [Wed, 18 Apr 2001 17:57:36 +0000 (17:57 +0000)]
Introduce an extra child of toplevel windows that serves to hold the focus

Wed Apr 18 12:15:52 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c gdk/x11/gdkwindow-x11.h
  gdk/x11/gdkevents-x11.c: Introduce an extra child
of toplevel windows that serves to hold the focus to
avoid events being delivered to embedded windows.

* gdk/x11/gdkwindow-x11.c (gdk_window_new): Introduce
some extra variables to clean up code and reduce the
number of casts.

* gdk/x11/gdkwindow-x11.h (struct _GdkXPositionInfo): Use
guint for 1 bit bit fields, not gboolean.

23 years agoReturn FALSE, not TRUE. (Fixes #52925)
Owen Taylor [Wed, 18 Apr 2001 14:05:49 +0000 (14:05 +0000)]
Return FALSE, not TRUE. (Fixes #52925)

Wed Apr 18 10:04:23 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktooltips.c (gtk_tooltips_paint_window): Return FALSE,
not TRUE. (Fixes #52925)

23 years agoReleased 1.3.4
Owen Taylor [Tue, 17 Apr 2001 23:21:18 +0000 (23:21 +0000)]
Released 1.3.4

Tue Apr 17 18:05:34 2001  Owen Taylor  <otaylor@redhat.com>

* Released 1.3.4

* NEWS: Updated

* gtk/gtktextview.c (gtk_text_view_class_init): Fix to not
use GTK_TYPE_ENUM.

23 years agoDon't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS
Owen Taylor [Tue, 17 Apr 2001 19:19:09 +0000 (19:19 +0000)]
Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS

Tue Apr 17 13:47:12 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS

* gtk/gtktypeutils.h gtk/gtksignals.h: Restore proper parameter
names to compatibility #defines so docs work.

* gtk/gtkenums.h: Remove GtkMenuFactoryType

* gtk/gtkwindow.c gtk/gtkdnd.c: Docs cleanups.

* configure.in: Don't include -lgthread in GLIB_LIBS, GLIB_DEPLIBS

* tests/testgtkrc: No magenta cursors, please.

* README.in INSTALL.in HACKING README.cvs-commits: Updated.

* gtk/gtkenums.h (enum): Remove left over GtkMenuFactoryType.

23 years agoRemove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN
Owen Taylor [Tue, 17 Apr 2001 18:12:46 +0000 (18:12 +0000)]
Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN

Tue Apr 17 10:59:13 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (GTKDOC_CFLAGS): Remove -DGTK_DISABLE_COMPAT
        add -DGTK_ENABLE_BROKEN

        * {gtk/gtk,gdk/gdk}-sections.txt: Updated

23 years agoRemove explicit pointer grabs, since they are no longer necessary.
Owen Taylor [Mon, 16 Apr 2001 20:33:03 +0000 (20:33 +0000)]
Remove explicit pointer grabs, since they are no longer necessary.

Mon Apr 16 14:38:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklist.c gtk/gtklistitem.c: Remove explicit pointer
grabs, since they are no longer necessary.

* gtk/gtkcombo.c (gtk_combo_popup_button_press): Fix #52926
by signal_connect() and call gtk_button_pressed() rather
than signal_connect_after().

* tests/testgtk.c: Restore radio menu items to combos
since they'll look OK with Raleigh, and it is easier
than finishing the process of removing them that was
started earlier.

23 years agoadded all exports required to link PyGtk 0.7.1
Hans Breuer [Mon, 16 Apr 2001 12:46:02 +0000 (12:46 +0000)]
added all exports required to link PyGtk 0.7.1

2001-04-16  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def :
* gtk/gtk.def : added all exports required to link PyGtk 0.7.1

* gdk/gdkfont.h : #define GDK_TYPE gdk_font_get_type ()
we are interested in the functions return value not the function address
* gdk/gdkvisual.h : same for GDK_TYPE_VISUAL

* gtk/makefile.msc.in : reflect movement of GDK_TYPEs from gtk to gdk

23 years agoupdated
Hans Breuer [Fri, 13 Apr 2001 23:56:19 +0000 (23:56 +0000)]
updated

2001-04-14  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def :
* gdk/makefile.msc : updated

* gdk/win32/gdkdrawable.win32 (gdk_win32_draw_rectangle) : if modus is
"fill with tile" do so with new helper function gdk_win32_draw_tiles
(the testgtk::text backgound pixmap is drawn again)
Changed SetTextAlign before pango_win32_render to TA_BASELINE to reflect
Win32 Pango change
* gdk/win32/gdkprivate-win32.h : prototype for gdk_win32_draw_tiles

* gdk/win32/gdkproperty-win32.c : first implementation of gdk_setting_get
Not sure if the returned settings have the right unit, because I couldn't
find any docs for the X version ...

* gtk/gtk.def :
* gtk/makefile.msc.in : updated

23 years agoFix up to refer to GTK+, not to GLib; fix some wording problems. (Compared
Owen Taylor [Fri, 13 Apr 2001 18:00:02 +0000 (18:00 +0000)]
Fix up to refer to GTK+, not to GLib; fix some wording problems. (Compared

Thu Apr 12 17:41:17 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk-2.0.m4: Fix up to refer to GTK+, not to GLib; fix some
        wording problems. (Compared to version from Johannes Stezenbach to
        check correctness.)

23 years agoAdd $(top_builddir) to includes as necessary, Run gtkdoc-scangobj from
Owen Taylor [Fri, 13 Apr 2001 14:48:28 +0000 (14:48 +0000)]
Add $(top_builddir) to includes as necessary, Run gtkdoc-scangobj from

Fri Apr 13 10:41:10 2001  Owen Taylor  <otaylor@redhat.com>

        * */Makefile.am: Add $(top_builddir) to includes as necessary,
        Run gtkdoc-scangobj from builddir, not srcdir, don't distribute
        foo-doc.{top,bottom}, recomment in code to distribute HTML
        images, with shell fixes.

        * gtk/gtk.hierarchy gdk-pixbuf/gdk-pixbuf.{args,signals,hierarchy}:
        Remove generated files.

23 years agoget this to compile.
Tim Janik [Thu, 12 Apr 2001 19:04:08 +0000 (19:04 +0000)]
get this to compile.

Thu Apr 12 21:04:26 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): get
        this to compile.

23 years agoIt's pixbuf_pos, not pixbufpos.
Anders Carlsson [Thu, 12 Apr 2001 18:16:13 +0000 (18:16 +0000)]
It's pixbuf_pos, not pixbufpos.

2001-04-12  Anders Carlsson  <andersca@codefactory.se>

* gtk/gtkcellrenderertextpixbuf.c (gtk_cell_renderer_text_pixbuf_class_init): It's pixbuf_pos,
not pixbufpos.

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Fix small typo.

* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): xpad and ypad
are unsigned insts, therefore use g_value_set_uint.
(gtk_cell_renderer_set_property): Likewise, use g_value_get_uint.

23 years agofix a fixme.
Jonathan Blandford [Thu, 12 Apr 2001 16:11:54 +0000 (16:11 +0000)]
fix a fixme.

Sun Apr  8 05:36:06 2001  Jonathan Blandford  <jrb@webwynk.net>

        * gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme.

        * gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to
        GTK_TYPE_STRING.

        * gtk/gtktreeview.c: New functions to allow initial column
        dragging work.

        * gtk/gtktreeviewcolumn.c: Initial column dragging support.

        * tests/testtreefocus.c: give dave some love.

        * tests/testtreesort.c: Modify test to check really long samples.

23 years agoFixed Swedish translation. Thanks to Göran Uddeborg
Christian Rose [Thu, 12 Apr 2001 00:59:45 +0000 (00:59 +0000)]
Fixed Swedish translation. Thanks to Göran Uddeborg
<goeran@uddeborg.pp.se>.

23 years agoPass pkg-config options before the other args so it works even if
Alexander Larsson [Wed, 11 Apr 2001 15:45:12 +0000 (15:45 +0000)]
Pass pkg-config options before the other args so it works even if

2001-04-11  Alexander Larsson  <alexl@redhat.com>

* gtk-2.0.m4: Pass pkg-config options
before the other args so it works even if
POSIXLY_CORRECT is set.