]> Pileus Git - ~andy/gtk/log
~andy/gtk
20 years agoAdd a checkbox to queue an merge/unmerge. Patch from Matthias Clasen.
Soeren Sandmann [Sat, 5 Jun 2004 18:24:53 +0000 (18:24 +0000)]
Add a checkbox to queue an merge/unmerge. Patch from Matthias Clasen.

Sat Jun  5 20:05:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/testmerge.c: Add a checkbox to queue an
merge/unmerge. Patch from Matthias Clasen.

* gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag
"need_rebuild"
(rebuild_menu): New function that rebuilds the overflow menu and
makes sure it doesn't start or end with a separator.
(toolbar_content_new_tool_item)
(toolbar_content_remove)
(toolbar_content_new_compatibility): Set the rebuild_needed flag
(gtk_toolbar_size_allocate): Only show the overflow arrow when we
have actually overflown an item with a proxy menu item. Also make
sure we rebuild the menu if needed.

Fix #125504, #142377, #143463

* gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose):
Obey the "priv->draw" flag. (#143692)

20 years agoConvert filenames to UTF-8 when embedding them in error messages.
Matthias Clasen [Sat, 5 Jun 2004 05:16:18 +0000 (05:16 +0000)]
Convert filenames to UTF-8 when embedding them in error messages.

Sat Jun  5 00:59:12 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-animation.c:
* gdk-pixbuf-io.c: Convert filenames to UTF-8 when embedding
them in error messages.  (#143654, Sven Neumann)

20 years agoAdd a note about the !CAN_FOCUS quirk in the button size allocation code.
Matthias Clasen [Sat, 5 Jun 2004 03:58:50 +0000 (03:58 +0000)]
Add a note about the !CAN_FOCUS quirk in the button size allocation code.

2004-06-04  Matthias Clasen  <mclasen@redhat.com>

* docs/widget_geometry.txt: Add a note about the !CAN_FOCUS
quirk in the button size allocation code.

* gtk/gtkbutton.c (gtk_button_size_allocate): Give the space
requested for drawing the focus indicator to the child in the
!CAN_FOCUS case. This should fix issues which the Gimp has with
the button allocation changes in 2.4.2.

20 years agoCalculate the length of the entry contents in characters, not in bytes.
Matthias Clasen [Fri, 4 Jun 2004 01:19:55 +0000 (01:19 +0000)]
Calculate the length of the entry contents in characters, not in bytes.

Thu Jun  3 21:17:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_timeout): Calculate the
length of the entry contents in characters, not in bytes.

* gtk/gtkentry.c (paste_received): Don't pop up the completion
window on paste, noticed by Anders Carlsson.

20 years agoFix the al lowed values and default value for the ::active property.
Matthias Clasen [Fri, 4 Jun 2004 00:57:03 +0000 (00:57 +0000)]
Fix the al lowed values and default value for the ::active property.

Thu Jun  3 20:51:23 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the al lowed
values and default value for the ::active property.  (#143669,
Olivier Andrieu)

20 years agouse gtk_widget_get_child_requisition() instead of accessing
Michael Natterer [Thu, 3 Jun 2004 19:22:28 +0000 (19:22 +0000)]
use gtk_widget_get_child_requisition() instead of accessing

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

* gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition()
instead of accessing item->image->allocation.width/height
directly. Makes widgets which only have a requisition set using
gtk_widget_set_size_request() work and fixes bug #142789.

20 years agoRevert previous commit. It caused the problem of sticky right click menus
Soeren Sandmann [Thu, 3 Jun 2004 00:15:48 +0000 (00:15 +0000)]
Revert previous commit. It caused the problem of sticky right click menus

Thu Jun  3 08:07:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c: Revert previous commit. It caused the problem
of sticky right click menus to return.

20 years agoFix the stay up algorithm for combo boxes to better handle the "click"
Soeren Sandmann [Wed, 2 Jun 2004 23:17:21 +0000 (23:17 +0000)]
Fix the stay up algorithm for combo boxes to better handle the "click"

Wed Jun  2 01:56:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to
        better handle the "click" case. bug  Better fix for #141169.

20 years agofix inkscape's toolbar buttons, disable application theming if asked nicely, downgrad...
cinamod [Wed, 2 Jun 2004 19:53:55 +0000 (19:53 +0000)]
fix inkscape's toolbar buttons, disable application theming if asked nicely, downgrade gtk+ requirements

20 years agoBail out if the model is empty. Fixes #143536.
Federico Mena Quintero [Wed, 2 Jun 2004 19:21:06 +0000 (19:21 +0000)]
Bail out if the model is empty. Fixes #143536.

2004-06-02  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
model is empty.  Fixes #143536.

20 years agoDon't close the dialog on focus out of the size entry. (#143505, David
Matthias Clasen [Wed, 2 Jun 2004 18:18:42 +0000 (18:18 +0000)]
Don't close the dialog on focus out of the size entry. (#143505, David

2004-06-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
close the dialog on focus out of the size entry.  (#143505,
David Hawthorne)

20 years agoFix #138807.
Federico Mena Quintero [Wed, 2 Jun 2004 17:46:21 +0000 (17:46 +0000)]
Fix #138807.

2004-06-02  Federico Mena Quintero  <federico@ximian.com>

Fix #138807.

* gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument.
(gtk_fnmatch_intern): Likewise; also implement this option.

* gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype.

* gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the
no_leading_period argument of _gtk_fnmatch().
(attempt_file_completion): Likewise.

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the
no_leading_period argument of _gtk_fnmatch().

20 years agoRemove leftover debug code.
Matthias Clasen [Wed, 2 Jun 2004 04:47:55 +0000 (04:47 +0000)]
Remove leftover debug code.

Wed Jun  2 00:47:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkselection.c (_gtk_selection_request): Remove leftover
debug code.

20 years agoDon't allow unless selection mode is multiple. (#142634, John Finlay)
Matthias Clasen [Wed, 2 Jun 2004 04:17:41 +0000 (04:17 +0000)]
Don't allow unless selection mode is multiple. (#142634, John Finlay)

Wed Jun  2 00:17:07 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
allow unless selection mode is multiple.  (#142634, John Finlay)

20 years agoRename function parameters from index to index_ to prevent clash with BSD
Matthias Clasen [Wed, 2 Jun 2004 03:16:03 +0000 (03:16 +0000)]
Rename function parameters from index to index_ to prevent clash with BSD

Tue Jun  1 23:14:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktoolbar.h:
* gtk/gtktoolbar.c:
* gtk/gtkentrycompletion.h:
* gtk/gtkentrycompletion.c:
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Rename function parameters from
index to index_ to prevent clash with BSD index().  (#143001)

20 years agoHandle accel_closure being NULL on an accel label. (#139641, Sam
Matthias Clasen [Wed, 2 Jun 2004 02:48:50 +0000 (02:48 +0000)]
Handle accel_closure being NULL on an accel label. (#139641, Sam

Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
NULL on an accel label. (#139641, Sam Stephenson, patch by
Michael Natterer)

Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon
lookup finding icons in the wrong prefix.  (#143328,
Mark McLoughlin)

20 years agoMake menus only stay up if you release within 500 milliseconds.
Soeren Sandmann [Tue, 1 Jun 2004 22:47:14 +0000 (22:47 +0000)]
Make menus only stay up if you release within 500 milliseconds.

Wed Jun  2 00:39:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus
only stay up if you release within 500 milliseconds.
(gtk_menu_shell_button_press): Set the activate_time to the event
time when a button is pressed.

* gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify):
Interprete button releases as activate when we have seen both an
enter an a motion event.

20 years agoUpdated Bulgarian translation by Rostislav Raikov <zbrox@i-space.org>
Alexander Shopov [Tue, 1 Jun 2004 16:48:07 +0000 (16:48 +0000)]
Updated Bulgarian translation by Rostislav Raikov <zbrox@i-space.org>

2004-06-01  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Rostislav Raikov <zbrox@i-space.org>

20 years agoDon't insert a dummy node if there is no parent node. Fixes #143362.
Federico Mena Quintero [Tue, 1 Jun 2004 16:34:53 +0000 (16:34 +0000)]
Don't insert a dummy node if there is no parent node. Fixes #143362.

2004-06-01  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemmodel.c (do_files_removed): Don't insert a
dummy node if there is no parent node.  Fixes #143362.

20 years agoImplement rubberband scrolling (needs to be done for the horizontal
Anders Carlsson [Mon, 31 May 2004 19:44:01 +0000 (19:44 +0000)]
Implement rubberband scrolling (needs to be done for the horizontal

2004-05-31  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c (egg_icon_list_motion):
Implement rubberband scrolling (needs to be done for the
horizontal scrollbar too)

20 years agoChange to the newly-created folder. Fixes #138932. (trap_activate_cb):
Federico Mena Quintero [Mon, 31 May 2004 18:29:02 +0000 (18:29 +0000)]
Change to the newly-created folder. Fixes #138932. (trap_activate_cb):

2004-05-31  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (renderer_edited_cb): Change to the
newly-created folder.  Fixes #138932.
(trap_activate_cb): Only return TRUE if we did handle the event.
Fixes #143359; patch by jylefort@brutele.be.

20 years agoTypo fix.
Matthias Clasen [Mon, 31 May 2004 06:40:27 +0000 (06:40 +0000)]
Typo fix.

20 years agoMake detached handleboxes work when their parent is minimized, porting the
Matthias Clasen [Mon, 31 May 2004 06:29:07 +0000 (06:29 +0000)]
Make detached handleboxes work when their parent is minimized, porting the

Mon May 31 02:16:37 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkhandlebox.c: Make detached handleboxes work when their
parent is minimized, porting the fix from 1.2.  (#1923, #57182)

Mon May 31 02:03:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwindow.c (gtk_window_show): Make moving realized,
unmapped windows work.

20 years agoFix a typo.
Matthias Clasen [Mon, 31 May 2004 04:29:01 +0000 (04:29 +0000)]
Fix a typo.

Mon May 31 00:27:33 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Fix
a typo.

Mon May 31 00:23:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooser.c (gtk_file_chooser_set_preview_widget):
Refer to ::update-preview, not ::selection-changed.

20 years agoDocument the default attach options for gtk_table_attach_defaults().
Matthias Clasen [Mon, 31 May 2004 04:17:42 +0000 (04:17 +0000)]
Document the default attach options for gtk_table_attach_defaults().

Mon May 31 00:16:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtktable.sgml: Document the default attach
options for gtk_table_attach_defaults().  (#143391,
Steve Chaplin)

20 years agoAdded "tk" to ALL_LINGUAS. Added Turkmen translation by Gurban Mühemmet
Christian Rose [Sat, 29 May 2004 10:15:00 +0000 (10:15 +0000)]
Added "tk" to ALL_LINGUAS. Added Turkmen translation by Gurban Mühemmet

2004-05-29  Christian Rose  <menthos@menthos.com>

* configure.in: Added "tk" to ALL_LINGUAS.
* po/tk.po, po-properties/tk.po: Added Turkmen translation by
Gurban Mühemmet Tewekgeli <gmtavakkoli@yahoo.com>.

20 years agoAdd informative messages for common problems. (#137974, Owen Taylor)
Matthias Clasen [Fri, 28 May 2004 19:01:20 +0000 (19:01 +0000)]
Add informative messages for common problems. (#137974, Owen Taylor)

Fri May 28 14:57:13 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwidget.c (gtk_widget_set_parent): Add informative
messages for common problems.  (#137974, Owen Taylor)

20 years agoFix some docs.
Matthias Clasen [Fri, 28 May 2004 18:35:32 +0000 (18:35 +0000)]
Fix some docs.

20 years agoFix off-by-one allocation errors. (#143337, Billy Biggs)
Matthias Clasen [Fri, 28 May 2004 18:21:58 +0000 (18:21 +0000)]
Fix off-by-one allocation errors. (#143337, Billy Biggs)

Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkevents-x11.c: Fix off-by-one allocation
errors. (#143337, Billy Biggs)

20 years agoSet bits within visual->depth that aren't used for color to 1s, in case
Owen Taylor [Thu, 27 May 2004 20:46:58 +0000 (20:46 +0000)]
Set bits within visual->depth that aren't used for color to 1s, in case

Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
        bits within visual->depth that aren't used for color to
        1s, in case they are alpha.

20 years agoSync from upstream
Jonathan Blandford [Thu, 27 May 2004 19:25:41 +0000 (19:25 +0000)]
Sync from upstream

Thu May 27 15:23:17 2004  Jonathan Blandford  <jrb@gnome.org>

        * Sync from upstream

20 years agoMake separator rows insensitive.
Anders Carlsson [Thu, 27 May 2004 13:40:36 +0000 (13:40 +0000)]
Make separator rows insensitive.

2004-05-27  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkfilechooserdefault.c (save_folder_combo_create):
Make separator rows insensitive.

20 years agoAdd some docs.
Matthias Clasen [Thu, 27 May 2004 04:48:41 +0000 (04:48 +0000)]
Add some docs.

20 years agoMake GtkEntryCompletion::text_column a property.
Matthias Clasen [Thu, 27 May 2004 04:46:42 +0000 (04:46 +0000)]
Make GtkEntryCompletion::text_column a property.

20 years agoTypo fix.
Matthias Clasen [Thu, 27 May 2004 04:12:17 +0000 (04:12 +0000)]
Typo fix.

20 years agoonly remove the signal if the box exists.
Jonathan Blandford [Thu, 27 May 2004 04:08:26 +0000 (04:08 +0000)]
only remove the signal if the box exists.

Thu May 27 00:07:47 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
        signal if the box exists.

20 years agoSupport insensitive cells in tree views and combo boxes.
Matthias Clasen [Thu, 27 May 2004 03:31:17 +0000 (03:31 +0000)]
Support insensitive cells in tree views and combo boxes.

20 years agoSend key modifiers (shift, ctrl etc) in button and motion events from the
Robert Ögren [Thu, 27 May 2004 02:15:42 +0000 (02:15 +0000)]
Send key modifiers (shift, ctrl etc) in button and motion events from the

2004-05-26  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Send key
modifiers (shift, ctrl etc) in button and motion events from the
tablet. (#143240)

2004-05-26  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkinput-win32.c (gdk_device_get_state): Simple
implementation for extended input devices using last known
device state (#143237)

20 years agoMove docs inline, fixing them on the way. (#143029, Steve Chaplin)
Matthias Clasen [Wed, 26 May 2004 01:57:54 +0000 (01:57 +0000)]
Move docs inline, fixing them on the way. (#143029, Steve Chaplin)

Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkframe.c: Move docs inline, fixing them on the
way.  (#143029, Steve Chaplin)

20 years agoDon't propagate mouse events to windows that want extended input events.
Robert Ögren [Mon, 24 May 2004 22:34:55 +0000 (22:34 +0000)]
Don't propagate mouse events to windows that want extended input events.

2004-05-11  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
events to windows that want extended input events. (#142943)
(gdk_event_translate): Move check for extended input devices to
propagate, new parameter to propagate.
(gdk_pointer_grab, gdk_display_pointer_ungrab): Enable calls to
_gdk_input_(un)grab_pointer. (#142943)

* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Check for
input grab. [Fix missing update of impl in "dijkstra" event
propagation loop] Drop the parallel "impl" pointer, just use a
cast. Don't propagate beyond windows that want normal input
events. (#142943)
(gdk_input_grab_pointer, gdk_input_ungrab_pointer): Limited
implementation of input grab. (#142943)

20 years agoremove unused cruft
cinamod [Sat, 22 May 2004 15:05:06 +0000 (15:05 +0000)]
remove unused cruft

20 years agoRemove duplicated line. (Spotted by Benoît Carpentier.)
Tor Lillqvist [Sat, 22 May 2004 04:38:43 +0000 (04:38 +0000)]
Remove duplicated line. (Spotted by Benoît Carpentier.)

2004-05-22  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkinput-win32.c (print_lc): Remove duplicated
line. (Spotted by Benoît Carpentier.)

20 years agoremove unecessary comments
cinamod [Sat, 22 May 2004 02:14:34 +0000 (02:14 +0000)]
remove unecessary comments

20 years ago0.6.0
Raymond Penners [Fri, 21 May 2004 21:15:32 +0000 (21:15 +0000)]
0.6.0

20 years agoPatch 939583
Raymond Penners [Fri, 21 May 2004 21:12:07 +0000 (21:12 +0000)]
Patch 939583

20 years agofix toolbar button hilite in Luna theme
cinamod [Fri, 21 May 2004 21:01:55 +0000 (21:01 +0000)]
fix toolbar button hilite in Luna theme

20 years agorename to libwimp.dll
cinamod [Fri, 21 May 2004 19:02:59 +0000 (19:02 +0000)]
rename to libwimp.dll

20 years agowin32 color changes work, xp style changes work
cinamod [Fri, 21 May 2004 18:35:56 +0000 (18:35 +0000)]
win32 color changes work, xp style changes work

20 years agobetter icon sizes
cinamod [Fri, 21 May 2004 17:54:37 +0000 (17:54 +0000)]
better icon sizes

20 years agoAdd the right include for the "X interaction" section.
Matthias Clasen [Thu, 20 May 2004 03:43:23 +0000 (03:43 +0000)]
Add the right include for the "X interaction" section.

Wed May 19 23:42:40 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/gdk-sections.txt: Add the right include for the "X interaction"
section.

20 years agoAdd a few more symbols.
Matthias Clasen [Tue, 18 May 2004 21:30:09 +0000 (21:30 +0000)]
Add a few more symbols.

20 years agoCheck for XFIXES extension.
Matthias Clasen [Tue, 18 May 2004 20:56:54 +0000 (20:56 +0000)]
Check for XFIXES extension.

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Check for XFIXES extension.

* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
a gboolean have_xfixes member.

* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
XFIXES events and set have_xfixes.

* gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
(GdkEventOwnerChange): New event struct for owner change events.
(GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate
XFixesSelectionNotify events into GdkEventOwnerChange events.

* gdk/gdkdisplay.h:
* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
(gdk_display_request_selection_notification): New api
to support selection ownership notification.

* gtk/gtkclipboard.h:
* gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
api to handle owner change events.
(clipboard_peek): Refactored out the body of
gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().

* gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
by calling _gtk_clipboard_handle_event().

20 years agoInclude glib/gi18n-lib.h and only define the P_() macros ourselves.
Matthias Clasen [Tue, 18 May 2004 19:52:41 +0000 (19:52 +0000)]
Include glib/gi18n-lib.h and only define the P_() macros ourselves.

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkintl.h: Include glib/gi18n-lib.h and only define
the P_() macros ourselves.

20 years agoRestrict the width of the popup to be no larger than the monitor.
Matthias Clasen [Tue, 18 May 2004 18:31:54 +0000 (18:31 +0000)]
Restrict the width of the popup to be no larger than the monitor.

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Restrict the width of the popup to be no larger than the
monitor.  (#142678, DmD Ljungmark)

20 years agoActually make that arrow size 15, not 14.
Matthias Clasen [Tue, 18 May 2004 17:51:24 +0000 (17:51 +0000)]
Actually make that arrow size 15, not 14.

20 years agoGo back to the initial fix for the focus-overdrawing problem, which was
Matthias Clasen [Tue, 18 May 2004 17:50:04 +0000 (17:50 +0000)]
Go back to the initial fix for the focus-overdrawing problem, which was

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c: Go back to the initial fix for the
focus-overdrawing problem, which was actually correct
according to docs/widget_geometry.txt.

* gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial
arrow size from 11 to 15 to compensate for that.

20 years agoDocument the arguments of the ::move-cursor signal. (#142725)
Matthias Clasen [Tue, 18 May 2004 17:30:58 +0000 (17:30 +0000)]
Document the arguments of the ::move-cursor signal. (#142725)

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_class_init): Document the
arguments of the ::move-cursor signal.  (#142725)

20 years agoAllocate space for the focus rectangle only if necessary. (#142668,
Matthias Clasen [Mon, 17 May 2004 18:51:24 +0000 (18:51 +0000)]
Allocate space for the focus rectangle only if necessary. (#142668,

2004-05-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c (gtk_button_size_request)
(gtk_button_size_allocate, _gtk_button_paint): Allocate
space for the focus rectangle only if necessary.  (#142668,
Michael Natterer)

20 years agoRemove two useless lines. (#142479, Morten Welinder)
Matthias Clasen [Mon, 17 May 2004 03:16:35 +0000 (03:16 +0000)]
Remove two useless lines. (#142479, Morten Welinder)

* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines.  (#142479, Morten Welinder)

20 years agoMerged from 2.4
Matthias Clasen [Mon, 17 May 2004 03:08:15 +0000 (03:08 +0000)]
Merged from 2.4

Sun May 16 22:53:47 2004  Matthias Clasen  <maclas@gmx.de>

        Merged from 2.4

* io-pnm.c (pnm_read_next_value): Don't read integers
partially.  (#142584, Kouichirou Hiratsuka)

20 years agoAdd a Q_() macro.
Matthias Clasen [Mon, 17 May 2004 02:33:18 +0000 (02:33 +0000)]
Add a Q_() macro.

Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkintl.h (Q_): Add a Q_() macro.

* gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
they are not really needed.

* gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
instead of hardwired padding, use Q_() for the default label,
compute a reasonable minimal size.  (#142571, #142572, #142573,
Tommi Komulainen, Christian Persch)

20 years agoPut back the ref_count field in the GdkDragContextPrivateWin32 struct (but
Tor Lillqvist [Sat, 15 May 2004 04:18:08 +0000 (04:18 +0000)]
Put back the ref_count field in the GdkDragContextPrivateWin32 struct (but

2004-05-15  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the
GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this
time). It is used by the OLE2_DND code, which is unfinished and
presumably horribly broken, but still, let's not make it not
compile on purpose. Silence some gcc warnings in the OLE2_DND
code.

20 years agoNew function to go from tree window to tree coordinates, kept static for
Matthias Clasen [Fri, 14 May 2004 18:05:07 +0000 (18:05 +0000)]
New function to go from tree window to tree coordinates, kept static for

2004-05-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords):
New function to go from tree window to tree coordinates, kept
static for now until we figure out the multiple coordinate
system mess in GtkTreeView API-wise.
(gtk_tree_view_scroll_to_cell): Transform the coordinates
from tree window to tree coordinates, using the new function.
Previously, the x coordinate was wrongly transformed. (#142494)

20 years agoMinor update.
Matthias Clasen [Fri, 14 May 2004 13:53:37 +0000 (13:53 +0000)]
Minor update.

20 years agoAdd a comment about unused bits.
Matthias Clasen [Fri, 14 May 2004 13:37:07 +0000 (13:37 +0000)]
Add a comment about unused bits.

2004-05-14  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdktypes.h (GdkModifierType): Add a comment about unused
bits.

* gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
modifier bit to mark stock item which need to be freed
eventually.  (#140654, Michal Pasternak, Scott Tsai)

20 years agoAdd missing call to g_object_ref in Wintab code. (#138341)
Robert Ögren [Wed, 12 May 2004 23:30:27 +0000 (23:30 +0000)]
Add missing call to g_object_ref in Wintab code. (#138341)

2004-05-11  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing
call to g_object_ref in Wintab code. (#138341)

* gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems
including unallocated buffers for event->motion.axes and
event->button.axes, unsigned wraparound problem in the code for
detecting missing press/release events and assigning min instead
of max when setting up axes.

20 years agoAdd a progress cell renderer, based on the one found in Epiphany.
Matthias Clasen [Wed, 12 May 2004 16:07:44 +0000 (16:07 +0000)]
Add a progress cell renderer, based on the one found in Epiphany.

20 years agoAdditions.
Matthias Clasen [Wed, 12 May 2004 04:32:16 +0000 (04:32 +0000)]
Additions.

Wed May 12 00:30:57 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/tmpl/gcs.sgml: Additions.

20 years agodon't allocate the popup smaller than the combobox. Fixes bug #59660.
Michael Natterer [Tue, 11 May 2004 19:15:56 +0000 (19:15 +0000)]
don't allocate the popup smaller than the combobox. Fixes bug #59660.

2004-05-11  Michael Natterer  <mitch@gimp.org>

* gtk/gtkcombobox.c (gtk_combo_box_popup)
(gtk_combo_box_menu_button_press): don't allocate the popup
smaller than the combobox. Fixes bug #59660.

20 years agoRevert the previous change to this function, clarify the docs instead.
Matthias Clasen [Tue, 11 May 2004 17:26:48 +0000 (17:26 +0000)]
Revert the previous change to this function, clarify the docs instead.

2004-05-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the
previous change to this function, clarify the docs instead.

20 years agoUse GTK_SELECTION_BROWSE.
Matthias Clasen [Tue, 11 May 2004 13:44:09 +0000 (13:44 +0000)]
Use GTK_SELECTION_BROWSE.

2004-05-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
GTK_SELECTION_BROWSE.

* gtk/gtktreeview.c: Make hover selection work for
GTK_SELECTION_BROWSE as well.

20 years agoDocument the selection modes here, rather than in the docs of deprecated
Matthias Clasen [Tue, 11 May 2004 13:23:17 +0000 (13:23 +0000)]
Document the selection modes here, rather than in the docs of deprecated

2004-05-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkenums.sgml: Document the selection modes here,
rather than in the docs of deprecated list widgets.

20 years agoDocument the ::toggled signal.
Matthias Clasen [Tue, 11 May 2004 04:39:57 +0000 (04:39 +0000)]
Document the ::toggled signal.

Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init):
Document the ::toggled signal.

20 years agoAdd deprecation notes.
Matthias Clasen [Tue, 11 May 2004 04:32:13 +0000 (04:32 +0000)]
Add deprecation notes.

Tue May 11 00:29:53 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkpixmap.sgml:
* gtk/tmpl/gtkoldeditable.sgml:
* gtk/tmpl/gtklistitem.sgml:
* gtk/tmpl/gtklist.sgml:
* gtk/tmpl/gtkitemfactory.sgml:
* gtk/tmpl/gtkctree.sgml:
* gtk/tmpl/gtkclist.sgml: Add deprecation notes.

20 years agoForgotten commit.
Matthias Clasen [Tue, 11 May 2004 04:16:53 +0000 (04:16 +0000)]
Forgotten commit.

20 years agoMake static.
Matthias Clasen [Mon, 10 May 2004 21:13:41 +0000 (21:13 +0000)]
Make static.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (get_screen_icon_info):
Make static.

20 years agoForgotten commit
Matthias Clasen [Mon, 10 May 2004 21:10:28 +0000 (21:10 +0000)]
Forgotten commit

20 years agoAdd prototype for _gtk_widget_grab_notify()
Soeren Sandmann [Mon, 10 May 2004 21:10:25 +0000 (21:10 +0000)]
Add prototype for _gtk_widget_grab_notify()

Mon May 10 23:04:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify()

20 years agoMake static.
Matthias Clasen [Mon, 10 May 2004 20:51:19 +0000 (20:51 +0000)]
Make static.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkdisplay.c (singlehead_...):
* gdk/x11/gdkkeys-x11.c (get_effective_keymap):
* gdk/x11/gdkgeometry-x11.c (expose_serial_predicate):
* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.

20 years agoAdd gtk_menu_get_for_attach_widet, gtk_tree_view_get_fixed_height_mode,
Matthias Clasen [Mon, 10 May 2004 20:28:44 +0000 (20:28 +0000)]
Add gtk_menu_get_for_attach_widet, gtk_tree_view_get_fixed_height_mode,

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add gtk_menu_get_for_attach_widet,
gtk_tree_view_get_fixed_height_mode,
gtk_tree_view_set_fixed_height_mode,
gtk_tree_view_get_hover_selection,
gtk_tree_view_set_hover_selection

* gdk/gdk-sections.txt: Add gdk_window_set_user_time().

* gdk-pixbuf/gdk-pixbuf.sgml:
* gtk/gtk-docs.sgml:
* gdk/gdk-docs.sgml: Add an index for 2.6 additions.

20 years agoAdd a note about COLUMN_FIXED restriction.
Matthias Clasen [Mon, 10 May 2004 20:27:27 +0000 (20:27 +0000)]
Add a note about COLUMN_FIXED restriction.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a
note about COLUMN_FIXED restriction.

20 years ago_-prefix the nonstatic pixops_... functions. (#142233, Morten Welinder)
Matthias Clasen [Mon, 10 May 2004 19:42:59 +0000 (19:42 +0000)]
_-prefix the nonstatic pixops_... functions. (#142233, Morten Welinder)

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* pixops/timescale.c:
* pixops/pixops.c:
* pixops/pixops.h:
* gdk-pixbuf-scale.c: _-prefix the nonstatic pixops_...
functions.  (#142233, Morten Welinder)

20 years agoSet the entry in the default handler of the ::match-selected signal.
Matthias Clasen [Mon, 10 May 2004 19:10:27 +0000 (19:10 +0000)]
Set the entry in the default handler of the ::match-selected signal.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press):
Set the entry in the default handler of the ::match-selected signal.
(#137226)

20 years agoIf we don't do the move-selected-item below pointer thingie, do the
Matthias Clasen [Mon, 10 May 2004 18:17:47 +0000 (18:17 +0000)]
If we don't do the move-selected-item below pointer thingie, do the

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't
do the move-selected-item below pointer thingie, do the
place-below-or-above one.

20 years agoMake the second example use the ::match-selected signal to make it
Matthias Clasen [Mon, 10 May 2004 17:55:49 +0000 (17:55 +0000)]
Make the second example use the ::match-selected signal to make it

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* tests/testentrycompletion.c: Make the second example use the
::match-selected signal to make it actually work.

20 years agoUse hover selection mode. (#127648, Dave Bordoley)
Matthias Clasen [Mon, 10 May 2004 17:15:14 +0000 (17:15 +0000)]
Use hover selection mode. (#127648, Dave Bordoley)

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_init):
* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
mode.  (#127648, Dave Bordoley)

* gtk/gtktreeview.h:
* gtk/gtktreeview.c: Add a new property "hover_selection", which
when TRUE makes the selection follow the mouse. Also add setter
and getter for the fixed_height property.

20 years agoMake sure the menu pops up as wide as the combobox. (#59660, Havoc
Matthias Clasen [Mon, 10 May 2004 15:44:48 +0000 (15:44 +0000)]
Make sure the menu pops up as wide as the combobox. (#59660, Havoc

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_popup)
(gtk_combo_box_menu_button_press): Make sure the menu pops up
as wide as the combobox.  (#59660, Havoc Pennington)

20 years agoSupport tearoffable combo boxes (in menu mode). Add a new property,
Matthias Clasen [Mon, 10 May 2004 14:07:35 +0000 (14:07 +0000)]
Support tearoffable combo boxes (in menu mode). Add a new property,

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu
mode). Add a new property, add-tearoffs, for this.  (#135956)

20 years agoMake Return activate the default button. (#118921)
Matthias Clasen [Mon, 10 May 2004 13:27:52 +0000 (13:27 +0000)]
Make Return activate the default button. (#118921)

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontsel.c (list_row_activated): Make Return activate the
default button.  (#118921)

20 years agoNew internal function that emits the grab notify signal.
Soeren Sandmann [Mon, 10 May 2004 13:18:14 +0000 (13:18 +0000)]
New internal function that emits the grab notify signal.

Mon May 10 15:03:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function
that emits the grab notify signal.

* gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here.

20 years agoFix a naming blunder.
Matthias Clasen [Mon, 10 May 2004 04:51:13 +0000 (04:51 +0000)]
Fix a naming blunder.

20 years agoMake destruction of a torn off menu work like un-tearing off.
Matthias Clasen [Mon, 10 May 2004 04:49:11 +0000 (04:49 +0000)]
Make destruction of a torn off menu work like un-tearing off.

Mon May 10 00:48:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c: Make destruction of a torn off menu work
like un-tearing off.

20 years agoMerge from 2.4:
Matthias Clasen [Mon, 10 May 2004 01:14:20 +0000 (01:14 +0000)]
Merge from 2.4:

Sun May  9 21:05:38 2004  Matthias Clasen  <maclas@gmx.de>

        Merge from 2.4:

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Allow to suppress the stock accelerator by using "".  (#142196,
David A Knight)

20 years agosomehow lost yesterday ...
Hans Breuer [Sun, 9 May 2004 11:25:35 +0000 (11:25 +0000)]
somehow lost yesterday ...

20 years agoIn list mode, accept the same mouse/wheel bindings on the cellview as on
Matthias Clasen [Sun, 9 May 2004 06:01:57 +0000 (06:01 +0000)]
In list mode, accept the same mouse/wheel bindings on the cellview as on

Sun May  9 01:57:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_list_button_released):
In list mode, accept the same mouse/wheel bindings on
the cellview as on the button.  (#136967)

20 years agoActually count the cached icons. (#135888, Crispin Flowerday)
Matthias Clasen [Sun, 9 May 2004 05:30:47 +0000 (05:30 +0000)]
Actually count the cached icons. (#135888, Crispin Flowerday)

Sun May  9 01:25:37 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (add_to_cache): Actually count the
cached icons.  (#135888, Crispin Flowerday)

20 years agoMake sure that we actually return menus for nodes of type menu, not the
Matthias Clasen [Sun, 9 May 2004 04:03:59 +0000 (04:03 +0000)]
Make sure that we actually return menus for nodes of type menu, not the

Sun May  9 00:03:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure
that we actually return menus for nodes of type menu, not the
menuitems they're attached to.

20 years agoAdd a note regarding UTF-8 requirements, proposed by Mariano
Matthias Clasen [Sun, 9 May 2004 02:52:24 +0000 (02:52 +0000)]
Add a note regarding UTF-8 requirements, proposed by Mariano

Sat May  8 22:50:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain):
Add a note regarding UTF-8 requirements, proposed by
Mariano Suárez-Alvarez.

20 years agoPut the torn_off flag back into the GtkTearoffMenuItem struct, since it is
Matthias Clasen [Sun, 9 May 2004 02:46:20 +0000 (02:46 +0000)]
Put the torn_off flag back into the GtkTearoffMenuItem struct, since it is

Sat May  8 22:43:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktearoffmenuitem.h:
* gtk/gtktearoffmenuitem.c: Put the torn_off flag back
into the GtkTearoffMenuItem struct, since it is used
by the Gimp, and keep it synchronized with the
tearoff_state property of the parent menu.

20 years agofinally also create the correct mask for 'pseudo mime' icons
Hans Breuer [Sat, 8 May 2004 16:25:15 +0000 (16:25 +0000)]
finally also create the correct mask for 'pseudo mime' icons

2004-05-08  Hans Breuer  <hans@breuer.org>

* gtk/gtkfilesystemwin32.c (extract_icon) : finally also
create the correct mask for 'pseudo mime' icons

* gdk/win32/gdkwindow-win32.c(show_window_internal) : also
take focus_on_map into account

* gtk/gtkselection.c : g_message() only with DEBUG_SELECTION

* gtk/gtkactiongroup.c gtk/gtkcombobox.c :
... must return a value

* gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated