]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoCheck whether the widget actually is a GtkNotebook before treating it as
Tor Lillqvist [Thu, 15 Sep 2005 22:14:03 +0000 (22:14 +0000)]
Check whether the widget actually is a GtkNotebook before treating it as

2005-09-16  Tor Lillqvist  <tml@novell.com>

* modules/engines/ms-windows/msw_style.c (draw_extension,
draw_box_gap): Check whether the widget actually is a GtkNotebook
before treating it as such. Drop some unneeded local variables,
use parameter with same information instead. (#316412)

18 years agoStart a set of automated tests for the file chooser. The only test in
Federico Mena Quintero [Thu, 15 Sep 2005 21:51:31 +0000 (21:51 +0000)]
Start a set of automated tests for the file chooser. The only test in

2005-09-15  Federico Mena Quintero  <federico@ximian.com>

* tests/autotestfilechooser.c: Start a set of automated tests for
the file chooser.  The only test in there right now doesn't pass
yet.  It specifies the intended behavior of the first optimization
of a series which I'll do on the file chooser (see
http://primates.ximian.com/~federico/news-2005-09.html#14 for the
details of this optimization).

* tests/Makefile.am: Added autotestfilechooser.c.

* gtk/gtkfilechooserprivate.h (struct
_GtkFileChooserDialogPrivate): Move all the file chooser's private
structures to here, so that they can be accessed by
tests/autotestfilechooser.c:  _GtkFileChooserDialogPrivate,
_GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault.

* gtk/gtkfilechooserdialog.c: See above.

* gtk/gtkfilechooserwidget.c: See above.

* gtk/gtkfilechooserdefault.c: See above.

18 years agoList all the default key bindings. Fix the documentation for the
Federico Mena Quintero [Thu, 15 Sep 2005 17:03:15 +0000 (17:03 +0000)]
List all the default key bindings. Fix the documentation for the

2005-09-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooser.sgml: List all the default key bindings.
Fix the documentation for the "location-popup" binding signal; its
"path" argument was not listed.  Mention a tip to have a crude
form of bookmarks accessible through key bindings.

18 years agogtk_window_map_event(): new function to work around lost unmap requests.
Tim Janik [Thu, 15 Sep 2005 13:31:33 +0000 (13:31 +0000)]
gtk_window_map_event(): new function to work around lost unmap requests.

Thu Sep 15 15:27:55 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkwindow.c:
        gtk_window_map_event(): new function to work around lost unmap requests.
        fixes bug #316180.

18 years agoAdd an easy-to-find profiling marker when starting to create a file
Federico Mena Quintero [Thu, 15 Sep 2005 00:59:16 +0000 (00:59 +0000)]
Add an easy-to-find profiling marker when starting to create a file

2005-09-14  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add
an easy-to-find profiling marker when starting to create a file
chooser.
(browse_files_model_finished_loading_cb): Likewise, for when the
chooser is finished loading.

18 years agoCheck "color" argument in gtk_color_button_set_color ()
Tristan Van Berkom [Wed, 14 Sep 2005 04:48:38 +0000 (04:48 +0000)]
Check "color" argument in gtk_color_button_set_color ()

* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()

18 years agoNo point in using a mem chunk for window groups, buttons, labels.
Matthias Clasen [Wed, 14 Sep 2005 04:31:23 +0000 (04:31 +0000)]
No point in using a mem chunk for window groups, buttons, labels.

2005-09-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_get_type):
* gtk/gtkbutton.c (gtk_button_get_type):
* gtk/gtkwindow.c (gtk_window_group_get_type): No point in
using a mem chunk for window groups, buttons, labels.

18 years agoFix a use-after-free bug. (#316256, Alexander Nedotsukov)
Matthias Clasen [Wed, 14 Sep 2005 03:11:05 +0000 (03:11 +0000)]
Fix a use-after-free bug. (#316256, Alexander Nedotsukov)

2005-09-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug.  (#316256, Alexander Nedotsukov)

18 years agoVarious cleanups. (#315360, Kjartan Maraas)
Matthias Clasen [Tue, 13 Sep 2005 19:57:42 +0000 (19:57 +0000)]
Various cleanups. (#315360, Kjartan Maraas)

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/*.c: Various cleanups.  (#315360, Kjartan Maraas)

18 years agoVarious cleanups. (#315359, Kjartan Maraas)
Matthias Clasen [Tue, 13 Sep 2005 19:14:51 +0000 (19:14 +0000)]
Various cleanups. (#315359, Kjartan Maraas)

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gdk/*.c: Various cleanups.  (#315359, Kjartan Maraas)

18 years agoLet GDK_Return pass through in some more cases.
Matthias Clasen [Tue, 13 Sep 2005 18:50:39 +0000 (18:50 +0000)]
Let GDK_Return pass through in some more cases.

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
Let GDK_Return pass through in some more cases.

* gtk/gtkentry.c (gtk_entry_key_press): Reset the im context before
activating the entry.

18 years agoFix typos in the docs. (#316008, #316027, #316121, Guillaume Cottenceau)
Matthias Clasen [Tue, 13 Sep 2005 17:53:21 +0000 (17:53 +0000)]
Fix typos in the docs. (#316008, #316027, #316121, Guillaume Cottenceau)

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_class_init):
(gtk_icon_view_get_dest_item_at_pos):  Fix typos in the
docs.  (#316008, #316027, #316121, Guillaume Cottenceau)

18 years agoAdd some docs. (#316001, Guillaume Cottenceau)
Matthias Clasen [Tue, 13 Sep 2005 17:31:32 +0000 (17:31 +0000)]
Add some docs. (#316001, Guillaume Cottenceau)

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs.
(#316001, Guillaume Cottenceau)

18 years agoFix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau)
Matthias Clasen [Tue, 13 Sep 2005 17:18:01 +0000 (17:18 +0000)]
Fix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau)

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste
mistake in the docs.  (#315993, Guillaume Cottenceau)

18 years agoAdd some strings containing multibyte characters.
Matthias Clasen [Tue, 13 Sep 2005 15:08:43 +0000 (15:08 +0000)]
Add some strings containing multibyte characters.

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* tests/testentrycompletion.c (create_simple_completion_model): Add
some strings containing multibyte characters.

* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
Fix prefix insertion for multibyte characters.  (#316095,
Tommi Komulainen)

18 years agoClarify docs for ::insert-text signal. (#316094, Tommi Komulainen)
Matthias Clasen [Tue, 13 Sep 2005 14:27:45 +0000 (14:27 +0000)]
Clarify docs for ::insert-text signal. (#316094, Tommi Komulainen)

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkeditable.sgml: Clarify docs
for ::insert-text signal.  (#316094, Tommi
Komulainen)

18 years agoSilently return NULL if the widget is not realized. (#316023, Guillaume
Matthias Clasen [Tue, 13 Sep 2005 13:33:01 +0000 (13:33 +0000)]
Silently return NULL if the widget is not realized. (#316023, Guillaume

2005-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
* gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): Silently
return NULL if the widget is not realized.  (#316023,
Guillaume Cottenceau)

18 years agofixed wording and typos in some places. added a new section "Optimizing RC
Tim Janik [Tue, 13 Sep 2005 12:19:07 +0000 (12:19 +0000)]
fixed wording and typos in some places. added a new section "Optimizing RC

Tue Sep 13 14:16:27 2005  Tim Janik  <timj@imendio.com>

        * gtk/tmpl/gtkrc.sgml: fixed wording and typos in some places.
        added a new section "Optimizing RC Style Matches".

18 years agoUse gdk_atom_intern_static_string() where appropriate.
Matthias Clasen [Sun, 11 Sep 2005 05:48:27 +0000 (05:48 +0000)]
Use gdk_atom_intern_static_string() where appropriate.

* gtk/*.c:  Use gdk_atom_intern_static_string() where
appropriate.

18 years agoForgotten file
Matthias Clasen [Sun, 11 Sep 2005 05:46:20 +0000 (05:46 +0000)]
Forgotten file

18 years agoForgotten files
Matthias Clasen [Sun, 11 Sep 2005 05:43:19 +0000 (05:43 +0000)]
Forgotten files

18 years agoBroken pipe
Matthias Clasen [Sun, 11 Sep 2005 05:40:51 +0000 (05:40 +0000)]
Broken pipe

18 years agoNew function to avoid pointless strdups when creating atoms from static
Matthias Clasen [Sun, 11 Sep 2005 05:39:45 +0000 (05:39 +0000)]
New function to avoid pointless strdups when creating atoms from static

2005-09-11  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdk.symbols:
* gdk/gdkproperty.h:
* gdk/x11/gdkproperty-x11.c (gdk_atom_intern_static_string):
New function to avoid pointless strdups when creating atoms
from static strings.

* gdk/x11/gdkdisplay-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkevents-x11.c:
* gdk/x11/gdkmain-x11.c:
* gdk/x11/gdkproperty-x11.c:
* gdk/x11/gdkselection-x11.c:
* gdk/x11/gdkwindow-x11.c: Use gdk_atom_intern_static_string()
where appropriate.

18 years agoAdd a cell renderer for displaying and editing accelerators, a port of
Matthias Clasen [Sat, 10 Sep 2005 01:51:07 +0000 (01:51 +0000)]
Add a cell renderer for displaying and editing accelerators, a port of

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

* gtk/gtkcellrendererkeys.h:
* gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
and editing accelerators, a port of EggCellRendererKeys .

* gtk/gtk.symbols:
* gtk/gtk.h:
* gtk/Makefile.am: Add the keys cell renderer.

* tests/Makefile.am:
* tests/testkeys.c: Test GtkCellRendererKeys

18 years agoMake it possible to determine if a key event is for a modifier key:
Matthias Clasen [Fri, 9 Sep 2005 22:50:15 +0000 (22:50 +0000)]
Make it possible to determine if a key event is for a modifier key:

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

Make it possible to determine if a key event is for a
modifier key:

  * gdk/x11/gdkprivate-x11.h:
* gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier):
New function to determine if a keycode is mapped to a modifier.
(get_xkb): Get the modmap.

* gdk/x11/gdkevents-x11.c (translate_key_event): Set the
is_modifier bit by calling _gdk_keymap_key_is_modifier().

* gdk/gdkevents.h (struct _GdkEventKey): Add an is_modifier
bit.

18 years agoMake drag reordering work properly for columns other than the first.
Matthias Clasen [Fri, 9 Sep 2005 21:21:12 +0000 (21:21 +0000)]
Make drag reordering work properly for columns other than the first.

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

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
Make drag reordering work properly for columns other than the
first.  (#315054, Dan Winship)

18 years agoHandle invalid fontnames better. (#315187, Ed Catmur)
Matthias Clasen [Fri, 9 Sep 2005 19:59:56 +0000 (19:59 +0000)]
Handle invalid fontnames better. (#315187, Ed Catmur)

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

* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Handle
invalid fontnames better.  (#315187, Ed Catmur)

18 years agoHandle invalid fontnames better. (#136926, Michael R. Walton)
Matthias Clasen [Fri, 9 Sep 2005 19:01:02 +0000 (19:01 +0000)]
Handle invalid fontnames better. (#136926, Michael R. Walton)

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

* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
invalid fontnames better. (#136926, Michael R. Walton)

18 years agoUse connect_after to connect to the focus_out event. This ensures that the
Matthias Clasen [Fri, 9 Sep 2005 18:38:52 +0000 (18:38 +0000)]
Use connect_after to connect to the focus_out event. This ensures that the

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
Use connect_after to connect to the focus_out event. This
ensures that the entry has already stopped blinking by the time
we emit the edited signal.  (#315229, Thomas Leonard)

18 years agoStop cursor blinking in non-editable regions of a text view. (#311508,
Matthias Clasen [Fri, 9 Sep 2005 18:34:43 +0000 (18:34 +0000)]
Stop cursor blinking in non-editable regions of a text view. (#311508,

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

Stop cursor blinking in non-editable regions of a text view.
(#311508, Torbjörn Andersson)

* gtk/gtktextview.c (gtk_text_view_check_cursor_blink):
(cursor_blinks): Take editability into account when deciding
whether the cursor blinks.
(gtk_text_view_button_release_event):
(gtk_text_view_move_cursor_internal): Update cursor blinking here.

18 years agoFix the build
Matthias Clasen [Fri, 9 Sep 2005 18:19:48 +0000 (18:19 +0000)]
Fix the build

18 years agoDon't set unsigned ints to -1. (#315481, Kjartan Maraas)
Matthias Clasen [Fri, 9 Sep 2005 17:48:00 +0000 (17:48 +0000)]
Don't set unsigned ints to -1. (#315481, Kjartan Maraas)

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

* gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set
unsigned ints to -1.  (#315481, Kjartan Maraas)

18 years agofirst_weekday is relative to week_1stday, not to Sunday. Gotta love the
Matthias Clasen [Fri, 9 Sep 2005 17:26:14 +0000 (17:26 +0000)]
first_weekday is relative to week_1stday, not to Sunday. Gotta love the

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

* gtk/gtkcalendar.c (gtk_calendar_init): first_weekday is relative
to week_1stday, not to Sunday. Gotta love the ISO 14652 guys...
(#314473, Stanislav Brabec)

18 years agoDocument memory handling. (#314975, Torsten Schoenfeld)
Matthias Clasen [Fri, 9 Sep 2005 16:24:49 +0000 (16:24 +0000)]
Document memory handling. (#314975, Torsten Schoenfeld)

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

* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Document
memory handling.  (#314975, Torsten Schoenfeld)

18 years agoStylistic improvements and clarifications for some blurbs. (#315520,
Matthias Clasen [Fri, 9 Sep 2005 16:21:15 +0000 (16:21 +0000)]
Stylistic improvements and clarifications for some blurbs. (#315520,

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

* gtk/gtkiconview.c (gtk_icon_view_class_init):
* gtk/gtkfilesel.c (gtk_file_selection_class_init):
* gtk/gtkcombobox.c (gtk_combo_box_class_init):
* gtk/gtklabel.c (gtk_label_class_init):
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
Stylistic improvements and clarifications for some blurbs.
(#315520, Clytie Siddall)

18 years agoTypo.
Tor Lillqvist [Thu, 8 Sep 2005 23:50:52 +0000 (23:50 +0000)]
Typo.

18 years agoCache the display name. There is only one GdkDisplay on Win32, and
Tor Lillqvist [Thu, 8 Sep 2005 22:45:40 +0000 (22:45 +0000)]
Cache the display name. There is only one GdkDisplay on Win32, and

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

* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
display name. There is only one GdkDisplay on Win32, and
constructing the display name isn't entirely trivial, so cacheing
is probably worth it. For instance GIMP calls this function a lot.
(gdk_display_open): Call gdk_display_get_name() to prime the
cached name.
(gdk_display_get_n_screens, gdk_display_get_screen,
gdk_display_get_default_screen): Verify parameter correctness like
the X11 backend does.

* gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
Return a freshly allocated string, as the API specifies. Fixes a
heap corruption problem that caused random errors and crashes in
GIMP, for instance.

18 years agoForgotten file
Matthias Clasen [Thu, 8 Sep 2005 14:21:33 +0000 (14:21 +0000)]
Forgotten file

18 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Thu, 8 Sep 2005 09:07:29 +0000 (09:07 +0000)]
vi.po: Updated Vietnamese translation.

18 years agoUpdated French translation.
Christophe Merlet [Wed, 7 Sep 2005 22:24:37 +0000 (22:24 +0000)]
Updated French translation.

18 years agoUpdated French translation.
Christophe Merlet [Wed, 7 Sep 2005 21:05:35 +0000 (21:05 +0000)]
Updated French translation.

18 years agoMake C-u commit and restart hex input if we are already in a hex sequence.
Matthias Clasen [Wed, 7 Sep 2005 17:02:47 +0000 (17:02 +0000)]
Make C-u commit and restart hex input if we are already in a hex sequence.

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

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
Make C-u commit and restart hex input if we are already in a
hex sequence.

18 years agoMake the modmap reflexive. (_gdk_keymap_add_virtual_modifiers): Don't add
Matthias Clasen [Wed, 7 Sep 2005 01:31:23 +0000 (01:31 +0000)]
Make the modmap reflexive. (_gdk_keymap_add_virtual_modifiers): Don't add

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

* gdk/x11/gdkkeys-x11.c (update_modmap): Make the modmap reflexive.
(_gdk_keymap_add_virtual_modifiers): Don't add both Alt and Meta
if they are mapped to the same modifier.

18 years agoRename
Matthias Clasen [Tue, 6 Sep 2005 20:17:48 +0000 (20:17 +0000)]
Rename

18 years agoInclude Super, Hyper and Meta in the default accel mod mask.
Matthias Clasen [Tue, 6 Sep 2005 19:52:50 +0000 (19:52 +0000)]
Include Super, Hyper and Meta in the default accel mod mask.

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

* gtk/gtkaccelgroup.c: Include Super, Hyper and Meta in the
default accel mod mask.

18 years agoRemove erroneous log entry
Matthias Clasen [Tue, 6 Sep 2005 19:26:03 +0000 (19:26 +0000)]
Remove erroneous log entry

18 years agoDon't use GDK_ALT_MASK.
Matthias Clasen [Tue, 6 Sep 2005 19:25:47 +0000 (19:25 +0000)]
Don't use GDK_ALT_MASK.

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

* gtk/gtkaccelgroup.c (gtk_accelerator_parse):
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
Don't use GDK_ALT_MASK.

* gdk/gdktypes.h: No need to introduce GDK_ALT_MASK

18 years agoDocument new modifier bits.
Matthias Clasen [Tue, 6 Sep 2005 18:45:50 +0000 (18:45 +0000)]
Document new modifier bits.

18 years agoAdd tests for extra virtual modifiers.
Matthias Clasen [Tue, 6 Sep 2005 18:13:56 +0000 (18:13 +0000)]
Add tests for extra virtual modifiers.

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

* tests/testgtk.c (create_key_lookup): Add tests for extra virtual
modifiers.

* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Try to match both against
Mod2 - Mod5 and against Super, Hyper, Meta.

* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
* gtk/gtkaccelgroup.c (gtk_accelerator_parse)
(gtk_accelerator_name): Support Super, Hyper Meta and Mod2 - Mod5.

18 years agoAdd support for extra virtual modifiers: (#85780, Owen Taylor)
Matthias Clasen [Tue, 6 Sep 2005 17:56:01 +0000 (17:56 +0000)]
Add support for extra virtual modifiers: (#85780, Owen Taylor)

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

Add support for extra virtual modifiers:  (#85780, Owen Taylor)

* gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a
modmap to maintain the information which X modifiers map to
virtual modifiers.
(get_xkb): Set up the modmap from the XKB tables.
(update_keymaps): Set up the modmap from the information returned
by XGetModifierMapping in the non-XKB case.

* gdk/x11/gdkprivate-x11.h:
* gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New
function to set the virtual modifiers in the state.

* gdk/x11/gdkevents-x11.c (translate_key_event): Call
_gdk_keymap_add_virtual_modifiers here.

* gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super,
Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
for GDK_MOD1_MASK.

18 years agoTell xgettext about all the printf-like functions we use.
Matthias Clasen [Tue, 6 Sep 2005 16:16:45 +0000 (16:16 +0000)]
Tell xgettext about all the printf-like functions we use.

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

        * Makefile.in.in: Tell xgettext about all the
        printf-like functions we use.

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Tue, 6 Sep 2005 13:39:18 +0000 (13:39 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2005-09-06  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

18 years agoSet the label of a button if it has no child. (#315253, John Finlay)
Matthias Clasen [Mon, 5 Sep 2005 18:44:29 +0000 (18:44 +0000)]
Set the label of a button if it has no child. (#315253, John Finlay)

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

* gtk/gtkaction.c (connect_proxy): Set the label of a button
if it has no child.  (#315253, John Finlay)

18 years agoRemove unused variable pbuf_count. (#315282, Kjartan Maraas)
Matthias Clasen [Mon, 5 Sep 2005 18:36:22 +0000 (18:36 +0000)]
Remove unused variable pbuf_count. (#315282, Kjartan Maraas)

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

* io-tga.c (parse_rle_data): Remove unused variable
pbuf_count.  (#315282, Kjartan Maraas)

18 years agoFix some typos. (#315208, Vincent Untz)
Matthias Clasen [Mon, 5 Sep 2005 18:26:39 +0000 (18:26 +0000)]
Fix some typos. (#315208, Vincent Untz)

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

* gtk/tmpl/gtkpaned.sgml: Fix some typos.
(#315208, Vincent Untz)

18 years agoUpdated Basque translation.
InakiLarranaga [Mon, 5 Sep 2005 18:00:32 +0000 (18:00 +0000)]
Updated Basque translation.

2005-09-05  InakiLarranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

18 years agoUpdated Basque translation.
Inaki Larranaga [Mon, 5 Sep 2005 17:38:29 +0000 (17:38 +0000)]
Updated Basque translation.

2005-09-05  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

18 years agoUpdated pt_BR translation
Raphael Higino [Sun, 4 Sep 2005 22:23:03 +0000 (22:23 +0000)]
Updated pt_BR translation

18 years agoUpdated Traditional Chinese translation.
Chao-Hsiung Liao [Sat, 3 Sep 2005 06:56:49 +0000 (06:56 +0000)]
Updated Traditional Chinese translation.

2005-09-03  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

* zh_TW.po: Updated Traditional Chinese translation.

18 years agoForgotten file
Matthias Clasen [Sat, 3 Sep 2005 03:29:04 +0000 (03:29 +0000)]
Forgotten file

18 years agoDisconnect idle handlers on destroy to avoid problems when they are called
Matthias Clasen [Fri, 2 Sep 2005 19:48:53 +0000 (19:48 +0000)]
Disconnect idle handlers on destroy to avoid problems when they are called

2005-09-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.c (gtk_entry_destroy): Disconnect idle handlers
on destroy to avoid problems when they are called on a destroyed
widget.  (#315135, John Cupitt)

18 years agoAdd bindings for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)
Matthias Clasen [Fri, 2 Sep 2005 18:23:10 +0000 (18:23 +0000)]
Add bindings for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)

2005-09-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.c (gtk_entry_class_init):
* gtk/gtktextview.c (gtk_text_view_class_init): Add bindings
for Ctrl-Shift-A to unselect all.  (#309301, Kathy Fernandes)

18 years agoRework the Unicode hex input code. Now we only steal a single key
Matthias Clasen [Fri, 2 Sep 2005 18:14:59 +0000 (18:14 +0000)]
Rework the Unicode hex input code. Now we only steal a single key

2005-09-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontextsimple.c: Rework the Unicode hex input
code. Now we only steal a single key combination, Ctrl-Shift-U,
instead of sixteen.
A hex Unicode sequence must be started with Ctrl-Shift-U, followed
by a sequence of hex digits entered with Ctrl-Shift still held.
Releasing one of the modifiers or pressing space while the modifiers
are still held commits the character. It is possible to erase
digits using backspace.
As an extension to the above, we also allow to start the sequence
with Ctrl-Shift-U, then release the modifiers before typing any
digits, and enter the digits without modifiers.
(#82011, Owen Taylor)

18 years agoIf the window is destroyed, we still need to deliver the destroy event.
Matthias Clasen [Fri, 2 Sep 2005 17:29:38 +0000 (17:29 +0000)]
If the window is destroyed, we still need to deliver the destroy event.

2005-09-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
we still need to deliver the destroy event.  (#314980, Chris Lahey)

18 years agoReset im context before committing \n or \t.
Matthias Clasen [Fri, 2 Sep 2005 17:15:47 +0000 (17:15 +0000)]
Reset im context before committing \n or \t.

2005-09-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_key_press_event): Reset
im context before committing \n or \t.

18 years agoHandle base_path being null in the rest of the cases (#310270)
Alexander Larsson [Fri, 2 Sep 2005 13:33:06 +0000 (13:33 +0000)]
Handle base_path being null in the rest of the cases (#310270)

2005-09-02  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkfilechooserdefault.c: (shortcuts_add_volumes),
(shortcuts_activate_volume):
Handle base_path being null in the rest of the cases (#310270)

18 years agoUpdated Macedonian Translation, Arangel Angov <arangela@cvs.gnome.org>
Ivan Stojmirov [Fri, 2 Sep 2005 11:37:18 +0000 (11:37 +0000)]
Updated Macedonian Translation, Arangel Angov <arangela@cvs.gnome.org>

18 years agoAdded empty file to fix GTK+ build.
Jordi Mallach [Fri, 2 Sep 2005 09:03:03 +0000 (09:03 +0000)]
Added empty file to fix GTK+ build.

2005-09-02  Jordi Mallach  <jordi@sindominio.net>

* ku.po: Added empty file to fix GTK+ build.

18 years agoKeep track of cursor position also in root window coordinates. Prune out
Tor Lillqvist [Fri, 2 Sep 2005 01:54:45 +0000 (01:54 +0000)]
Keep track of cursor position also in root window coordinates. Prune out

2005-09-02  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
cursor position also in root window coordinates. Prune out
superfluous WM_MOUSEMOVE messages even earlier, based on root window
coordinates. Windows sends WM_MOUSEMOVE messages after a new
window has ben mapped below the cursor even if the mouse doesn't
move. We used to generate GDK_MOTION_NOTIFY in these cases. This
confused at least gtk_menu_motion_notify(). (#314995)

* gtk/gtkintl.h: No need to include config.h here. It caused
warnings about GTK_LOCALEDIR being redefined on Win32 when
compiling files where gtkintl.h is included after gtkprivate.h
(which #undefines and re-#defines GTK_LOCALEDIR on Win32).

* gtk/gtkplug.c: Include config.h.

18 years agoPass statbufs down to xdg_mime_get_mime_type_for_file() where possible, to
Matthias Clasen [Thu, 1 Sep 2005 14:42:02 +0000 (14:42 +0000)]
Pass statbufs down to xdg_mime_get_mime_type_for_file() where possible, to

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

* gtk/gtkfilesystemunix.c: Pass statbufs down to
xdg_mime_get_mime_type_for_file() where possible, to avoid
useless re-stating.

18 years agoFix doc typo. (#314921, Guillaume Cottenceau)
Matthias Clasen [Thu, 1 Sep 2005 13:10:55 +0000 (13:10 +0000)]
Fix doc typo. (#314921, Guillaume Cottenceau)

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

* gtk/gtkaction.c (gtk_action_get_accel_closure): Fix doc
typo.  (#314921, Guillaume Cottenceau)

18 years agoIntern some more strings.
Matthias Clasen [Thu, 1 Sep 2005 05:11:46 +0000 (05:11 +0000)]
Intern some more strings.

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

        * gdk/*.c: Intern some more strings.
        * gtk/gtkintl.h:
        * gtk/*.c: Define an I_() macro and use it instead of the
        bulky g_intern_static_string().

18 years agoAlso intern static strings passed to g_object_set_data()
Matthias Clasen [Wed, 31 Aug 2005 17:58:55 +0000 (17:58 +0000)]
Also intern static strings passed to g_object_set_data()

18 years agoIntern type names in code generated by glib-mkenums, too.
Matthias Clasen [Wed, 31 Aug 2005 16:53:43 +0000 (16:53 +0000)]
Intern type names in code generated by glib-mkenums, too.

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* gdk/Makefile.am:
* gtk/Makefile.am: Intern type names in code generated by
glib-mkenums, too.

* gtk/*.c:
* gdk/x11/*.c:
* gdk/*.c: Intern type names before registering the type to avoid
unnecessary copies.

18 years agoIntern type names before registering the type to avoid unnecessary copies.
Matthias Clasen [Wed, 31 Aug 2005 15:18:41 +0000 (15:18 +0000)]
Intern type names before registering the type to avoid unnecessary copies.

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* io-ani-animation.c (gdk_pixbuf_ani_anim_iter_get_type)
(gdk_pixbuf_ani_anim_get_type):
* io-gif-animation.c (gdk_pixbuf_gif_anim_get_type)
(gdk_pixbuf_gif_anim_iter_get_type):
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_type):
* gdk-pixbuf.c (gdk_pixbuf_get_type):
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_get_type):
Intern type names before registering the type to avoid
unnecessary copies.

18 years agoIntern type names before registering the type to avoid unnecessary copies.
Matthias Clasen [Wed, 31 Aug 2005 15:14:26 +0000 (15:14 +0000)]
Intern type names before registering the type to avoid unnecessary copies.

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
* gdk/x11/gdkinput.c (gdk_device_get_type):
* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
* gdk/gdkwindow.c (gdk_window_object_get_type):
* gdk/gdkscreen.c (gdk_screen_get_type):
* gdk/gdkrectangle.c (gdk_rectangle_get_type):
* gdk/gdkpixmap.c (gdk_pixmap_get_type):
* gdk/gdkkeys.c (gdk_keymap_get_type):
* gdk/gdkfont.c (gdk_font_get_type):
* gdk/gdkevents.c (gdk_event_get_type):
* gdk/gdkdraw.c (gdk_drawable_get_type):
* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
* gdk/gdkdisplay.c (gdk_display_get_type):
* gdk/gdkcursor.c (gdk_cursor_get_type):
* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
registering the type to avoid unnecessary copies.

18 years agoUndeprecate gtk_toolbar_set_icon_size(), and add icon-size and
Matthias Clasen [Wed, 31 Aug 2005 05:19:56 +0000 (05:19 +0000)]
Undeprecate gtk_toolbar_set_icon_size(), and add icon-size and

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolbar.c: Undeprecate gtk_toolbar_set_icon_size(),
and add icon-size and icon-size-set properties.  (#314172)

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Wed, 31 Aug 2005 05:10:46 +0000 (05:10 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2005-08-31  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

18 years agoInherit window groups across transient parents. (#312918, Christian
Matthias Clasen [Wed, 31 Aug 2005 04:41:45 +0000 (04:41 +0000)]
Inherit window groups across transient parents. (#312918, Christian

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_set_transient_for): Inherit window
groups across transient parents.  (#312918, Christian Persch)

18 years agoSome documentation fixes. (#314882, Guillaume Cottenceau)
Matthias Clasen [Wed, 31 Aug 2005 04:17:46 +0000 (04:17 +0000)]
Some documentation fixes. (#314882, Guillaume Cottenceau)

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodel.c: Some documentation fixes.  (#314882,
Guillaume Cottenceau)

18 years agoFix a typo in the docs. (#314878, Guillaume Cottenceau)
Matthias Clasen [Wed, 31 Aug 2005 04:01:40 +0000 (04:01 +0000)]
Fix a typo in the docs. (#314878, Guillaume Cottenceau)

2005-08-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions):
Fix a typo in the docs.  (#314878, Guillaume Cottenceau)

18 years agoAdded kurdish translation
Baris Cicek [Tue, 30 Aug 2005 22:06:40 +0000 (22:06 +0000)]
Added kurdish translation

18 years agoAdd key bindings to make C-/ select all and C-\ unselect all. (#309301,
Matthias Clasen [Tue, 30 Aug 2005 18:38:17 +0000 (18:38 +0000)]
Add key bindings to make C-/ select all and C-\ unselect all. (#309301,

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

* gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to
make C-/ select all and C-\ unselect all.  (#309301,
Kathy Fernandez)

18 years agoChange the compose sequence for soft hyphen to be
Matthias Clasen [Tue, 30 Aug 2005 17:29:28 +0000 (17:29 +0000)]
Change the compose sequence for soft hyphen to be

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

* gtk/gtkimcontextsimple.c: Change the compose sequence for
soft hyphen to be multi_key-minus-minus-space, and add
compose sequences multi_key-minus-minus-period and
multi_key-minus-minus-minus for en dash and em dash.
(#172653, Christian Lohmaier)

18 years agoMake this work again.
Matthias Clasen [Tue, 30 Aug 2005 16:55:49 +0000 (16:55 +0000)]
Make this work again.

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

* gdk-pixbuf-io.c (format_check): Make this work again.

18 years agoFix some unused code. (#313946, Christian Persch)
Matthias Clasen [Tue, 30 Aug 2005 16:09:03 +0000 (16:09 +0000)]
Fix some unused code. (#313946, Christian Persch)

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

* gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused
code.  (#313946, Christian Persch)

18 years agoAdd a cast to avoid compiler warnings.
Matthias Clasen [Tue, 30 Aug 2005 15:07:12 +0000 (15:07 +0000)]
Add a cast to avoid compiler warnings.

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

* io-png.c (png_save_to_callback_write_func): Add a cast
to avoid compiler warnings.

* pixops/timescale.c (main): Declare src_buf, dest_buf as
unsigned to avoid compiler warnings.

* gdk-pixbuf-io.h: Declare the prefix and mask members of
GdkPixbufModulePattern as char*, to avoid compiler warnings.

* io-ani.c (ani_load_chunk): Use g_try_new() in some places.

18 years agoAnother fix for the default value of the "ui" property.
Matthias Clasen [Tue, 30 Aug 2005 14:11:50 +0000 (14:11 +0000)]
Another fix for the default value of the "ui" property.

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

* gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another
fix for the default value of the "ui" property.

18 years agoAdd functions which look for text, image or uri targets in an array of
Matthias Clasen [Tue, 30 Aug 2005 05:42:37 +0000 (05:42 +0000)]
Add functions which look for text, image or uri targets in an array of

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

* gtk/gtk.symbols:
* gtk/gtkselection.h:
* gtk/gtkselection.c: Add functions which look for text, image
or uri targets in an array of atoms.   (#314089, Mark Wielaard)

18 years agoForgotten ChangeLog
Matthias Clasen [Tue, 30 Aug 2005 05:08:35 +0000 (05:08 +0000)]
Forgotten ChangeLog

18 years agoAdd gtk_window_[sg]et_deletable. Add
Matthias Clasen [Tue, 30 Aug 2005 05:06:36 +0000 (05:06 +0000)]
Add gtk_window_[sg]et_deletable. Add

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

* gtk/gtk-sections.txt: Add gtk_window_[sg]et_deletable.
Add gtk_selection_data_targets_include_uri.

18 years agoAdd a deletable property with getter and setter, to control the close
Matthias Clasen [Tue, 30 Aug 2005 04:46:09 +0000 (04:46 +0000)]
Add a deletable property with getter and setter, to control the close

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

* gtk/gtk.symbols:
* gtk/gtkwindow.h:
* gtk/gtkwindow.c: Add a deletable property with getter
and setter, to control the close button in the window
frame.  (#59718, Havoc Pennington)

18 years agoAdd C-n/C-p/C-f/C-b as alternatives to the arrow keys for menu navigation.
Matthias Clasen [Tue, 30 Aug 2005 03:52:56 +0000 (03:52 +0000)]
Add C-n/C-p/C-f/C-b as alternatives to the arrow keys for menu navigation.

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

* gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
to the arrow keys for menu navigation.  (#162825, Carl Worth)

18 years agoMore typo fixes
Matthias Clasen [Mon, 29 Aug 2005 23:52:32 +0000 (23:52 +0000)]
More typo fixes

18 years agoFix typos
Matthias Clasen [Mon, 29 Aug 2005 23:48:49 +0000 (23:48 +0000)]
Fix typos

18 years agoTypo corrections
Jens Seidel [Mon, 29 Aug 2005 21:40:22 +0000 (21:40 +0000)]
Typo corrections

18 years agoTypo corrections
Jens Seidel [Mon, 29 Aug 2005 21:40:14 +0000 (21:40 +0000)]
Typo corrections

18 years agoAdd a long description.
Matthias Clasen [Mon, 29 Aug 2005 20:24:49 +0000 (20:24 +0000)]
Add a long description.

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

* gtk/tmpl/gtkstatusicon.sgml: Add a long description.

18 years agoDon't refer to nonexisting stock ids.
Matthias Clasen [Mon, 29 Aug 2005 20:06:16 +0000 (20:06 +0000)]
Don't refer to nonexisting stock ids.

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

* gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock):
* gtk/gtkimage.c (gtk_image_new_from_stock): Don't
refer to nonexisting stock ids.

18 years agoConstruct the "Select All" menuitem from stock.
Matthias Clasen [Mon, 29 Aug 2005 20:01:28 +0000 (20:01 +0000)]
Construct the "Select All" menuitem from stock.

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

* gtk/gtktextview.c (popup_targets_received):
* gtk/gtkentry.c (popup_targets_received): Construct
the "Select All" menuitem from stock.

* gtk/stock-icons/stock_select_all_{16,24}.png:
* gtk/stock-icons/Makefile.am:
* gtk/gtkiconfactory.c:
* gtk/gtkstock.h:
* gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
Calum Benson)