]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoMake interpretation of misc->xpad/ypad consistent with GtkLabel. Do
Owen Taylor [Thu, 27 Dec 2001 21:42:02 +0000 (21:42 +0000)]
Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do

Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
        of misc->xpad/ypad consistent with GtkLabel. Do
        directional flipping when interpreting misc->xalign/yalign.
        Fix off-by-one error for negative x,y. (#67472, reported
        by Mathieu Lacage)

22 years agoRemove optimization that was causing problems because we called
Owen Taylor [Thu, 27 Dec 2001 20:50:49 +0000 (20:50 +0000)]
Remove optimization that was causing problems because we called

Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Remove optimization that was causing problems because
we called gtk_widget_size_request() before we called
gtk_widget_queue_resize() so RESIZE_NEEDED was not
set. Optimization shouldn't mattter now that we
are smart about needlessly size requesting or allocating
widgets. (#67598, reported by Jacob Berkman)

22 years agoCall gdk_window_get_pointer() on menu->bin_window not menu->window, so we
Owen Taylor [Thu, 27 Dec 2001 20:43:58 +0000 (20:43 +0000)]
Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we

Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
        Call gdk_window_get_pointer() on menu->bin_window not
        menu->window, so we get the correct window for the
        menu item. (#65213, Guillermo S. Romero)

22 years agoAllow unsetting the title by setting to NULL. Move docs inline. Update the
Owen Taylor [Thu, 27 Dec 2001 20:22:16 +0000 (20:22 +0000)]
Allow unsetting the title by setting to NULL. Move docs inline. Update the

Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
the title by setting to NULL. Move docs inline.
Update the title if the tearoff window already
exists. Code cleanup. (Fixes #65190, reported by
Vitaly Tishkov.)

22 years agogtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key
Owen Taylor [Thu, 27 Dec 2001 19:20:23 +0000 (19:20 +0000)]
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key

Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksocket.c (gtk_socket_key_press_event):
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
special handling of key presses unless we are doing
iter-app embedding. (Fixes #67590, Anders Carlsson)

22 years agofix a few places where I was confused between modelsort iters and other
Kristian Rietveld [Thu, 27 Dec 2001 15:38:10 +0000 (15:38 +0000)]
fix a few places where I was confused between modelsort iters and other

Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
        (gtk_tree_model_sort_sort_level),
        (gtk_tree_model_sort_insert_value): fix a few places where
        I was confused between modelsort iters and other iters. This was
        really going to happen someday ;)

22 years agoensure we are unprelighted before reordering
Kristian Rietveld [Wed, 26 Dec 2001 22:43:53 +0000 (22:43 +0000)]
ensure we are unprelighted before reordering

Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
        we are unprelighted before reordering

        * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
        need to break out of the for loop, not return

        * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
        be pretty stable now, though it still needs some more code
        cleanups.

22 years agoDocument the fact that gtk_paned_set_handle_size() has been removed.
Owen Taylor [Wed, 26 Dec 2001 17:38:39 +0000 (17:38 +0000)]
Document the fact that gtk_paned_set_handle_size() has been removed.

Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>

* docs/Changes-2.0.txt: Document the fact that
gtk_paned_set_handle_size() has been removed.

* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
since it pointed to gtk_paned_set_handle_size(), which
was removed. (#66760, Matt Wilson)

22 years agoConnect gtk_drag_hightlight_expose _after_, so it works with widgets that
Owen Taylor [Wed, 26 Dec 2001 17:31:40 +0000 (17:31 +0000)]
Connect gtk_drag_hightlight_expose _after_, so it works with widgets that

Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_highlight): Connect
        gtk_drag_hightlight_expose _after_, so it works with
        widgets that paint there entire background. (#66735)

22 years agoAssign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)
Owen Taylor [Wed, 26 Dec 2001 17:21:31 +0000 (17:21 +0000)]
Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)

Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
        allocation to widget->allocation. (Fixes #67290,
        Chris Phelps.)

22 years ago(#67542, reported by Anders Carlsson)
Owen Taylor [Wed, 26 Dec 2001 17:06:13 +0000 (17:06 +0000)]
(#67542, reported by Anders Carlsson)

Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>

        (#67542, reported by Anders Carlsson)

        * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
        rc_style->font_desc with defaul style instead of replacing
        it.

        * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
        font descriptions in RC styles by calling
        pango_font_description_merge().

22 years ago\7fupdating Azerbaijani po file
Vasif Ismailoglu MD [Mon, 24 Dec 2001 19:32:43 +0000 (19:32 +0000)]
\7fupdating Azerbaijani po file

\7fupdating Azerbaijani po file

22 years ago1.3.12, interface, binary age 0.
Owen Taylor [Mon, 24 Dec 2001 01:49:19 +0000 (01:49 +0000)]
1.3.12, interface, binary age 0.

Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, interface, binary age 0.

22 years agos/<!>/<!-- -->/ to make the doc valid with both SGML and XML.
James Henstridge [Mon, 24 Dec 2001 01:34:29 +0000 (01:34 +0000)]
s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.

2001-12-24  James Henstridge  <james@daa.com.au>

        * gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
        valid with both SGML and XML.

22 years ago1.3.12, interface, binary age 0.
Owen Taylor [Sun, 23 Dec 2001 22:59:30 +0000 (22:59 +0000)]
1.3.12, interface, binary age 0.

Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, interface, binary age 0.

        * configure.in: Require new versions of Glib, Pango, ATK.

        * NEWS: Updated.

        * configure.in: Make explicit what libtool we are executing.
        (Tomas Ogren)

        * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.

        * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
        parameter names for docs.

Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_realize)
          gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.

        * gtk/gtkentry.c (gtk_entry_key_release)
          gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
        key release events to the input method.

        * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
        Handle release of Control/Shift to end hex sequence.

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):         Handle key releases as well as presses.

22 years agoFix trailing "," in enumeration.
Owen Taylor [Sun, 23 Dec 2001 22:55:53 +0000 (22:55 +0000)]
Fix trailing "," in enumeration.

Sat Dec 22 15:31:20 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixdata.h: Fix trailing "," in enumeration.

22 years agoAdd gtktextutil.h
Owen Taylor [Sun, 23 Dec 2001 22:55:17 +0000 (22:55 +0000)]
Add gtktextutil.h

Sat Dec 22 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (IGNORE_HFILES): Add gtktextutil.h

        * gtk/text_widget.sgml (linkend): SGML fixes.

        * gtk/gtk-sections.txt: Update

        * gdk/gdk-sections.txt: Update.

        * gdk/tmpl/cursors.sgml: SGML fix.

        * gdk/gdk-docs.sgml: Add PNG handling magic.

22 years ago*** empty log message ***
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:14:31 +0000 (20:14 +0000)]
*** empty log message ***

22 years agoroutine update for Azeri translation file
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:06:39 +0000 (20:06 +0000)]
routine update for Azeri translation file

routine update for Azeri translation file

22 years agoupdated
Marius Andreiana [Sat, 22 Dec 2001 12:04:35 +0000 (12:04 +0000)]
updated

2001-12-22  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years agoForgotten files, the log entries are already in.
Matthias Clasen [Thu, 20 Dec 2001 23:45:48 +0000 (23:45 +0000)]
Forgotten files, the log entries are already in.

22 years agoForgotten files.
Matthias Clasen [Thu, 20 Dec 2001 23:44:19 +0000 (23:44 +0000)]
Forgotten files.

22 years agoForgotten log entry.
Matthias Clasen [Thu, 20 Dec 2001 23:42:08 +0000 (23:42 +0000)]
Forgotten log entry.

22 years agoTrivial doc adjustment.
Matthias Clasen [Thu, 20 Dec 2001 23:38:24 +0000 (23:38 +0000)]
Trivial doc adjustment.

22 years agoMore precise documentation about underscores and mnemonics. (#66380)
Matthias Clasen [Thu, 20 Dec 2001 23:09:29 +0000 (23:09 +0000)]
More precise documentation about underscores and mnemonics. (#66380)

        * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
        gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
        documentation about underscores and mnemonics. (#66380)

        * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
        cyclic reference in docs.

        * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
        of default value. (#65402)

        * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
        Markup fixes.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

        * gtk/text_widget.sgml: More precise wording. (#63388)

        * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.

        * gtk/resources.sgml: Fix markup of mail URLs.

        * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.

        * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
        Expand documentation. (#60471)

        * gtk/tmpl/gtkmain.sgml: Remove misleading information about
        gtk_set_locale().  (#65758)

22 years agoDon't call map here.
Anders Carlsson [Thu, 20 Dec 2001 04:06:01 +0000 (04:06 +0000)]
Don't call map here.

2001-12-20  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c (gtk_tree_view_realize): Don't call
map here.

22 years agoUpdated Swedish translation.
Christian Rose [Wed, 19 Dec 2001 20:22:32 +0000 (20:22 +0000)]
Updated Swedish translation.

2001-12-19  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoroutine update
Vasif Ismailoglu MD [Wed, 19 Dec 2001 19:09:57 +0000 (19:09 +0000)]
routine update

22 years agoExplicitely deprecate gdk_gc_set_font() (reported by Jeff Franks.)
Owen Taylor [Tue, 18 Dec 2001 21:17:49 +0000 (21:17 +0000)]
Explicitely deprecate gdk_gc_set_font() (reported by Jeff Franks.)

Tue Dec 18 16:15:55 2001  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkgc.h: Explicitely deprecate gdk_gc_set_font()
        (reported by Jeff Franks.)

22 years agoFix prototype for direction_changed. (Reported by Jeff Franks.)
Owen Taylor [Tue, 18 Dec 2001 21:10:04 +0000 (21:10 +0000)]
Fix prototype for direction_changed. (Reported by Jeff Franks.)

Tue Dec 18 16:07:28 2001  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkkeys.h (struct _GdkKeymapClass): Fix
        prototype for direction_changed. (Reported by
        Jeff Franks.)

22 years agoChange GdkWidget to GtkWidget. Fixes #67162.
Anders Carlsson [Tue, 18 Dec 2001 16:28:17 +0000 (16:28 +0000)]
Change GdkWidget to GtkWidget. Fixes #67162.

2001-12-18  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkdrawingarea.sgml: Change GdkWidget to
GtkWidget. Fixes #67162.

22 years agoUpdated Ukrainian translation
Yuri Syrota [Tue, 18 Dec 2001 11:15:26 +0000 (11:15 +0000)]
Updated Ukrainian translation

22 years agoFix typo (list->data becomes list->next)
Padraig O'Briain [Tue, 18 Dec 2001 08:06:34 +0000 (08:06 +0000)]
Fix typo (list->data becomes list->next)

* gtk/gtktreeview.c (gtk_tree_view_get_expander_column):
Fix typo (list->data becomes list->next)

22 years agoMarkup fixes.
Matthias Clasen [Mon, 17 Dec 2001 23:07:49 +0000 (23:07 +0000)]
Markup fixes.

        * gdk-pixbuf/tmpl/creating.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-from-drawables.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rendering.sgml,
        gdk-pixbuf/tmpl/refcounting.sgml: Markup fixes.

        * gtk/building.sgml, gtk/resources.sgml: Markup fixes.

        * gtk/gtk.types: Remove gtk_text_layout_get_type(). (???)

        * gdk/tmpl/general.sgml: Use <envar>, not <envvar>.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

22 years agoMarkup fixes.
Matthias Clasen [Mon, 17 Dec 2001 23:06:47 +0000 (23:06 +0000)]
Markup fixes.

        * gdk-pixbuf/tmpl/creating.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-from-drawables.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rendering.sgml,
        gdk-pixbuf/tmpl/refcounting.sgml: Markup fixes.

        * gtk/building.sgml, gtk/resources.sgml: Markup fixes.

        * gtk/gtk.types: Remove gtk_text_layout_get_type(). (???)

        * gdk/tmpl/general.sgml: Use <envar>, not <envvar>.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

22 years agoAdd Unicode control char menu, based on patch from Dov. Bug #63495
Havoc Pennington [Mon, 17 Dec 2001 16:46:08 +0000 (16:46 +0000)]
Add Unicode control char menu, based on patch from Dov. Bug #63495

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

        Add Unicode control char menu, based on patch from Dov.
        Bug #63495

        * gtk/gtkentry.c (gtk_entry_commit_cb): share code via
        gtk_entry_enter_text
        (gtk_entry_enter_text): function to do "typing in text"
        (popup_targets_received): add the Unicode menu items

        * gtk/gtktextview.c (popup_targets_received): add missing mnemonic
        on Input Methods item, and add the unicode menu items.

        * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
        used in GtkEntry and GtkTextView - may become public later.

22 years agoput _simple variants at the top of the docs
Havoc Pennington [Sun, 16 Dec 2001 21:12:13 +0000 (21:12 +0000)]
put _simple variants at the top of the docs

2001-12-16  Havoc Pennington  <hp@pobox.com>

* gdk-pixbuf/gdk-pixbuf-sections.txt: put _simple variants at the
top of the docs

22 years agosmall doc tweaks, specifically some "just do XYZ" advice next to the
Havoc Pennington [Sun, 16 Dec 2001 21:09:30 +0000 (21:09 +0000)]
small doc tweaks, specifically some "just do XYZ" advice next to the

2001-12-16  Havoc Pennington  <hp@pobox.com>

* gdk-pixbuf/tmpl/scaling.sgml: small doc tweaks, specifically
some "just do XYZ" advice next to the InterpMode technojargon.

2001-12-16  Havoc Pennington  <hp@pobox.com>

* gdk-pixbuf-scale.c: docs enhancements

22 years agoAdd something about GdkModifierType.
Matthias Clasen [Sun, 16 Dec 2001 19:32:19 +0000 (19:32 +0000)]
Add something about GdkModifierType.

        * gdk/tmpl/windows.sgml: Add something about GdkModifierType.

22 years agoFix a typo. Fix a typo.
Kjartan Maraas [Sun, 16 Dec 2001 17:00:55 +0000 (17:00 +0000)]
Fix a typo. Fix a typo.

2001-12-16  Kjartan Maraas  <kmaraas@gnome.org>

* gtk/gtkprogressbar.c: Fix a typo.
* gtk/gtkpaned.c: Fix a typo.

22 years ago Fix some warnings.
Darin Adler [Sat, 15 Dec 2001 17:17:56 +0000 (17:17 +0000)]
Fix some warnings.

* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
Restructure loop to get rid of uninitialized variable warning. Also
gives a tiny efficiency gain.

22 years agoUpdated Swedish translation.
Christian Rose [Sat, 15 Dec 2001 15:38:31 +0000 (15:38 +0000)]
Updated Swedish translation.

2001-12-15  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoFixed first arg type of GtkScale's format_value signal's function pointer.
Murray Cumming [Sat, 15 Dec 2001 11:11:42 +0000 (11:11 +0000)]
Fixed first arg type of GtkScale's format_value signal's function pointer.

* Fixed first arg type of GtkScale's format_value signal's
function pointer.

22 years agoupdated
Marius Andreiana [Sat, 15 Dec 2001 07:13:02 +0000 (07:13 +0000)]
updated

2001-12-15  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years ago2001-12-14 Vitaly Tishkov tvv@sparc.spb.su
Vitaly Tishkov [Fri, 14 Dec 2001 18:57:39 +0000 (18:57 +0000)]
2001-12-14            Vitaly Tishkov       tvv@sparc.spb.su
        docs/reference/gtk/tmpl/gtkcelleditable.sgml
                gtkcelleditable -> GtkCellEditable
        docs/reference/gtk/tmpl/gtktreesortable.sgml
                gtktreesortable -> GtkTreeSortable

22 years agoUse g_ascii_strcasecmp() instead of g_strcasecmp().
Sebastian Wilhelmi [Fri, 14 Dec 2001 09:40:20 +0000 (09:40 +0000)]
Use g_ascii_strcasecmp() instead of g_strcasecmp().

2001-12-14  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().

22 years agoRemove assorted G_OBJECT casts where unnecessary.
Sebastian Wilhelmi [Thu, 13 Dec 2001 21:22:12 +0000 (21:22 +0000)]
Remove assorted G_OBJECT casts where unnecessary.

2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
io-gif-animation.c, io-gif.c, io-tiff.c, test-loaders.c: Remove
assorted G_OBJECT casts where unnecessary.

* gdk-pixbuf-loader.c: Call g_object_ref and g_object_unref
instead of gdk_pixbuf_animation_ref and gdk_pixbuf_animation_unref
resp.

* gdk-pixbuf-csource.c, io-bmp.c, io-gif-animation.c, io-ico.c,
io-jpeg.c, io-png.c, io-pnm.c, io-ras.c, io-tga.c, io-wbmp.c,
io-xbm.c, io-xpm.c, test-gdk-pixbuf.c: Dito for gdk_pixbuf_ref and
gdk_pixbuf_unref.

* Makefile.am, pixops/Makefile.am: Compile everything with
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED

* gdk-pixdata.c: Use g_ascii_strup() instead of g_strup().

* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().

* demos/testpixbuf-drawable.c, demos/testpixbuf-save.c,
demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref
and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref
resp.

22 years agofree path at the end
Kristian Rietveld [Thu, 13 Dec 2001 21:01:46 +0000 (21:01 +0000)]
free path at the end

Thu Dec 13 22:02:41 2001  Kristian Rietveld   <kris@gtk.org>

        * gtk/gtktreeview.c (validate_visible_area): free path
        at the end

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Thu, 13 Dec 2001 19:59:18 +0000 (19:59 +0000)]
Updated Norwegian (bokmål) translation.

2001-12-13  Kjartan Maraas  <kmaraas@gnome.org>

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

22 years agoMarkup fixes.
Matthias Clasen [Thu, 13 Dec 2001 19:51:24 +0000 (19:51 +0000)]
Markup fixes.

        * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.

        * gdk-pixbuf-io.c: Markup fixes.

        * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
        gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
        gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
        gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
        gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
        gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
        gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
        gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
        gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
        gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
        gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
        gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
        gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
        gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
        gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
        gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
        gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).

22 years agodo not try to find the clicked node in the tree when tree == NULL
Kristian Rietveld [Thu, 13 Dec 2001 19:36:40 +0000 (19:36 +0000)]
do not try to find the clicked node in the tree when tree == NULL

Thu Dec 13 20:37:27 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_button_press): do not try
        to find the clicked node in the tree when tree == NULL

22 years agoCompare event->state with the default mod mask.
Anders Carlsson [Thu, 13 Dec 2001 17:25:22 +0000 (17:25 +0000)]
Compare event->state with the default mod mask.

2001-12-13  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Thu, 13 Dec 2001 13:33:22 +0000 (13:33 +0000)]
Updated Slovak translation.

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

        * sk.po: Updated Slovak translation.

22 years agos/obj/klass/ where appropriate
jacob berkman [Wed, 12 Dec 2001 23:04:12 +0000 (23:04 +0000)]
s/obj/klass/ where appropriate

2001-12-12  jacob berkman  <jacob@ximian.com>

* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

22 years agoReset the existing slave before removing it to give it a chance to commit
Owen Taylor [Wed, 12 Dec 2001 22:35:31 +0000 (22:35 +0000)]
Reset the existing slave before removing it to give it a chance to commit

Wed Dec 12 17:22:45 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
Reset the existing slave before removing it to give
it a chance to commit and emit "preedit_changed"
in case there was still a preedit string.

22 years agoTypo fixes Typo fix. (#66746)
Matthias Clasen [Wed, 12 Dec 2001 22:29:53 +0000 (22:29 +0000)]
Typo fixes Typo fix. (#66746)

        * gtk/gtktextlayout.c: Typo fixes
        * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)

        * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
        gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)

        * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)

        * gtk/tmpl/gtklist.sgml: Markup fixes.

        * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.

        * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
        GTK_STYLE_NUM_STYLECOLORS. (#66467)

22 years agodefine G_LOG_DOMAIN for GdkPixbuf.
Matthias Clasen [Wed, 12 Dec 2001 22:20:36 +0000 (22:20 +0000)]
define G_LOG_DOMAIN for GdkPixbuf.

22 years agoRemove validate_rows_timer in unrealize. Reported by Matthew Wilson.
Jonathan Blandford [Wed, 12 Dec 2001 22:15:27 +0000 (22:15 +0000)]
Remove validate_rows_timer in unrealize. Reported by Matthew Wilson.

Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
validate_rows_timer in unrealize.  Reported by Matthew Wilson.

22 years agoMarkup fixes.
Matthias Clasen [Wed, 12 Dec 2001 22:11:37 +0000 (22:11 +0000)]
Markup fixes.

        * gdk-pixbuf-loader.c, gdk-pixbuf-util.c: Markup fixes.

22 years agoRemove support for "prepainting" the menu before realizing other than via
Owen Taylor [Wed, 12 Dec 2001 21:30:08 +0000 (21:30 +0000)]
Remove support for "prepainting" the menu before realizing other than via

Wed Dec 12 16:18:26 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkmenu.c (gtk_menu_realize): Remove support for
        "prepainting" the menu before realizing other than
        via gtk_style_set_background() - this was broken when
        we added menu scroll support.
        * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
        window in the expose event -- fixes problem with border
        flashing during scrolling.

22 years agoSupport using names/nicks for the gdk_settings values for enum valued
Owen Taylor [Wed, 12 Dec 2001 20:26:50 +0000 (20:26 +0000)]
Support using names/nicks for the gdk_settings values for enum valued

Wed Dec 12 15:11:49 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtksettings.c (gtk_settings_get_property): Support
        using names/nicks for the gdk_settings values for enum valued
        types. (#57678, reported by Anders Carlsson)

22 years agokeep in sync with insert_page_menu. Code duplication is bad.
Jonathan Blandford [Wed, 12 Dec 2001 20:10:52 +0000 (20:10 +0000)]
keep in sync with insert_page_menu. Code duplication is bad.

Wed Dec 12 15:01:33 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_set_tab_label): keep in sync
with insert_page_menu.  Code duplication is bad.

* gtk/gtklabel.c (gtk_label_mnemonic_activate): Whoops -- got the
wrong fix yesterday.

22 years agoFix check for modifiers.
Owen Taylor [Wed, 12 Dec 2001 19:30:01 +0000 (19:30 +0000)]
Fix check for modifiers.

Wed Dec 12 14:27:30 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkmenubar.c (window_key_press_handler): Fix check for
        modifiers.

22 years agocheck GTK_MENU_ITEM (menu_item)->accel_path first when looking up the
James Henstridge [Wed, 12 Dec 2001 12:21:52 +0000 (12:21 +0000)]
check GTK_MENU_ITEM (menu_item)->accel_path first when looking up the

2001-12-12  James Henstridge  <james@daa.com.au>

* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
(menu_item)->accel_path first when looking up the accel path.

22 years agoadd another example
Havoc Pennington [Wed, 12 Dec 2001 06:40:08 +0000 (06:40 +0000)]
add another example

2001-12-12  Havoc Pennington  <hp@pobox.com>

* gtk/text_widget.sgml: add another example

22 years agoOnly draw for events on the bin window.
Owen Taylor [Wed, 12 Dec 2001 00:23:45 +0000 (00:23 +0000)]
Only draw for events on the bin window.

Tue Dec 11 19:18:21 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/testgtk.c (layout_expose_handler): Only draw
        for events on the bin window.

22 years agoSmall fix to let mnemonics work with notebooks.
Jonathan Blandford [Tue, 11 Dec 2001 23:56:46 +0000 (23:56 +0000)]
Small fix to let mnemonics work with notebooks.

Tue Dec 11 18:55:16 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtklabel.c (gtk_label_mnemonic_activate): Small fix to let
mnemonics work with notebooks.

22 years agoChange bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view).
Jonathan Blandford [Tue, 11 Dec 2001 20:28:21 +0000 (20:28 +0000)]
Change bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view).

Tue Dec 11 15:25:06 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Change
bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view).
Makes some flicker while scrolling go away.

22 years agoadded new keyboard shortcut 'a' which adds alpha to the pixbuf; re-load
Michael Natterer [Tue, 11 Dec 2001 17:31:52 +0000 (17:31 +0000)]
added new keyboard shortcut 'a' which adds alpha to the pixbuf; re-load

2001-12-11  Michael Natterer  <mitch@gimp.org>

* demos/testpixbuf-save.c: added new keyboard shortcut 'a' which
adds alpha to the pixbuf; re-load the saved pixbuf and
pixel-by-pixel compare it with the original one.

22 years agogdk_pixbuf__png_image_save: removed wrong endian conversion stuff; don't
Michael Natterer [Tue, 11 Dec 2001 17:30:53 +0000 (17:30 +0000)]
gdk_pixbuf__png_image_save: removed wrong endian conversion stuff; don't

2001-12-11  Michael Natterer  <mitch@gimp.org>

* io-png.c: gdk_pixbuf__png_image_save: removed wrong endian
conversion stuff; don't copy RGB pixbufs' lines around before
saving them.

22 years ago*** empty log message ***
Wang Jian [Tue, 11 Dec 2001 15:36:36 +0000 (15:36 +0000)]
*** empty log message ***

22 years agoFix wrong ChangeLog entry Fix drawing of top right corner
Soeren Sandmann [Tue, 11 Dec 2001 14:39:16 +0000 (14:39 +0000)]
Fix wrong ChangeLog entry Fix drawing of top right corner

Tue Dec 11 15:39:08 2001  Soeren Sandmann  <sandmann@daimi.au.dk>

* ChangeLog: Fix wrong ChangeLog entry
* gtk/gtkstyle.c (gtk_default_draw_shadow_gap): Fix drawing of top
right corner

22 years ago*** empty log message ***
Søren Sandmann Pedersen [Tue, 11 Dec 2001 14:28:18 +0000 (14:28 +0000)]
*** empty log message ***

22 years agoremove <<<<<<<
Jonathan Blandford [Tue, 11 Dec 2001 01:40:54 +0000 (01:40 +0000)]
remove <<<<<<<

22 years agodo not grab things if the nograb debug flag is set
jacob berkman [Tue, 11 Dec 2001 01:33:02 +0000 (01:33 +0000)]
do not grab things if the nograb debug flag is set

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

* gdk/x11/gdkinput-xfree.c (_gdk_input_grab_pointer):
* gdk/x11/gdkmain-x11.c (gdk_pointer_grab):
(gdk_keyboard_grab): do not grab things if the nograb debug flag
is set

* gdk/gdkinternals.h:
* gdk/gdk.c: add nograbs debug flag to disable grabs of the
keyboard / mouse

22 years ago*** empty log message ***
Jacob Berkman [Tue, 11 Dec 2001 01:08:33 +0000 (01:08 +0000)]
*** empty log message ***

22 years agostupid bug where I didn't reset the timer.
Jonathan Blandford [Tue, 11 Dec 2001 00:45:25 +0000 (00:45 +0000)]
stupid bug where I didn't reset the timer.

Mon Dec 10 19:42:29 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (validate_rows_handler): stupid bug where I
didn't reset the timer.

22 years agoClose comment.
Matthias Clasen [Mon, 10 Dec 2001 21:50:36 +0000 (21:50 +0000)]
Close comment.

        * gtk/gtkcontainer.c (gtk_container_child_type): Close comment.

        * gtk/gtkviewport.c: Add docs.

22 years agoNew function to fixup parity. RBTree corruption bug--
Jonathan Blandford [Mon, 10 Dec 2001 21:24:15 +0000 (21:24 +0000)]
New function to fixup parity. RBTree corruption bug--

Mon Dec 10 16:21:38 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkrbtree.c (_fixup_parity): New function to fixup parity.
RBTree corruption bug--

22 years agoReturn if edited_column is NULL, also grab focus before removing the
Anders Carlsson [Mon, 10 Dec 2001 03:43:10 +0000 (03:43 +0000)]
Return if edited_column is NULL, also grab focus before removing the

2001-12-10  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Return
if edited_column is NULL, also grab focus before removing
the cell_editable.

22 years agocheck for 0 value on the denominator in the horizontal case just like we
George Lebl [Sun, 9 Dec 2001 22:32:50 +0000 (22:32 +0000)]
check for 0 value on the denominator in the horizontal case just like we

Sun Dec 09 15:06:51 2001  George Lebl <jirka@5z.com>

* gtk/gtkrange.c (gtk_range_calc_layout): check for 0 value on the
  denominator in the horizontal case just like we do in the vertical
  case (why I didn't notice that there were two cases the first time
  around is beyond me:).  Also fix indentation in the vertical case.

22 years agoUpdate xsettings name.
Anders Carlsson [Sun, 9 Dec 2001 22:08:30 +0000 (22:08 +0000)]
Update xsettings name.

2001-12-09  Anders Carlsson  <andersca@gnu.org>

* gdk/x11/gdkevents-x11.c: Update xsettings name.

* gtk/gtkdnd.c (gtk_drag_check_threshold): Use the
gtk-dnd-drag-threshold GtkSetting.

* gtk/gtksettings.c (gtk_settings_class_init): Add
setting for dnd drag threshold.

22 years agoAdd docs.
Matthias Clasen [Sun, 9 Dec 2001 21:34:39 +0000 (21:34 +0000)]
Add docs.

        * gtk/gtkcontainer.c: Add docs.

        * gtk/tmpl/gtkmain.sgml: Markup fixes.

        * gtk/gtk-docs.sgml: Add an empty entity to suppress
        crossreferencing in programlistings.

22 years agoAdd docs.
Matthias Clasen [Sun, 9 Dec 2001 21:32:24 +0000 (21:32 +0000)]
Add docs.

        * gtk/gtkcontainer.c: Add docs.

        * gtk/tmpl/gtkmain.sgml: Markup fixes.

        * gtk/gtk-docs.sgml: Add an empty entity to suppress
        crossreferencing in programlistings.

22 years agoDoc markup fix.
Matthias Clasen [Sat, 8 Dec 2001 21:39:34 +0000 (21:39 +0000)]
Doc markup fix.

        * gtk/gtkwidget.c: Doc markup fix.

        * gtk/gtktreeviewcolumn.c: Markup fixes. (#66447)

        * gtk/gtktreestore.c: Typo fixes. (#66445)

        * gtk/gtkaccelgroup.c: Misc doc markup. (#66425)

        * gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference
        to gtk_clipboard_set_with_owner(). (#66424)

        * gtk/tmpl/gtkclipboard.sgml: Fix references to
        get_clipboard_set_with_owner(). (#66424)

22 years agoFallback to setting the prgname to "<unknown>" if someone doesn't pass in
Christopher Blizzard [Sat, 8 Dec 2001 21:13:02 +0000 (21:13 +0000)]
Fallback to setting the prgname to "<unknown>" if someone doesn't pass in

Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>

        * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
        "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
        Fabrice Bellet <fabrice@gnu.org>, #54127).

22 years agoAdd debug spew to lots of places, so that people with crashy trees can
Jonathan Blandford [Sat, 8 Dec 2001 20:14:15 +0000 (20:14 +0000)]
Add debug spew to lots of places, so that people with crashy trees can

Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
of places, so that people with crashy trees can just run their
program with GTK_DEBUG=TREE.

22 years agonuke the stamp++, per jrb's request
Kristian Rietveld [Sat, 8 Dec 2001 19:58:05 +0000 (19:58 +0000)]
nuke the stamp++, per jrb's request

Sat Dec  8 20:57:24 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkliststore.c (gtk_list_store_remove): nuke the stamp++,
        per jrb's request

22 years agoUpdated Swedish translation.
Christian Rose [Sat, 8 Dec 2001 17:40:54 +0000 (17:40 +0000)]
Updated Swedish translation.

2001-12-08  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoDon't return TRUE since then the default GtkLayout expose handler won't be
Anders Carlsson [Sat, 8 Dec 2001 15:44:45 +0000 (15:44 +0000)]
Don't return TRUE since then the default GtkLayout expose handler won't be

2001-12-08  Anders Carlsson  <andersca@gnu.org>

* tests/testgtk.c (layout_expose_handler): Don't return TRUE
since then the default GtkLayout expose handler won't be called.

22 years agoremove g_return_if_fail.
Jonathan Blandford [Sat, 8 Dec 2001 04:53:10 +0000 (04:53 +0000)]
remove g_return_if_fail.

Fri Dec  7 23:42:50 2001  Jonathan Blandford  <jrb@webwynk.net>

* gtk/gtktreeview.c (validate_rows_handler): remove
g_return_if_fail.

* gtk/gtktreeview.c (validate_visible_area): Patch from Manish
Singh <yosh@gimp.org> to fix bug when rendering Tree with an
empty model.

22 years agoget logic right, #66249
Jonathan Blandford [Sat, 8 Dec 2001 01:10:52 +0000 (01:10 +0000)]
get logic right, #66249

Fri Dec  7 20:06:14 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (validate_visible_area): get logic right,
#66249

* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where
removing a node ended up with a corrupt tree.  Really really nasty
bug.
(_gtk_rbtree_debug_spew): new debug helper function
(_fixup_validation): new inline function to clean up code
readability a lot.

22 years agoClose comment.
Owen Taylor [Sat, 8 Dec 2001 00:41:58 +0000 (00:41 +0000)]
Close comment.

Fri Dec  7 19:34:51 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element):
        Close comment.

22 years agoTypo fixes.
Matthias Clasen [Fri, 7 Dec 2001 23:39:54 +0000 (23:39 +0000)]
Typo fixes.

        * gtk/gtkstyle.h: Typo fixes.

        * gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs.

        * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs.

        * gtk/tmpl/gtktypeutils.sgml, gtk/tmpl/gtkobject.sgml,
        gtk/tmpl/gtkstyle.sgml: Add docs.

22 years agoDisplay the XIM status callbacks with a popup window. (Patch from
Owen Taylor [Fri, 7 Dec 2001 23:15:32 +0000 (23:15 +0000)]
Display the XIM status callbacks with a popup window. (Patch from

Fri Dec  7 16:05:22 2001  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c: Display the XIM
        status callbacks with a popup window. (Patch from
        HideToshi Tajima, #50628, somewhat modified.)

22 years agoeach source generation rule needs to use its own temporary file, to avoid
Tim Janik [Fri, 7 Dec 2001 11:08:17 +0000 (11:08 +0000)]
each source generation rule needs to use its own temporary file, to avoid

Fri Dec  7 12:07:15 2001  Tim Janik  <timj@gtk.org>

        * gtk/Makefile.am: each source generation rule needs to use its own
        temporary file, to avoid clashes for parallel builds. fixed rules
        for gtkmarshalers.h and gtkmarshalers.c to use their own temp files.

22 years agofix up my list of "cursors that are actually useful" in gdk_cursor_new()
Havoc Pennington [Fri, 7 Dec 2001 05:27:17 +0000 (05:27 +0000)]
fix up my list of "cursors that are actually useful" in gdk_cursor_new()

2001-12-07  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new): fix up my list of
"cursors that are actually useful" in gdk_cursor_new() docs

22 years agoFix errors in computing the size of the second child.
Owen Taylor [Fri, 7 Dec 2001 04:16:16 +0000 (04:16 +0000)]
Fix errors in computing the size of the second child.

Thu Dec  6 23:09:21 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
        in computing the size of the second child.

22 years agoMake button 1 clicks on the trough do pages, button 3 steps. (Patch from
Owen Taylor [Thu, 6 Dec 2001 23:32:48 +0000 (23:32 +0000)]
Make button 1 clicks on the trough do pages, button 3 steps. (Patch from

Thu Dec  6 16:50:17 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)

22 years agoForgotten file.
Matthias Clasen [Thu, 6 Dec 2001 21:48:22 +0000 (21:48 +0000)]
Forgotten file.