]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoPlace the cursor at drop point. (#72384) (gtk_text_view_size_allocate):
Matthias Clasen [Fri, 27 Dec 2002 02:04:01 +0000 (02:04 +0000)]
Place the cursor at drop point. (#72384) (gtk_text_view_size_allocate):

2002-12-27  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
cursor at drop point.  (#72384)
(gtk_text_view_size_allocate): Update the horizontal adjustment
value.  (#75694)

21 years agoMore bugs fixed already...
Matthias Clasen [Wed, 25 Dec 2002 21:33:19 +0000 (21:33 +0000)]
More bugs fixed already...

21 years agoFix highlighting of selection wrt. to empty lines. (#90435, #90582)
Matthias Clasen [Wed, 25 Dec 2002 21:02:25 +0000 (21:02 +0000)]
Fix highlighting of selection wrt. to empty lines. (#90435, #90582)

2002-12-25  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
selection wrt. to empty lines.  (#90435, #90582)

* gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
Keep the cursor on screen.  (#96929)

21 years agoAdded Macedonian translation
Ivan Stojmirov [Wed, 25 Dec 2002 11:34:25 +0000 (11:34 +0000)]
Added Macedonian translation

21 years agoForgotten commit, already ChangeLogged.
Matthias Clasen [Wed, 25 Dec 2002 00:39:51 +0000 (00:39 +0000)]
Forgotten commit, already ChangeLogged.

21 years agoLet the user action span the insertion and the deletion of the old
Matthias Clasen [Tue, 24 Dec 2002 22:24:48 +0000 (22:24 +0000)]
Let the user action span the insertion and the deletion of the old

2002-12-24  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextbuffer.c (paste_from_buffer):
(clipboard_text_received): Let the user action span the insertion
and the deletion of the old selection.  (#82844)

21 years agoDon't call gtk_text_iter_backward_sentence_start() if count is zero.
Matthias Clasen [Mon, 23 Dec 2002 18:13:46 +0000 (18:13 +0000)]
Don't call gtk_text_iter_backward_sentence_start() if count is zero.

2002-12-23  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
Don't call gtk_text_iter_backward_sentence_start() if
count is zero.  (#99115)

* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
move_cursor() even if the cursor hasn't moved, since it has the
side effect of canceling the selection.  (#81395, #98537, #9833)

21 years agoDon't add attributes with empty ranges. (fixes #101564 and #80637)
Matthias Clasen [Sun, 22 Dec 2002 22:13:31 +0000 (22:13 +0000)]
Don't add attributes with empty ranges. (fixes #101564 and #80637)

2002-12-22  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
with empty ranges.  (fixes #101564 and #80637)

21 years agoMove the code that sets the window style and extended window style, and
Tor Lillqvist [Sat, 21 Dec 2002 23:32:20 +0000 (23:32 +0000)]
Move the code that sets the window style and extended window style, and

2002-12-21  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
sets the window style and extended window style, and adjusts the
width and height to take the window decorations into account
earlier. The adjusted width and height used to be ignored. Remove
the local x, y, width and height variables, no need to further
confuse the code by having local copies. (Partial fix, I hope, for
#101588)

(gdk_window_move): When moving top-level windows, take title bar
and border width into account, offsetting the coordinates before
calling SetWindowPos().

(gdk_window_set_decorations, gdk_window_set_functions):
Reimplement, taking into account the peculiar semantics of
GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)

(gdk_window_get_decorations): Implement. (#98981)

(gdk_window_set_type_hint): When setting
GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
(#79036)

* gdk/gdk.def: Add gdk_window_get_decorations. (#98981)

21 years agoNew static function to set the background of all windows.
Matthias Clasen [Sat, 21 Dec 2002 22:49:28 +0000 (22:49 +0000)]
New static function to set the background of all windows.

* gtk/gtktextview.c (gtk_text_view_set_background): New static
function to set the background of all windows.
(gtk_text_view_style_set): Use gtk_text_view_set_background().
(gtk_text_view_state_changed): New function; change background
according to state.  (#88126)

21 years agofix the documentation
Havoc Pennington [Sat, 21 Dec 2002 15:51:38 +0000 (15:51 +0000)]
fix the documentation

2002-12-21  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation

21 years ago=== Released 2.2.0 ===
Owen Taylor [Sat, 21 Dec 2002 01:59:14 +0000 (01:59 +0000)]
=== Released 2.2.0 ===

Fri Dec 20 15:23:26 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.0 ===

        * configure.in: Version 2.2.0, interface age 0, binary age 200.

        * README.in: Update the release notes.

        * INSTALL.in: Mention that Pango-1.0 can be used with GTK+-2.2.

        * NEWS: Update.

21 years agoUpdate directories in download locations; add information about fontconfig
Owen Taylor [Fri, 20 Dec 2002 18:26:12 +0000 (18:26 +0000)]
Update directories in download locations; add information about fontconfig

Fri Dec 20 13:10:06 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/building.sgml: Update directories in download
        locations; add information about fontconfig and Xft2.

21 years ago*** empty log message ***
Sven Neumann [Fri, 20 Dec 2002 14:58:24 +0000 (14:58 +0000)]
*** empty log message ***

21 years agouse G_PI instead of M_PI.
Sven Neumann [Fri, 20 Dec 2002 14:55:28 +0000 (14:55 +0000)]
use G_PI instead of M_PI.

2002-12-20  Sven Neumann  <sven@gimp.org>

* examples/gtkdial/gtkdial.c: use G_PI instead of M_PI.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Fri, 20 Dec 2002 11:20:04 +0000 (11:20 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agoUpdated Japanese translation.
Akira TAGOH [Fri, 20 Dec 2002 08:39:38 +0000 (08:39 +0000)]
Updated Japanese translation.

2002-12-20  Akira TAGOH  <tagoh@gnome.gr.jp>

* ja.po: Updated Japanese translation.

21 years agofix some msg found by ko-po-check
Nam SungHyun [Fri, 20 Dec 2002 07:44:29 +0000 (07:44 +0000)]
fix some msg found by ko-po-check

21 years agoCall the filters on the window where the event is received, not on the
Owen Taylor [Thu, 19 Dec 2002 16:51:02 +0000 (16:51 +0000)]
Call the filters on the window where the event is received, not on the

Thu Dec 19 11:42:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
        the filters on the window where the event is received,
        not on the window the event is "about". (#101512,
        Bolian Yin.)

21 years ago2002-12-19 Artis Trops <hornet@navigator.lv> * lv.po: Updated Latvian translation
Peteris Krisjanis [Thu, 19 Dec 2002 14:27:15 +0000 (14:27 +0000)]
2002-12-19  Artis Trops  <hornet@navigator.lv> * lv.po: Updated Latvian translation

21 years agothe rand variable should be static to avoid conflicts with rand().
Kristian Rietveld [Thu, 19 Dec 2002 02:38:27 +0000 (02:38 +0000)]
the rand variable should be static to avoid conflicts with rand().

Thu Dec 19 03:58:36 2002  Kristian Rietveld  <kris@gtk.org>

        * tests/testtreeflow.c: the rand variable should be static to
        avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
        fix pointed out by Matthias Clasen).

Thu Dec 19 03:56:23 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
        started editing, we handled this key signal, so return TRUE.
        (#100532, reported by Soeren Sandmann).

21 years agoUpdated Swedish translation.
Christian Rose [Wed, 18 Dec 2002 23:54:34 +0000 (23:54 +0000)]
Updated Swedish translation.

2002-12-18  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

21 years agoAdd docs.
Matthias Clasen [Wed, 18 Dec 2002 23:45:53 +0000 (23:45 +0000)]
Add docs.

21 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Wed, 18 Dec 2002 22:59:45 +0000 (22:59 +0000)]
Dutch translation updated by Tino Meinen.

2002-12-18  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

* nl.po: Dutch translation updated by Tino Meinen.

21 years agoVarious name fixes.
Owen Taylor [Wed, 18 Dec 2002 17:06:01 +0000 (17:06 +0000)]
Various name fixes.

Wed Dec 18 12:05:33 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Various name fixes.

21 years agoUpdated Slovak translation.
Stanislav Visnovsky [Wed, 18 Dec 2002 13:14:14 +0000 (13:14 +0000)]
Updated Slovak translation.

2002-12-18  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Wed, 18 Dec 2002 04:32:32 +0000 (04:32 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agoUpdated Swedish translation somewhat.
Christian Rose [Tue, 17 Dec 2002 23:13:29 +0000 (23:13 +0000)]
Updated Swedish translation somewhat.

2002-12-18  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation somewhat.

21 years agoLink to style properties.
Matthias Clasen [Tue, 17 Dec 2002 18:38:35 +0000 (18:38 +0000)]
Link to style properties.

* gtk/tmpl/gtkrc.sgml: Link to style properties.

21 years agoUpdated Spanish Translation.
Pablo Gonzalo del Campo [Tue, 17 Dec 2002 16:36:09 +0000 (16:36 +0000)]
Updated Spanish Translation.

2002-12-17  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

* es.po: Updated Spanish Translation.

21 years agojust a correction for my name: Kang Jeong-Hee :)
Kang Jeong-Hee [Tue, 17 Dec 2002 10:53:18 +0000 (10:53 +0000)]
just a correction for my name: Kang Jeong-Hee :)

21 years agoUpdated Malay Translation.
Hasbullah Bin Pit [Tue, 17 Dec 2002 05:55:39 +0000 (05:55 +0000)]
Updated Malay Translation.

2002-12-16  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay Translation.

21 years ago=== Released 2.1.5 ===
Owen Taylor [Tue, 17 Dec 2002 04:39:21 +0000 (04:39 +0000)]
=== Released 2.1.5 ===

Mon Dec 16 22:38:11 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.5 ===

        * configure.in: GTK+-2.1.5, interface age 2, binary age 105.

        * NEWS: Updated.

        * gtk/Makefile.am (gtk_c_sources): Remove reference to fnmatch.h

21 years agoDon't use AC_CHECK_LIB() when checking for FreeType, Pango, Atk since that
Owen Taylor [Tue, 17 Dec 2002 03:25:21 +0000 (03:25 +0000)]
Don't use AC_CHECK_LIB() when checking for FreeType, Pango, Atk since that

Mon Dec 16 22:12:01 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Don't use AC_CHECK_LIB() when
        checking for FreeType, Pango, Atk since that get
        the ordering wrong. Instead, set LIBS ourself
        and call AC_TRY_LINK_FUNC(). (#98406)

21 years agoCall gtk_entry_set_position_internal() that takes a new "reset_IM"
Owen Taylor [Tue, 17 Dec 2002 02:59:18 +0000 (02:59 +0000)]
Call gtk_entry_set_position_internal() that takes a new "reset_IM"

Mon Dec 16 21:39:28 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (gtk_entry_enter_text): Call
        gtk_entry_set_position_internal() that takes a
        new "reset_IM" parameter, so that we avoid the
        problem where committing text would reset the
        input method. (#74381, Kang Jeong-Hee)

21 years agoImplement two missing functions (#101369)
Tor Lillqvist [Tue, 17 Dec 2002 02:24:01 +0000 (02:24 +0000)]
Implement two missing functions (#101369)

2002-12-17  Tor Lillqvist  <tml@iki.fi>

Implement two missing functions (#101369)

* gdk/gdk.def: Add here, too.

21 years agoFix a few doc comments. Link to style properties.
Matthias Clasen [Tue, 17 Dec 2002 02:07:57 +0000 (02:07 +0000)]
Fix a few doc comments. Link to style properties.

2002-12-17  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcontainer.c: Fix a few doc comments.
* gtk/tmpl/gtkrc.sgml: Link to style properties.

* gtk/tmpl/gtkcontainer.sgml: Add bits about child properties.

* gtk/tmpl/gtkwidget.sgml: Add bits about style properties.

* gdk/tmpl/pixmaps.sgml:
* gdk/tmpl/windows.sgml:
* gdk/tmpl/drawing.sgml:
* gdk/tmpl/gcs.sgml:
* gtk/tmpl/gtktextview.sgml:
* gtk/tmpl/gtkrc.sgml:
* gtk/tmpl/gtkiconfactory.sgml:
* gtk/tmpl/gtkaccelgroup.sgml: Remove ids which are now
generated by gtk-doc.

21 years agoMinor cosmetics.
Tor Lillqvist [Tue, 17 Dec 2002 01:39:11 +0000 (01:39 +0000)]
Minor cosmetics.

2002-12-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkglobals-win32.c: Minor cosmetics.

Implement two missing functions (#101369)

* gdk/win32/gdkevents-win32.c
(gdk_display_add_client_message_filter): Implement by calling
gdk_add_client_message_filter(), no separate displays on Windows,
at least not yet.

* gdk/win32/gdkgc-win32.c (gdk_gc_get_screen): Implement by
returning the only screen so far, _gdk_screen.

21 years agoAdd some information about group list handling. (#101328, James M. Cape)
Matthias Clasen [Mon, 16 Dec 2002 22:46:30 +0000 (22:46 +0000)]
Add some information about group list handling. (#101328, James M. Cape)

2002-12-16  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkradiomenuitem.sgml:
* gtk/tmpl/gtkradiobutton.sgml: Add some information about group
list handling.  (#101328, James M. Cape)

21 years agoGet rid of incorrect calls to g_value_init(). (#100669, Johan Dahlin,
Owen Taylor [Mon, 16 Dec 2002 21:26:59 +0000 (21:26 +0000)]
Get rid of incorrect calls to g_value_init(). (#100669, Johan Dahlin,

Mon Dec 16 16:18:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
        of incorrect calls to g_value_init(). (#100669, Johan
        Dahlin, James Henstridge)

21 years agoImplement Owen's susggestion from #80764. Fixes #101314.
Soeren Sandmann [Mon, 16 Dec 2002 16:22:11 +0000 (16:22 +0000)]
Implement Owen's susggestion from #80764. Fixes #101314.

Mon Dec 16 17:20:02 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkaccellabel.c: Implement Owen's susggestion from
#80764. Fixes #101314.

21 years agoSome fixes for modal hint setting based on a patch from Arvind Samptur
Owen Taylor [Mon, 16 Dec 2002 00:05:26 +0000 (00:05 +0000)]
Some fixes for modal hint setting based on a patch from Arvind Samptur

Sun Dec 15 18:47:30 2002  Owen Taylor  <otaylor@redhat.com>

Some fixes for modal hint setting based on a patch
from Arvind Samptur (#100416)

* gtk/gtkdialog.c (gtk_dialog_run): Call gtk_window_set_modal
before showing the window for efficiency.

* gtk/gtkwindow.c (gtk_window_realize): Ignore the EWMH
constraint that the transient-for hint must always be
set on windows with the modal hint and just always set
the modal hint.

* gtk/gtkwindow.c (gtk_window_set_modal): Update the
modal hint on the GdkWindow when the window is realized.

21 years agoAdd a missed bug number
Owen Taylor [Sun, 15 Dec 2002 23:43:17 +0000 (23:43 +0000)]
Add a missed bug number

21 years agoHard-code GTK_BINARY_VERSION=2.2.0 for now; should stay the same until we
Owen Taylor [Sun, 15 Dec 2002 23:42:23 +0000 (23:42 +0000)]
Hard-code GTK_BINARY_VERSION=2.2.0 for now; should stay the same until we

Sun Dec 15 18:39:09 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Hard-code GTK_BINARY_VERSION=2.2.0 for
        now; should stay the same until we branch for 2.3.

21 years agoPass TRUE for search_sensitive - prevents a problem where after hitting
Owen Taylor [Sun, 15 Dec 2002 23:32:44 +0000 (23:32 +0000)]
Pass TRUE for search_sensitive - prevents a problem where after hitting

Sun Dec 15 18:14:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item):
        Pass TRUE for search_sensitive - prevents a problem
        where after hitting Alt-F to bring up the File menu,
        the mnemonics for the items in the menu might not
        be usable. (#89336)

21 years agoUpdated French translation.
Christophe Merlet [Sun, 15 Dec 2002 16:09:38 +0000 (16:09 +0000)]
Updated French translation.

21 years agoUpdated Danish translation.
Ole Laursen [Sun, 15 Dec 2002 15:57:30 +0000 (15:57 +0000)]
Updated Danish translation.

2002-12-15  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

21 years agoMinor updates for 2.2.0. (#67820)
Eric Warmenhoven [Sun, 15 Dec 2002 05:47:24 +0000 (05:47 +0000)]
Minor updates for 2.2.0. (#67820)

2002-12-14  Eric Warmenhoven <eric@warmenhoven.org>

* gtk/framebuffer.sgml: Minor updates for 2.2.0. (#67820)

21 years agoFix a bug with checking the private flag on the wrong window; improve the
Owen Taylor [Sun, 15 Dec 2002 03:28:44 +0000 (03:28 +0000)]
Fix a bug with checking the private flag on the wrong window; improve the

Sat Dec 14 22:18:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
        Fix a bug with checking the private flag on the wrong
        window; improve the answer on failure a bit; push
        an error trap around the X operations. (#100933)

21 years agoDon't call status_window_set_text() if the status window doesn't already
Owen Taylor [Sun, 15 Dec 2002 03:11:40 +0000 (03:11 +0000)]
Don't call status_window_set_text() if the status window doesn't already

Sat Dec 14 22:03:21 2002  Owen Taylor  <otaylor@redhat.com>

* modules/input/gtkimcontextxim.c (status_window_hide): Don't
call status_window_set_text() if the status window doesn't
already exist. (#100933, reported by Anand Subra)

* modules/input/gtkimcontextxim.c (status_window_show):
Don't bother creating the status window here, wait for
the set_text(). (Fixes a warning)

21 years agoUse g_printf instead of system printf. (#99327)
Matthias Clasen [Sun, 15 Dec 2002 01:49:01 +0000 (01:49 +0000)]
Use g_printf instead of system printf. (#99327)

2002-12-15  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c:
* gtk/gtkfilesel.c:
* gtk/gtkfontsel.c:
* gtk/gtkhruler.c:
* gtk/gtkinputdialog.c:
* gtk/gtkprogress.c:
* gtk/gtktreemodel.c:
* gtk/gtkvruler.c:
* gtk/queryimmodules.c:
* gtk/theme-bits/decompose-bits.c:
* gdk-pixbuf/gdk-pixbuf-csource.c:
* gdk-pixbuf/make-inline-pixbuf.c:
* gdk-pixbuf/queryloaders.c:
* gdk/gdkkeynames.c:
* gdk/gdkrgb.c:
* gdk/linux-fb/gdkfbmanager.c:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkmain-win32.c:
* gdk/win32/gdkproperty-win32.c:
* gdk/x11/gdkmain-x11.c: Use g_printf instead of system
printf.  (#99327)

21 years agoAdd docs.
Matthias Clasen [Sun, 15 Dec 2002 01:15:52 +0000 (01:15 +0000)]
Add docs.

* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
(gtk_container_child_get_valist):
(gtk_container_child_get_property):
(gtk_container_child_set_valist):
(gtk_container_child_set_property):
(gtk_container_add_with_properties):
(gtk_container_child_set):
(gtk_container_child_get): Add docs.

* gtk/gtkwindow.c (gtk_window_activate_default):
(gtk_window_activate_focus): Add docs.

21 years agoMade Xinerama-aware. (#85711)
Matthias Clasen [Sat, 14 Dec 2002 22:50:38 +0000 (22:50 +0000)]
Made Xinerama-aware. (#85711)

2002-12-14  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Made
Xinerama-aware.  (#85711)

21 years agoAdd a new binding signal, "move_scroll", and use it to hook up
Owen Taylor [Sat, 14 Dec 2002 22:43:52 +0000 (22:43 +0000)]
Add a new binding signal, "move_scroll", and use it to hook up

Sat Dec 14 14:19:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c: Add a new binding signal, "move_scroll",
        and use it to hook up Home/End/Page_Up/Page_Down keybindings.
        (#80484, Narayana Pattipati, Marius Andreiana)

        * gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some
        bugs in the computation of when an item is visible. (#99545)

        * gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c:
        Move here, export privately.

        * gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export
        privately.

        * gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't
        select the item if it is already selected.

21 years agominor coding style fix.
Chema Celorio [Sat, 14 Dec 2002 16:54:08 +0000 (16:54 +0000)]
minor coding style fix.

Sat Dec 14 01:51:05 2002  Chema Celorio  <chema@celorio.com>

* gtk/gtkdialog.c (gtk_dialog_add_buttons_valist): minor coding
style fix.

21 years agoDon't recalculate the acceleration label in an idle handler.
Soeren Sandmann [Sat, 14 Dec 2002 11:01:08 +0000 (11:01 +0000)]
Don't recalculate the acceleration label in an idle handler.

Sat Dec 14 01:22:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkaccellabel.[ch] (gtk_accel_label_refetch): Don't
recalculate the acceleration label in an idle handler.

21 years agoHandle the case where the pointer isn't on the same screen as the widget
Owen Taylor [Sat, 14 Dec 2002 06:05:00 +0000 (06:05 +0000)]
Handle the case where the pointer isn't on the same screen as the widget

Sat Dec 14 01:00:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_position): Handle the case
        where the pointer isn't on the same screen as the widget
        by centering the menu on the widget's screen. (#94563)

21 years agogdk/gdkscreen.c (gdk_screen_get_monitor_at_point) Provide a useful
Owen Taylor [Sat, 14 Dec 2002 05:27:23 +0000 (05:27 +0000)]
gdk/gdkscreen.c (gdk_screen_get_monitor_at_point) Provide a useful

Fri Dec 13 23:58:06 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkscreen.c (gdk_screen_get_monitor_at_point)
* gdk/gdkscreen.c (gdk_screen_get_monitor_at_window):
Provide a useful fallback on failure - return a monitor
close to the point or window. (#79991)

* gtk/gtkmenu.c (gtk_menu_position): Remove a now
unneeded check for failure of
gdk_screen_get_monitor_at_point()

21 years agoComitting missed ChangeLog from earlier commit..
Owen Taylor [Sat, 14 Dec 2002 04:13:34 +0000 (04:13 +0000)]
Comitting missed ChangeLog from earlier commit..

Fri Dec 13 23:10:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkclist.c: Fix a problem with the focus row
        ending up off the list when rows were deleted
        (#94812, Christian Reis, Jon Nelson).

21 years agoIf the screen for the menu changes while the menu is torn off, move the
Owen Taylor [Sat, 14 Dec 2002 04:07:08 +0000 (04:07 +0000)]
If the screen for the menu changes while the menu is torn off, move the

Fri Dec 13 22:55:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (menu_change_screen): If the screen
        for the menu changes while the menu is torn off, move
        the tearoff along with it. (#85669)

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): When
        reattaching, get rid of the get rid of the tearoff window.

21 years agoHandle the case where the pointer is moved between screens during a handle
Owen Taylor [Sat, 14 Dec 2002 02:41:30 +0000 (02:41 +0000)]
Handle the case where the pointer is moved between screens during a handle

Fri Dec 13 21:35:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkhandlebox.c (gtk_handle_box_motion): Handle
        the case where the pointer is moved between screens
        during a handle box drag by resetting the original
        location. (#94562)

        * gtk/gtkinputdialog.c (gtk_input_dialog_get_private):
        Fix a leftover variable name from cut-and-paste.

21 years agoChange the Escape key binding to only close if the dialog contains a
Owen Taylor [Sat, 14 Dec 2002 00:14:54 +0000 (00:14 +0000)]
Change the Escape key binding to only close if the dialog contains a

Fri Dec 13 18:57:20 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdialog.c: Change the Escape key binding to only close
        if the dialog contains a cancel button.  (Patch from
        James Willcox, #74221)

21 years agoUse g_utf8_collate_key() to sort in human-friendly order. (#94473)
Owen Taylor [Fri, 13 Dec 2002 23:28:56 +0000 (23:28 +0000)]
Use g_utf8_collate_key() to sort in human-friendly order. (#94473)

Fri Dec 13 18:22:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (compare_cmpl_dir): Use
        g_utf8_collate_key() to sort in human-friendly order.
        (#94473)

21 years agoSystem fnmatch wasn't going to be UTF-8 clean, neither was our version.
Owen Taylor [Fri, 13 Dec 2002 23:18:03 +0000 (23:18 +0000)]
System fnmatch wasn't going to be UTF-8 clean, neither was our version.

Fri Dec 13 17:45:40 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c:
        System fnmatch wasn't going to be UTF-8 clean, neither
        was our version. Redo our fnmatch.c to be UTF-8, add
        test cases, fix all sorts of bugs inherited
        from the antique GNU fnmatch code. Change interface
        to get rid of fnmatch.h constants. Fixes basic
        non-workingness of filesel with non-ASCII filenames.

        * gtk/fnmatch.h: No longer needed.

21 years agoupdated
Nam SungHyun [Fri, 13 Dec 2002 06:07:22 +0000 (06:07 +0000)]
updated

21 years agoConst warning fix.
Owen Taylor [Fri, 13 Dec 2002 01:23:42 +0000 (01:23 +0000)]
Const warning fix.

Thu Dec 12 20:07:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (cmpl_completion_fullname): Const
        warning fix.

21 years agoInclude "." and ".." in the list of entries; they are needed for correct
Owen Taylor [Fri, 13 Dec 2002 01:06:55 +0000 (01:06 +0000)]
Include "." and ".." in the list of entries; they are needed for correct

Thu Dec 12 19:51:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (open_new_dir): Include "."
        and ".." in the list of entries; they are needed for
        correct handling of .<TAB>, ..<TAB>; were lost
        with the GDir conversion. (Francisco Bustamante,
        #89972)

        * gtk/gtkfilesel.c (open_new_dir): If we hit
        EOF unexpectedly, that's OK... a file was just
        deleted while we were reading the directory.

21 years agoIntercept events of type GDK_SETTING before we check to see if there was
Owen Taylor [Thu, 12 Dec 2002 23:07:45 +0000 (23:07 +0000)]
Intercept events of type GDK_SETTING before we check to see if there was

Thu Dec 12 18:02:34 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmain.c (gtk_main_do_event): Intercept events
        of type GDK_SETTING before we check to see if there
        was an event widget or not. (#97451, Simon Wong,
        Bastien Nocera)

21 years agoAdd C-u/C-h/C-w. (#72245)
Owen Taylor [Thu, 12 Dec 2002 23:02:40 +0000 (23:02 +0000)]
Add C-u/C-h/C-w. (#72245)

Thu Dec 12 17:58:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)

21 years agoSkip insensitive widgets. (#84061)
Owen Taylor [Thu, 12 Dec 2002 22:06:43 +0000 (22:06 +0000)]
Skip insensitive widgets. (#84061)

Thu Dec 12 17:01:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
        widgets. (#84061)

21 years agoRemove unneeded bits of AM_GTK_GNU_TEXT macros.
Owen Taylor [Thu, 12 Dec 2002 20:10:46 +0000 (20:10 +0000)]
Remove unneeded bits of AM_GTK_GNU_TEXT macros.

Thu Dec 12 15:08:01 2002  Owen Taylor  <otaylor@redhat.com>

        * acinclude.m4: Remove unneeded bits of AM_GTK_GNU_TEXT
        macros.

21 years agoreturn TRUE when button 3 is pressed, fixes #78324.
Soeren Sandmann [Thu, 12 Dec 2002 18:01:06 +0000 (18:01 +0000)]
return TRUE when button 3 is pressed, fixes #78324.

Thu Dec 12 18:25:17 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtktextview.c (gtk_text_view_button_press_event):
        return TRUE when button 3 is pressed, fixes #78324.

21 years agoTurn off DEBUG_VALIDATION_AND_SCROLLING that got turned on in an
Owen Taylor [Thu, 12 Dec 2002 15:14:32 +0000 (15:14 +0000)]
Turn off DEBUG_VALIDATION_AND_SCROLLING that got turned on in an

Thu Dec 12 10:12:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c: Turn off DEBUG_VALIDATION_AND_SCROLLING
        that got turned on in an accidental commit.

21 years agoUpdated Bulgarian translation.
Yanko Kaneti [Thu, 12 Dec 2002 06:28:45 +0000 (06:28 +0000)]
Updated Bulgarian translation.

2002-12-12  Yanko Kaneti  <yaneti@declera.com>

* bg.po: Updated Bulgarian translation.

21 years ago=== Released GTK+-2.1.4 ===
Owen Taylor [Thu, 12 Dec 2002 00:26:22 +0000 (00:26 +0000)]
=== Released GTK+-2.1.4 ===

Wed Dec 11 18:30:05 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released GTK+-2.1.4 ===

        * NEWS: Updated.

        * modules/input/Makefile.am (INCLUDES): Remove GTK_LOCALEDIR
        from here as well. (Manish Singh)

21 years agoFix problem from recent commit where non GNU-format message catalogs would
Owen Taylor [Wed, 11 Dec 2002 23:29:50 +0000 (23:29 +0000)]
Fix problem from recent commit where non GNU-format message catalogs would

Wed Dec 11 14:06:50 2002  Owen Taylor  <otaylor@redhat.com>

        * po/Makefile.in.in: Fix problem from recent commit where
        non GNU-format message catalogs would be installed in
        datadir. Remove some leftover setting of PATH=../src:$PATH.

21 years agogdk/win32/gdkpixmap-win32.c (gdk_pixmap_new, gdk_bitmap_create_from_data,
Tor Lillqvist [Wed, 11 Dec 2002 23:04:39 +0000 (23:04 +0000)]
gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new, gdk_bitmap_create_from_data,

2002-12-11  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new,
gdk_bitmap_create_from_data, gdk_pixmap_create_from_data)
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image):
Functions now take a GdkDrawable instead of GdkWindow parameter,
like in X11 and linux-fb backends (#100780)

* gdk/win32/gdkwindow-win32.c (get_default_title): Do use
g_get_application_name() (I now have a fresh enough GLib).

21 years agoUpdated Finnish translation.
Pauli Virtanen [Wed, 11 Dec 2002 21:49:55 +0000 (21:49 +0000)]
Updated Finnish translation.

2002-12-11 Pauli Virtanen <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

21 years agoversion 2.1.4, interface age 1.
Owen Taylor [Wed, 11 Dec 2002 21:28:22 +0000 (21:28 +0000)]
version 2.1.4, interface age 1.

Wed Dec 11 14:04:23 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: version 2.1.4, interface age 1.

        * configure.in: Require GLib-2.1.4, so we will catch
        the need for the new AM_GLIB_DEFINE_LOCALEDIR() in
        an obvious way.

        * configure.in gtk/Makefile.am: Use AM_GLIB_DEFINE_LOCALEDIR()

21 years agoversion 2.1.4, interface age 1.
Owen Taylor [Wed, 11 Dec 2002 19:44:57 +0000 (19:44 +0000)]
version 2.1.4, interface age 1.

Wed Dec 11 14:04:23 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: version 2.1.4, interface age 1.

        * configure.in: Require GLib-2.1.4, so we will catch
        the need for the new AM_GLIB_DEFINE_LOCALEDIR() in
        an obvious way.

        * configure.in gtk/Makefile.am: Use AM_GLIB_DEFINE_LOCALEDIR()

21 years agoFix some links.
Matthias Clasen [Wed, 11 Dec 2002 19:26:58 +0000 (19:26 +0000)]
Fix some links.

* gtk/text_widget.sgml: Fix some links.

21 years agoUpdated German translation.
Christian Neumair [Wed, 11 Dec 2002 16:14:56 +0000 (16:14 +0000)]
Updated German translation.

21 years agoUpdated Amharic translation.
Daniel Yacob [Wed, 11 Dec 2002 01:30:09 +0000 (01:30 +0000)]
Updated Amharic translation.

21 years agoAdd some ids to reduce dangling links.
Matthias Clasen [Wed, 11 Dec 2002 00:46:53 +0000 (00:46 +0000)]
Add some ids to reduce dangling links.

21 years agogdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *, not an
PST 2002 Manish Singh [Tue, 10 Dec 2002 23:48:07 +0000 (23:48 +0000)]
gdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *, not an

Tue Dec 10 15:46:01 PST 2002  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkwindow-x11.c (set_initial_hints):
        gdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *,
        not an XDisplay * (obvious typo fix for the previous commit)

21 years agoDelete EWMH properties if no private->state flags are set. (#66754)
Matthias Clasen [Tue, 10 Dec 2002 23:25:33 +0000 (23:25 +0000)]
Delete EWMH properties if no private->state flags are set. (#66754)

* gdk/x11/gdkwindow-x11.c (set_initial_hints): Delete EWMH
properties if no private->state flags are set.  (#66754)

* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
* gtk/gtkcontainer.c (gtk_container_class_find_child_property):
Doc typo fixes.

* gtk/tmpl/gtktextview.sgml: Add docs.

* gtk/tree_widget.sgml: Fix some links.

* gtk/tmpl/gtkwindow.sgml: Add docs.

* gtk/tmpl/gtkeditable.sgml: Document GtkEditable as an interface,
not as an abstract base class.

* gtk/gtk-docs.sgml: Move GtkEditable from "Abstract Base Classes"
to "Numeric/Text Data Entry".

21 years ago Data constness fixes. (#75754)
Matthias Clasen [Tue, 10 Dec 2002 21:39:53 +0000 (21:39 +0000)]
 Data constness fixes.  (#75754)

21 years agoSeparate out tracking of the X server focus window from tracking our idea
Owen Taylor [Tue, 10 Dec 2002 20:06:02 +0000 (20:06 +0000)]
Separate out tracking of the X server focus window from tracking our idea

Tue Dec 10 14:37:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_event_translate)
          gdk/x11/gdkwindow-x11.h: Separate out tracking of the X server
          focus window from tracking our idea of what the focus window is,
          because the PointerRoot code needs to know the real pointer
          window. (Mostly accidentally committed a bit earlier.)

21 years agoFix typo with hadjustment/vadjustment introduce prior to 2.0.0. (#84621,
Owen Taylor [Tue, 10 Dec 2002 18:02:26 +0000 (18:02 +0000)]
Fix typo with hadjustment/vadjustment introduce prior to 2.0.0. (#84621,

Tue Dec 10 12:57:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkclist.c (adjust_adjustments): Fix typo with
        hadjustment/vadjustment introduce prior to 2.0.0.
        (#84621, Charles Kerr)

21 years agoUpdated Spanish Translation.
Pablo Gonzalo del Campo [Tue, 10 Dec 2002 16:54:09 +0000 (16:54 +0000)]
Updated Spanish Translation.

2002-12-10  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

* es.po: Updated Spanish Translation.

21 years agonew default color scheme based on the GNOME stock icon palette. (#80691,
Soeren Sandmann [Tue, 10 Dec 2002 12:02:43 +0000 (12:02 +0000)]
new default color scheme based on the GNOME stock icon palette. (#80691,

Tue Dec 10 12:40:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenuitem.c, gtk/gtkstyle.c, gtk/gtkrc.c: new default
color scheme based on the GNOME stock icon palette. (#80691,
Tuomas Kuosmanen, Garrett LeSage, Owen Taylor)

* gtk/gtknotebook.c (gtk_notebook_real_remove): take a new
parameter, "destroying", and don't emit the switch-page signals
when it is true (fix #64832, reported by Jarred Keuch)

* gtk/gtklabel.c (gtk_label_set_property): remove unused
variable.

21 years agox can be in the range [0, upper], which can be bigger than [0, page_size].
Kristian Rietveld [Tue, 10 Dec 2002 01:00:44 +0000 (01:00 +0000)]
x can be in the range [0, upper], which can be bigger than [0, page_size].

Tue Dec 10 02:14:12 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
        the range [0, upper], which can be bigger than [0, page_size].
        (Fixed #99778, reported and testcase provided by Carlos Garnacho
        Parro).

21 years agoRemove a couple of places if (widget->window), this function will only
Owen Taylor [Tue, 10 Dec 2002 00:53:47 +0000 (00:53 +0000)]
Remove a couple of places if (widget->window), this function will only

Mon Dec  9 19:49:03 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Remove
        a couple of places if (widget->window), this function
        will only ever be called on a realized window.
        (#80225)

21 years agoimplement a working use_align = FALSE implementation (also mentioned in
Kristian Rietveld [Tue, 10 Dec 2002 00:47:32 +0000 (00:47 +0000)]
implement a working use_align = FALSE implementation (also mentioned in

Tue Dec 10 01:58:43 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (validate_visible_area): implement a working
        use_align = FALSE implementation (also mentioned in #91335, reported
        by Juri Pakaste).

        * gtk/gtktreeview.c (validate_visible_area): only free the
        scroll_to_path if we are done with validating (fixes #93584, reported
        and testcase provided by Erik Simonsen).

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
        set the GTK_CELL_RENDERER_FOCUSED flag where appropriate. (fixes
        #75745, reported by Richard Hult).

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_position):
        initialize cellinfo to NULL to silence the compiler.

21 years agoRemove unused draw_spin_entry_shadow(). (#80229)
Owen Taylor [Tue, 10 Dec 2002 00:34:44 +0000 (00:34 +0000)]
Remove unused draw_spin_entry_shadow(). (#80229)

Mon Dec  9 19:31:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove
        unused draw_spin_entry_shadow(). (#80229)

21 years agoRemove selection for DeviceButtonRelease, we no longer need it now that
Owen Taylor [Mon, 9 Dec 2002 23:55:26 +0000 (23:55 +0000)]
Remove selection for DeviceButtonRelease, we no longer need it now that

Mon Dec  9 18:50:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
        Remove selection for DeviceButtonRelease, we no longer need
        it now that gxi is gone. (#32617, reported by Garry
        Osgood)

21 years agoupdate to allow a GdkDrawable instead of a GdkWindow.
Kristian Rietveld [Mon, 9 Dec 2002 23:34:49 +0000 (23:34 +0000)]
update to allow a GdkDrawable instead of a GdkWindow.

Tue Dec 10 00:49:35 2002  Kristian Rietveld  <kris@gtk.org>

        * gdk/gdkpixmap.h (gdk_pixmap_new), (gdk_bitmap_create_from_data),
        (gdk_pixmap_create_from_xpm), (gdk_pixmap_colormap_create_from_xpm),
        (gdk_pixmap_create_from_xpm_d),
        (gdk_pixmap_colormap_create_from_xpm_d): update to allow a
        GdkDrawable instead of a GdkWindow.

        * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpm),
        (gdk_pixmap_create_from_xpm), (gdk_pixmap_colormap_create_from_xpm_d),
        (gdk_pixmap_create_from_xpm_d): update to allow a GdkDrawable
        instead of a GdkWindow.

        * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new),
        (gdk_bitmap_create_from_data), (gdk_pixmap_create_from_data): update
        to allow a GdkDrawable instead of a GdkWindow.

        * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new),
        (gdk_bitmap_create_from_data), (gdk_pixmap_create_from_data): likewise

21 years agoRemove unnecessary leftover check that was causing a UMR. (#100768,
Owen Taylor [Mon, 9 Dec 2002 22:34:23 +0000 (22:34 +0000)]
Remove unnecessary leftover check that was causing a UMR. (#100768,

Mon Dec  9 17:31:06 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkiconfactory.c (icon_size_lookup_intern): Remove
        unnecessary leftover check that was causing a UMR.
        (#100768, Kjartan Maraas)

21 years agoUpdated Spanish Translation.
Pablo Gonzalo del Campo [Mon, 9 Dec 2002 21:14:27 +0000 (21:14 +0000)]
Updated Spanish Translation.

2002-12-09  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

* es.po: Updated Spanish Translation.

21 years agoAdd docs.
Matthias Clasen [Mon, 9 Dec 2002 18:37:59 +0000 (18:37 +0000)]
Add docs.