]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoFix a typo in a warning.
Matthias Clasen [Tue, 5 Apr 2005 23:05:53 +0000 (23:05 +0000)]
Fix a typo in a warning.

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level):
Fix a typo in a warning.

19 years agoadd xdgmimecache.[ch].
Manish Singh [Tue, 5 Apr 2005 23:00:53 +0000 (23:00 +0000)]
add xdgmimecache.[ch].

Tue Apr  5 16:00:04 2005  Manish Singh  <yosh@gimp.org>

        * Makefile.am: add xdgmimecache.[ch].

19 years agoProtect the license and credits buttons from being affected by
Matthias Clasen [Tue, 5 Apr 2005 22:37:02 +0000 (22:37 +0000)]
Protect the license and credits buttons from being affected by

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
the license and credits buttons from being affected by
gtk_widget_show_all().  (#172724)

19 years agoUpdated German translation.
Hendrik Richter [Tue, 5 Apr 2005 18:36:32 +0000 (18:36 +0000)]
Updated German translation.

2005-04-05  Hendrik Richter  <hendi@gnome-de.org>

* de.po: Updated German translation.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 5 Apr 2005 18:10:51 +0000 (18:10 +0000)]
Updated Canadian English translation.

2005-04-05  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoKeep a reference to the item. (#167920, Hazael Maldonado Torres)
Matthias Clasen [Tue, 5 Apr 2005 13:52:32 +0000 (13:52 +0000)]
Keep a reference to the item. (#167920, Hazael Maldonado Torres)

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a
reference to the item.  (#167920, Hazael Maldonado Torres)

19 years agoAdd some more docs on interactive search.
Matthias Clasen [Tue, 5 Apr 2005 12:52:17 +0000 (12:52 +0000)]
Add some more docs on interactive search.

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some
more docs on interactive search.

19 years agoMention enter and leave events. (#167546, Billy Biggs)
Matthias Clasen [Tue, 5 Apr 2005 12:25:18 +0000 (12:25 +0000)]
Mention enter and leave events. (#167546, Billy Biggs)

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtktooltips.sgml: Mention enter and leave
events.  (#167546, Billy Biggs)

19 years agoHandle 16 colour display mode. For some reason, in this mode
Tor Lillqvist [Tue, 5 Apr 2005 01:46:59 +0000 (01:46 +0000)]
Handle 16 colour display mode. For some reason, in this mode

2005-04-05  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour
display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL)
returns 1 (but GetDeviceCaps(NUMCOLORS) does return 16). (#143415)

19 years agoDon't force 24bpp GdkVisual on 32bpp displays. (#140706)
Tor Lillqvist [Tue, 5 Apr 2005 00:42:24 +0000 (00:42 +0000)]
Don't force 24bpp GdkVisual on 32bpp displays. (#140706)

2005-04-05  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
24bpp GdkVisual on 32bpp displays. (#140706)

19 years agoAdd bug ref
Matthias Clasen [Tue, 5 Apr 2005 00:14:27 +0000 (00:14 +0000)]
Add bug ref

19 years agochange to use gtk_tree_view_real_expand_row() instead of doing this by
Jonathan Blandford [Mon, 4 Apr 2005 23:41:19 +0000 (23:41 +0000)]
change to use gtk_tree_view_real_expand_row() instead of doing this by

Mon Apr  4 19:13:23 2005  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use
        gtk_tree_view_real_expand_row() instead of doing this by hand.

19 years agoAdd GtkTextBuffer::text (#172631)
Johan Dahlin [Mon, 4 Apr 2005 23:29:53 +0000 (23:29 +0000)]
Add GtkTextBuffer::text (#172631)

    * gtk/gtktextbuffer.c: (gtk_text_buffer_class_init),
    (gtk_text_buffer_set_property), (gtk_text_buffer_get_property),
    (gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631)

19 years agoForgotten file
Matthias Clasen [Mon, 4 Apr 2005 21:57:39 +0000 (21:57 +0000)]
Forgotten file

19 years agocast combo->priv->entry to GTK_ENTRY()
Manish Singh [Mon, 4 Apr 2005 21:35:46 +0000 (21:35 +0000)]
cast combo->priv->entry to GTK_ENTRY()

Mon Apr  4 14:33:55 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
        cast combo->priv->entry to GTK_ENTRY()

        * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
        cast completion->priv->tree_view to GTK_TREE_VIEW()

19 years agoSome trivial doc fixes.
Matthias Clasen [Mon, 4 Apr 2005 21:15:41 +0000 (21:15 +0000)]
Some trivial doc fixes.

2005-04-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbuffer.c: Some trivial doc fixes.

19 years agoImprove the wording of the doc comment. (#172422, Vincent Untz)
Matthias Clasen [Mon, 4 Apr 2005 21:06:08 +0000 (21:06 +0000)]
Improve the wording of the doc comment. (#172422, Vincent Untz)

2005-04-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_redraw_on_allocate): Improve
the wording of the doc comment.  (#172422, Vincent Untz)

19 years agoCovert expander drawing to Cairo. Also always draw the entire triangle
Owen Taylor [Mon, 4 Apr 2005 20:51:24 +0000 (20:51 +0000)]
Covert expander drawing to Cairo. Also always draw the entire triangle

2005-04-04  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (gtk_default_draw_expander): Covert expander
        drawing to Cairo. Also always draw the entire triangle instead
        of just drawing the center for prelight. (Fixes inconsistent
        drawing in GtkTreeView.)

19 years agoRemove symbols accidentally added. Add boolean property popup_set_width
Johan Dahlin [Mon, 4 Apr 2005 20:37:42 +0000 (20:37 +0000)]
Remove symbols accidentally added. Add boolean property popup_set_width

2005-04-04  Johan Dahlin  <johan@gnome.org>

        * gtk/gtk.symbols: Remove symbols accidentally added.
        * gtk/gtkentryprivate.h: Add boolean property popup_set_width
        * gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init):
        Use object_class instead of gobject_class

19 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 4 Apr 2005 20:32:01 +0000 (20:32 +0000)]
Updated Canadian English translation.

2005-04-04  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 4 Apr 2005 19:58:02 +0000 (19:58 +0000)]
Translation updated by Tino Meinen.

2005-04-04  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years agoTranslate x, y into widget coordinates instead of root coordinates. Patch
Søren Sandmann [Mon, 4 Apr 2005 16:20:28 +0000 (16:20 +0000)]
Translate x, y into widget coordinates instead of root coordinates. Patch

Mon Apr  4 12:14:35 2005  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
widget coordinates instead of root coordinates. Patch from Jorn
Baayen. (#172236)

19 years agoAdd a tooltips property.
Matthias Clasen [Mon, 4 Apr 2005 14:20:55 +0000 (14:20 +0000)]
Add a tooltips property.

2005-04-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolbar.c: Add a tooltips property.

19 years agoForgotten files
Matthias Clasen [Mon, 4 Apr 2005 13:21:50 +0000 (13:21 +0000)]
Forgotten files

19 years agoAdd docs.
Matthias Clasen [Mon, 4 Apr 2005 06:28:07 +0000 (06:28 +0000)]
Add docs.

2005-04-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init):
* gtk/gtkruler.c (gtk_ruler_class_init): Add docs.

* gtk/gtktoggletoolbutton.c: Add an active property.

19 years agoAllow completion popups to be wider than the entry. (#131916, Ross Burton)
Matthias Clasen [Mon, 4 Apr 2005 05:15:32 +0000 (05:15 +0000)]
Allow completion popups to be wider than the entry. (#131916, Ross Burton)

2005-04-04  Matthias Clasen  <mclasen@redhat.com>

Allow completion popups to be wider than the entry. (#131916,
Ross Burton)

* gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Don't force the popup to have the same width as the entry if
popup-set-width is FALSE.

* gtk/gtk.symbols: Add new functions.

19 years agoUse gtk_accel_map_change_entry(), so that reusing the same action name
Matthias Clasen [Mon, 4 Apr 2005 04:36:04 +0000 (04:36 +0000)]
Use gtk_accel_map_change_entry(), so that reusing the same action name

2005-04-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Use gtk_accel_map_change_entry(), so that reusing the same
action name works.  (#170727, Paolo Borelli)

19 years agoNew debugging function, to log a clipboard format name symbolically.
Tor Lillqvist [Mon, 4 Apr 2005 00:12:26 +0000 (00:12 +0000)]
New debugging function, to log a clipboard format name symbolically.

2005-04-04  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
function, to log a clipboard format name symbolically.
(_gdk_win32_data_to_string): Also new, to log random data bytes.

Implement delayed rendering on Win32, specifically for transfering
images through the clipboard from GTK+ apps to other
apps (#168173, implementation by Ivan Wong):

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

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
_delayed_rendering_data and _image_bmp.

* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.

* gdk/win32/gdkproperty-win32.c (gdk_property_change):
Accept formats other than GDK_TARGET_STRING or _utf8_string, and
assume they are handled through delayed rendering.

* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
Return all available formats (including those registered by GTK+
apps) on request_targets.
(gdk_selection_property_get): We should append a zero byte like
X11 does.
(gdk_win32_selection_add_targets): New function, for
gtkselection's use. Win32 requires that the clipboard owner
registers all valid formats even if the owner wants delayed
rendering.
(_gdk_win32_selection_convert_to_dib): New function. Convert
images to DIB using gdk-pixbuf.

* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().

* gtk/gtkselection.c (gtk_selection_add_target,
gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
to register target formats.

* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().

19 years agoUpdated pt_BR translation
Raphael Higino [Sun, 3 Apr 2005 22:59:47 +0000 (22:59 +0000)]
Updated pt_BR translation

19 years ago[merged from gtk-2-6 branch] let dash_offset shift the start of the line
Hans Breuer [Sun, 3 Apr 2005 21:03:08 +0000 (21:03 +0000)]
[merged from gtk-2-6 branch] let dash_offset shift the start of the line

2005-04-03  Hans Breuer  <hans@breuer.org>

[merged from gtk-2-6 branch]
* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
the line pattern not the start of the line. Fixes bug #171641.

* gtk/makefile.msc.in : follow .symbols changes

* gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
dynamically. (It is not available in _WIN_VER <= 0x0400)

* gdk/win32/makefile.msc : removed gdkpango-win32.obj

* gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI

[also applied to gtk-2-6 branch]
* gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def

* gdk/makefile.msc.in : add gtkmnemonichash.obj

* test/testgtk.c(set_parent_signal) : use g_message instead of
g_print to keep the 'testgtk --bench=all' output clean

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sun, 3 Apr 2005 18:10:46 +0000 (18:10 +0000)]
Updated Canadian English translation.

2005-04-03  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoAdd a "metric" property.
Matthias Clasen [Sun, 3 Apr 2005 07:31:58 +0000 (07:31 +0000)]
Add a "metric" property.

2005-04-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkruler.c: Add a "metric" property.

19 years agoAdd a "group" property like the one found in radio buttons.
Matthias Clasen [Sun, 3 Apr 2005 07:11:09 +0000 (07:11 +0000)]
Add a "group" property like the one found in radio buttons.

2005-04-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkradiomenuitem.c: Add a "group" property like
the one found in radio buttons.

* gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
a typo in the docs.
(gtk_radio_button_set_group): Add change notification.

19 years agoMove documentation inline, document if add_target functions append or
Matthias Clasen [Fri, 1 Apr 2005 21:20:58 +0000 (21:20 +0000)]
Move documentation inline, document if add_target functions append or

2005-04-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c: Move documentation inline, document
if add_target functions append or prepend.  (#172350,
Jon-Kare Hellan)

19 years agoMake gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry
Matthias Clasen [Fri, 1 Apr 2005 20:53:04 +0000 (20:53 +0000)]
Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry

2005-04-01  Matthias Clasen  <mclasen@redhat.com>

Make gtk_combo_box_get_active_text do the right thing for
GtkComboBoxEntry (#171373, Robert Staudinger)

* gtk/gtkcombobox.h: Add a get_active_text vfunc.

* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
implement it here.

* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
Implement get_active_text by always returning the content of
the entry.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 31 Mar 2005 21:48:57 +0000 (21:48 +0000)]
Updated Canadian English translation.

2005-03-31  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoadded gtk_menu_set/get_take_focus().
Michael Natterer [Thu, 31 Mar 2005 17:04:27 +0000 (17:04 +0000)]
added gtk_menu_set/get_take_focus().

2005-03-31  Michael Natterer  <mitch@gimp.org>

* gtk/gtk-sections.txt: added gtk_menu_set/get_take_focus().

* gtk/tmpl/gtkmenushell.sgml: regenerated.

19 years agoMerged from gtk-2-6:
Sven Neumann [Thu, 31 Mar 2005 17:04:25 +0000 (17:04 +0000)]
Merged from gtk-2-6:

2005-03-31  Sven Neumann  <sven@gimp.org>

Merged from gtk-2-6:

* gtk/gtkbutton.c
* gtk/gtkiconview.c: fixed gtk-doc comments.

19 years agoadded gtk/gtkmenushell.c
Michael Natterer [Thu, 31 Mar 2005 17:02:49 +0000 (17:02 +0000)]
added gtk/gtkmenushell.c

2005-03-31  Michael Natterer  <mitch@gimp.org>

* POTFILES.in: added gtk/gtkmenushell.c

19 years agoAllow to pop up menus without grabbing the keyboard. Useful for stuff like
Michael Natterer [Thu, 31 Mar 2005 17:02:19 +0000 (17:02 +0000)]
Allow to pop up menus without grabbing the keyboard. Useful for stuff like

2005-03-31  Michael Natterer  <mitch@gimp.org>

Allow to pop up menus without grabbing the keyboard. Useful for
stuff like virtual keyboards. Fixes bug #159890

* gtk/gtk.symbols
* gtk/gtkmenushell.[ch]: added boolean property "take-focus"
and public API gtk_menu_shell_set/get_take_focus().

* gtk/gtkmenu.c (gtk_menu_popup)
(popup_grab_on_window): don't grab the keyboard if take_focus
is FALSE.

* gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
parent menu_shell's take_focus property to the submenu which is
about to be popped up.

19 years agoUpdated Czech translation.
Miloslav Trmac [Thu, 31 Mar 2005 09:10:49 +0000 (09:10 +0000)]
Updated Czech translation.

2005-03-31  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoAdded new entries to Kinyarwanda (rw) po file, from bigger compendium.
Steven Michael Murphy [Thu, 31 Mar 2005 04:44:03 +0000 (04:44 +0000)]
Added new entries to Kinyarwanda (rw) po file, from bigger compendium.

Added new entries to Kinyarwanda (rw) po file, from bigger compendium.

19 years agoRolling in more translations (fuzzy&exact) from a bigger compendium.
Steven Michael Murphy [Thu, 31 Mar 2005 04:41:36 +0000 (04:41 +0000)]
Rolling in more translations (fuzzy&exact) from a bigger compendium.

Rolling in more translations (fuzzy&exact) from a bigger compendium.

19 years agoRolling in more exact & fuzzy translations from a bigger compendium.
Steven Michael Murphy [Thu, 31 Mar 2005 04:39:08 +0000 (04:39 +0000)]
Rolling in more exact & fuzzy translations from a bigger compendium.

Rolling in more exact & fuzzy translations from a bigger compendium.

19 years agoUpdated Brazilian Portuguese Translation.
Estêvão Samuel Procópio [Wed, 30 Mar 2005 22:33:22 +0000 (22:33 +0000)]
Updated Brazilian Portuguese Translation.

19 years agoMerged from gtk-2-6:
Federico Mena Quintero [Wed, 30 Mar 2005 21:48:10 +0000 (21:48 +0000)]
Merged from gtk-2-6:

2005-03-30  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-6:

Fix #170755:

* gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
if the row which changed is the same as the row being edited.

19 years agoUpdating Brazilian Portuguese translation.
Estêvão Samuel Procópio [Wed, 30 Mar 2005 20:09:39 +0000 (20:09 +0000)]
Updating Brazilian Portuguese translation.

19 years agoAvoid bus errors due to unaligned access. (#168173, Morten Welinder, Ivan
Matthias Clasen [Wed, 30 Mar 2005 19:34:37 +0000 (19:34 +0000)]
Avoid bus errors due to unaligned access. (#168173, Morten Welinder, Ivan

2005-03-30  Matthias Clasen  <mclasen@redhat.com>

* io-bmp.c: Avoid bus errors due to unaligned access. (#168173,
Morten Welinder, Ivan Wong)

19 years agoMake enable_search control only typeahead, not C-f. (#170435, Sven
Matthias Clasen [Wed, 30 Mar 2005 18:20:59 +0000 (18:20 +0000)]
Make enable_search control only typeahead, not C-f. (#170435, Sven

2005-03-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
Make enable_search control only typeahead, not C-f.  (#170435,
Sven Neumann)
(gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.

19 years agoInclude cairo.h
Matthias Clasen [Wed, 30 Mar 2005 17:40:39 +0000 (17:40 +0000)]
Include cairo.h

2005-03-30  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkpixbuf.h: Include cairo.h

19 years agoDon't accept n_targets == -1. (clipboard_unset): unref the old_data, not
Matthias Clasen [Wed, 30 Mar 2005 17:37:42 +0000 (17:37 +0000)]
Don't accept n_targets == -1. (clipboard_unset): unref the old_data, not

2005-03-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkclipboard.c (gtk_clipboard_set_can_store):
Don't accept n_targets == -1.
(clipboard_unset): unref the old_data, not the
user_data which we have just cleared.  (#172038, Sven
Neumann)

19 years agoForgotten Changelog
Matthias Clasen [Wed, 30 Mar 2005 17:10:00 +0000 (17:10 +0000)]
Forgotten Changelog

19 years agoDon't segfault if somebody tries to popup an unrealized combo box.
Matthias Clasen [Wed, 30 Mar 2005 17:09:13 +0000 (17:09 +0000)]
Don't segfault if somebody tries to popup an unrealized combo box.

2005-03-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
segfault if somebody tries to popup an unrealized
combo box.  (#172031, Felipe Heidrich)

19 years agoFix event filter handling. If an event filter (global, client message
Tor Lillqvist [Wed, 30 Mar 2005 08:25:45 +0000 (08:25 +0000)]
Fix event filter handling. If an event filter (global, client message

2005-03-30  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix event
filter handling. If an event filter (global, client message
filter, of window-specific) returns GDK_FILTER_CONTINUE,
continue as if nothing happened. If it returns
GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE from
gdk_event_translate() which means that DefWindowProc() will
not be called.
(gdk_event_translate): Fix client message handling. Append a
GDK_CLIENT_EVENT unless there is a filter that matches and returns
something other than GDK_FILTER_CONTINUE. (#135552)

19 years agoThe state field should represent the state before the event, like on X11.
Tor Lillqvist [Wed, 30 Mar 2005 08:07:45 +0000 (08:07 +0000)]
The state field should represent the state before the event, like on X11.

2005-03-30  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
state field should represent the state before the event, like on
X11. (#169753)

19 years agoUpdated traditional Chinese translation from GNOME HK Team
Kwok-Koon Cheung [Wed, 30 Mar 2005 03:47:46 +0000 (03:47 +0000)]
Updated traditional Chinese translation from GNOME HK Team

* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team

19 years agoDocument the need to refilter if parameters of the visibility function
Matthias Clasen [Tue, 29 Mar 2005 06:04:18 +0000 (06:04 +0000)]
Document the need to refilter if parameters of the visibility function

2005-03-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
Document the need to refilter if parameters of the visibility function
change.  (#169516, Olivier Sessink)

19 years agoFix the update areas for incremental loading of compressed tgas. (#171883,
Matthias Clasen [Tue, 29 Mar 2005 05:21:26 +0000 (05:21 +0000)]
Fix the update areas for incremental loading of compressed tgas. (#171883,

2005-03-29  Matthias Clasen  <mclasen@redhat.com>

* io-tga.c (parse_rle_data): Fix the update areas for incremental
loading of compressed tgas.  (#171883, David Costanzo)

19 years agoDon't invalidate areas that are covered by mapped input-output child
Søren Sandmann [Mon, 28 Mar 2005 20:28:43 +0000 (20:28 +0000)]
Don't invalidate areas that are covered by mapped input-output child

Mon Mar 28 15:13:42 2005  Søren Sandmann  <sandmann@redhat.com>

* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
invalidate areas that are covered by mapped input-output child
windows. Bug 141380.

19 years agoSync to latest upstream, including fixes for matching against multiple
Matthias Clasen [Mon, 28 Mar 2005 19:32:07 +0000 (19:32 +0000)]
Sync to latest upstream, including fixes for matching against multiple

2005-03-28  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimeglob.c: Sync to latest upstream,
        including fixes for matching against multiple
        extensions (eg .tar.gz) and for suffix
        patterns which don't start with a dot.

19 years agoMake the preview label ellipsize so the dialog layout stays constant.
Jeroen Zwartepoorte [Mon, 28 Mar 2005 17:18:00 +0000 (17:18 +0000)]
Make the preview label ellipsize so the dialog layout stays constant.

2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>

* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
the preview label ellipsize so the dialog layout stays constant.
(#171398)

19 years agoDon't pop up the context menu of the search entry if it is not visible.
Matthias Clasen [Mon, 28 Mar 2005 06:03:42 +0000 (06:03 +0000)]
Don't pop up the context menu of the search entry if it is not visible.

2005-03-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
the context menu of the search entry if it is not visible.
(#169534, Billy Biggs)

19 years agoUse the correct update regions for compressed bmps. (#150664, Owen Taylor,
Matthias Clasen [Mon, 28 Mar 2005 04:16:10 +0000 (04:16 +0000)]
Use the correct update regions for compressed bmps. (#150664, Owen Taylor,

2005-03-27  Matthias Clasen  <mclasen@redhat.com>

* io-bmp.c (DoCompressed): Use the correct update regions for
compressed bmps.  (#150664, Owen Taylor, test images provided
by David Costanzo)

19 years agoreject 0-sized buffers as corrupt header data. Fixes bug #171707.
Manish Singh [Mon, 28 Mar 2005 04:01:25 +0000 (04:01 +0000)]
reject 0-sized buffers as corrupt header data. Fixes bug #171707.

Sun Mar 27 19:59:52 2005  Manish Singh  <yosh@gimp.org>

        * io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
        data. Fixes bug #171707.

19 years agoUpdated pt_BR translation
Raphael Higino [Sun, 27 Mar 2005 21:30:52 +0000 (21:30 +0000)]
Updated pt_BR translation

19 years agoApparently AC_LIBTOOL_WIN32_DLL isn't deprecated after all, and in fact
Tor Lillqvist [Sun, 27 Mar 2005 19:20:51 +0000 (19:20 +0000)]
Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated after all, and in fact

2005-03-27  Tor Lillqvist  <tml@novell.com>

* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
after all, and in fact necessary with HEAD libtool.

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 26 Mar 2005 23:02:41 +0000 (23:02 +0000)]
Updated Spanish translation.

2005-03-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 26 Mar 2005 15:48:43 +0000 (15:48 +0000)]
Updated Spanish translation.

2005-03-26  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 26 Mar 2005 07:25:49 +0000 (07:25 +0000)]
Updated Canadian English translation.

2005-03-26  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoUse canonical names for g_object_notify() as well.
Matthias Clasen [Sat, 26 Mar 2005 05:49:15 +0000 (05:49 +0000)]
Use canonical names for g_object_notify() as well.

2005-03-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/*.c:
* gdk/gdkdisplaymanager.c:
Use canonical names for g_object_notify() as well.

19 years agoInclude the -mms-bitfields flag in GTK_EXTRA_CFLAGS on Win32, so that it
Tor Lillqvist [Thu, 24 Mar 2005 15:14:12 +0000 (15:14 +0000)]
Include the -mms-bitfields flag in GTK_EXTRA_CFLAGS on Win32, so that it

2005-03-24  Tor Lillqvist  <tml@novell.com>

* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
gtk+-2.0.pc file and automatically used by dependents. MSVC users
who use pkg-config will have to manually edit it out from
gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
some kind of conditionals in .pc files?

19 years agoRemove a call whose result was unused and leaked. (#170776, Kjartan
Matthias Clasen [Wed, 23 Mar 2005 14:07:21 +0000 (14:07 +0000)]
Remove a call whose result was unused and leaked. (#170776, Kjartan

2005-03-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (update_combo_box): Remove
a call whose result was unused and leaked.  (#170776,
Kjartan Maraas)

19 years agoSome cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify,
Matthias Clasen [Wed, 23 Mar 2005 14:03:43 +0000 (14:03 +0000)]
Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify,

2005-03-23  Matthias Clasen  <mclasen@redhat.com>

Some cleanups to the GtkDialog code:  (#170746,
Morten Welinder)
* gtk/gtkdialog.c (action_widget_activated): Simplify,
use _gtk_dialog_get_response_for_widget.
(gtk_dialog_add_action_widget): Use the correct signal
id for non-buttons.
(gtk_dialog_set_response_sensitive):
(gtk_dialog_set_default_response): Use get_response_data.
(gtk_dialog_run): Don't disconnect the signals if the
dialog was destroyed while running.

19 years agoUse g_return_if_fail, not g_return_val_if_fail.
Manish Singh [Tue, 22 Mar 2005 22:17:16 +0000 (22:17 +0000)]
Use g_return_if_fail, not g_return_val_if_fail.

Tue Mar 22 14:16:31 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
        Use g_return_if_fail, not g_return_val_if_fail.

19 years agoImplement bookmark renaming (#136216, Sean Middleditch)
Matthias Clasen [Tue, 22 Mar 2005 20:23:19 +0000 (20:23 +0000)]
Implement bookmark renaming (#136216, Sean Middleditch)

2005-03-22  Matthias Clasen  <mclasen@redhat.com>

Implement bookmark renaming  (#136216, Sean Middleditch)

* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add
get_bookmark_label and set_bookmark_label vfuncs.

* gtk/gtkfilesystem.h:
* gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
(gtk_file_system_get_bookmark_label): Wrappers for the
vfuncs.

* gtk/gtk.symbols: Add new exported symbols.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label):
(gtk_file_system_unix_get_bookmark_label): Implementations
for the Unix backend.

* gtk/gtkfilechooserdefault.c: Add a context menu to
the bookmarks pane, and allow to rename bookmarks.

19 years agoStop scrolling when the widget is unmapped. (#168791, Ryan Lortie)
Matthias Clasen [Tue, 22 Mar 2005 17:36:41 +0000 (17:36 +0000)]
Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie)

2005-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_unmap):
* gtk/gtkspinbutton.c (gtk_spin_button_unmap):
* gtk/gtknotebook.c (gtk_notebook_unmap):
* gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
the widget is unmapped.  (#168791, Ryan Lortie)

19 years agoForgotten commit.
Matthias Clasen [Tue, 22 Mar 2005 17:06:03 +0000 (17:06 +0000)]
Forgotten commit.

19 years agoDefine macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE
Matthias Clasen [Tue, 22 Mar 2005 02:14:55 +0000 (02:14 +0000)]
Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE

2005-03-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
their G_ counterparts, but also mark the name, nick
and blurb as static.

* gtk/*.c: Mark param spec strings as static, using
the new macros.

19 years agoFix a typo
Matthias Clasen [Mon, 21 Mar 2005 15:34:36 +0000 (15:34 +0000)]
Fix a typo

19 years agoFix typo
Matthias Clasen [Mon, 21 Mar 2005 06:05:18 +0000 (06:05 +0000)]
Fix typo

19 years agoFix a typo
Matthias Clasen [Mon, 21 Mar 2005 06:04:01 +0000 (06:04 +0000)]
Fix a typo

19 years ago: Mark param spec strings as static.
Matthias Clasen [Mon, 21 Mar 2005 06:02:43 +0000 (06:02 +0000)]
: Mark param spec strings as static.

19 years agoMark param spec strings as static.
Matthias Clasen [Mon, 21 Mar 2005 05:17:10 +0000 (05:17 +0000)]
Mark param spec strings as static.

2005-03-21  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkpango.c (gdk_pango_renderer_class_init):
* gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
param spec strings as static.

19 years agoMark param spec strings as static.
Matthias Clasen [Mon, 21 Mar 2005 05:07:20 +0000 (05:07 +0000)]
Mark param spec strings as static.

2005-03-21  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf.c (gdk_pixbuf_class_init): Mark param spec strings
as static.

19 years agoShut up CVS
Manish Singh [Mon, 21 Mar 2005 02:42:16 +0000 (02:42 +0000)]
Shut up CVS

19 years agoSilence gcc warnings (unused variables, unhandled enum value in switch).
Tor Lillqvist [Sun, 20 Mar 2005 23:10:14 +0000 (23:10 +0000)]
Silence gcc warnings (unused variables, unhandled enum value in switch).

2005-03-21  Tor Lillqvist  <tml@novell.com>

* modules/engines/ms-windows/*.c: Silence gcc warnings (unused
variables, unhandled enum value in switch). Use g_object_unref()
instead of deprecated gdk_gc_unref() and gdk_drawable_unref().

* modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
Add missing "case" keyword.

* modules/engines/ms-windows/Makefile.am: Link with -lgdi32
explicitly.

19 years agoReturn the Terminal Services session number, window station name (always
Tor Lillqvist [Sun, 20 Mar 2005 21:39:55 +0000 (21:39 +0000)]
Return the Terminal Services session number, window station name (always

2005-03-20  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
Terminal Services session number, window station name (always
"WinSta0" in interactive processes), and desktop name (typically
"Default"), concatenated with backslash separators.
(gdk_display_open): Accept only NULL or the string
gdk_display_get_name() returns as display name.

19 years agocast away the constness in the call to free().
Manish Singh [Sun, 20 Mar 2005 07:53:16 +0000 (07:53 +0000)]
cast away the constness in the call to free().

Sat Mar 19 23:52:33 2005  Manish Singh  <yosh@gimp.org>

        * xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
        in the call to free().

19 years agoDon't leak node->mime_type if we are reusing an existing node. (#170774,
Matthias Clasen [Sun, 20 Mar 2005 07:10:14 +0000 (07:10 +0000)]
Don't leak node->mime_type if we are reusing an existing node. (#170774,

2005-03-20  Matthias Clasen  <mclasen@redhat.com>

* xdgmimeglob.c (_xdg_glob_hash_insert_text): Don't
leak node->mime_type if we are reusing an existing
node.  (#170774, Kjartan Maraas)

19 years agoMake PLT-reduction work with gcc4, and don't include everything in
Matthias Clasen [Sun, 20 Mar 2005 07:01:23 +0000 (07:01 +0000)]
Make PLT-reduction work with gcc4, and don't include everything in

2005-03-20  Matthias Clasen  <mclasen@redhat.com>

Make PLT-reduction work with gcc4, and don't include
everything in gdkalias.h:

* gtk/grk.symbols: Group symbols by header and source file.
* gtk/makegtkalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegtkalias.pl -def
* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
this file.
* gtk/*.c: Include gtkalias.h after the other headers,
include gtkaliasdef.c at the bottom.
* gtk/*.h: Small cleanups.

19 years agoMake right-clicks not pop up the menu.
Soeren Sandmann [Sat, 19 Mar 2005 06:31:42 +0000 (06:31 +0000)]
Make right-clicks not pop up the menu.

Fri Mar 18 23:59:49 2005  Soeren Sandmann  <sandmann@redhat.com>

* gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
Make right-clicks not pop up the menu.

19 years agoCall cairo_surface_finish()
Owen Taylor [Fri, 18 Mar 2005 23:51:31 +0000 (23:51 +0000)]
Call cairo_surface_finish()

2005-03-18  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
        Call cairo_surface_finish()

        * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
        _gdk_windowing_set_surface_device_offset().

19 years agoOn WM_MOUSEMOVE, don't check if this process owns the active window. This
Tor Lillqvist [Fri, 18 Mar 2005 10:21:51 +0000 (10:21 +0000)]
On WM_MOUSEMOVE, don't check if this process owns the active window. This

2005-03-18  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
WM_MOUSEMOVE, don't check if this process owns the active
window. This makes cross-application widget embedding work better.
On WM_MOVE, don't bother checking for window visibility.

* gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
unused variables. Add some casts to silence gcc.

19 years agoUse cairo_set_device_offset().
Owen Taylor [Fri, 18 Mar 2005 01:23:23 +0000 (01:23 +0000)]
Use cairo_set_device_offset().

2005-02-24  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c: Use cairo_set_device_offset().

* gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
gdk/win32/gdkpixmap-win32.c:
Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the
drawable. Add _gdk_drawable_win32_finish() to clean up resources
when a drawable is destroyed.

* gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
(blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use
acquire/release_dc when getting a DC to use with a GC or for
blitting from a pixmap.

* gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()

* gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
implementations.

* gdk/win32/gdkdrawable-win32.c: Remove
gdk_draw_rectangle_alpha_libgtk_only()

19 years agoFix get_stipple_surface to actually work, set EXTEND_REPEAT on the stipple
Owen Taylor [Thu, 17 Mar 2005 20:53:34 +0000 (20:53 +0000)]
Fix get_stipple_surface to actually work, set EXTEND_REPEAT on the stipple

2005-03-17  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
        EXTEND_REPEAT on the stipple pattern.

19 years agoFix formatting in example in the docs. (#170611, Jianfei Wang)
Matthias Clasen [Thu, 17 Mar 2005 19:32:45 +0000 (19:32 +0000)]
Fix formatting in example in the docs. (#170611, Jianfei Wang)

2005-03-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
in example in the docs.  (#170611, Jianfei Wang)

19 years agoClamp adjustment values on resize. (#170567, Tomislav Jonjic)
Matthias Clasen [Thu, 17 Mar 2005 18:37:35 +0000 (18:37 +0000)]
Clamp adjustment values on resize. (#170567, Tomislav Jonjic)

2005-03-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
adjustment values on resize.  (#170567, Tomislav Jonjic)

19 years agoDon't crash if there is no cache. (#170652, Diego Gonzalez)
Matthias Clasen [Thu, 17 Mar 2005 18:13:46 +0000 (18:13 +0000)]
Don't crash if there is no cache. (#170652, Diego Gonzalez)

2005-03-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
if there is no cache.  (#170652, Diego Gonzalez)

19 years agoMake inline completion insert the prefix at the right spot. (#170146, Doug
Matthias Clasen [Thu, 17 Mar 2005 18:09:24 +0000 (18:09 +0000)]
Make inline completion insert the prefix at the right spot. (#170146, Doug

2005-03-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
Make inline completion insert the prefix at the
right spot.  (#170146, Doug Quale)

19 years agogdk_key is a typedef, not a struct tag.
Tor Lillqvist [Thu, 17 Mar 2005 12:05:16 +0000 (12:05 +0000)]
gdk_key is a typedef, not a struct tag.

2005-03-17  Tor Lillqvist  <tml@novell.com>

* gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.