]> Pileus Git - ~andy/gtk/log
~andy/gtk
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 ()

20 years agoupdated Walloon file
Pablo Saratxaga [Mon, 7 Jul 2003 21:12:23 +0000 (21:12 +0000)]
updated Walloon file

20 years agoremove accidentally committed debugging spew
Soeren Sandmann [Mon, 7 Jul 2003 14:35:31 +0000 (14:35 +0000)]
remove accidentally committed debugging spew

Mon Jul  7 16:50:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkcellrenderertext.c
(gtk_cell_renderer_text_class_init): remove accidentally committed
debugging spew

* gtk/gtktoolbar.c
(gtk_toolbar_paint_space_line): remove this function
(gtk_toolbar_expose): always propagate expose, even if the item is
a separator item

* gtk/gtkseparatortoolitem.c
(gtk_separator_tool_item_expose): moved here from gtktoolbar.c
(get_space_size): new function.
(get_space_style): new function

20 years agogtk/gtkdnd.c (_gtk_drag_source_handle_event) Remove use of
Owen Taylor [Sun, 6 Jul 2003 18:56:44 +0000 (18:56 +0000)]
gtk/gtkdnd.c (_gtk_drag_source_handle_event) Remove use of

Sun Jul  6 13:00:20 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (_gtk_drag_source_handle_event)
        * gtk/gtkdnd.c (gtk_drag_begin_internal):  Remove use
        of GDK_POINTER_MOTION_HINT_MASK.

        * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating
        of the drag into an idle as a superior form of
        expose compression.

        * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
        creation here, so that we have an icon at the start
        of the drag (e.g., when retrieving the window cache
        information.)

20 years agoMove default icon creation here, so that we have an icon at the start of
Owen Taylor [Sun, 6 Jul 2003 16:13:11 +0000 (16:13 +0000)]
Move default icon creation here, so that we have an icon at the start of

Sun Jul  6 11:56:48 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
        creation here, so that we have an icon at the start
        of the drag (e.g., when retrieving the window cache
        information.)

20 years agobetter drawing of GtkMenuItem add notes about GtkMenu remove leftover
Soeren Sandmann [Sun, 6 Jul 2003 15:33:56 +0000 (15:33 +0000)]
better drawing of GtkMenuItem add notes about GtkMenu remove leftover

Sun Jul  6 17:21:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* docs/widget_geometry.txt: better drawing of GtkMenuItem
* docs/widget_geometry.txt: add notes about GtkMenu
* gtk/gtkstyle.c: remove leftover "#include "gtkhandlebox.h""

20 years agoadd vertical_padding style property.
Soeren Sandmann [Sun, 6 Jul 2003 13:14:28 +0000 (13:14 +0000)]
add vertical_padding style property.

Sat Jul  5 10:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtkmenu.c: add vertical_padding style property.

        * gtk/gtkmenuitem.c: add style properties toggle_spacing,
        arrow_spacing and horizontal_padding. Also center separators and
        make them a bit taller.

        * gtk/*menuitem.c: use new style properties.

        * docs/widget_geometry.txt: Add note about GtkMenuItem

        * gtk/gtkstyle.c
        (gtk_default_draw_vline, gtk_default_draw_hline):
        fix +/-1 errors.

        (gtk_default_draw_shadow): draw a black border around menus.

        * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix
        calls to gtk_paint_hline() and gtk_paint_vline() (they take x1,
        x2 and y1, y2 respectively, not x, width and y, height).

20 years agoLookup all the atoms in the target list at once.
Owen Taylor [Sat, 5 Jul 2003 15:02:35 +0000 (15:02 +0000)]
Lookup all the atoms in the target list at once.

Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
        all the atoms in the target list at once.

        * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
        Local drag short-circuit.

        * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
        local case, poke the actions in directly instead of
        going through xdnd_set_actions.

        * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
        the local case.

        * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
        XSelectInput()/add a filter if the drag is local.

        * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection):
        Simplify handling of "XdndSelection".

        * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow,
        a WM_STATE => _NET_WM_STATE change hand been made here.

        * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
        xatom_names, not atom_names.

        * tests/testdnd.c (target_drag_motion): Make the trashcan
        open again. (Got lost in deprecation cleanup.)

20 years agoMove the grabs up earlier, so we don't get a big pile of uncompressed
Owen Taylor [Sat, 5 Jul 2003 05:27:11 +0000 (05:27 +0000)]
Move the grabs up earlier, so we don't get a big pile of uncompressed

Sat Jul  5 00:49:32 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up
        earlier, so we don't get a big pile of uncompressed
        motion events before the grab takes effect.

        * gtk/gtkdnd.c (gtk_drag_update_icon): Call
        gdk_window_process_all_updates() so that the area
        we are dragging over gets a change to redraw.

        * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use
        gdk_window_get_position(), not gdk_window_get_origin().

        * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext)
        gdkdisplay-x11.h: use XShapeQueryExtension to
        avoid duplicate XQueryExtension when we actually
        use it. Remove unnecessary caching in GdkDisplayX11.

20 years agoFunction to get a range of information about all the children of a window
Owen Taylor [Sat, 5 Jul 2003 04:22:06 +0000 (04:22 +0000)]
Function to get a range of information about all the children of a window

Fri Jul  4 23:49:22 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkasync.[ch] (_gdk_x11_get_window_child_info):
        Function to get a range of information about all the
        children of a window in a single pass.

        * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse)
        gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Use
        _gdk_x11_get_window_child_info() to greatly reduce
        the number of roundtrips.

20 years agoAdd a function to XSendEvent() and call a calback on failure/success.
Owen Taylor [Sat, 5 Jul 2003 03:02:21 +0000 (03:02 +0000)]
Add a function to XSendEvent() and call a calback on failure/success.

Fri Jul  4 22:57:18 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkasync.[ch] (_gdk_send_xevent_async): Add
        a function to XSendEvent() and call a calback on
        failure/success.

        * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Short-circuit
        messages to the same process, use _gdk_send_xevent_async().

20 years agoSplit toplevel-specific pieces of GdkWindowImplX11 into a separate
Owen Taylor [Sat, 5 Jul 2003 02:34:52 +0000 (02:34 +0000)]
Split toplevel-specific pieces of GdkWindowImplX11 into a separate

Fri Jul  4 22:26:27 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split
        toplevel-specific pieces of GdkWindowImplX11 into
        a separate GdkToplevelX11 structure.

20 years agoFix some leftover fields.
Owen Taylor [Sat, 5 Jul 2003 02:06:04 +0000 (02:06 +0000)]
Fix some leftover fields.

Fri Jul  4 22:05:09 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkasync.c (struct _SetInputFocusState): Fix
        some leftover fields.

20 years agoUse asynchronously _gdk_x11_set_input_focus_safe to avoid having to trap
Owen Taylor [Sat, 5 Jul 2003 01:54:05 +0000 (01:54 +0000)]
Use asynchronously _gdk_x11_set_input_focus_safe to avoid having to trap

Fri Jul  4 15:57:52 2003  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
Use asynchronously _gdk_x11_set_input_focus_safe
to avoid having to trap errors and XSync().

* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
_gdk_x11_set_input_focus_safe() here as well.

* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
Rework handling of property notifies on _NET_WM_STATE
so that we ignore _NET_WM_DESKTOP notifies unless we
really care.

* gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use
XShmQueryExtension() rather than XQueryExtension() to
avoid extra rountrip.

* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
Remove unused call to XGetWindowAttributes()

* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove
unused call to XGetKeyboardControl().

* gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush):
Add (#99571)

* gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c
No-op implementations of gdk_display_flush().

* gdk/gdkwindow.c (gdk_window_process_all_updates): Use
gdk_display_flush() rather than gdk_flush() to avoid
XSync().

* gdk/x11/gdkwindow-x11.c (update_wm_hints)
gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here
so that we don't have to get the property back from the server.

* gdk/x11/gdkwindow-x11.c (show_window_internal): Store
the serial of when we map a toplevel to allow optimizing
out notifies on _NET_WM_STATE/_NET_WM_DESKTOP.

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't
XTranslateCoordinates() for override-redirect windows.

Fri Jul  4 15:59:27 2003  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment
about setting window group after the window is mapped from docs
- nothing the ICCCM forbids that.

* gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
Fix g_return_val_if_fail() in void return function.

* configure.in: Fix misplaced comma that was resulting
in XShm always being disabled.

20 years agoremove this accidentally committed file.
Soeren Sandmann [Fri, 4 Jul 2003 17:38:08 +0000 (17:38 +0000)]
remove this accidentally committed file.

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

* tests/stresstest-toolbar: remove this accidentally committed
file.

* tests/stresstest-toolbar.c: really add this new test

20 years agonew test for removing items
Soeren Sandmann [Fri, 4 Jul 2003 16:48:40 +0000 (16:48 +0000)]
new test for removing items

Fri Jul  4 19:06:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/stresstest-toolbar.c: new test for removing items

* tests/testtoolbar.c: add a popup menu

* gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid
  assert widget->parent == container when the container is a
  toolbar.

* gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much
simpler. Also make correct.

* gtk/gtktoolbar.c (gtk_toolbar_button_press): make
popup_context_menu a boolean handled signal.

20 years agoWe can calculate the width and height of the bounding rectangle only after
Tor Lillqvist [Fri, 4 Jul 2003 00:23:03 +0000 (00:23 +0000)]
We can calculate the width and height of the bounding rectangle only after

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

* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_polygon,
gdk_win32_draw_segments, gdk_win32_draw_lines): We can calculate
the width and height of the bounding rectangle only after the
minumum x and y have been found, and need a separate loop for
it. Thanks to Bruce Hochstetler for providing a sample program
exhibiting the bug.

20 years agoSupport saving ICOs and CURs.
Matthias Clasen [Thu, 3 Jul 2003 23:37:34 +0000 (23:37 +0000)]
Support saving ICOs and CURs.

20 years agoAdd gdk_string_to_compound_text_for_display. (#116537, Peter Zelezny)
Tor Lillqvist [Thu, 3 Jul 2003 23:16:44 +0000 (23:16 +0000)]
Add gdk_string_to_compound_text_for_display. (#116537, Peter Zelezny)

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

* gdk/gdk.def: Add gdk_string_to_compound_text_for_display.
(#116537, Peter Zelezny)

20 years agoAdd a test program from gnome-desktop.
Owen Taylor [Thu, 3 Jul 2003 21:26:35 +0000 (21:26 +0000)]
Add a test program from gnome-desktop.

        * tests/Makefile.am test/testicontheme.c: Add a test
        program from gnome-desktop.

20 years agoUse the theme colours for rubber banding
Ross Burton [Thu, 3 Jul 2003 13:10:41 +0000 (13:10 +0000)]
Use the theme colours for rubber banding

20 years agoInsert cast to fix warning. Assign something to old_value to quiet gcc
Soeren Sandmann [Thu, 3 Jul 2003 01:02:04 +0000 (01:02 +0000)]
Insert cast to fix warning. Assign something to old_value to quiet gcc

Thu Jul  3 03:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to
fix warning. Assign something to old_value to quiet gcc

* gtk/gtkcalendar.c
(start_spinning): gtk_timeout_add->g_timeout_add

* gtk/gtkicontheme.c
(theme_lookup_icon): Make it compile (remove double semicolon)

* gtk/gtktoolbutton.c
(gtk_tool_button_class_init): Long comment about properties.
(gtk_tool_button_class_init): Improve text for "use_underline"
property
(gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based
on whether the passed-in label has use_mnemonic set
(gtk_tool_button_create_menu_proxy): Split image cloning out in
new function. Make that function also handle image with pixbuf
storage.
(gtk_tool_button_construct_contents): Use gtk_widget_destroy()
instead of gtk_container_remove().
(gtk_tool_button_construct_contents): Fix eliding bug

* gtk/gtktoolbar.c
(gtk_toolbar_finalize): New function. Unref tooltips, pointed out
by Morten Welinder
(gtk_toolbar_button_press): Make popup_context_menu signal provide
coordinates and button number

* tests/testtoolbar.c (main): Add new pixbuf toolbutton

* tests/apple-red.png: new file

20 years agoDocument named icon system.
Owen Taylor [Wed, 2 Jul 2003 22:45:30 +0000 (22:45 +0000)]
Document named icon system.

Wed Jul  2 18:15:21 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am gtk/gtk-docs.sgml gtk/gtksections.txt
        gtk/tmpl/gtkicontheme.sgml: Document named icon system.

        * gtk/tmpl/gtkrc.sgml: Mention specifying named icons
        as @"icon-name".

        * gtk/tmpl/gtkimage.sgml: Add a cross-reference to stock
        icons.

20 years agoadd gtkicontheme.c
Owen Taylor [Wed, 2 Jul 2003 22:44:25 +0000 (22:44 +0000)]
add gtkicontheme.c

Wed Jul  2 18:00:32 2003  Owen Taylor  <otaylor@redhat.com>

        * POTFILES.in: add gtkicontheme.c

20 years agoImplement a loader for named themed icon based on from gnome-desktop
Owen Taylor [Wed, 2 Jul 2003 22:44:09 +0000 (22:44 +0000)]
Implement a loader for named themed icon based on from gnome-desktop

Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkicontheme.[ch]: Implement a loader for
        named themed icon based on from gnome-desktop library
        by Alex Larsson.

        * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
        from gnome-desktop.

        * gtk/gtkiconfactory.[ch]: Add
        gtk_icon_source_set/get_icon_name() to allow stock icons
        to be based off of named theme icons.

        * gtk/gtkiconfactory.c: Rework sources so that the source
        is *either* a pixbuf, or a filename, or an icon name,
        instead of the pixbuf/filename mix it was before. Put a
        workaround for get_pixbuf() so that it can return the
        filename pixbuf, e.g, for render_icon().

        * gtk/gtkiconfactory.c: Make the default setup use
        themed icons, and add builtin icons to the default
        icon theme for all the standard pixbufs, so we
        don't rely on actually having an icon theme on disk.

        * gtk/gtkrc.c: Add support for @"icon-name" to specify
        a themed icon for a stock icon source.

        * tests/Makefile.am test/testicontheme.c: Add a test
        program from gnome-desktop.

        * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
        Net/IconThemeName / gtk-icon-theme-name setting.

        * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
        update the icon cache serial so we don't continually

        * gtk/gtkwidget.c: Fix a couple of references in doc comments
        to ::direction_set that should have been to ::direction-changed

20 years agoAttach the style to the widget.
Owen Taylor [Wed, 2 Jul 2003 18:56:35 +0000 (18:56 +0000)]
Attach the style to the widget.

Wed Jul  2 14:45:41 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
        style to the widget.

20 years agoAdd new toolbar headers
Soeren Sandmann [Wed, 2 Jul 2003 14:04:43 +0000 (14:04 +0000)]
Add new toolbar headers

Wed Jul  2 15:42:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtk.h: Add new toolbar headers

* tests/testtoolbar.c: new file

* tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c

* gtk/gtkexpander.c (gtk_expander_class_init): Make it compile

Tue Jul  1 22:49:25 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c:
(gtk_toolbar_remove_tool_item): Fix bug where list is changed
inside a for loop (pointed out by Morten Welinder).
(gtk_toolbar_focus_home_or_end): Minor formatting change

Comments from Owen:

* gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
gtk_toolbar_elide_underscores instead.

* gtk/gtktoolbar.c: rename signal from focus_ends to
focus_home_or_end.
(_gtk_toolbar_elide_underscores): export this as an internal
function.
(gtk_toolbar_move_focus): add comment explaining difference to
gtk_toolbar_focus();
(gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
TAB_BACKWARD focus the right widgets in RTL mode

* gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
"label" and "icon" parameters

* gtk/gtktoolbutton.[ch]: remove icon_set property.

20 years agoImprove docs. (116364, Morten Welinder)
Matthias Clasen [Tue, 1 Jul 2003 20:49:01 +0000 (20:49 +0000)]
Improve docs. (116364, Morten Welinder)

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

* gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs.  (116364, Morten Welinder)

20 years agoAdd a test for GtkFontButton and GtkColorButton.
Matthias Clasen [Tue, 1 Jul 2003 20:02:31 +0000 (20:02 +0000)]
Add a test for GtkFontButton and GtkColorButton.

20 years agoNew docs for new widgets.
Matthias Clasen [Tue, 1 Jul 2003 19:59:59 +0000 (19:59 +0000)]
New docs for new widgets.

20 years agoAdd color and font picker widgets.
Matthias Clasen [Tue, 1 Jul 2003 19:52:07 +0000 (19:52 +0000)]
Add color and font picker widgets.

20 years agoAdd GtkExpander docs.
Matthias Clasen [Tue, 1 Jul 2003 19:46:22 +0000 (19:46 +0000)]
Add GtkExpander docs.

20 years agoWindowFromPoint() wants screen coordinates (#115422, Tim Evans).
Tor Lillqvist [Tue, 1 Jul 2003 11:14:46 +0000 (11:14 +0000)]
WindowFromPoint() wants screen coordinates (#115422, Tim Evans).

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

* gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer):
WindowFromPoint() wants screen coordinates (#115422, Tim Evans).

20 years agoAdd gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
Matthias Clasen [Mon, 30 Jun 2003 22:32:06 +0000 (22:32 +0000)]
Add gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),

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

* gdk/gdk-sections.txt: Add
gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
gdk_display_get_maximal_cursor_size().

20 years agoCheck for Xcursor.
Matthias Clasen [Mon, 30 Jun 2003 22:30:54 +0000 (22:30 +0000)]
Check for Xcursor.

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

* configure.in: Check for Xcursor.

* gdk/x11/gdkcursor-x11.c:
* gdk/gdkdisplay.h:
* gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
gdk_display_get_maximal_cursor_size().  (#69436)

20 years agoNew function, callback proc for EnumWindows().
Tor Lillqvist [Mon, 30 Jun 2003 21:58:24 +0000 (21:58 +0000)]
New function, callback proc for EnumWindows().

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

* gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function,
callback proc for EnumWindows().
(gdk_drag_find_window_for_screen): Actually take the drag_window
argument into account: Instead of using WindowFromPoint(), use
EnumWindows(), to be able to skip the drag_window. (#116320, Tony
M Brown, Herman Bloggs)

* gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and
gdk_window_ref()/unref() calls with g_object_ref()/unref().
Consistently use %p format in debugging output of pointers and
HANDLEs.

20 years agokill some stray characters breaking the build.
Mark McLoughlin [Mon, 30 Jun 2003 13:10:12 +0000 (13:10 +0000)]
kill some stray characters breaking the build.

2003-06-30  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtkexpander.h: kill some stray characters
        breaking the build.

20 years agoAdd GtkExpander. See discussion in bug #60553.
Mark McLoughlin [Mon, 30 Jun 2003 12:57:57 +0000 (12:57 +0000)]
Add GtkExpander. See discussion in bug #60553.

2003-06-30  Mark McLoughlin  <mark@skynet.ie>

        Add GtkExpander. See discussion in bug #60553.

        * gtk/gtkexpander.[ch]: add.

        * gtk/Makefile.am: build gtk-expander.[ch].

        * docs/widget_geometry.txt: add info on the layout
        of GtkExpander.

20 years agoUpdated Indonesian translation
Mohammad DAMT [Mon, 30 Jun 2003 03:42:25 +0000 (03:42 +0000)]
Updated Indonesian translation

2003-06-30  Mohammad DAMT  <mdamt@bisnisweb.com>

* id.po: Updated Indonesian translation

20 years agogtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.c
Soeren Sandmann [Sun, 29 Jun 2003 23:34:20 +0000 (23:34 +0000)]
gtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.c

Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtkradiotoolbutton.c
* gtkradiotoolbutton.h
* gtktoggletoolbutton.c
* gtktoggletoolbutton.h
* gtktoolbutton.c
* gtktoolbutton.h
* gtktoolitem.c
* gtktoolitem.h
* gtktoolbar.c
* gtktoolbar.h
* gtkseparatortoolitem.c
* gtkseparatortoolitem.h

New toolbar.

20 years agoAdditions.
Matthias Clasen [Sun, 29 Jun 2003 22:32:32 +0000 (22:32 +0000)]
Additions.

20 years agoMore formatting fixes for docs.
Matthias Clasen [Sun, 29 Jun 2003 21:16:06 +0000 (21:16 +0000)]
More formatting fixes for docs.

20 years agoDoc comment fix.
Matthias Clasen [Sun, 29 Jun 2003 20:28:14 +0000 (20:28 +0000)]
Doc comment fix.

20 years agoupdated Walloon file
Pablo Saratxaga [Sun, 29 Jun 2003 09:20:33 +0000 (09:20 +0000)]
updated Walloon file