]> Pileus Git - ~andy/gtk/log
~andy/gtk
20 years agoThe mass commit
Sajith VK [Sat, 2 Aug 2003 12:48:03 +0000 (12:48 +0000)]
The mass commit

20 years agoAccept drops with the wrong format, since the KDE color chooser
Matthias Clasen [Sat, 2 Aug 2003 09:22:38 +0000 (09:22 +0000)]
Accept drops with the wrong format, since the KDE color chooser

2003-08-02  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcolorsel.c (color_sample_drop_handle)
(palette_drop_handle):
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  Accept drops with the
wrong format, since the KDE color chooser incorrectly drops application/x-color with
format 8.

20 years agoFix gdk/win32 window geometry handling again. The window position in a
Tor Lillqvist [Sat, 2 Aug 2003 02:05:12 +0000 (02:05 +0000)]
Fix gdk/win32 window geometry handling again. The window position in a

2003-08-02  Tor Lillqvist  <tml@iki.fi>

Fix gdk/win32 window geometry handling again. The window position
in a GDK_CONFIGURE event should be that of the client area, not of
the window decorations. (I was confused by the term "window
border" in X11. It does *not* mean the window manager
decorations. There are no X11-style window borders in Win32.)
Also, this time do take the geometry hints into account
appropriately when moving windows. Now testgtk's gravity test's
move buttons work OK. There are stil problems with taking gravity
into account when showing a hidden window.

* gdk/win32/gdkwindow-win32.h: Keep a whole GdkGeometry as hints
instead of separate fields.

* gdk/win32/gdkevents-win32.c (handle_configure_event): Don't
adjust for decorations.

* gdk/win32/gdkwindow-win32.c (get_outer_rect,
adjust_for_gravity_hints): New functions.
(gdk_window_move, gdk_window_resize, gdk_window_move_resize): Use
above functions, take geometry hints into account.
(gdk_window_set_geometry_hints): Size hints specicy client area,
not including decorations.

20 years agoAlways return an absolute path (#115590), fix a problem where you could
Owen Taylor [Fri, 1 Aug 2003 21:20:21 +0000 (21:20 +0000)]
Always return an absolute path (#115590), fix a problem where you could

Fri Aug  1 17:10:22 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (cmpl_completion_fullname): Always
        return an absolute path (#115590), fix a problem where
        you could crash the file selector with a looong name
        by returning a newly allocated buffer.

20 years agoFix obvious reallocation bug in rarely or never hit code path (#118071,
Owen Taylor [Fri, 1 Aug 2003 20:46:44 +0000 (20:46 +0000)]
Fix obvious reallocation bug in rarely or never hit code path (#118071,

Fri Aug  1 16:44:51 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (update_cmpl): Fix obvious reallocation
        bug in rarely or never hit code path (#118071,
        Tor Lillqvist)

20 years agoIf the check for missing depths, try actually creating pixmaps of the
Owen Taylor [Fri, 1 Aug 2003 20:37:56 +0000 (20:37 +0000)]
If the check for missing depths, try actually creating pixmaps of the

Fri Aug  1 16:30:13 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render):
        If the check for missing depths, try actually creating pixmaps
        of the depths to deal with Xinerama not reporting
        all the depths it should. (#115822)

20 years agoPatch from Denis Mikhalkin to forward KeyRelease events as well as
Owen Taylor [Fri, 1 Aug 2003 19:51:05 +0000 (19:51 +0000)]
Patch from Denis Mikhalkin to forward KeyRelease events as well as

Fri Aug  1 15:33:59 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtksocket.c: Patch from Denis Mikhalkin to
        forward KeyRelease events as well as KeyPress events.
        (#115597)

20 years agog_set_prgname("<unknown>") if argc is 0 as well, instead of leaving it
Owen Taylor [Fri, 1 Aug 2003 19:28:19 +0000 (19:28 +0000)]
g_set_prgname("<unknown>") if argc is 0 as well, instead of leaving it

Fri Aug  1 15:06:25 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk.c (gdk_parse_args): g_set_prgname("<unknown>")
        if argc is 0 as well, instead of leaving it unset.
        (#116023, Michael Meeks)

20 years agoAdded is translation (Not complete yet)
Richard Allen [Fri, 1 Aug 2003 15:25:49 +0000 (15:25 +0000)]
Added is translation (Not complete yet)

20 years agomake show_arrow default to TRUE; ignore the property when api_mode !=
Soeren Sandmann [Thu, 31 Jul 2003 20:49:48 +0000 (20:49 +0000)]
make show_arrow default to TRUE; ignore the property when api_mode !=

Thu Jul 31 23:09:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_class_init): make show_arrow
default to TRUE; ignore the property when api_mode != NEW_API

20 years agoRename parameter pixbuf to icon, to pacify gtk-doc.
Matthias Clasen [Thu, 31 Jul 2003 18:58:15 +0000 (18:58 +0000)]
Rename parameter pixbuf to icon, to pacify gtk-doc.

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

* gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf to icon, to
pacify gtk-doc.

20 years agoFix formatting of drag-motion example.
Matthias Clasen [Thu, 31 Jul 2003 18:47:39 +0000 (18:47 +0000)]
Fix formatting of drag-motion example.

20 years agoadd padding to subclasses of GtkToolItem
Soeren Sandmann [Thu, 31 Jul 2003 15:26:40 +0000 (15:26 +0000)]
add padding to subclasses of GtkToolItem

Thu Jul 31 15:33:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtk*tool*.h: add padding to subclasses of GtkToolItem

20 years agoremove unused overflow_item field.
Soeren Sandmann [Thu, 31 Jul 2003 13:09:29 +0000 (13:09 +0000)]
remove unused overflow_item field.

Thu Jul 31 15:29:28 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolitem.c (struct _GtkToolItemPrivate): remove unused
overflow_item field.

20 years agomake _gtk_tool_item_toolbar_reconfigured() an internal function
Soeren Sandmann [Wed, 30 Jul 2003 20:14:54 +0000 (20:14 +0000)]
make _gtk_tool_item_toolbar_reconfigured() an internal function

Wed Jul 30 21:11:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
an internal function

* gtk/gtktoolitem.h: remove unused declaration of
_gtk_tool_item_get_drag_window().

20 years agoswap icon_widget and label arguments to match BonoboUIToolbarButton.
Soeren Sandmann [Wed, 30 Jul 2003 18:35:08 +0000 (18:35 +0000)]
swap icon_widget and label arguments to match BonoboUIToolbarButton.

Wed Jul 30 17:03:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbutton.[ch]:
(gtk_tool_button_new): swap icon_widget and label arguments to
match BonoboUIToolbarButton.

* gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style().

20 years agoSome updates to the DND signal docs.
Matthias Clasen [Tue, 29 Jul 2003 23:42:27 +0000 (23:42 +0000)]
Some updates to the DND signal docs.

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

* gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND signal docs.

20 years agoFix for #108007, #112402, #117042: There was confusion in gdk/win32 at
Tor Lillqvist [Tue, 29 Jul 2003 23:35:40 +0000 (23:35 +0000)]
Fix for #108007, #112402, #117042: There was confusion in gdk/win32 at

2003-07-29  Tor Lillqvist  <tml@iki.fi>

Fix for #108007, #112402, #117042: There was confusion in
gdk/win32 at various places whether a window position refers to
the decoration position or the client area position. Also whether
window size includes decorations or not.

The correct interpretation apparently is that in GDK (like in
X11), a top-level window position means the decoration's position,
but size means the window's inner size (client area size). In the
Win32 API, the window size usually includes the decorations,
though.

* gdk/win32/gdkevents-win32.c (decode_key_lparam): Move inside
#ifdef G_ENABLE_DEBUG.
(handle_configure_event): New function, generates GDK_CONFIGURE
events from WM_SIZE and WM_MOVE messages. Even if no event is
generated because of the event mask, still set the private
position and size fields. Calculate position and size correctly.
(gdk_event_translate): Call handle_configure_event().

* gdk/win32/gdkgeometry-win32.c: Cosmetics.

* gdk/win32/gdkwindow-win32.c: Use GDI_CALL() and API_CALL()
macros. Cosmetic debugging output changes.
(SafeAdjustWindowRectEx): Remove. If an application wants to
locate a window outside of the screen, it's not GDK's business to
prevent it. And anyway, with multiple monitors, negative
coordinates are perfectly normal.
(gdk_window_new): Adjust the window size for decorations after
_gdk_window_init_position() has done its job. (But the big window
code currently is presumably broken on Win32 anyway.)
(gdk_window_move): The position passed in is supposed to be that
of the window border, so don't need to adjust for decorations.
(gdk_window_resize, gdk_window_move_resize): Simplify somewhat.

20 years agoMove documentation inline from template files.
Soeren Sandmann [Tue, 29 Jul 2003 12:16:02 +0000 (12:16 +0000)]
Move documentation inline from template files.

Tue Jul 29 13:55:44 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_set_style,
gtk_toolbar_prepend_element, gtk_toolbar_append_element,
gtk_toolbar_insert_space, gtk_toolbar_prepend_space,
gtk_toolbar_append_space, gtk_toolbar_insert_item,
gtk_toolbar_prepend_item, gtk_toolbar_append_item,
gtk_toolbar_set_tooltips, gtk_toolbar_set_orientation,
gtk_toolbar_new, gtk_toolbar_prepend_item):

Move documentation inline from template files.

* gtk/gtktoolbar.c (gtk_toolbar_insert_element,
gtk_toolbar_insert_widget, gtk_toolbar_prepend_widget,
gtk_toolbar_append_widget, gtk_toolbar_remove_space,
gtk_toolbar_insert_stock, gtk_toolbar_unset_icon_size,
gtk_toolbar_get_icon_size, gtk_toolbar_set_icon_size,
gtk_toolbar_get_tooltips, gtk_toolbar_unset_style,
gtk_toolbar_get_style, gtk_toolbar_get_orientation)

Copy documentation from stable that was added after the EggToolbar
branched.

* gtk/gtktoolbar.h: deprecate gtk_toolbar_unset_icon_size()

20 years agoResurrected documentation that got lost when the window parameter was
Sven Neumann [Tue, 29 Jul 2003 09:08:22 +0000 (09:08 +0000)]
Resurrected documentation that got lost when the window parameter was

2003-07-29  Sven Neumann  <sven@gimp.org>

* gdk/tmpl/pixmaps.sgml: Resurrected documentation that got lost
when the window parameter was renamed to drawable.

20 years agoCommit autogenerated changes, so patches will make sense.
Soeren Sandmann [Mon, 28 Jul 2003 16:08:20 +0000 (16:08 +0000)]
Commit autogenerated changes, so patches will make sense.

Mon Jul 28 18:21:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk+/docs/: Commit autogenerated changes, so patches will make
sense.

20 years agoUpdated ukrainian translation
Yuri Syrota [Mon, 28 Jul 2003 09:16:53 +0000 (09:16 +0000)]
Updated ukrainian translation

20 years agoOn Win9x, the keyboard state returned by GetKeyboardState() doesn't
Tor Lillqvist [Sun, 27 Jul 2003 21:58:44 +0000 (21:58 +0000)]
On Win9x, the keyboard state returned by GetKeyboardState() doesn't

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

* gdk/win32/gdkevents-win32.c (build_key_event_state): On Win9x,
the keyboard state returned by GetKeyboardState() doesn't
distinguish between the left and right Control and Alt keys. Thus
we cannot detect AltGr (which is supposed to be left Control +
right Alt) the same way as on NT-based systems, but have to accept
either Control + either Alt as AltGr.

20 years agoFix function name in warning message. (#118156, Tim-Philipp Müller)
Matthias Clasen [Sun, 27 Jul 2003 21:42:20 +0000 (21:42 +0000)]
Fix function name in warning message. (#118156, Tim-Philipp Müller)

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

* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): Fix function name in
warning message.  (#118156, Tim-Philipp Müller)

20 years agois-expander and is-expanded are boolean properties, not ints. (#118359,
Matthias Clasen [Sun, 27 Jul 2003 21:33:54 +0000 (21:33 +0000)]
is-expander and is-expanded are boolean properties, not ints. (#118359,

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

* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): is-expander and is-expanded are
boolean properties, not ints.  (#118359, Josh Parsons)

20 years agook
Sajith VK [Sun, 27 Jul 2003 11:19:14 +0000 (11:19 +0000)]
ok

20 years agodon't request toggle_space when the image width is 0.
Soeren Sandmann [Sat, 26 Jul 2003 13:22:42 +0000 (13:22 +0000)]
don't request toggle_space when the image width is 0.

Sat Jul 26 15:21:27 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkimagemenuitem.c
(gtk_image_menu_item_toggle_size_request): don't request
toggle_space when the image width is 0.

20 years agogdk/win32/gdkprivate-win32.h New flags _gdk_input_locale_is_ime and
Tor Lillqvist [Sat, 26 Jul 2003 01:54:59 +0000 (01:54 +0000)]
gdk/win32/gdkprivate-win32.h New flags _gdk_input_locale_is_ime and

2003-07-25  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c: New flags _gdk_input_locale_is_ime
and _gdk_keyboard_has_altgr.

* gdk/win32/gdkevents-win32.c: Lots of changes. Most important
ones detailled here.

Code that has been ifdeffed out for a long time removed. Remove
some really old doc comments that were left behind for some public
functions, the official ones are in the X11 backend anyway. Change
GDK_WINDOW_OBJECT() calls to GdkWindowObject casts. Reformat
multi-line boolean expressions to have the operators at ends of
lines.

As mouse capture with SetCapture() indeed seems to work OK, no
need to have the correspoinding macro USE_SETCAPTURE and ifdefs.

Ifdef out the gdk-ping-msg stuff. I don't remember why it was
needed at some time, and things seem to work fine now without
(knock on wood).

Ifdef out the search for some Latin locale keyboard layout being
loaded. Not used currently, but might be needed after all, if we
decide that we want to be able to generate ASCII control character
events with a non-Latin keyboard.

(assign_object): New helper function, handles the g_object_ref()
and unref() calls when assigning GObject pointers.

(generate_crossing_events): Also generate the GDK_NOTIFY_INTERIOR
enter event when the pointer has moved to an ancestor window. Was
left out by mistake.

(gdk_window_is_ancestor): Renamed from gdk_window_is_child().

(gdk_pointer_grab, gdk_pointer_ungrab): Implement the confine_to
functionality, using ClipCursor().

(find_window_for_mouse_event): Splice part of code into new
function find_real_window_for_grabbed_mouse_event().

(fixup_event, append_event, apply_filters): New functions, code
refactored out from elsewhere.

(synthesize_enter_or_leave_event, synthesize_leave_event,
synthesize_enter_event,
synthesize_leave_events,synthesize_enter_events): Also take a
GdkCrossingMode parameter, in preparation to generating
GDK_CROSSING_GRAB and GDK_CROSSING_UNGRAB events.

(fixup_event, append_event, fill_key_event_string): New functions,
code refactoring.

(vk_from_char, build_keypress_event, build_keyrelease_event):
Removed as part of dropping WM_CHAR handling.

(build_key_event_state,gdk_event_translate): Call
GetKeyboardState(), once, for each keyboard message, instead of
several calls to GetKeyState() here and there.

(gdk_event_translate): Fix bugs #104516, #104662, #115902. While
at it, do some major refactoring, and some fixes for potential
problems noticed while going through the code.

Don't handle WM_CHAR at all. Only handle WM_KEYDOWN and
WM_KEYUP. Don't need the state variables related to whether to
wait for WM_CHAR or not, and whether the current key is
AltGr. Remove lots of complexity. Thus don't need the
use_ime_composition flag.

Not handling WM_CHAR means dead key handling will have to be taken
care of by GTK, but that seems to work fine, so no worry.

Another side-effect is that Alt+keypad digits don't work any
longer, but it's better to learn to use GTK's ISO14755 support is
anyway.

Be more careful in checking whether AltGr is involved. Only
attempt to handle it if the keyboard actually has it. And
explicitly check for *left* Control plus *right* Alt being
pressed. Still, allow (left) Alt and/or (right) Control with AltGr
chars.

Handle keys using similar code as in the X11 backend. As we have
built a keymap in gdkkeys-win32.c anyway, use it by calling
gdk_keymap_translate_keyboard_state() to look up the keysym from
the virtual key code and keyboard state. Build the key event
string in exactly the same way as the X11 backend.

If an IME is being used, don't generate GDK events for keys
between receiving WM_IME_STARTCOMPOSITION and
WM_IME_ENDCOMPOSITION, as those keys are for the IME.

For WM_IME_COMPOSITION, handle all the Unicode chars returned from
the IME, not just the first one.

gdk_event_translate() is still quite complex, could split the
message handler cases out into separate functions.

On mouse events, when the mouse is grabbed, use
find_real_window_for_grabbed_mouse_event() in order to be able to
generate correct crossing events.

No longer take a pre-allocated GdkEvent as parameter. Instead,
allocate events as needed and append them to the queue. (This is
different from how gdk_event_translate() in the X11 backend
works.) This change made the code much clearer, especially in the
cases where we have to generate several GDK events for one Windows
message.  Return FALSE if DefWindowProc() should be called, TRUE
if not. If DefWindowProc() should not be called, also return the
value to be returned from the window procedure.

(Previously, the interaction with gdk_event_translate()'s caller
was much more complex, when we had to indicate whether the
already-queued event should be left in the queue or removed, and
in addition also had to indicate whether to call DefWindowProc()
or not, and what value to return from the window procedure if
not.)

Don't use a separate "private" variable required to be pointing to
the GdkWindowObject of the "window" variable at all times. Just
use casts, even if looks a bit uglier.

Notice destroyed windows as early as possible, and break out of
the messsage switch.

Use _gdk_pointer_root as current_window when the pointer is
outside GDK's top-level windows.

On WM_INPUTLANGCHANGE, set _gdk_input_locale_is_ime as
appropriate, based on ImmIsIME().

(gdk_event_translate, gdk_event_send_client_message_for_display,
gdk_screen_broadcast_client_message): Implement client messages.
Use a registered Windows message to pass GDK client messages. Note
that the amount of user data is restricted to four bytes, as it is
carried in the LPARAM. (The WPARAM is used for the message type
"atom".)

(real_window_procedure): Adapt for new gdk_event_translate()
interface.

* gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Set
_gdk_input_locale_is_ime initially.

* gdk/win32/gdkwindow-win32.c: Use g_object_ref()/unref() instead
of g_colormap_ref()/unref().

(gdk_window_new): Made code a bit more like the X11 one, pretend
to handle screens (although we just have one for now).

* gdk/x11/gdkevents-x11.c
(gdk_event_send_client_message_for_display,
gdk_screen_broadcast_client_message): Document the user data
limitation on Win32.

* gdk/win32/gdkevents-win32.c (print_event): More complete enter
and leave notify detail output.

* gdk/win32/gdkkeys-win32.c (update_keymap): Make dead keys
visible to GDK and GTK. Store the corresponding GDK_dead_* keysym
for those, so that the GtkIMContextCimple compose tables will
work. Deduce if the keyboard layout has the AltGr key, and set the
above flag accordingly.

20 years agoDocument DND signals.
Matthias Clasen [Fri, 25 Jul 2003 23:34:37 +0000 (23:34 +0000)]
Document DND signals.

20 years agoUpdated Ukrainian translation
Yuri Syrota [Fri, 25 Jul 2003 18:58:24 +0000 (18:58 +0000)]
Updated Ukrainian translation

20 years agoMake the "Input Methods" insensitive when editing isn't possible.
Matthias Clasen [Thu, 24 Jul 2003 18:50:38 +0000 (18:50 +0000)]
Make the "Input Methods" insensitive when editing isn't possible.

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

* gtk/gtktextview.c (popup_targets_received): Make the "Input Methods" insensitive
when editing isn't possible.  (#118150)

20 years agoDon't use deprecated gdk-pixbuf code.
Frédéric Crozat [Thu, 24 Jul 2003 13:12:23 +0000 (13:12 +0000)]
Don't use deprecated gdk-pixbuf code.

        * libegg/iconlist/eggiconlist.c: (egg_icon_list_paint_item):
        Don't use deprecated gdk-pixbuf code.

20 years agoPreserve the aspect ratio. (#118145, Owen Taylor)
Matthias Clasen [Wed, 23 Jul 2003 22:55:34 +0000 (22:55 +0000)]
Preserve the aspect ratio. (#118145, Owen Taylor)

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

* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): Preserve the aspect ratio.  (#118145,
Owen Taylor)

20 years agoReturn parent path for dummy paths.
Owen Taylor [Wed, 23 Jul 2003 22:45:01 +0000 (22:45 +0000)]
Return parent path for dummy paths.

Wed Jul 23 18:43:20 2003  Owen Taylor  <otaylor@redhat.com>

        * gtkfilesystemmodel.c (_gtk_file_system_model_get_path):
        Return parent path for dummy paths.

20 years agoMove ChangeLog entry here
Owen Taylor [Wed, 23 Jul 2003 22:30:52 +0000 (22:30 +0000)]
Move ChangeLog entry here

20 years agoAdd over-big test case for preview (much of size from a modified copy of
Owen Taylor [Wed, 23 Jul 2003 22:30:32 +0000 (22:30 +0000)]
Add over-big test case for preview (much of size from a modified copy of

Wed Jul 23 17:52:01 2003  Owen Taylor  <otaylor@redhat.com>

        * testfilechooser.c: Add over-big test case for preview
        (much of size from a modified copy of
        gdk_pixbuf_new_from_file_at_size())

        * gtkfilechooserutils.[ch] gtkfilechooser.c
        gtkfilechooserprivate.h gtkfilechooserimpldefault.c:
        Add get_preview_path() as a virtual function; implement
        update-preview signal that was in the header file.

        * gtkfilechooserimpldefault.c: Finish a simple preview
        widget implementation.

20 years agoClose loader before unref'ing it. (#118146, Owen Taylor)
Matthias Clasen [Wed, 23 Jul 2003 21:39:11 +0000 (21:39 +0000)]
Close loader before unref'ing it. (#118146, Owen Taylor)

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

* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): Close loader before unref'ing
it.  (#118146, Owen Taylor)

20 years agoMake the hue spinbutton wrap. (#118097, John Darrington)
Matthias Clasen [Wed, 23 Jul 2003 21:00:15 +0000 (21:00 +0000)]
Make the hue spinbutton wrap. (#118097, John Darrington)

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

* gtk/gtkcolorsel.c (gtk_color_selection_init): Make the hue
spinbutton wrap.  (#118097, John Darrington)

20 years agoMention Xnest as a way to debug GTK+ apps.
Matthias Clasen [Wed, 23 Jul 2003 18:58:48 +0000 (18:58 +0000)]
Mention Xnest as a way to debug GTK+ apps.

* docs/faq/gtk-faq.sgml: Mention Xnest as a way to debug GTK+ apps.

20 years agoFile filter objects.
Owen Taylor [Wed, 23 Jul 2003 15:31:10 +0000 (15:31 +0000)]
File filter objects.

Wed Jul 23 11:23:43 2003  Owen Taylor  <otaylor@redhat.com>

        * gtkfilefilter.[ch]: File filter objects.

        * gtkfilechooser.[ch] gtkfilechooserutils.[ch]: Add
        file filtering to API.

        * gtkfilechooserimpldefault.c: Implement file filters.

        * testfilechooser.c: Try out the filter functionality.

        * gtkfilesystemmodel.c: Add
        _gtk_file_system_model_set_filter() to set a callback
        function for filtering.

        * gtkfilechooserutils.c: Propagate property notification
        to the receiver.

        * fnmatch.c: Copy this from GTK+ temporarily to get
        UTF-8 pattern matching functionality.

20 years agouse XDG_DATA_HOME instead of XDG_CONFIG_HOME.
Jonathan Blandford [Tue, 22 Jul 2003 19:39:10 +0000 (19:39 +0000)]
use XDG_DATA_HOME instead of XDG_CONFIG_HOME.

        * xdgmime/xdgmime.c (xdg_mime_init): use XDG_DATA_HOME instead of
        XDG_CONFIG_HOME.

20 years agoIt is GTK_DEST_DEFAULT_DROP, not GTK_DRAG_DEFAULT_DROP. (#117917,
Matthias Clasen [Mon, 21 Jul 2003 21:37:32 +0000 (21:37 +0000)]
It is GTK_DEST_DEFAULT_DROP, not GTK_DRAG_DEFAULT_DROP. (#117917,

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

* gtk/tmpl/gtkdnd.sgml: It is GTK_DEST_DEFAULT_DROP, not GTK_DRAG_DEFAULT_DROP. (#117917,
Tim-Philipp Müller)

20 years ago readded as binary
Hans Breuer [Sun, 20 Jul 2003 15:50:55 +0000 (15:50 +0000)]
readded as binary

20 years agonew file to build it all ... added to EXTRA_DIST
Hans Breuer [Sun, 20 Jul 2003 15:50:14 +0000 (15:50 +0000)]
new file to build it all ... added to EXTRA_DIST

2003-07-20  Hans Breuer  <hans@breuer.org>

* makefile.msc : new file to build it all
* Makefile.am : ... added to EXTRA_DIST

* gdk/makefile.msc gtk/stock-icons/makefile.msc
  gtk/makefile.msc.in tests/makefile.msc : updated

* gdk/gdk.def gtk/gtk.def : export a bunch of new
functions

* gtk/gtkbbox.c : use g_return_val_if_fail() if
there is a value to return

* gtk/gtkfontsel.c gtk/gtkiconfactory.c :
static correctness

* gtk/gtkicontheme.c : ported to use GTimeVal instead of
struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR

* gtk/gtkicontheme.c : use HAVE_LC_MESSAGES

* gtk/gtkimmulticontext.c : use gtkprivate.h

* gtk/stock-icons/stock_color_picker_25.png
  gtk/stock-icons/stock_jump_to_rtl_16.png
  gtk/stock-icons/stock_jump_to_rtl_24.png
  gtk/stock-icons/stock_redo_rtl_16.png
  gtk/stock-icons/stock_redo_rtl_24.png
  gtk/stock-icons/stock_undelete_rtl_16.png
  gtk/stock-icons/stock_undelete_rtl_24.png
  gtk/stock-icons/stock_undo_rtl_16.png :
  gtk/stock-icons/stock_undo_rtl_24.png :
readded as binary

20 years agoremoved to re-add as binary
Hans Breuer [Sun, 20 Jul 2003 15:46:16 +0000 (15:46 +0000)]
removed to re-add as binary

20 years agoupdated
Hans Breuer [Sun, 20 Jul 2003 15:43:41 +0000 (15:43 +0000)]
updated

2003-03-01  Hans Breuer  <hans@breuer.org>

* makefile.msc : updated

* gdk_pixbuf.def : export a bunch of new functions

20 years agoremove leftover request of {xy}thickness
Soeren Sandmann [Sat, 19 Jul 2003 20:24:33 +0000 (20:24 +0000)]
remove leftover request of {xy}thickness

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

* gtk/gtktoolitem.c (gtk_tool_item_size_request): remove
leftover request of {xy}thickness

20 years agodon't attempt to add a NULL icon to the box.
Soeren Sandmann [Sat, 19 Jul 2003 14:10:48 +0000 (14:10 +0000)]
don't attempt to add a NULL icon to the box.

Sat Jul 19 16:26:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
attempt to add a NULL icon to the box.

20 years agoonly redraw tabs on focus in/out.
Soeren Sandmann [Sat, 19 Jul 2003 09:54:30 +0000 (09:54 +0000)]
only redraw tabs on focus in/out.

Sat Jul 19 12:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
on focus in/out.

20 years agoAdd authentication icon.
Matthias Clasen [Fri, 18 Jul 2003 23:43:26 +0000 (23:43 +0000)]
Add authentication icon.

20 years agoNew function. (#64562)
Matthias Clasen [Fri, 18 Jul 2003 23:08:51 +0000 (23:08 +0000)]
New function. (#64562)

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

* gtk/gtkbbox.h:
* gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)

20 years agoFix C99 declaration
Soeren Sandmann [Fri, 18 Jul 2003 22:12:51 +0000 (22:12 +0000)]
Fix C99 declaration

Sat Jul 19 00:18:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99
declaration

* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function
(gtk_widget_real_focus_{in|out}_event): queue shallow draws
instead of full draws.

20 years agoAdd properties decorated and gravity. (#80234)
Matthias Clasen [Fri, 18 Jul 2003 22:00:20 +0000 (22:00 +0000)]
Add properties decorated and gravity. (#80234)

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

* gtk/gtkwindow.c: Add properties decorated and gravity.  (#80234)

20 years agoAdd a new keybinding signal, move_viewport. (gtk_text_view_move_viewport):
Matthias Clasen [Fri, 18 Jul 2003 18:52:03 +0000 (18:52 +0000)]
Add a new keybinding signal, move_viewport. (gtk_text_view_move_viewport):

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

* gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport.
(gtk_text_view_move_viewport): New function which implements the move_viewport functionality.
(gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669)

* gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument.

* gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property.  (#111779)

* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_set_default_icon): New method.  (#95816)

* gtk/gtkmessagedialog.h:
* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.
(#65501, Sebastian Rittau)

20 years agouse gtk_widget_queue_resize_noredraw().
Soeren Sandmann [Fri, 18 Jul 2003 17:53:01 +0000 (17:53 +0000)]
use gtk_widget_queue_resize_noredraw().

Fri Jul 18 20:06:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktextview.c (changed_handler): use
gtk_widget_queue_resize_noredraw().

20 years agofix cut-n-paste-o
Jody Goldberg [Fri, 18 Jul 2003 17:42:17 +0000 (17:42 +0000)]
fix cut-n-paste-o

2003-07-16  Jody Goldberg <jody@gnome.org>

* gdk/x11/gdkwindow-x11.c (gdk_window_focus) : fix cut-n-paste-o

20 years agoAdd this API.
Soeren Sandmann [Fri, 18 Jul 2003 17:37:15 +0000 (17:37 +0000)]
Add this API.

Fri Jul 18 19:55:50 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
API.

20 years agoBy popular request give toolbuttons a border.
Soeren Sandmann [Fri, 18 Jul 2003 16:25:31 +0000 (16:25 +0000)]
By popular request give toolbuttons a border.

Fri Jul 18 18:43:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

By popular request give toolbuttons a border.

* gtk/gtktoolitem.c
(gtk_tool_item_size_allocate):
(gtk_tool_item_size_request): don't request and allocate a border
around the child

* gtk/gtktoolbutton.c
(gtk_tool_button_size_allocate):
(gtk_tool_button_size_request): remove these functions

* gtk/gtktoolbar.c
(gtk_toolbar_size_request):
(gtk_toolbar_size_allocate): request and allocate a border if we
have a shadow.

20 years agoAdd stresstest-toolbar
Anders Carlsson [Fri, 18 Jul 2003 07:50:54 +0000 (07:50 +0000)]
Add stresstest-toolbar

20 years agoSplit correction into multiple pieces if no single weight is large enough
Matthias Clasen [Thu, 17 Jul 2003 22:47:10 +0000 (22:47 +0000)]
Split correction into multiple pieces if no single weight is large enough

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

* pixops/pixops.c (correct_total): Split correction into multiple pieces if no single weight is large
enough to apply the unsplit correction.  (#117431, problem reported by Tomas Ögren)

20 years agoMerged from stable.
Kristian Rietveld [Thu, 17 Jul 2003 17:32:00 +0000 (17:32 +0000)]
Merged from stable.

Thu Jul 17 19:24:51 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

Fixes issues pointed out by Morten Welinder in #115140.

* gtk/gtktreeview.c (gtk_tree_view_size_request): fix comment,
(do_validate_rows): update validated_area with a logic OR instead
of a bitwise OR,
(validate_rows_handler): make the if statement match the one in
validate_rows(), so we don't leak the timeout.

20 years agoMerged from stable.
Kristian Rietveld [Thu, 17 Jul 2003 17:15:48 +0000 (17:15 +0000)]
Merged from stable.

Thu Jul 17 19:12:02 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
should only grab focus back if the "cell_editable" widget still
has focus. (Fixes #110104, testcase provided by Marco Pesenti
Gritti).

20 years agoMerged from stable.
Kristian Rietveld [Thu, 17 Jul 2003 17:09:57 +0000 (17:09 +0000)]
Merged from stable.

Thu Jul 17 19:06:34 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
Don't set attr.event_mask twice, those things were meant to be
ORred. (#115139, pointed out by Morten Welinder).

20 years agoMerged from stable.
Kristian Rietveld [Thu, 17 Jul 2003 14:15:03 +0000 (14:15 +0000)]
Merged from stable.

Thu Jul 17 16:11:21 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_rows_reordered): stop editing
if needed. (Fixes #115869, reported by Michael Natterer).

20 years agoauto-ize.
Owen Taylor [Wed, 16 Jul 2003 21:16:39 +0000 (21:16 +0000)]
auto-ize.

Wed Jul 16 16:50:31 2003  Owen Taylor  <otaylor@redhat.com>

        * configure.ac Makefile.am: auto-ize.

        * xdgmime/: Add freedesktop.org MIME spec implementatin
        by Jonathan Blandford.

        * gtkfilesystem.[ch]: Add gtk_file_info_render_icon()
        gtk_file_info_set/get_icon_type to do icon handling
        based on MIME type. Add a simple icon caching system.

        * gtkfilesystemgnomevfs.c: Implement ensure_types()
        so that extending the set of types for a loaded
        directory works. Set the MIME type to get the default
        icon handling.

        * gtkfilesystemunix.c: Look up the MIME type using
        xdgmime.

        * gtkfilechooserimpldefault.c: Display icons in the list.

        * glib-interface-properties-0.3.patch: New revision
        of interface properties patch.

20 years agoauto-ize.
Owen Taylor [Wed, 16 Jul 2003 21:07:38 +0000 (21:07 +0000)]
auto-ize.

Wed Jul 16 16:50:31 2003  Owen Taylor  <otaylor@redhat.com>

        * configure.ac Makefile.am: auto-ize.

        * xdgmime/: Add freedesktop.org MIME spec implementatin
        by Jonathan Blandford.

        * gtkfilesystem.[ch]: Add gtk_file_info_render_icon()
        gtk_file_info_set/get_icon_type to do icon handling
        based on MIME type. Add a simple icon caching system.

        * gtkfilesystemgnomevfs.c: Implement ensure_types()
        so that extending the set of types for a loaded
        directory works. Set the MIME type to get the default
        icon handling.

        * gtkfilesystemunix.c: Look up the MIME type using
        xdgmime.

        * gtkfilechooserimpldefault.c: Display icons in the list.

20 years agomake pixbuf_cache static to avoid possible symbol conflicts.
Mark McLoughlin [Tue, 15 Jul 2003 11:40:19 +0000 (11:40 +0000)]
make pixbuf_cache static to avoid possible symbol conflicts.

2003-07-15  Mark McLoughlin  <mark@skynet.ie>

        * pixbuf-render.c: make pixbuf_cache static to avoid
        possible symbol conflicts.

20 years agoNew templates.
Matthias Clasen [Mon, 14 Jul 2003 23:09:32 +0000 (23:09 +0000)]
New templates.

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

* gtk/tmpl/gtkseparatortoolitem.sgml:
* gtk/tmpl/gtkradiotoolbutton.sgml:
* gtk/tmpl/gtktoggletoolbutton.sgml: New templates.

* gtk/gtk-docs.sgml: Include gtkseparatortoolitem.xml, gtkradiotoolbutton.xml and
gtktoggletoolbutton.xml.

* gtk/gtk.types: Add gtk_separator_tool_item_get_type, gtk_radio_tool_button_get_type and
gtk_toggle_tool_button_get_type.

* gtk/gtk-sections.txt: Add GtkSeparatorToolItem, GtkRadioToolButton and GtkToggleToolButton
sections.

20 years agoAPI doc updates.
Matthias Clasen [Mon, 14 Jul 2003 22:13:33 +0000 (22:13 +0000)]
API doc updates.

20 years agoAdd gtk_tool_button_get_type and gtk_tool_item_get_type.
Matthias Clasen [Sun, 13 Jul 2003 20:51:14 +0000 (20:51 +0000)]
Add gtk_tool_button_get_type and gtk_tool_item_get_type.

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

* gtk/gtk.types: Add gtk_tool_button_get_type and gtk_tool_item_get_type.

* gtk/tmpl/gtktoolbutton.sgml:
* gtk/tmpl/gtktoolitem.sgml:
* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt: Add new toolbar api.

* gtk/tmpl/gtkdnd.sgml: Remove docs for gtk_drag_begin(), which are now inline.

20 years agoRename parameter target_list back to targets, to pacify gtk-doc.
Matthias Clasen [Sun, 13 Jul 2003 20:50:24 +0000 (20:50 +0000)]
Rename parameter target_list back to targets, to pacify gtk-doc.

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

* gtk/gtkdnd.c (gtk_drag_begin): Rename parameter target_list back to targets, to pacify gtk-doc.

20 years agoNew function to load an image from a file at a specified size. (#105326,
Matthias Clasen [Sun, 13 Jul 2003 19:43:09 +0000 (19:43 +0000)]
New function to load an image from a file at a specified size. (#105326,

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

* gdk-pixbuf.h:
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): New function to load an image from a file at a
specified size.  (#105326, Dom Lachowicz)

20 years agoFix leaks of label_text, label_widget and icon_widget. (#117312, Christian
Soeren Sandmann [Sun, 13 Jul 2003 19:29:54 +0000 (19:29 +0000)]
Fix leaks of label_text, label_widget and icon_widget. (#117312, Christian

Sun Jul 13 15:57:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbutton.c (gtk_tool_button_finalize): Fix leaks of
label_text, label_widget and icon_widget. (#117312,
Christian Persch)

20 years agoRevert accidentally committed changes.
Søren Sandmann Pedersen [Sun, 13 Jul 2003 02:42:40 +0000 (02:42 +0000)]
Revert accidentally committed changes.

20 years agoBroken pipe
Søren Sandmann Pedersen [Sun, 13 Jul 2003 02:33:25 +0000 (02:33 +0000)]
Broken pipe

20 years agonew properties "horizontal-offset" and "vertical-offset" that determines
Soeren Sandmann [Sat, 12 Jul 2003 23:25:14 +0000 (23:25 +0000)]
new properties "horizontal-offset" and "vertical-offset" that determines

Sun Jul 13 01:37:51 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c (gtk_menu_class_init): new properties
"horizontal-offset" and "vertical-offset" that determines the
position of the menu when it is a submenu.

* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): position
submenus according to new vertical- and horizontal-offset
properties.

20 years agoMerged from stable.
Kristian Rietveld [Sat, 12 Jul 2003 14:25:32 +0000 (14:25 +0000)]
Merged from stable.

Sat Jul 12 16:16:04 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_drag_data_received): special
case drags to "0", scroll to the top after dropping. (Fixes #94968,
reported by Alp Toker).

20 years agoMerged from stable.
Kristian Rietveld [Sat, 12 Jul 2003 14:10:31 +0000 (14:10 +0000)]
Merged from stable.

Sat Jul 12 16:08:32 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* demos/gtk-demo/editable_cells.c (cell_edited): fixup bad
code (#115784, Owen Taylor).

20 years agoMerged from stable.
Kristian Rietveld [Sat, 12 Jul 2003 14:04:42 +0000 (14:04 +0000)]
Merged from stable.

Sat Jul 12 16:01:03 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
free the old text and extra_attrs *after* we parsed the new
markup string. (Fixes #114485, reported by Owen Taylor).

20 years agoMerged from stable.
Kristian Rietveld [Sat, 12 Jul 2003 13:58:13 +0000 (13:58 +0000)]
Merged from stable.

Sat Jul 12 15:51:33 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

Fixes #113904, testcase provided by Rene Seindal.

* gtk/gtktreeview.c (gtk_tree_view_button_press): set
pressed_button to -1 when a row has been activated,
(gtk_tree_view_motion_bin_window): only start a drag if there's
a button being pressed.

20 years agoMerged from stable.
Kristian Rietveld [Sat, 12 Jul 2003 13:44:31 +0000 (13:44 +0000)]
Merged from stable.

Sat Jul 12 15:51:18 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): use
gdk_window_get_pointer instead of gdk_display_get_window_at_pointer
to avoid a roundtrip (#110272, Owen Taylor).

20 years agoMerged from stable.
Kristian Rietveld [Sat, 12 Jul 2003 13:32:00 +0000 (13:32 +0000)]
Merged from stable.

Sat Jul 12 15:28:26 2003  Kristian Rietveld  <kris@gtk.org>

Merged from stable.

This patch really really fixes scrolling. Related bugs: #81627,
testcase provided by Timo Sirainen, #111500, testcase provided by
manu, #113241, reported by Pedro Gimeno/Michael Natterer.

*  gtk/gtktreeview.c (validate_visible_area): scrolling to a dy
which is equal to the lower border of the window means scrolling
to an invisible row, always update the dy when scrolling to an
invisible row, corrected area_above/below calculations for
invisible rows, when walking the tree correct the size
subtracted for invalidated rows, fix wrong logic in comment.

20 years agoUse g_strfreev() to free mime_types. (#117219, Steve Chaplin)
Matthias Clasen [Fri, 11 Jul 2003 20:36:25 +0000 (20:36 +0000)]
Use g_strfreev() to free mime_types. (#117219, Steve Chaplin)

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

* gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types.
(#117219, Steve Chaplin)

* queryloaders.c (query_module): Handle absolute filenames properly. (#117170, Jens Elkner)

* gdk-pixbuf-io.c: Mention that NULL-terminated arrays returned by
gdk_pixbuf_format_get_mime_types() and gdk_pixbuf_format_get_extensions() must be
freed with g_strfreev().

20 years agogdk/x11/gdkevents-x11.c (get_real_window) gdk/x11/gdkinput-x11.c
Owen Taylor [Fri, 11 Jul 2003 19:57:01 +0000 (19:57 +0000)]
gdk/x11/gdkevents-x11.c (get_real_window) gdk/x11/gdkinput-x11.c

Tue Jul  8 20:11:04 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (get_real_window)
        gdk/x11/gdkinput-x11.c (_gdk_input_common_init)
        gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init)
        gdk/x11/gdkprivate-x11.h (_gdk_windowing_image_init)
        Don't assume that all events start with XEventAny - Xkb events
        don't! (#105745). So, only do that for core events, and for
        non-core events, add a system for registering event types
        that start with XEventAny.

        * gdk/x11/gdkevents-x11.c (gdk_event_translate):
        Check to see if the result of gdk_window_lookup_for_display()
        is actually a window.

20 years agoAdd gtk_file_chooser_set_current_name() to set the current entry contents.
Owen Taylor [Fri, 11 Jul 2003 19:18:36 +0000 (19:18 +0000)]
Add gtk_file_chooser_set_current_name() to set the current entry contents.

Fri Jul 11 14:37:07 2003  Owen Taylor  <otaylor@redhat.com>

        * gtkfilechooser.[ch] gtkfilechooserprivate.h
        gtkfilechooserimpldefault.c: Add
        gtk_file_chooser_set_current_name() to set the current
        entry contents.

        * *.c: Consistently use '-' not '_' in property names and
        signal names.

        * gtkfilechooser.c: Document all exported functions.

20 years agomake the path != NULL check a silent assert, so it follows the g_free()
Kristian Rietveld [Fri, 11 Jul 2003 19:00:25 +0000 (19:00 +0000)]
make the path != NULL check a silent assert, so it follows the g_free()

Fri Jul 11 20:48:14 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
check a silent assert, so it follows the g_free() behaviour.

20 years agoAdd gtkcolorbutton.c and gtkfontbutton.c.
Matthias Clasen [Fri, 11 Jul 2003 18:40:21 +0000 (18:40 +0000)]
Add gtkcolorbutton.c and gtkfontbutton.c.

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

* POTFILES.in: Add gtkcolorbutton.c and gtkfontbutton.c.

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

* gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents
vertically.  (#109823, Joe Shaw)

20 years agoFix memory access error. (#69436)
Morten Welinder [Fri, 11 Jul 2003 17:32:49 +0000 (17:32 +0000)]
Fix memory access error. (#69436)

2003-07-11  Morten Welinder  <terra@gnome.org>

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error.  (#69436)

20 years ago(And of course it just had to go wrong. I forgot to commit ChangeLog)
Kristian Rietveld [Fri, 11 Jul 2003 12:52:51 +0000 (12:52 +0000)]
(And of course it just had to go wrong. I forgot to commit ChangeLog)

20 years agoLanding GtkTreeModelFilter and the completion code. (Test program and
Kristian Rietveld [Fri, 11 Jul 2003 12:51:24 +0000 (12:51 +0000)]
Landing GtkTreeModelFilter and the completion code. (Test program and

Fri Jul 11 14:32:43 2003  Kristian Rietveld  <kris@gtk.org>

Landing GtkTreeModelFilter and the completion code. (Test program
and documentation will follow next week).

* gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch],
gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files.

* gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote
necessary code to hook up completion.

* gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new
GtkCellLayout interface.

* gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED.

* gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new
source files.

20 years agoMerge from stable.
Kristian Rietveld [Wed, 9 Jul 2003 18:00:21 +0000 (18:00 +0000)]
Merge from stable.

Wed Jul  9 19:48:26 2003  Kristian Rietveld  <kris@gtk.org>

Merge from stable.

* gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): don't
directly return from ->window_at_pointer, but set win_x and win_y
first if needed. (Fixes #110166, reported by Arno Charlet).

* gdk/gdkwindow.c (gdk_window_get_composite_drawable): change
function to accept GdkDrawables and not just GdkWindows. This was
already done in some other functions a while back, but this patch
got lost for some reason.

20 years agodear cvs, please SHUT UP love, -kris
Kristian Rietveld [Wed, 9 Jul 2003 17:57:51 +0000 (17:57 +0000)]
dear cvs, please SHUT UP love, -kris

dear cvs,
  please SHUT UP
love,
  -kris

20 years agoConsider the text direction when sorting children. (#116540, Soeren
Matthias Clasen [Tue, 8 Jul 2003 22:49:35 +0000 (22:49 +0000)]
Consider the text direction when sorting children. (#116540, Soeren

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

* gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text direction
when sorting children.  (#116540, Soeren Sandmann)

20 years agoChange _gdk_x11_send_xevent_async() to
Owen Taylor [Tue, 8 Jul 2003 22:27:47 +0000 (22:27 +0000)]
Change _gdk_x11_send_xevent_async() to

Tue Jul  8 17:36:21 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkasync.[ch] gdk/gdkdnd-x11.c:
        Change _gdk_x11_send_xevent_async() to
        _gdk_x11_send_client_message_async() avoid using Xlib
        internals that are different on Solaris.
        (#116917, Morten Welinder)

20 years agoFix the example. (#116575)
Matthias Clasen [Tue, 8 Jul 2003 21:51:44 +0000 (21:51 +0000)]
Fix the example. (#116575)

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

* gtk/tmpl/gtkfilesel.sgml: Fix the example.  (#116575)

20 years agoDoc addition. (#116501, Doug Quale)
Matthias Clasen [Tue, 8 Jul 2003 21:31:09 +0000 (21:31 +0000)]
Doc addition. (#116501, Doug Quale)

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

* gtk/gtkcontainer.c (gtk_container_remove): Doc addition. (#116501, Doug Quale)

20 years agoremove strange #define fix cut'n'paste error use instance private data use
Soeren Sandmann [Tue, 8 Jul 2003 20:28:24 +0000 (20:28 +0000)]
remove strange #define fix cut'n'paste error use instance private data use

Tue Jul  8 21:35:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoggletoolbutton.h: remove strange #define
* gtk/gtktoolbutton.h: fix cut'n'paste error
* gtk/gtktoolbutton.c (gtk_tool_button_init): use instance
private data
* gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance
private data instead of g_new0()
* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use
instance private data

20 years agoremove GDK_EXPOSURE_MASK for INPUT_ONLY window same same same same
Soeren Sandmann [Tue, 8 Jul 2003 18:59:16 +0000 (18:59 +0000)]
remove GDK_EXPOSURE_MASK for INPUT_ONLY window same same same same

Tue Jul  8 21:10:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
for INPUT_ONLY window
* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
* gtk/gtknotebook.c (gtk_notebook_realize): same
* gtk/gtkexpander.c (gtk_expander_realize): same
* gtk/gtkrange.c (gtk_range_realize): same

Fix #116303

20 years agoremove correction on x when detail is "menuitem". With the new menu look
Soeren Sandmann [Tue, 8 Jul 2003 18:20:45 +0000 (18:20 +0000)]
remove correction on x when detail is "menuitem". With the new menu look

Tue Jul  8 19:57:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
when detail is "menuitem". With the new menu look is isn't needed
anymore.

* gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a
resize here, so that tool items will get a chance to relayout
themselves based on the toolbar configuration.

change DEFAULT_SPACE_SIZE to 4 instead of 5

* gtk/gtktoolbar.c
Get rid of "!GTK_BIN (item)->child means separator". Separators
are widgets in their own right

change DEFAULT_SPACE_SIZE to 4 instead of 5

(get_space_size): remove this function
(toolbar_item_is_homogeneous): new function

* gtk/gtkseparatortoolitem.c
(gtk_separator_tool_item_size_request): new function.

Tue Jul  8 14:10:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoggletoolbutton.h: use private data, add new
internal function _gtk_toggle_tool_button_get_button()

* gtk/gtktoolbutton.h: move to private data

* gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new
private data.

20 years agofix a type check, (#116947, Krasimir Angelov)
Soeren Sandmann [Tue, 8 Jul 2003 10:58:23 +0000 (10:58 +0000)]
fix a type check, (#116947, Krasimir Angelov)

Tue Jul  8 12:50:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a
type check, (#116947, Krasimir Angelov)

* gtk/gtktoolbar.c: Use new GtkToolItem accessors.

* gtk/gtktoolitem.[ch]: Use a private struct to hold the instance
data. Not instance private data yet, because of bug 116921.

* gtk/gtktoolitem.h: new accessors:
gtk_tool_item_get_homogeneous ()
gtk_tool_item_get_expand ()
gtk_tool_item_get_pack_end ()
gtk_tool_item_get_use_drag_window ()