]> Pileus Git - ~andy/gtk/log
~andy/gtk
23 years agoEvil function to deal with very large (TM) amounts of text. May be moved
Jonathan Blandford [Tue, 22 May 2001 19:18:47 +0000 (19:18 +0000)]
Evil function to deal with very large (TM) amounts of text. May be moved

Tue May 22 15:13:52 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrenderertext.c
(gtk_cell_renderer_text_set_fixed_size): Evil function to deal
with very large (TM) amounts of text.  May be moved to
GtkCellRenderer in the future, though I'm not sure it wants to be
this accessible.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
More sanity brought to this class.  I like it.

* tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test
case.  Kids, don't try this at home.

* gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new
convenience function.

* gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs.

23 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 22 May 2001 15:01:25 +0000 (15:01 +0000)]
Updated Norwegian translation.

2001-05-22  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

23 years agoAdded properties. Based on patch by Lee Mallabone.
Alexander Larsson [Tue, 22 May 2001 00:11:10 +0000 (00:11 +0000)]
Added properties. Based on patch by Lee Mallabone.

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

* gtk/gtkfontsel.c:
Added properties. Based on patch by Lee Mallabone.

* gtk/gtkruler.c:
* gtk/gtkhruler.c:
* gtk/gtkvruler.c:
* gtk/gtktext.c:
* gtk/gtktextview.c:
Converted GtkArg to GParam. Based on patches by John Margaglione.

* tests/Makefile.am:
* tests/testtext.c:
Add a property editor to testtext.

23 years agoOnly show the separator if both children are present and visible.
Owen Taylor [Mon, 21 May 2001 15:56:19 +0000 (15:56 +0000)]
Only show the separator if both children are present and visible.

Mon May 21 11:29:21 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk{h,v,}paned.c: Only show the separator if both children
are present and visible.

* configure.in: Fixed reversed conditional causing all image
libraries to be linked in.

23 years agoRemove the assertion that top_y needs to be >= 0.
Joe Shaw [Mon, 21 May 2001 05:35:03 +0000 (05:35 +0000)]
Remove the assertion that top_y needs to be >= 0.

2001-05-21  Joe Shaw  <joe@ximian.com>

* gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
that top_y needs to be >= 0.

23 years agoImprove error messages for X errors and losing connection to the X server.
Havoc Pennington [Sun, 20 May 2001 22:48:40 +0000 (22:48 +0000)]
Improve error messages for X errors and losing connection to the X server.

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

* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
losing connection to the X server.

23 years agoStart checks for X from pangox/pangoxft CFLAGS to avoid duplicate
Owen Taylor [Sun, 20 May 2001 18:25:34 +0000 (18:25 +0000)]
Start checks for X from pangox/pangoxft CFLAGS to avoid duplicate

Sun May 20 13:59:20 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Start checks for X from pangox/pangoxft
CFLAGS to avoid duplicate libraries.

* gdk/Makefile.am (LDFLAGS): Remove extra -lm.

* configure.in (GDK_PIXBUF_PACKAGES): Fix GDK_PIXBUF_PACKAGES
to include gobject.

23 years agoRemove an excess $(GLIB_LIBS).
Owen Taylor [Sun, 20 May 2001 18:24:37 +0000 (18:24 +0000)]
Remove an excess $(GLIB_LIBS).

Sun May 20 12:53:49 2001  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (libgdk_pixbuf_1_3_la_LDFLAGS): Remove an
        excess $(GLIB_LIBS).

23 years agoConvert GtkArgs to GParams. Based on patch by John Margaglione. Also do
Alexander Larsson [Fri, 18 May 2001 22:31:02 +0000 (22:31 +0000)]
Convert GtkArgs to GParams. Based on patch by John Margaglione. Also do

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

* gtk/gtkspinbutton.c:
Convert GtkArgs to GParams. Based on patch by John Margaglione.
Also do size request reasonable for MAXDOUBLE. Previously it printed
the limits to a buffer and overran it. Instead do it using log10() and
limit the width to 10 digits.

* gtk/gtkwidget.c (gtk_widget_get_property):
Correctly handle setting the parent property to NULL.

23 years agoReset style attributes even if the widget isn't realized.
Owen Taylor [Fri, 18 May 2001 20:56:55 +0000 (20:56 +0000)]
Reset style attributes even if the widget isn't realized.

Fri May 18 15:26:26 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c (gtk_text_view_style_set): Reset
style attributes even if the widget isn't realized.

* demos/gtk-demo/main.c: Use a slightly smaller font.

23 years agoRemove reallocate-redraws property. This is something that only a widget
Owen Taylor [Fri, 18 May 2001 18:30:59 +0000 (18:30 +0000)]
Remove reallocate-redraws property. This is something that only a widget

Fri May 18 14:25:20 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcontainer.c: Remove reallocate-redraws property.
This is something that only a widget writer would ever want
to change.

* gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for
gtk_signal_emit_by_name().

* gtk/gtkviewport.c: Fix some warnings.

* gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility
allowing the requisitions of multiple widgets to be grouped
together.

* tests/testgtk.c: Add GtkSizeGroup test

* demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo.

* demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some
warnings.

* configure.in: Switch to using AM_GLIB_GNU_GETTEXT.

23 years agoAdd documentation about GtkSizeGroup.
Owen Taylor [Fri, 18 May 2001 18:28:52 +0000 (18:28 +0000)]
Add documentation about GtkSizeGroup.

Fri May 18 12:28:08 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtksizegroup.sgml gtk/gtk-sections.txt gtk/gtk.types:
Add documentation about GtkSizeGroup.

23 years agoRenamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon()
Martin Baulig [Fri, 18 May 2001 17:35:20 +0000 (17:35 +0000)]
Renamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon()

2001-04-28  Martin Baulig  <baulig@suse.de>

* gtk/gtkimagemenuitem.[ch]: Renamed gtk_image_menu_item_add_icon()
to gtk_image_menu_item_set_icon() and made it work if there's already
an image.
(gtk_image_menu_item_new): This function doesn't take any arguments anymore.
(gtk_image_menu_item_new_with_label): New function.

23 years agosmall changes
Kenneth Christiansen [Fri, 18 May 2001 17:34:39 +0000 (17:34 +0000)]
small changes

23 years agoIt's the worlds ugliest highlighting code!!!! The result is okay so long
Jonathan Blandford [Fri, 18 May 2001 16:28:30 +0000 (16:28 +0000)]
It's the worlds ugliest highlighting code!!!! The result is okay so long

Thu May 17 16:20:04 2001  Jonathan Blandford  <jrb@redhat.com>

* demos/gtk-demo/main.c (fontify): It's the worlds ugliest
highlighting code!!!!  The result is okay so long as you don't try
to stress it.  It also highlights a bug in the TextView so it's in
an unproportional font right now until it's fixed.

*demos/gtk-demo/*.c: Clean up code a bit to make it
ugly-parser(TM) friendly. (-:

23 years agoRemove the assertions that x_offset and y_offset must be >= 0. Clip the
Joe Shaw [Fri, 18 May 2001 03:41:30 +0000 (03:41 +0000)]
Remove the assertions that x_offset and y_offset must be >= 0. Clip the

2001-05-17  Joe Shaw  <joe@ximian.com>

* gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove the assertions
that x_offset and y_offset must be >= 0. Clip the cursor being drawn
if it is only partially onscreen.

23 years agoMake logical motion and deletion by graphemes, not by characters.
Owen Taylor [Thu, 17 May 2001 21:13:12 +0000 (21:13 +0000)]
Make logical motion and deletion by graphemes, not by characters.

Thu May 17 17:10:13 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c: Make logical motion and deletion by graphemes,
not by characters.

* gtk/gtkentry.c: Handle "trailing" returns from Pango when they
are not zero or one; that is, when graphemes of multiple characters
are involved.

* gtk/gtktextlayout.c (line_display_index_to_iter): Remove unnecessary
FIXME.

23 years agofile gdkdisplaymgr-x11.c was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:33 +0000 (20:23 +0000)]
file gdkdisplaymgr-x11.c was initially added on branch gtk-multihead.

23 years agofile gdkdisplaymgr-x11.h was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:33 +0000 (20:23 +0000)]
file gdkdisplaymgr-x11.h was initially added on branch gtk-multihead.

23 years agofile gdkdisplaymgr.c was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:32 +0000 (20:23 +0000)]
file gdkdisplaymgr.c was initially added on branch gtk-multihead.

23 years agofile gdkdisplaymgr.h was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:32 +0000 (20:23 +0000)]
file gdkdisplaymgr.h was initially added on branch gtk-multihead.

23 years agoAdd properties, based on patch by Lee Mallabone.
Alexander Larsson [Thu, 17 May 2001 16:22:06 +0000 (16:22 +0000)]
Add properties, based on patch by Lee Mallabone.

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

* gtk/gtkbbox.c:
Add properties, based on patch by Lee Mallabone.

* gtk/gtknotebook.c:
* gtk/gtktoolbar.c:
Convert from GtkArg to GParam, based on patch by John Margaglione.

* gtk/gtkhscale.c:
* gtk/gtkvscale.c:
* gtk/gtkhscrollbar.c:
* gtk/gtkvscrollbar.c:
* gtk/gtkrange.c:
Move adjustment property to GtkRange.

* gtk/gtklabel.c:
Setup mnemonics on property changes

* gtk/gtkwidget.c (gtk_widget_get_property):
GdkExtensionMode is an enum, not a flag. Set it with
g_value_set_enum ().

* tests/prop-editor.c:
Better propery editor.

* tests/testgtk.c:
Add new property test. Pass zero to the property editor to
get properties from all derived types.

23 years agoun May 13 12:01:12 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Wed, 16 May 2001 18:51:28 +0000 (18:51 +0000)]
un 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 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