]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoSome fixes from Morten Welinder (#172947):
Matthias Clasen [Thu, 7 Apr 2005 18:46:19 +0000 (18:46 +0000)]
Some fixes from Morten Welinder (#172947):

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

Some fixes from Morten Welinder (#172947):

* gtk/updateiconcache.c (icon_name_hash): Make this compiler-
and platform-independent.
(is_cache_up_to_date): Don't compare mtimes is a stat call failed.
(build_cache): Error out if a stat fails.

19 years agoAdd a paragraph about shortcut terminology. (#166906, Sebastien Bacher)
Matthias Clasen [Thu, 7 Apr 2005 16:55:00 +0000 (16:55 +0000)]
Add a paragraph about shortcut terminology. (#166906, Sebastien Bacher)

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

* gtk/tmpl/gtkfilechooser.sgml: Add a paragraph about
shortcut terminology.  (#166906, Sebastien Bacher)

19 years agoMake the docs of GKT_SELECTION_MULTIPLE more accurate by making them more
Matthias Clasen [Thu, 7 Apr 2005 14:39:28 +0000 (14:39 +0000)]
Make the docs of GKT_SELECTION_MULTIPLE more accurate by making them more

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

* gtk/tmpl/gtkenums.sgml: Make the docs of GKT_SELECTION_MULTIPLE
more accurate by making them more vague.  (#167088,
Ken Siersma)

19 years agoUpdated traditional Chinese translation from GNOME HK Team
Kwok-Koon Cheung [Thu, 7 Apr 2005 14:22:34 +0000 (14:22 +0000)]
Updated traditional Chinese translation from GNOME HK Team

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

19 years agoAdd a hint about hiding expanders.
Matthias Clasen [Thu, 7 Apr 2005 13:36:48 +0000 (13:36 +0000)]
Add a hint about hiding expanders.

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

* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
a hint about hiding expanders.

19 years agoAdd a sentence about toggling. (#159382, Worik Stanton)
Matthias Clasen [Thu, 7 Apr 2005 13:04:27 +0000 (13:04 +0000)]
Add a sentence about toggling. (#159382, Worik Stanton)

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

* gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
toggling.  (#159382, Worik Stanton)

19 years agoReturn TRUE if the cache is newer than the directory. (#172852, Jacob
Matthias Clasen [Thu, 7 Apr 2005 12:41:40 +0000 (12:41 +0000)]
Return TRUE if the cache is newer than the directory. (#172852, Jacob

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

* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory.  (#172852,
Jacob Kroon)

19 years agoa typo
Stepan Kasal [Thu, 7 Apr 2005 07:43:58 +0000 (07:43 +0000)]
a typo

19 years agoReplace an explicit pkg-config by $PKG_CONFIG. (#168074, Hans-Wolfgang
Matthias Clasen [Thu, 7 Apr 2005 06:15:12 +0000 (06:15 +0000)]
Replace an explicit pkg-config by $PKG_CONFIG. (#168074, Hans-Wolfgang

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

* configure.in: Replace an explicit pkg-config by
$PKG_CONFIG.  (#168074, Hans-Wolfgang Loidl)

19 years agoCommit the right ChangeLog
Matthias Clasen [Thu, 7 Apr 2005 05:45:35 +0000 (05:45 +0000)]
Commit the right ChangeLog

19 years agoInitialize the colormap to zero. (#171762, David Costanzo)
Matthias Clasen [Thu, 7 Apr 2005 05:44:41 +0000 (05:44 +0000)]
Initialize the colormap to zero. (#171762, David Costanzo)

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

* io-bmp.c (DecodeColormap): Initialize the colormap to
zero.  (#171762, David Costanzo)

19 years agoIgnore regions which fall completely outside the line. (#165862, Felipe
Matthias Clasen [Thu, 7 Apr 2005 05:39:18 +0000 (05:39 +0000)]
Ignore regions which fall completely outside the line. (#165862, Felipe

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

* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region):
Ignore regions which fall completely outside the line.
(#165862, Felipe Heidrich)

19 years agoPass the target list to the underlying dnd implementation, otherwise we
Matthias Clasen [Thu, 7 Apr 2005 03:55:13 +0000 (03:55 +0000)]
Pass the target list to the underlying dnd implementation, otherwise we

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

* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source)
(gtk_tree_view_enable_model_drag_dest): Pass the target list
to the underlying dnd implementation, otherwise we miss the
target info in the drag-data-received signal.  (#164085, Jorn
Baayen)

19 years agoDocument -1 as possible value.
Matthias Clasen [Thu, 7 Apr 2005 02:41:27 +0000 (02:41 +0000)]
Document -1 as possible value.

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

* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
-1 as possible value.

19 years agoAvoid a few unnecessary calls to gdk_window_get_pointer(). (#168015, Billy
Matthias Clasen [Wed, 6 Apr 2005 16:47:01 +0000 (16:47 +0000)]
Avoid a few unnecessary calls to gdk_window_get_pointer(). (#168015, Billy

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

* gtk/gtktreeview.c (gtk_tree_view_motion_resize_column)
(gtk_tree_view_bin_expose): Avoid a few unnecessary calls
to gdk_window_get_pointer(). (#168015, Billy Biggs)

19 years agoMake it compile
Matthias Clasen [Wed, 6 Apr 2005 13:49:28 +0000 (13:49 +0000)]
Make it compile

19 years agoRemove Makefile.in.in
Matthias Clasen [Wed, 6 Apr 2005 13:08:01 +0000 (13:08 +0000)]
Remove Makefile.in.in

19 years agoDon't modify scanner->value, copy it first. (#165693, Tommi Komulainen)
Matthias Clasen [Wed, 6 Apr 2005 12:45:55 +0000 (12:45 +0000)]
Don't modify scanner->value, copy it first. (#165693, Tommi Komulainen)

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

* gtk/gtkrc.c (gtk_rc_parse_style): Don't modify scanner->value,
copy it first.  (#165693, Tommi Komulainen)

19 years agoUpdated Ukrainian translation.
Maxim Dziumanenko [Wed, 6 Apr 2005 12:17:09 +0000 (12:17 +0000)]
Updated Ukrainian translation.

2005-04-06  Maxim Dziumanenko <mvd@mylinux.com.ua>

* Updated Ukrainian translation.

19 years agoImplement grab_focus for GtkComboBox and GtkComboBoxEntry. (#171912,
Matthias Clasen [Wed, 6 Apr 2005 04:01:19 +0000 (04:01 +0000)]
Implement grab_focus for GtkComboBox and GtkComboBoxEntry. (#171912,

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

* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus):
* gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement
grab_focus for GtkComboBox and GtkComboBoxEntry.  (#171912,
Gustavo Carneiro)

19 years agoStore icon caches along with the mtimes of the toplevel directories. The
Matthias Clasen [Wed, 6 Apr 2005 03:34:38 +0000 (03:34 +0000)]
Store icon caches along with the mtimes of the toplevel directories. The

* gtk/gtkicontheme.c: Store icon caches along with the
mtimes of the toplevel directories. The previous
mechanism of a hashtable-per-theme caused duplicate icon
caches for the same toplevel directory to be created.
(#170030)

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