]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoSpecial case pixmaps. (#114880)
Anders Carlsson [Thu, 12 Jun 2003 20:49:18 +0000 (20:49 +0000)]
Special case pixmaps. (#114880)

2003-06-12  Anders Carlsson  <andersca@codefactory.se>

* gtk/gtkwidget.c: (event_window_is_still_viewable):
Special case pixmaps. (#114880)

21 years agoFix some typos.
Matthias Clasen [Wed, 11 Jun 2003 23:12:17 +0000 (23:12 +0000)]
Fix some typos.

2003-06-11  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkdnd.sgml: Fix some typos.

21 years agoDocument child-notify and drag-data-received signals. Owen, we need to
Matthias Clasen [Wed, 11 Jun 2003 23:10:28 +0000 (23:10 +0000)]
Document child-notify and drag-data-received signals. Owen, we need to

2003-06-12  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwidget.c: Document child-notify and drag-data-received
signals. Owen, we need to figure out where the best place for
these comments in the source is. I currently put them in front of
the signals enum.

21 years agosilly typo fix. s/seperator/separator/. This gets rid of the assert spam
Kristian Rietveld [Wed, 11 Jun 2003 23:02:34 +0000 (23:02 +0000)]
silly typo fix. s/seperator/separator/. This gets rid of the assert spam

Thu Jan 12 01:01:19 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
silly typo fix. s/seperator/separator/. This gets rid of the
assert spam when using TreeView.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Wed, 11 Jun 2003 09:30:40 +0000 (09:30 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agoUpdated Spanish translation by Juan Manuel García Molina
Pablo Gonzalo del Campo [Tue, 10 Jun 2003 19:18:16 +0000 (19:18 +0000)]
Updated Spanish translation by Juan Manuel García Molina

2003-06-10  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

* es.po: Updated Spanish translation by
                 Juan Manuel García Molina <juanma_gm@wanadoo.es>.

21 years agoNew function for XIM instantiate callback. New function where call to
Hidetoshi Tajima [Tue, 10 Jun 2003 18:24:29 +0000 (18:24 +0000)]
New function for XIM instantiate callback. New function where call to

Tue Jun 10 11:23:48 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

* modules/input/gtkimcontextxim.c (xim_instantiate_callback): New
function for XIM instantiate callback.
* modules/input/gtkimcontextxim.c (xim_info_try_im): New function
where call to XOpenIM() or XRegisterIMInstantiateCallback() is
actually made.
* modules/input/gtkimcontextxim.c (xim_destroy_callback): New function
for XIM's destroy callback.
* modules/input/gtkimcontextxim.c (get_im): add a check if info->im
is set or not - if it's not set, call xim_info_try_im() to try to
initiaize it.
* modules/input/gtkimcontextxim.c (reinitialize_ic): reset
filter_key_release flag of the context.
* modules/input/gtkimcontextxim.c (get_ic_real): removed
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move
code from the removed get_ic_real().

For XIM instantiation, destruction and re-instantiation. With
this, Gtk+ apps will be able to connect or reconnect to the XIM,
when it starts after the apps, or when the XIM gets lost and recover.
(#113099, #107782).

21 years agoMerged from stable.
Kristian Rietveld [Mon, 9 Jun 2003 23:12:46 +0000 (23:12 +0000)]
Merged from stable.

Mon Jun 10 01:12:31 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
check if width is !null, not *width. Doh.

21 years agoMerged from stable.
Kristian Rietveld [Mon, 9 Jun 2003 23:10:20 +0000 (23:10 +0000)]
Merged from stable.

Tue Jun 10 01:09:33 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
Remove the weird dx logic, get all cell_area and background_area
calculations right. Not sure what was up with it before. (Fixes
#110989, testcase from Vasco Alexandre da Silva Costa).

21 years agoMake it compile with C89 compilers
Soeren Sandmann [Mon, 9 Jun 2003 22:50:54 +0000 (22:50 +0000)]
Make it compile with C89 compilers

Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/testgtk.c: Make it compile with C89 compilers

21 years agoAdd gtk_text_view_[gs]et_overwrite().
Matthias Clasen [Mon, 9 Jun 2003 22:26:55 +0000 (22:26 +0000)]
Add gtk_text_view_[gs]et_overwrite().

2003-06-10  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-sections.txt: Add gtk_text_view_[gs]et_overwrite().

21 years agoInstall boolean property "overwrite". (gtk_text_view_[gs]et_property):
Matthias Clasen [Mon, 9 Jun 2003 22:25:00 +0000 (22:25 +0000)]
Install boolean property "overwrite". (gtk_text_view_[gs]et_property):

2003-06-10  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
property "overwrite".
(gtk_text_view_[gs]et_property): Handle "overwrite".
* gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)

21 years agoInstall boolean child properties "resize" and "shrink".
Matthias Clasen [Mon, 9 Jun 2003 22:04:34 +0000 (22:04 +0000)]
Install boolean child properties "resize" and "shrink".

2003-06-09  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child
properties "resize" and "shrink".
(gtk_paned_[gs]et_child_property): Implementations of
GtkContainer::[gs]et_child_property.
* tests/testgtk.c (toggle_resize, toggle_shrink): Use the new
paned child properties instead of remove/add hacks.  (#114667,
Soeren Sandmann)

21 years agoBack out event->window test - it wasn't needed because of the call to
Owen Taylor [Mon, 9 Jun 2003 20:29:16 +0000 (20:29 +0000)]
Back out event->window test - it wasn't needed because of the call to

Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_button_press): Back
        out event->window test - it wasn't needed because
        of the call to get_widget_coordinates().

        * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
        call to gtk_widget_grab_focus() when not clicking on
        any tabs. (Real fix for #114534)

21 years agoUse application/x-rootwindow-drop for root window drops. (#108670, Alex
Owen Taylor [Mon, 9 Jun 2003 02:13:42 +0000 (02:13 +0000)]
Use application/x-rootwindow-drop for root window drops. (#108670, Alex

Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>

        * tests/testdnd.c: Use application/x-rootwindow-drop for
        root window drops. (#108670, Alex Larsson)

        * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop):
        Accept either application/x-rootwin-drop (what GTK+ has always used)
        or application/x-rootwindow-drop (what the XDND standard specifies).

21 years agoBefore delivering an event to a widget, check that (if relevant), the
Owen Taylor [Mon, 9 Jun 2003 01:55:01 +0000 (01:55 +0000)]
Before delivering an event to a widget, check that (if relevant), the

Fri Jun  6 11:07:33 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (event_window_still_viewable):
        Before delivering an event to a widget, check that
        (if relevant), the event's window is still viewable.
        (#105642, Dennis Björklund)

        * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy):
        NULL out private->parent, since after destruction
        it might not be valid any more.

        * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some
        accesses before g_return_val_if_fail(). Treat
        DESTROYED windows as unmapped.

21 years agoRecompute unconditionally in gtk_entry_style_set, and in a new
Owen Taylor [Sun, 8 Jun 2003 17:43:15 +0000 (17:43 +0000)]
Recompute unconditionally in gtk_entry_style_set, and in a new

Thu Jun  5 09:28:03 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c: Recompute unconditionally in
        gtk_entry_style_set, and in a new gtk_label_screen_changed().
        Protect the guts of recompute_idle_func() with
        gtk_widget_has_screen(). (#114040, Morten Welinder)
        Fix FALSE/0 confusion.

21 years agoswap G and B. Fixes (#114669)
Soeren Sandmann [Sun, 8 Jun 2003 16:15:16 +0000 (16:15 +0000)]
swap G and B. Fixes (#114669)

Sun Jun  8 18:27:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B.
Fixes (#114669)

21 years agoFix bug with set_adjustment (viewport, NULL);
Owen Taylor [Sun, 8 Jun 2003 15:34:30 +0000 (15:34 +0000)]
Fix bug with set_adjustment (viewport, NULL);

Sun Jun  8 11:27:29 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with
        set_adjustment (viewport, NULL);

21 years agoAdd rtl variants of undo, redo, undelete and revert. (#96633)
Matthias Clasen [Sat, 7 Jun 2003 09:38:36 +0000 (09:38 +0000)]
Add rtl variants of undo, redo, undelete and revert. (#96633)

2003-06-07  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (get_default_icons):
* gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png:
* gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo,
undelete and revert.  (#96633)

21 years agoMany fixes, along with extensive cleanups and refactoring of code to
Owen Taylor [Fri, 6 Jun 2003 23:08:14 +0000 (23:08 +0000)]
Many fixes, along with extensive cleanups and refactoring of code to

Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and
        refactoring of code to reduce duplication; fixes include:

        - gtk_viewport_realize(): Position the window correct from adjustment
        values. (#110737, Michael Natterer)

        - Remove some division-by-zero checks in places where there is no
        longer division. (#110737)

        - gtk_viewport_class_init: Make the hadjustment/vadjustment properties
        G_PARAM_CONSTRUCT, so that there will always be adjustments, even
        if gtk_viewport_new isn't used (#101135, Thomas Leonard).

        - Switch over to encapsulated lazy-creation for hadjustment/
        vadjustment; even with the CONSTRUCT property, we need this after
        destroy.

        - When updating the adjustment, immediate set their values to
        match the the current range of the viewport, and update the
        viewport position to match the value of the new adjustments.
        (Part of #1165

21 years agoFix typo.
Tor Lillqvist [Fri, 6 Jun 2003 23:06:29 +0000 (23:06 +0000)]
Fix typo.

2003-06-06  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkprivate-win32.h: Fix typo.

21 years agoSet graphics_exposures and subwindow_mode, too, even if they aren't
Tor Lillqvist [Fri, 6 Jun 2003 22:55:55 +0000 (22:55 +0000)]
Set graphics_exposures and subwindow_mode, too, even if they aren't

2003-06-06  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set
graphics_exposures and subwindow_mode, too, even if they aren't
currently used.

21 years agoMerged from stable.
Kristian Rietveld [Fri, 6 Jun 2003 21:42:52 +0000 (21:42 +0000)]
Merged from stable.

Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (do_expand_collapse),
(expand_collapse_timeout), (cancel_arrow_animation): made
expand_collapse_timeout a wrapper with locks around
do_expand_collapse, made cancel_arrow_animation use
do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
Peter Bloomfield).

21 years agoAdd a 'finalizing' flag to keep preedit-[start,changed,end] signals from
Hidetoshi Tajima [Fri, 6 Jun 2003 19:42:10 +0000 (19:42 +0000)]
Add a 'finalizing' flag to keep preedit-[start,changed,end] signals from

Fri Jun  6 11:05:45 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

* modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM):
* modules/input/gtkimcontextxim.c (preedit_start_callback,
preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag
to keep preedit-[start,changed,end] signals from being called during
finalization (#111861).

21 years agoIgnore button presses that are not on the tab (#114534).
Noah Levitt [Fri, 6 Jun 2003 02:00:45 +0000 (02:00 +0000)]
Ignore button presses that are not on the tab (#114534).

2003-06-05  Noah Levitt  <nlevitt@columbia.edu>

* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
presses that are not on the tab (#114534).

21 years agoConditionalize deendencies for gdk-pixbuf-csource on cross-compilation
Owen Taylor [Fri, 6 Jun 2003 00:52:20 +0000 (00:52 +0000)]
Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation

Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>

        * demos/Makefile.am: Conditionalize deendencies for
        gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe).
        Buildtest-inline-pixbufs.h in srcdir. Don't try to build
        test-inline-pixbufs.h if we don't have libpng.

        * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
        Add a dependency on gdk-pixbuf.loaders when not
        cross-compiling, remove the dependency on gdk-pixbuf-csource
        when not cross compiling.

21 years agoHandle gtk_window_get_geometry_info() returning NULL. (#107311, John
Owen Taylor [Fri, 6 Jun 2003 00:17:48 +0000 (00:17 +0000)]
Handle gtk_window_get_geometry_info() returning NULL. (#107311, John

Thu Jun  5 20:12:51 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_get_default_size): Handle
        gtk_window_get_geometry_info() returning NULL.
        (#107311, John Finlay)

21 years agoSubtract off twice the border width from the width/height, not 1x the
Owen Taylor [Thu, 5 Jun 2003 23:37:03 +0000 (23:37 +0000)]
Subtract off twice the border width from the width/height, not 1x the

Thu Jun  5 19:24:33 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off
        twice the border width from the width/height, not
        1x the border width. (#106336, Rodney Dawes)

21 years agoIf at the end of the buffer, move to the end iter - parallels behavior of
Owen Taylor [Thu, 5 Jun 2003 23:08:48 +0000 (23:08 +0000)]
If at the end of the buffer, move to the end iter - parallels behavior of

Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
        If at the end of the buffer, move to the end iter -
        parallels behavior of move_iter_to_previous_line.
        (#81960, Padraig O'Briain)

21 years ago#80023, Yao Zhang, TOKUNAGA Hiroyuki
Owen Taylor [Thu, 5 Jun 2003 23:04:49 +0000 (23:04 +0000)]
#80023, Yao Zhang, TOKUNAGA Hiroyuki

Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>

        #80023, Yao Zhang, TOKUNAGA Hiroyuki

        * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
        Account for the preedit cursor offset if the iter passed
        in is at the same place as the insertion cursor.

        * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
        Encapsulate getting the insertion cursor location.

        * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
        Pass the real y/height to the IM context. Take
        text_view->x/yoffset into account.

21 years agoNever scroll on focus in (#81893, Patch from Paolo Maggi)
Owen Taylor [Thu, 5 Jun 2003 22:59:35 +0000 (22:59 +0000)]
Never scroll on focus in (#81893, Patch from Paolo Maggi)

Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.[ch]: Never scroll on focus in
        (#81893, Patch from Paolo Maggi)

        * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages):
        Scroll to the current cursor location before handling
        the action, in case the user just tabbed in
        and the cursor is offscreen.

21 years ago#107883, Gustavo Giráldez
Owen Taylor [Thu, 5 Jun 2003 22:28:48 +0000 (22:28 +0000)]
#107883, Gustavo Giráldez

Thu Jun  5 17:20:40 2003  Owen Taylor  <otaylor@redhat.com>

         #107883, Gustavo Giráldez

        * gtk/gtktextlayout.c (gtk_text_layout_emit_changed):
        Split out the case where we know we changed, and
        already dealt with our cached line being invalidated
        from external calls to gtk_text_layout_changed.

        * gtk/gtktextlayout.c (gtk_text_layout_changed):
        Check if the invalidate yrange intersects our
        cached line, and clear it if necessary.

21 years agoHandle global filters.
Tor Lillqvist [Thu, 5 Jun 2003 22:05:14 +0000 (22:05 +0000)]
Handle global filters.

2003-06-05  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global
filters.

21 years agoFix for #84668, reported by Torbjörn Andersson:
Matthias Clasen [Thu, 5 Jun 2003 19:34:03 +0000 (19:34 +0000)]
Fix for #84668, reported by Torbjörn Andersson:

2003-06-05  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson:
(gtk_text_view_grab_notify):
(gtk_text_view_state_changed): Implement these
to unobscure cursor when grab shadowed or insensitised.
(gtk_text_view_unobscure_mouse_cursor): New function to undo the
effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from
gtk_text_view_motion_event().
(gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor().

21 years agoNew keybinding signal for (un)selecting the whole buffer. Bound to
Matthias Clasen [Thu, 5 Jun 2003 19:23:31 +0000 (19:23 +0000)]
New keybinding signal for (un)selecting the whole buffer. Bound to

2003-06-05  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (select_all): New keybinding signal for
(un)selecting the whole buffer. Bound to C-a/C-\.  (see #107889)

21 years agoFix a typo.
Matthias Clasen [Thu, 5 Jun 2003 00:43:40 +0000 (00:43 +0000)]
Fix a typo.

21 years agoAdd some questions.
Matthias Clasen [Thu, 5 Jun 2003 00:41:28 +0000 (00:41 +0000)]
Add some questions.

21 years agoReplace deprecated gtk_timeout_* functions by their GLib counterparts.
Matthias Clasen [Thu, 5 Jun 2003 00:38:37 +0000 (00:38 +0000)]
Replace deprecated gtk_timeout_* functions by their GLib counterparts.

* gtk/gtkcalendar.c (calendar_timer):
(stop_spinning): Replace deprecated gtk_timeout_* functions by
their GLib counterparts.  (#114429)

21 years agoDocument restriction on types.
Matthias Clasen [Wed, 4 Jun 2003 23:53:35 +0000 (23:53 +0000)]
Document restriction on types.

2003-06-05  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.

21 years agoWhen drawing underlines, join up adjacent runs where possible, so we don't
Owen Taylor [Wed, 4 Jun 2003 23:47:23 +0000 (23:47 +0000)]
When drawing underlines, join up adjacent runs where possible, so we don't

Wed Jun  4 19:42:17 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
        When drawing underlines, join up adjacent runs
        where possible, so we don't get changes in
        shaper/font/etc. breaking underlines. (#103662,
        Kang Jeong-Hee)

21 years agoSlightly modified patch from Owen Taylor <otaylor@redhat.com> to improve
Jonathan Blandford [Wed, 4 Jun 2003 23:44:52 +0000 (23:44 +0000)]
Slightly modified patch from Owen Taylor <otaylor@redhat.com> to improve

Wed Jun  4 19:22:58 2003  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert):
        Slightly modified patch from Owen Taylor <otaylor@redhat.com> to
        improve the speed of inserting rows into an already sorted list,
        #109292

21 years agoKeep track of when we have a clip mask set for the GC, and when we unset
Owen Taylor [Wed, 4 Jun 2003 23:26:52 +0000 (23:26 +0000)]
Keep track of when we have a clip mask set for the GC, and when we unset

Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
        track of when we have a clip mask set for the GC,
        and when we unset it, or switch to a clip region,
        immediately call XSetClipMask (..., None) to avoid
        Xlib caching stale data. (#111806)

        * gtk/gtktextdisplay.c: Don't set a clip mask
        when drawing alpha pixmaps; it isn't necessary any more.
        (#111806)

21 years agogtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): Use
Owen Taylor [Wed, 4 Jun 2003 22:44:10 +0000 (22:44 +0000)]
gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): Use

Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
        gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator):
        Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
        (#92548, Tim Evans)

        * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
        gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
        Use state_type = STATE_INSENSITIVE for insensitive menu items.

21 years agoMerged from stable.
Kristian Rietveld [Wed, 4 Jun 2003 19:24:17 +0000 (19:24 +0000)]
Merged from stable.

Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
assert for get_info. (reported by Michael Natterer),
(gtk_tree_view_expand_all_emission_helper),
(gtk_tree_view_expand_all_helper): emit row_expanded for all
expanded rows during an _expand_all operation. (Fixes #111280,
reported by Benjamin Bayart).

21 years agoDon't respond to pings on a root window; prevents infinite loops if we are
Owen Taylor [Tue, 3 Jun 2003 22:43:15 +0000 (22:43 +0000)]
Don't respond to pings on a root window; prevents infinite loops if we are

Tue Jun  3 18:32:30 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
        respond to pings on a root window; prevents infinite
        loops if we are selecting for SubstructureNotify on the
        root window. (#111945, Sergey V. Udaltsov)

21 years ago#71597, reported by Morten Welinder
Owen Taylor [Tue, 3 Jun 2003 22:09:11 +0000 (22:09 +0000)]
#71597, reported by Morten Welinder

Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>

        #71597, reported by Morten Welinder

        * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
        (Patch from Christian Petig)

        * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
        Major rewrite of 555 and 565 conversion routines:

        - Move all the bit shifting into a small block of macros,
          eliminating much duplication of complicated arithmetic.
        - Get rid of 2-pixels at a time code, which was buggy,
          hard to maintain, caused unaligned accesses, and
          probably didn't actually perform any better.
        - Simplify cases where different data types were
          used for the little and big endian cases, use
          GUINT16_SWAP_LE_BE() where appropriate.

21 years agoRemove bad optimization for src_rowstride == dest_stride. (Didn't consider
Owen Taylor [Tue, 3 Jun 2003 19:12:37 +0000 (19:12 +0000)]
Remove bad optimization for src_rowstride == dest_stride. (Didn't consider

Tue Jun  3 15:05:47 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove
        bad optimization for src_rowstride == dest_stride.
        (Didn't consider the case where we were copying only
        partial widths of a wider source buffer)
        (#113034, reported by Hans Petter Jansson)

21 years agoreenabled button_release events for xinput devices. (#113948)
Michael Natterer [Tue, 3 Jun 2003 18:47:20 +0000 (18:47 +0000)]
reenabled button_release events for xinput devices. (#113948)

2003-06-03  Michael Natterer  <mitch@gimp.org>

* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)

21 years agoAdded "li" to ALL_LINGUAS. Added Limburgish translation by Mathieu van
Christian Rose [Tue, 3 Jun 2003 12:55:27 +0000 (12:55 +0000)]
Added "li" to ALL_LINGUAS. Added Limburgish translation by Mathieu van

2003-06-03  Christian Rose  <menthos@menthos.com>

* configure.in: Added "li" to ALL_LINGUAS.
* po/li.po: Added Limburgish translation by
Mathieu van Woerkom <mathieu.brabants.org>.

21 years agoAdded gdk-pixbuf/io-pcx.c and gtk/gtkcalendar.c
Abel Cheung [Tue, 3 Jun 2003 08:24:30 +0000 (08:24 +0000)]
Added gdk-pixbuf/io-pcx.c and gtk/gtkcalendar.c

2003-06-03  Abel Cheung  <maddog@linux.org.hk>

* POTFILES.in: Added gdk-pixbuf/io-pcx.c and
  gtk/gtkcalendar.c

21 years agoDon't map the event window if the notebook isn't mapped. (#113980, Richard
Owen Taylor [Mon, 2 Jun 2003 23:05:45 +0000 (23:05 +0000)]
Don't map the event window if the notebook isn't mapped. (#113980, Richard

Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
        map the event window if the notebook isn't mapped. (#113980,
        Richard Reich)

21 years agoDocument data_length == -1, add an example. (#97290)
Matthias Clasen [Mon, 2 Jun 2003 22:46:28 +0000 (22:46 +0000)]
Document data_length == -1, add an example. (#97290)

2003-06-03  Matthias Clasen  <maclas@gmx.de>

* gdk-pixdata.c (gdk_pixbuf_new_from_inline): Document
data_length == -1, add an example.  (#97290)

21 years agoConverted from broken-TSCII to UTF-8.
Noah Levitt [Mon, 2 Jun 2003 21:57:16 +0000 (21:57 +0000)]
Converted from broken-TSCII to UTF-8.

2003-06-02  Noah Levitt  <nlevitt@columbia.edu>

* ta.po: Converted from broken-TSCII to UTF-8.

21 years agoadded a missing cast.
Sven Neumann [Mon, 2 Jun 2003 14:14:41 +0000 (14:14 +0000)]
added a missing cast.

2003-06-02  Sven Neumann  <sven@gimp.org>

* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.

* gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.

21 years agoFix misleading documentation of rowstride. (#113924, Noah Levitt)
Matthias Clasen [Sat, 31 May 2003 23:52:49 +0000 (23:52 +0000)]
Fix misleading documentation of rowstride. (#113924, Noah Levitt)

2003-06-01  Matthias Clasen  <maclas@gmx.de>

* gdk-pixdata.h (struct _GdkPixdata): Fix misleading documentation
of rowstride.  (#113924, Noah Levitt)

21 years agoMinor improvements to alignment padding documentation.
Matthias Clasen [Sat, 31 May 2003 23:39:02 +0000 (23:39 +0000)]
Minor improvements to alignment padding documentation.

21 years agoAdd some hints and an example to the docs. (#98427)
Matthias Clasen [Sat, 31 May 2003 23:33:09 +0000 (23:33 +0000)]
Add some hints and an example to the docs. (#98427)

2003-06-01  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and
an example to the docs.  (#98427)

21 years agoUpdated French translation.
Christophe Merlet [Sat, 31 May 2003 11:05:45 +0000 (11:05 +0000)]
Updated French translation.

21 years agoAdded 4-sided padding as properties with gtk_alignment_get_padding() and
Murray Cumming [Fri, 30 May 2003 18:29:32 +0000 (18:29 +0000)]
Added 4-sided padding as properties with gtk_alignment_get_padding() and

2003-05-30  Murray Cumming  <murrayc@usa.net>

        * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
        gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
        uses the new private data system - see g_type_class_add_private() in
        gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().

21 years agogtk/gtknotebook.c Changed guint to GtkNotebookArrow in the signature of
Matthias Clasen [Fri, 30 May 2003 16:25:55 +0000 (16:25 +0000)]
gtk/gtknotebook.c Changed guint to GtkNotebookArrow in the signature of

2003-05-30  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c
Changed guint to GtkNotebookArrow in the signature of
gtk_notebook_draw_arrow() for Solaris builds to go through.
(#114043, Anand Subramanian)

21 years agotypo
Hidetoshi Tajima [Fri, 30 May 2003 01:33:09 +0000 (01:33 +0000)]
typo

21 years agouse GETTEXT_PACKAGE to get a translation for "Default"(#113850).
Hidetoshi Tajima [Fri, 30 May 2003 01:31:15 +0000 (01:31 +0000)]
use GETTEXT_PACKAGE to get a translation for "Default"(#113850).

Thu May 29 18:30:55 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

* modules/input/imipa.c:
use GETTEXT_PACKAGE to get a translation for "Default"(#113850).

21 years agouse GETTEXT_PACKAGE to get a translation for "Default"(#113850).
Hidetoshi Tajima [Fri, 30 May 2003 01:09:05 +0000 (01:09 +0000)]
use GETTEXT_PACKAGE to get a translation for "Default"(#113850).

Thu May 29 18:08:01 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

* gtk/gtkimmodule.c (_gtk_im_module_list):
use GETTEXT_PACKAGE to get a translation for "Default"(#113850).

21 years agomake "Default" label of default input method localizable. use translations
Hidetoshi Tajima [Fri, 30 May 2003 00:37:58 +0000 (00:37 +0000)]
make "Default" label of default input method localizable. use translations

Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

        * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
        label of default input method localizable.
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
        use translations of input method context names
        * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
          modules/input/iminuktitut.c, modules/input/imthai-broken.c,
          modules/input/imti-er.c, modules/input/imti-et.c
          modules/input/imviqr.c, modules/input/imxim.c
        use GETTEXT_PACKAGE instead of "gtk+" for domain name.
        (#113850).

21 years agoMerged from stable.
Kristian Rietveld [Thu, 29 May 2003 16:28:42 +0000 (16:28 +0000)]
Merged from stable.

Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
grab separate, the user might clear the tree in the focus-in
callback. (Fixes #113086, testcase from Felipe Heidrich).

21 years agoMerged from stable.
Kristian Rietveld [Thu, 29 May 2003 16:16:05 +0000 (16:16 +0000)]
Merged from stable.

Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
of row reference when we unset the model. Also reset
dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).

21 years agoMerged from stable.
Kristian Rietveld [Thu, 29 May 2003 15:16:00 +0000 (15:16 +0000)]
Merged from stable.

Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
the current editing, if it exists. (Fixes #108956, reported by
Michael Natterer).

21 years agoMerged from stable.
Kristian Rietveld [Thu, 29 May 2003 15:09:47 +0000 (15:09 +0000)]
Merged from stable.

Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (check_selection_helper): new function,
(gtk_tree_view_row_deleted): traverse the tree from the
deleted node to see whether the selection changed, instead of
just checking this node. (Fixes #107400, reported by 'Duncan').

21 years agoMerged from stable.
Kristian Rietveld [Thu, 29 May 2003 14:36:03 +0000 (14:36 +0000)]
Merged from stable.

Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
(gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
instead of _maybe_begin_dragging_row, so the icon can be
overridden by apps. (Fixes #104374, patch from Daniel Elstner).

21 years agoMerged from stable.
Kristian Rietveld [Thu, 29 May 2003 14:22:05 +0000 (14:22 +0000)]
Merged from stable.

Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
cell_area x/width for the expander if needed. (Fixes #101748,
reported by Dave Cook and Mariano Suarez-Alvarez).

21 years agocheck if tree/node are still the same after _internal_select_node. (Fixes
Kristian Rietveld [Thu, 29 May 2003 14:06:20 +0000 (14:06 +0000)]
check if tree/node are still the same after _internal_select_node. (Fixes

Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
if tree/node are still the same after _internal_select_node.
(Fixes #92256, reported by edscott).

21 years agoFixes #75745, reported by Richard Hult. Merged from stable.
Kristian Rietveld [Thu, 29 May 2003 13:47:32 +0000 (13:47 +0000)]
Fixes #75745, reported by Richard Hult. Merged from stable.

Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>

Fixes #75745, reported by Richard Hult. Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
cursor or not.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
if we are rendering a cursor row, and the cell the be
processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
flag (else we unset it).

21 years agoRemove dubious bitfields of unspecified signedness. (#112919, Morten
Matthias Clasen [Tue, 27 May 2003 21:21:00 +0000 (21:21 +0000)]
Remove dubious bitfields of unspecified signedness. (#112919, Morten

2003-05-27  Matthias Clasen  <maclas@gmx.de>

* io-wbmp.c: Remove dubious bitfields of
unspecified signedness.  (#112919, Morten Welinder)gdk-p

* gdk-pixdata.c (gdk_pixdata_to_csource): Replace all occurances
of g_string_new ("") by g_string_new (NULL). (#106975, Morten Welinder)

* gtk/gtkwindow-decorate.c:
* gtk/gtktreeprivate.h:
* gtk/gtkdnd.c:
* gdk/win32/gdkwindow-win32.h:
* gdk/linux-fb/gdkprivate-fb.h:
* gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
unspecified signedness.  (#112919, Morten Welinder)

* gtk/queryimmodules.c (escape_string):
* gtk/gtktextbtree.c (_gtk_text_btree_get_text):
* gtk/gtksettings.c (_gtk_settings_parse_convert):
* gtk/gtkrc.c (gtk_rc_parse_assignment):
* gtk/gtkinputdialog.c (gtk_input_dialog_set_key):
* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all
occurances of g_string_new ("") by g_string_new (NULL). (#106975,
Morten Welinder)

21 years agoOnly include the Default and Emacs themes' gtkrc files. Include
Tor Lillqvist [Tue, 27 May 2003 18:36:19 +0000 (18:36 +0000)]
Only include the Default and Emacs themes' gtkrc files. Include

2003-05-27  Tor Lillqvist  <tml@iki.fi>

* gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc
files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}.

* gdk/Makefile.am: libgdk-win32-2.0.la depends on
win32/libgdk-win32.la.

* gtk/gtk.def: Add gtk_tree_view_column_cell_get_position.

21 years agoDocument allowed values for adjustments which are used in scrollbars.
Matthias Clasen [Mon, 26 May 2003 22:58:28 +0000 (22:58 +0000)]
Document allowed values for adjustments which are used in scrollbars.

* gtk/tmpl/gtkadjustment.sgml: Document allowed values for
adjustments which are used in scrollbars.  (#108448, Ernst Lippe)

21 years agoFix example. (#113604, Julien Moutte)
Matthias Clasen [Mon, 26 May 2003 22:35:16 +0000 (22:35 +0000)]
Fix example. (#113604, Julien Moutte)

2003-05-27  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkradiomenuitem.sgml: Fix example.  (#113604,
Julien Moutte)

21 years agoForgot Changelog
Søren Sandmann Pedersen [Sat, 24 May 2003 20:04:12 +0000 (20:04 +0000)]
Forgot Changelog

21 years agoMake the minimum scrollbar slider length 21 instead of 7.
Soeren Sandmann [Sat, 24 May 2003 20:03:08 +0000 (20:03 +0000)]
Make the minimum scrollbar slider length 21 instead of 7.

Sat May 24 22:19:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum
scrollbar slider length 21 instead of 7.

21 years agoAdd support for up to four scroll arrows. Control their display by new
Matthias Clasen [Thu, 22 May 2003 22:34:31 +0000 (22:34 +0000)]
Add support for up to four scroll arrows. Control their display by new

2003-05-23  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c: Add support for up to four scroll
arrows. Control their display by new style properties
"has_forward_stepper", "has_backward_stepper",
"has_secondary_forward_stepper" and
has_secondary_backward_stepper". (#110540)

* gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
click_child three bits wide, add
has_{before,after}_{previous,next} fields.

21 years agoUpdate color on focus out of hex_entry. (#112665) (hex_focus_out): New
Matthias Clasen [Thu, 22 May 2003 22:25:11 +0000 (22:25 +0000)]
Update color on focus out of hex_entry. (#112665) (hex_focus_out): New

2003-05-23  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on
focus out of hex_entry.  (#112665)
(hex_focus_out): New signal handler for focus out of hex entry.

21 years ago (gtk_file_selection_set_filename): Add a hint about opening
Matthias Clasen [Thu, 22 May 2003 00:25:50 +0000 (00:25 +0000)]
(gtk_file_selection_set_filename): Add a hint about opening
directories.  (#113175)

21 years agog_return_if_fail() if GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE
Owen Taylor [Wed, 21 May 2003 23:08:27 +0000 (23:08 +0000)]
g_return_if_fail() if GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE

Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_realize):
        g_return_if_fail() if
        GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
        (#107872, Christian Reis)

21 years agoSome keynav improvements for the "Rename File" and "Create Directory"
Matthias Clasen [Wed, 21 May 2003 22:54:53 +0000 (22:54 +0000)]
Some keynav improvements for the "Rename File" and "Create Directory"

2003-05-22  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilesel.c (gtk_file_selection_create_dir):
(gtk_file_selection_rename_file): Some keynav improvements for the
"Rename File" and "Create Directory" subdialogs: Enter in entry
activates default, default is "Create"/"Rename", Escape cancels
dialog.  (#113110)

21 years agoUse XftDrawSetClipRectangles(), since we're inside HAVE_XFT2 anyway.
Matthias Clasen [Wed, 21 May 2003 22:37:35 +0000 (22:37 +0000)]
Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2 anyway.

2003-05-22  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip):
Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2
anyway.  (#113476)

21 years agoAlways queue a resize ... we rely on the size-allocate to do the update,
Owen Taylor [Wed, 21 May 2003 21:23:35 +0000 (21:23 +0000)]
Always queue a resize ... we rely on the size-allocate to do the update,

Wed May 21 15:53:14 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkprogress.c (gtk_progress_set_format_string,
        gtk_progress_set_show_text): Always queue a resize ...
        we rely on the size-allocate to do the update, plus a
        different format can actually change our size requisition.
        (#111052)

        * gtk/gtkprogress.c (gtk_progress_changed): Track
        ::changed as well as ::value_changed, and queue a
        resize on ::changed when necessary.

        * gtk/gtkprogress.c (gtk_progress_set_adjustment):
        Call gtk_progress_changed() here to update or
        queue a resize as necessary.

21 years agoadded composing rules of Greek acceted letters, patch by Vasilis Vasaitis
Hidetoshi Tajima [Wed, 21 May 2003 21:09:05 +0000 (21:09 +0000)]
added composing rules of Greek acceted letters, patch by Vasilis Vasaitis

Wed May 21 14:06:13 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

* gtk/gtkimcontextsimple.c: added composing rules of
Greek acceted letters, patch by Vasilis Vasaitis (#107507)

21 years agogtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
Hidetoshi Tajima [Wed, 21 May 2003 20:21:41 +0000 (20:21 +0000)]
gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)

* gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle):
* modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)

21 years agoA loader for PCX files. (#113035, Josh Beam)
Matthias Clasen [Wed, 21 May 2003 20:20:07 +0000 (20:20 +0000)]
A loader for PCX files. (#113035, Josh Beam)

2003-05-21  Matthias Clasen  <maclas@gmx.de>

* pixbufloader_pcx.def:
* io-pcx.c: A loader for PCX files.  (#113035, Josh Beam)

* gdk-pixbuf-io.c:
* Makefile.am: Add PCX loader.

21 years agocode that can check the compose table for ascending order, by Vasilis
Hidetoshi Tajima [Wed, 21 May 2003 19:14:06 +0000 (19:14 +0000)]
code that can check the compose table for ascending order, by Vasilis

* gtk/gtkimcontextsimple.c:
code that can check the compose table for ascending order,
by Vasilis Vasaitis (#104862).

21 years agoWe need to pass the unmasked state to
Owen Taylor [Wed, 21 May 2003 17:49:49 +0000 (17:49 +0000)]
We need to pass the unmasked state to

Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need
        to pass the unmasked state to gdk_keymap_translate_keyboard_state()
        to handle the case where a modifier not in the mask
        (like Num_Lock) changes the key value, so replace
        the masked state with a state/mask pair. (#106913,
        Olivier Ripoll)

        * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass
        in state/mask pair to _gtk_key_hash_lookup()

21 years agofix a memory leak, free input context list (#113259).
Hidetoshi Tajima [Wed, 21 May 2003 04:59:13 +0000 (04:59 +0000)]
fix a memory leak, free input context list (#113259).

* modules/input/gtkimcontextxim.c (xim_info_display_closed):
fix a memory leak, free input context list (#113259).

21 years agoMake calendar controls spin. (#112540)
Matthias Clasen [Tue, 20 May 2003 22:37:57 +0000 (22:37 +0000)]
Make calendar controls spin. (#112540)

2003-05-21  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c: Make calendar controls spin.  (#112540)

21 years agoSilently accept a missing gtk.immodules file, some people want to run
Owen Taylor [Tue, 20 May 2003 21:30:21 +0000 (21:30 +0000)]
Silently accept a missing gtk.immodules file, some people want to run

Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmodule.c (gtk_im_module_init): Silently
        accept a missing gtk.immodules file, some people
        want to run without one. (#112406, patch from
        Arnaud Charlet)

21 years agoFix height/width confusion (#113370, Xan Lopez)
Owen Taylor [Tue, 20 May 2003 21:14:29 +0000 (21:14 +0000)]
Fix height/width confusion (#113370, Xan Lopez)

Tue May 20 17:05:31 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_compute_hints): Fix
        height/width confusion (#113370, Xan Lopez)

21 years agoComprehensively zero all unused parts of client messages (Mainly Motif DND
Owen Taylor [Tue, 20 May 2003 21:01:08 +0000 (21:01 +0000)]
Comprehensively zero all unused parts of client messages (Mainly Motif DND

Tue May 20 15:09:29 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
        zero all unused parts of client messages (Mainly Motif DND
        and EWMH). Also, fix a couple places where we were putting
        contents into Motif DND messages that didn't belong.
        (#113361, EWMH problem reported by Lubos Lunak)

        * gtk/gtkselection.c (_gtk_selection_request): Handle the
        case where the property type for the multiple atoms is
        ATOM_PAIR by doing the conversions ourselve. This is
        needed for Xt inter-operation.

21 years agoAdded Arabic translation
Arafat Medini [Tue, 20 May 2003 13:43:05 +0000 (13:43 +0000)]
Added Arabic translation

2003-05-19 Arafat Medini <lumina@silverpen.de>

* ar.po: Added Arabic translation

21 years agoImprove progressive loading from slow sources: (#107368)
Matthias Clasen [Mon, 19 May 2003 21:44:03 +0000 (21:44 +0000)]
Improve progressive loading from slow sources: (#107368)

2003-05-19  Matthias Clasen  <maclas@gmx.de>

Improve progressive loading from slow sources:  (#107368)

* io-gif-animation.c (gdk_pixbuf_gif_anim_get_iter): Initialize
first_loop_slowness.
(gdk_pixbuf_gif_anim_iter_advance): Don't wrap during loading if
the datasource falls behind the speed of the display.

* io-gif-animation.h: Add a loading flag to GdkPixbufGifAnim and
first_loop_slowness to GdkPixbufGifAnimIter.

21 years agoAdd docs.
Matthias Clasen [Mon, 19 May 2003 00:55:20 +0000 (00:55 +0000)]
Add docs.

2003-05-19  Matthias Clasen  <maclas@gmx.de>

* gtk/gtksettings.c (gtk_rc_property_parse_border,
gtk_rc_property_parse_color, gtk_rc_property_parse_enum,
gtk_rc_property_parse_flags, gtk_rc_property_parse_requisition):
Add docs.

21 years agoAdd docs.
Matthias Clasen [Mon, 19 May 2003 00:10:22 +0000 (00:10 +0000)]
Add docs.

2003-05-19  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
gtk_widget_class_install_style_property_parser): Add docs.