]> Pileus Git - ~andy/gtk/log
~andy/gtk
17 years agoInclude also the COPYING file.
Tor Lillqvist [Wed, 17 Jan 2007 13:12:27 +0000 (13:12 +0000)]
Include also the COPYING file.

2007-01-17  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Include also the COPYING file.

svn path=/trunk/; revision=17174

17 years agoDon't use httpGetFd() when building against cups 1.1
Matthias Clasen [Wed, 17 Jan 2007 06:10:08 +0000 (06:10 +0000)]
Don't use httpGetFd() when building against cups 1.1

2007-01-17  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
        httpGetFd() when building against cups 1.1

svn path=/trunk/; revision=17170

17 years agoFix memory leaks in error paths
Matthias Clasen [Wed, 17 Jan 2007 04:24:00 +0000 (04:24 +0000)]
Fix memory leaks in error paths

svn path=/trunk/; revision=17165

17 years agoImprove last entry.
Tor Lillqvist [Wed, 17 Jan 2007 01:25:32 +0000 (01:25 +0000)]
Improve last entry.

svn path=/trunk/; revision=17163

17 years agoProper fix for #396175:
Tor Lillqvist [Wed, 17 Jan 2007 01:18:42 +0000 (01:18 +0000)]
Proper fix for #396175:

2007-01-17  Tor Lillqvist  <tml@novell.com>

Proper fix for #396175:

* gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
include gtkprivate.h. On Win32 we do want to use the redefinition
of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().

* gtk/gtkimmodule.c: Instead, correct the prefix also on
simple_context_info.domain_dirname. Do the prefix corrections
always on Win32, not just when GTK_LIBDIR is defined. i.e., until
now they were done only in the autoconfiscated gcc builds. Hans
needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
in MSVC builds now.
(correct_localedir_prefix): New function, like
correct_libdir_prefix(), but for GTK_LOCALEDIR.
(_gtk_im_module_list): Call correct_localedir_prefix() on
simple_context_info.domain_dirname.

svn path=/trunk/; revision=17161

17 years agoQueue a redraw when the grab changes. (#396470, Benjamin Berg)
Matthias Clasen [Tue, 16 Jan 2007 14:17:12 +0000 (14:17 +0000)]
Queue a redraw when the grab changes. (#396470, Benjamin Berg)

2007-01-16  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
        grab changes.  (#396470, Benjamin Berg)

svn path=/trunk/; revision=17159

17 years agoEllipsize the menu items label if they grow too much. (#357303)
Emmanuele Bassi [Mon, 15 Jan 2007 12:44:28 +0000 (12:44 +0000)]
Ellipsize the menu items label if they grow too much. (#357303)

2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
if they grow too much. (#357303)

svn path=/trunk/; revision=17156

17 years agoWhen finding a matching non-scalable dir, keep going and look for a closer
Matthias Clasen [Mon, 15 Jan 2007 02:56:33 +0000 (02:56 +0000)]
When finding a matching non-scalable dir, keep going and look for a closer

2007-01-14  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
        non-scalable dir, keep going and look for a closer match.
        (#395830, Luca Ferretti)

svn path=/trunk/; revision=17153

17 years agoUse gtk_target_table_new_from_list and gtk_target_table_free instead of
Christian Persch [Sun, 14 Jan 2007 18:47:36 +0000 (18:47 +0000)]
Use gtk_target_table_new_from_list and gtk_target_table_free instead of

2007-01-14  Christian Persch  <chpe@svn.gnome.org>

* gtk/gtkclipboard.c: (gtk_clipboard_set_text),
(gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
gtk_target_table_free instead of duplicating the code. Bug #396493.

svn path=/trunk/; revision=17152

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sun, 14 Jan 2007 17:38:06 +0000 (17:38 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-01-14  Alexander Shopov  <ash@contact.bg>

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

svn path=/trunk/; revision=17149

17 years agoDon't crash if menu or toolbar positions can't be found. (#396161, Hans
Matthias Clasen [Sun, 14 Jan 2007 05:31:46 +0000 (05:31 +0000)]
Don't crash if menu or toolbar positions can't be found. (#396161, Hans

2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkuimanager.c: Don't crash if menu or toolbar
        positions can't be found.  (#396161, Hans Breuer)

svn path=/trunk/; revision=17147

17 years agoPlug memory leaks. (#396160, Carlos Garcia Campos)
Matthias Clasen [Sun, 14 Jan 2007 05:14:21 +0000 (05:14 +0000)]
Plug memory leaks. (#396160, Carlos Garcia Campos)

2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (_gtk_selection_request): Plug
        memory leaks.  (#396160, Carlos Garcia Campos)

svn path=/trunk/; revision=17145

17 years agoLink libgtk against Xfixes. (#396074, Tommi Komulainen)
Matthias Clasen [Sun, 14 Jan 2007 05:00:36 +0000 (05:00 +0000)]
Link libgtk against Xfixes. (#396074, Tommi Komulainen)

2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Link libgtk against Xfixes.  (#396074,
        Tommi Komulainen)

svn path=/trunk/; revision=17143

17 years agoAvoid a compiler warning. (#395045, Chris Wilson)
Matthias Clasen [Sun, 14 Jan 2007 04:30:06 +0000 (04:30 +0000)]
Avoid a compiler warning. (#395045, Chris Wilson)

2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
        a compiler warning.  (#395045, Chris Wilson)

svn path=/trunk/; revision=17141

17 years agotake the custom tab label from gtk_print_operation_set_custom_tab_label()
Hans Breuer [Sat, 13 Jan 2007 22:18:06 +0000 (22:18 +0000)]
take the custom tab label from gtk_print_operation_set_custom_tab_label()

2007-01-13  Hans Breuer <hans@breuer.org>

* gtk/gtkprintoperation-win32.c : take the custom tab label from
gtk_print_operation_set_custom_tab_label() into account (bug #390746).

svn path=/trunk/; revision=17139

17 years agodon't include "gtkprivate.h" to avoid differing definitions of
Hans Breuer [Sat, 13 Jan 2007 21:13:28 +0000 (21:13 +0000)]
don't include "gtkprivate.h" to avoid differing definitions of

2007-01-13  Hans Breuer <hans@breuer.org>

* gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
differing definitions of GTK_LOCALEDIR (bug #396175).

* gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
not available everywhere

* gtk/makefile.msc.in : updated

svn path=/trunk/; revision=17137

17 years agodon't add entry->scroll_offset to entry->drag_start_y. Fixes the entry
Michael Natterer [Fri, 12 Jan 2007 11:56:57 +0000 (11:56 +0000)]
don't add entry->scroll_offset to entry->drag_start_y. Fixes the entry

2007-01-12  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c (gtk_entry_button_press): don't add
entry->scroll_offset to entry->drag_start_y. Fixes the entry
starting drags after ridiculously small mouse movements.

svn path=/trunk/; revision=17134

17 years agoClose the file after it's loaded (bug #395316).
Richard Hult [Thu, 11 Jan 2007 14:26:51 +0000 (14:26 +0000)]
Close the file after it's loaded (bug #395316).

2007-01-11  Richard Hult  <richard@imendio.com>

* demos/gtk-demo/main.c: (load_file): Close the file after it's
loaded (bug #395316).

svn path=/trunk/; revision=17132

17 years agoMake a single tilde go to $HOME in the location entry. Patch from Yevgen
Kjartan Maraas [Thu, 11 Jan 2007 00:53:00 +0000 (00:53 +0000)]
Make a single tilde go to $HOME in the location entry. Patch from Yevgen

2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>

* gtk/gtkfilesystemunix.c: (expand_tilde):
Make a single tilde go to $HOME in the location entry.
Patch from Yevgen Muntyan. Closes the gtk+ part of
bug #334168.

svn path=/trunk/; revision=17130

17 years agoUse pango_matrix_transform_rectangle(). (#340141)
Behdad Esfahbod [Wed, 10 Jan 2007 20:21:26 +0000 (20:21 +0000)]
Use pango_matrix_transform_rectangle(). (#340141)

2007-01-10  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_draw_layout_with_colors):
        * gtk/gtklabel.c (gtk_label_size_request):
        Use pango_matrix_transform_rectangle(). (#340141)

        * configure.in: Bump pango requirement to 1.15.3.

svn path=/trunk/; revision=17129

17 years agorefactor to initialize indicator_size to TOGGLE_WIDTH instead of the
Kristian Rietveld [Wed, 10 Jan 2007 17:33:23 +0000 (17:33 +0000)]
refactor to initialize indicator_size to TOGGLE_WIDTH instead of the

2007-01-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
refactor to initialize indicator_size to TOGGLE_WIDTH instead
of the hardcoded value of 12.

svn path=/trunk/; revision=17128

17 years agoFix the directfb cairo test. (#394855, Josselin Mouette)
Matthias Clasen [Wed, 10 Jan 2007 04:51:27 +0000 (04:51 +0000)]
Fix the directfb cairo test. (#394855, Josselin Mouette)

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

        * configure.in: Fix the directfb cairo test. (#394855,
        Josselin Mouette)

svn path=/trunk/; revision=17125

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Wed, 10 Jan 2007 00:00:12 +0000 (00:00 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-01-10  Alexander Shopov  <ash@contact.bg>

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

svn path=/trunk/; revision=17124

17 years agoFix comment for --with-included-loaders. That option affects builds with
Behdad Esfahbod [Tue, 9 Jan 2007 21:43:28 +0000 (21:43 +0000)]
Fix comment for --with-included-loaders. That option affects builds with

2007-01-09  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Fix comment for --with-included-loaders.  That option
        affects builds with module loading enabled too.

svn path=/trunk/; revision=17123

17 years agoSave the expanded state of the folder browser with the file chooser
Peter Teichman [Mon, 8 Jan 2007 18:34:06 +0000 (18:34 +0000)]
Save the expanded state of the folder browser with the file chooser

* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserprivate.h:
* gtk/gtkfilechoosersettings.c:
* gtk/gtkfilechoosersettings.h:
Save the expanded state of the folder browser with the file
chooser settings.  Resolves the expander portions of (#153828,
Lemmit Kaplinski)

svn path=/trunk/; revision=17121

17 years agoDon't leak the icon pixbuf after setting it to the image menu item. Found
Emmanuele Bassi [Mon, 8 Jan 2007 16:47:19 +0000 (16:47 +0000)]
Don't leak the icon pixbuf after setting it to the image menu item. Found

2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
Don't leak the icon pixbuf after setting it to the image menu
item.  Found by Paolo Borelli.

svn path=/trunk/; revision=17119

17 years agoupdates
Matthias Clasen [Mon, 8 Jan 2007 15:29:02 +0000 (15:29 +0000)]
updates

svn path=/trunk/; revision=17118

17 years agoDon't corrupt memory when faced with paths with ridiculously large
Matthias Clasen [Mon, 8 Jan 2007 14:49:30 +0000 (14:49 +0000)]
Don't corrupt memory when faced with paths with ridiculously large

2007-01-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
        corrupt memory when faced with paths with ridiculously
        large indices. Found by the GTKVTS test suite.

svn path=/trunk/; revision=17116

17 years agoSet default_display_opened before loading modules. (#393102, Brian
Matthias Clasen [Mon, 8 Jan 2007 13:08:10 +0000 (13:08 +0000)]
Set default_display_opened before loading modules. (#393102, Brian

2007-01-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmodules.c (_gtk_modules_init): Set
        default_display_opened before loading modules.  (#393102,
        Brian Cameron)

svn path=/trunk/; revision=17114

17 years agoDon't return "" as match. (fd.o #9544, Yevgen Muntyan)
Matthias Clasen [Mon, 8 Jan 2007 04:21:17 +0000 (04:21 +0000)]
Don't return "" as match. (fd.o #9544, Yevgen Muntyan)

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

* xdgmimecache.c (cache_glob_node_lookup_suffix): Don't return ""
as match.  (fd.o #9544, Yevgen Muntyan)

svn path=/trunk/; revision=17112

17 years agoFix several problems with this function. (fd.o #9560, Yevgen Muntyan)
Matthias Clasen [Mon, 8 Jan 2007 03:39:41 +0000 (03:39 +0000)]
Fix several problems with this function. (fd.o #9560, Yevgen Muntyan)

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimecache.c (_xdg_mime_cache_list_mime_parents): Fix
        several problems with this function.  (fd.o #9560, Yevgen Muntyan)

svn path=/trunk/; revision=17110

17 years agoCorrect the include for GdkPixdata. (#394000, Samuel Cormier-Iijima)
Matthias Clasen [Sun, 7 Jan 2007 20:04:37 +0000 (20:04 +0000)]
Correct the include for GdkPixdata. (#394000, Samuel Cormier-Iijima)

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/gdk-pixbuf-sections.txt: Correct the include
        for GdkPixdata.  (#394000, Samuel Cormier-Iijima)

svn path=/trunk/; revision=17108

17 years agoupdatingfor bug 355790 by alam
Amanpreet Singh Alam [Sun, 7 Jan 2007 18:06:49 +0000 (18:06 +0000)]
updatingfor bug 355790 by alam

svn path=/trunk/; revision=17107

17 years agoCall text_window_realize() with the correct parameters. (#393813, Yevgen
Matthias Clasen [Sun, 7 Jan 2007 07:19:07 +0000 (07:19 +0000)]
Call text_window_realize() with the correct parameters. (#393813, Yevgen

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
        Call text_window_realize() with the correct parameters.
        (#393813, Yevgen Muntyan)

svn path=/trunk/; revision=17101

17 years agoMove docs inline and expand them a bit.
Matthias Clasen [Sun, 7 Jan 2007 05:34:40 +0000 (05:34 +0000)]
Move docs inline and expand them a bit.

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkstatusbar.sgml: Move docs inline and
expand them a bit.

svn path=/trunk/; revision=17100

17 years agoFix the build
Matthias Clasen [Sun, 7 Jan 2007 04:23:52 +0000 (04:23 +0000)]
Fix the build

svn path=/trunk/; revision=17099

17 years agoMake line wrapping work with width-chars and max-width-chars, and simplify
Matthias Clasen [Sun, 7 Jan 2007 00:52:26 +0000 (00:52 +0000)]
Make line wrapping work with width-chars and max-width-chars, and simplify

2007-01-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtklabel.c: Make line wrapping work with width-chars
        and max-width-chars, and simplify the storage of wrap-width.
        (#322580, Itai Bar-Haim)

svn path=/trunk/; revision=17098

17 years agoNew file. Downloaded from freedesktop.org's webcvs. Slighly edited cursors
Tor Lillqvist [Sat, 6 Jan 2007 03:05:37 +0000 (03:05 +0000)]
New file. Downloaded from freedesktop.org's webcvs. Slighly edited cursors

2007-01-06  Tor Lillqvist  <tml@novell.com>

* gdk/win32/cursor.bdf: New file. Downloaded from
freedesktop.org's webcvs. Slighly edited cursors "crosshair",
"diamond_cross", "draft_large", "gobbler" and "target" to fix
#392504. It is possible that the same end result could have been
achieved by tweaking bdfcursor.c instead.

* gdk/win32/bdfcursor.c: Add optional debugging output.

* gdk/win32/xcursors.h: Regenerated.

svn path=/trunk/; revision=17096

17 years agoLeft-align menu labels. (#393255, Michail Crayson)
Matthias Clasen [Sat, 6 Jan 2007 03:02:31 +0000 (03:02 +0000)]
Left-align menu labels. (#393255, Michail Crayson)

2007-01-05  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
        menu labels.  (#393255, Michail Crayson)

svn path=/trunk/; revision=17095

17 years agowhoops, fix the changelog again :P
Kristian Rietveld [Fri, 5 Jan 2007 22:15:57 +0000 (22:15 +0000)]
whoops, fix the changelog again :P

svn path=/trunk/; revision=17093

17 years agohandle tree == NULL. (Fixes #392259, reported by Christian Persch).
Kristian Rietveld [Fri, 5 Jan 2007 22:14:08 +0000 (22:14 +0000)]
handle tree == NULL. (Fixes #392259, reported by Christian Persch).

2007-01-05  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
== NULL.  (Fixes #392259, reported by Christian Persch).

svn path=/trunk/; revision=17092

17 years agofix changelog
Kristian Rietveld [Fri, 5 Jan 2007 21:37:53 +0000 (21:37 +0000)]
fix changelog

svn path=/trunk/; revision=17091

17 years agodo allow for invalidated nodes if the tree view is not realized. (#363147,
Kristian Rietveld [Fri, 5 Jan 2007 21:34:58 +0000 (21:34 +0000)]
do allow for invalidated nodes if the tree view is not realized. (#363147,

2007-01-05  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow for
invalidated nodes if the tree view is not realized. (#363147,
Carlos Garnacho, Miguel Cabrera).

svn path=/trunk/; revision=17089

17 years agoTake the scroll arrow into account when drawing the background. (#393166,
Matthias Clasen [Fri, 5 Jan 2007 18:24:00 +0000 (18:24 +0000)]
Take the scroll arrow into account when drawing the background. (#393166,

2007-01-05  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
        account when drawing the background.  (#393166, Benjamin Berg)

svn path=/trunk/; revision=17084

17 years agoFix broken width computation, again.
Behdad Esfahbod [Fri, 5 Jan 2007 18:05:15 +0000 (18:05 +0000)]
Fix broken width computation, again.

2007-01-05  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
        again.

svn path=/trunk/; revision=17083

17 years agotake into account both scroll arrows when calculating size request in
Carlos Garnacho [Fri, 5 Jan 2007 17:29:49 +0000 (17:29 +0000)]
take into account both scroll arrows when calculating size request in

2007-01-05  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
        both scroll arrows when calculating size request in GTK_POS_LEFT or
        GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)

svn path=/trunk/; revision=17080

17 years agochain up to the right function (fix taken from maemo-gtk).
Michael Natterer [Fri, 5 Jan 2007 14:07:17 +0000 (14:07 +0000)]
chain up to the right function (fix taken from maemo-gtk).

2007-01-05  Michael Natterer  <mitch@imendio.com>

* gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
the right function (fix taken from maemo-gtk).

svn path=/trunk/; revision=17078

17 years agoupdated hebrew translation
Yair Hershkovitz [Fri, 5 Jan 2007 11:12:12 +0000 (11:12 +0000)]
updated hebrew translation

svn path=/trunk/; revision=17077

17 years agoAvoid overflow when converting coordinates to Pango units. (#332266, Jody
Behdad Esfahbod [Fri, 5 Jan 2007 06:16:32 +0000 (06:16 +0000)]
Avoid overflow when converting coordinates to Pango units. (#332266, Jody

2007-01-05  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkprivate.h:
        * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
        (gdk_draw_layout_with_colors):
        * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
        Avoid overflow when converting coordinates to Pango units. (#332266,
        Jody Goldberg)

svn path=/trunk/; revision=17075

17 years agomove set_cursor after realization of the popup window, so clamp node
Matthias Clasen [Fri, 5 Jan 2007 05:41:25 +0000 (05:41 +0000)]
move set_cursor after realization of the popup window, so clamp node

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

        * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
        after realization of the popup window, so clamp node doesn't fail.
        (#346616, Tommi Komulainen, patch by Kristian Rietveld).

svn path=/trunk/; revision=17073

17 years agoTranslation updated by Leonardo Ferreira Fontenelle
Gustavo Noronha Silva [Thu, 4 Jan 2007 21:28:56 +0000 (21:28 +0000)]
Translation updated by Leonardo Ferreira Fontenelle
bug #357134

svn path=/trunk/; revision=17071

17 years agoFix uninitialized width variable.
Behdad Esfahbod [Thu, 4 Jan 2007 16:24:29 +0000 (16:24 +0000)]
Fix uninitialized width variable.

2007-01-04  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
        variable.

svn path=/trunk/; revision=17069

17 years agoAnother forgotten file
Matthias Clasen [Thu, 4 Jan 2007 15:07:28 +0000 (15:07 +0000)]
Another forgotten file

svn path=/trunk/; revision=17067

17 years agoForgotten file
Matthias Clasen [Thu, 4 Jan 2007 15:06:17 +0000 (15:06 +0000)]
Forgotten file

svn path=/trunk/; revision=17066

17 years agoCross-compilation fixes. (#392646, Yevgen Muntyan)
Matthias Clasen [Thu, 4 Jan 2007 15:05:07 +0000 (15:05 +0000)]
Cross-compilation fixes. (#392646, Yevgen Muntyan)

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

        * gtk/Makefile.am:
        * gdk-pixbuf/Makefile.am:
        * configure.in:
        * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
        (#392646, Yevgen Muntyan)

svn path=/trunk/; revision=17065

17 years agoFix some compiler warnings.
Matthias Clasen [Thu, 4 Jan 2007 14:47:29 +0000 (14:47 +0000)]
Fix some compiler warnings.

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

        * demos/gtk-demo/textscroll.c:
        * gtk/gtkhandlebox.c:
        * gtk/gtkcolorsel.c: Fix some compiler warnings.

svn path=/trunk/; revision=17063

17 years agoFix compiler warnings
Matthias Clasen [Thu, 4 Jan 2007 14:24:37 +0000 (14:24 +0000)]
Fix compiler warnings

svn path=/trunk/; revision=17062

17 years agoFix a compiler warning
Matthias Clasen [Thu, 4 Jan 2007 14:18:14 +0000 (14:18 +0000)]
Fix a compiler warning

svn path=/trunk/; revision=17061

17 years agoRework the beep-on-uninserted-text by calling the input method regardless
Matthias Clasen [Thu, 4 Jan 2007 06:09:13 +0000 (06:09 +0000)]
Rework the beep-on-uninserted-text by calling the input method regardless

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c: Rework the beep-on-uninserted-text
        by calling the input method regardless of editability,
        and beeping from the commit/preedit-changed handlers.
        (#390514, Yevgen Muntyan)

svn path=/trunk/; revision=17054

17 years agoFix #332604, reported by Joe Wreschnig, patch by Jan Arne Petersen and
Matthias Clasen [Thu, 4 Jan 2007 05:58:32 +0000 (05:58 +0000)]
Fix #332604, reported by Joe Wreschnig, patch by Jan Arne Petersen and

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        Fix #332604, reported by Joe Wreschnig, patch
        by Jan Arne Petersen and Behdad Esfahbod.

        * gtk/gtklabel.c (gtk_label_size_allocate): Only
        set the width of the layout when necessary.
        (get_layout_location): Use pango_layout_get_pixel_extents()
        instead of pango_layout_get_width().

svn path=/trunk/; revision=17052

17 years agoFix another leak
Matthias Clasen [Thu, 4 Jan 2007 05:09:08 +0000 (05:09 +0000)]
Fix another leak

svn path=/trunk/; revision=17050

17 years agoFix another leak
Matthias Clasen [Thu, 4 Jan 2007 04:49:31 +0000 (04:49 +0000)]
Fix another leak

svn path=/trunk/; revision=17048

17 years agoExit early if we can't get file info - this happens if the iter points to
Matthias Clasen [Thu, 4 Jan 2007 01:45:19 +0000 (01:45 +0000)]
Exit early if we can't get file info - this happens if the iter points to

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (update_chooser_entry):
        Exit early if we can't get file info - this happens
        if the iter points to the row where we are editing
        the name for a newly created folder.  (#392191, Michael
        Partridge, patch by Kristian Rietveld)

svn path=/trunk/; revision=17046

17 years agoApply a patch by Chris Wilson to avoid spurious valgrind warnings from
Matthias Clasen [Thu, 4 Jan 2007 01:28:07 +0000 (01:28 +0000)]
Apply a patch by Chris Wilson to avoid spurious valgrind warnings from

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/*.c:
        * gdk/x11/*.c: Apply a patch by Chris Wilson to
        avoid spurious valgrind warnings from XSendEvent()
        calls.  (#392532)

svn path=/trunk/; revision=17044

17 years agoClose the http connection after getting the PPD.
Matthias Clasen [Thu, 4 Jan 2007 00:12:04 +0000 (00:12 +0000)]
Close the http connection after getting the PPD.

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Close
        the http connection after getting the PPD.

svn path=/trunk/; revision=17042

17 years agoFix memory leaks
Matthias Clasen [Wed, 3 Jan 2007 21:23:42 +0000 (21:23 +0000)]
Fix memory leaks

svn path=/trunk/; revision=17039

17 years agoIf the current page is removed, always pick a different one. (#392457,
Matthias Clasen [Wed, 3 Jan 2007 20:40:30 +0000 (20:40 +0000)]
If the current page is removed, always pick a different one. (#392457,

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkassistant.c (remove_page): If the current page
        is removed, always pick a different one.  (#392457,
        Colin Watson)

svn path=/trunk/; revision=17037

17 years agoCleanups
Matthias Clasen [Wed, 3 Jan 2007 20:34:00 +0000 (20:34 +0000)]
Cleanups

svn path=/trunk/; revision=17036

17 years agoExport SED to make sourcing of libtool work. Tighten up the directfb
Matthias Clasen [Wed, 3 Jan 2007 17:55:33 +0000 (17:55 +0000)]
Export SED to make sourcing of libtool work. Tighten up the directfb

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Export SED to make sourcing of
        libtool work. Tighten up the directfb pkgconfig check.

svn path=/trunk/; revision=17033

17 years agogtk/gtkstyle.c (option_menu_get_props) Use gtk_border_free when freeing
Michael Natterer [Wed, 3 Jan 2007 17:31:57 +0000 (17:31 +0000)]
gtk/gtkstyle.c (option_menu_get_props) Use gtk_border_free when freeing

2007-01-03  Michael Natterer  <mitch@imendio.com>

* gtk/gtkstyle.c (option_menu_get_props)
* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
gtk_border_free when freeing borders.

svn path=/trunk/; revision=17032

17 years agoWork when the entry is not realized. (#392315, Yevgen Muntyan)
Matthias Clasen [Wed, 3 Jan 2007 16:10:15 +0000 (16:10 +0000)]
Work when the entry is not realized. (#392315, Yevgen Muntyan)

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkentry.c (get_text_area_size): Work when the
        entry is not realized.  (#392315, Yevgen Muntyan)

        * gtk/gtkentry.c (gtk_entry_queue_draw): Use
        GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)

        * gtk/gtkentry.c (cursor_blinks): Don't get settings
        unnecessarily.  (#392227)

svn path=/trunk/; revision=17030

17 years agoOnly process updates on the window at hand, not on all windows, to avoid
Matthias Clasen [Wed, 3 Jan 2007 02:43:57 +0000 (02:43 +0000)]
Only process updates on the window at hand, not on all windows, to avoid

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Only process
        updates on the window at hand, not on all windows, to
        avoid violating resize/redraw ordering constraints.
        (#362406, Owen Taylor)

svn path=/trunk/; revision=17028

17 years agofix docs.
Kristian Rietveld [Tue, 2 Jan 2007 23:36:32 +0000 (23:36 +0000)]
fix docs.

2007-01-03  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcellrendererprogress.c
(gtk_cell_renderer_progress_class_init): fix docs.

svn path=/trunk/; revision=17027

17 years agoInclude locale.h
Matthias Clasen [Tue, 2 Jan 2007 23:23:32 +0000 (23:23 +0000)]
Include locale.h

svn path=/trunk/; revision=17026

17 years agoCall setlocale().
Matthias Clasen [Tue, 2 Jan 2007 19:52:48 +0000 (19:52 +0000)]
Call setlocale().

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/updateiconcache.c (main): Call setlocale().

        * gtk/gtkfilesel.c:
        * gtk/gtkfilesystemunix.c:
        * gtk/gtkfilesystemwin32.c:
        * gtk/gtkfilechoosersettings.c:
        * gtk/updateiconcache.c: Consistently use folder instead of
        directory in translated messages.  (#344584, Javier F. Serrador)

svn path=/trunk/; revision=17024

17 years agoTry to fix #315732, reported by Luke Hutchinson:
Matthias Clasen [Tue, 2 Jan 2007 19:07:03 +0000 (19:07 +0000)]
Try to fix #315732, reported by Luke Hutchinson:

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        Try to fix #315732, reported by Luke Hutchinson:

        * gdk/x11/xsettings-client.[hc]:
        * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
        will guarantee that it can be looked up in the xid hash later.
        Also, use the nesting server grab function during the xsettings
        client initialization. Finally, make xsettings client not
        eat DestroyNotifys so that GDK can do its regular cleanup.

svn path=/trunk/; revision=17022

17 years agobeep when a keybinding didn't change adjustment->value.
Michael Natterer [Tue, 2 Jan 2007 16:40:44 +0000 (16:40 +0000)]
beep when a keybinding didn't change adjustment->value.

2007-01-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
when a keybinding didn't change adjustment->value.

svn path=/trunk/; revision=17021

17 years agoTry harder not to beep on events which are not meant to insert stuff in
Matthias Clasen [Tue, 2 Jan 2007 15:49:31 +0000 (15:49 +0000)]
Try harder not to beep on events which are not meant to insert stuff in

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
        Try harder not to beep on events which are not meant to
        insert stuff in the buffer.  (#390514, Yevgen Muntyan)

svn path=/trunk/; revision=17020

17 years agoDocumentation additions
Matthias Clasen [Tue, 2 Jan 2007 14:53:07 +0000 (14:53 +0000)]
Documentation additions

svn path=/trunk/; revision=17018

17 years agoSmall documentation fixes.
Matthias Clasen [Tue, 2 Jan 2007 14:45:15 +0000 (14:45 +0000)]
Small documentation fixes.

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextbufferrichtext.c: Small documentation fixes.

svn path=/trunk/; revision=17017

17 years agoCenter in the frame. (#304482, Rob Staudinger, patch by Richard
Matthias Clasen [Tue, 2 Jan 2007 14:23:33 +0000 (14:23 +0000)]
Center in the frame. (#304482, Rob Staudinger, patch by Richard

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkentry.c (get_text_area_size): Center in the frame.
        (#304482, Rob Staudinger, patch by  Richard Stellingwerff)

svn path=/trunk/; revision=17015

17 years agoFix for leak when window destroyed
Michael David Emmel [Tue, 2 Jan 2007 09:05:54 +0000 (09:05 +0000)]
Fix for leak when window destroyed

svn path=/trunk/; revision=17014

17 years agoOnly handle key bindings for scrolling if the scrollbars are visible.
Matthias Clasen [Tue, 2 Jan 2007 07:07:09 +0000 (07:07 +0000)]
Only handle key bindings for scrolling if the scrollbars are visible.

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkscrolledwindow.h:
        * gtk/gtkscrolledwindow.c: Only handle key bindings
        for scrolling if the scrollbars are visible.
        (#340135, Christian Persch)

svn path=/trunk/; revision=17012

17 years agoFix a segfault in horizontal scrolling
Matthias Clasen [Tue, 2 Jan 2007 07:05:53 +0000 (07:05 +0000)]
Fix a segfault in horizontal scrolling

svn path=/trunk/; revision=17011

17 years agoOnly handle key bindings for tab reordering if the tabs are shown and
Matthias Clasen [Tue, 2 Jan 2007 06:22:37 +0000 (06:22 +0000)]
Only handle key bindings for tab reordering if the tabs are shown and

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.h:
        * gtk/gtknotebook.c: Only handle key bindings for
        tab reordering if the tabs are shown and reorderable.
        (#390468, Yevgen Muntyan)

        * gtk/gtkmarshalers.list: Add required marshaler

svn path=/trunk/; revision=17008

17 years agoMention in the docs that the return value is NULL-terminated. (#383373,
Matthias Clasen [Tue, 2 Jan 2007 04:37:31 +0000 (04:37 +0000)]
Mention in the docs that the return value is NULL-terminated. (#383373,

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
        Mention in the docs that the return value is
        NULL-terminated.  (#383373, Christian Neumair)

svn path=/trunk/; revision=17007

17 years agoWaste less time with non-directories. (#391725, Chris Wilson)
Matthias Clasen [Tue, 2 Jan 2007 04:19:28 +0000 (04:19 +0000)]
Waste less time with non-directories. (#391725, Chris Wilson)

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkicontheme.c (load_themes): Waste less time
        with non-directories.  (#391725, Chris Wilson)

svn path=/trunk/; revision=17005

17 years agoImplement activity mode for GtkCellRendererProgress. (#377851, Brad
Matthias Clasen [Tue, 2 Jan 2007 04:11:15 +0000 (04:11 +0000)]
Implement activity mode for GtkCellRendererProgress. (#377851, Brad

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcellrendererprogress.c: Implement activity mode
        for GtkCellRendererProgress.  (#377851, Brad Taylor)

svn path=/trunk/; revision=17004

17 years agoFix some IPP compliance issues. (#391523, Albrecht Dress)
Matthias Clasen [Mon, 1 Jan 2007 23:47:45 +0000 (23:47 +0000)]
Fix some IPP compliance issues. (#391523, Albrecht Dress)

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        Fix some IPP compliance issues.  (#391523, Albrecht Dress)

        * modules/printbackends/cups/gtkcupsutils.c
        (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
        IPP_TAG_OPERATION.
        * modules/printbackends/cups/gtkprintbackendcups.c
        (gtk_print_backend_cups_print_stream): Don't add the
        requesting-user-name attribute a second time.

svn path=/trunk/; revision=17002

17 years agoFix en/em dash confusion. (#378462)
Matthias Clasen [Mon, 1 Jan 2007 05:40:05 +0000 (05:40 +0000)]
Fix en/em dash confusion. (#378462)

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)

svn path=/trunk/; revision=17000

17 years agoUse the right object when disconnecting from the GtkRecentManager::changed
Emmanuele Bassi [Sun, 31 Dec 2006 16:54:56 +0000 (16:54 +0000)]
Use the right object when disconnecting from the GtkRecentManager::changed

2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
right object when disconnecting from the GtkRecentManager::changed
signal; save us a few indirections using a variable.

svn path=/trunk/; revision=16999

17 years agoMove the signal and idle disconnections into the dispose function, as well
Emmanuele Bassi [Sun, 31 Dec 2006 16:35:00 +0000 (16:35 +0000)]
Move the signal and idle disconnections into the dispose function, as well

2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c: Move the signal and idle
disconnections into the dispose function, as well as the
object unrefs; reset every handler id and the
pointers. (suggested by Paolo Borelli, #390873)

svn path=/trunk/; revision=16997

17 years agoInclude windows.h (#391229, Kazuki Iwamoto)
Matthias Clasen [Sun, 31 Dec 2006 15:49:44 +0000 (15:49 +0000)]
Include windows.h (#391229, Kazuki Iwamoto)

2006-12-31  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
        Kazuki Iwamoto)

svn path=/trunk/; revision=16995

17 years agoRemove the scroll timeout. (#390872, Yevgen Muntyan)
Matthias Clasen [Sun, 31 Dec 2006 06:00:08 +0000 (06:00 +0000)]
Remove the scroll timeout. (#390872, Yevgen Muntyan)

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
        scroll timeout.  (#390872, Yevgen Muntyan)

svn path=/trunk/; revision=16993

17 years agoMove a few settings to gtksettings.c to make sure they show up in the
Matthias Clasen [Sun, 31 Dec 2006 05:54:46 +0000 (05:54 +0000)]
Move a few settings to gtksettings.c to make sure they show up in the

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c:
        * gtk/gtkprintbackend.c:
        * gtk/gtkfilechooserdefault.c:
        * gtk/gtksettings.c: Move a few settings to gtksettings.c
        to make sure they show up in the docs.  (#365364, Christian
        Persch)

svn path=/trunk/; revision=16992

17 years agoRedraw assistant on reallocate to avoid rendering glitches. (#343956,
Matthias Clasen [Sun, 31 Dec 2006 05:15:37 +0000 (05:15 +0000)]
Redraw assistant on reallocate to avoid rendering glitches. (#343956,

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkassistant.c: Redraw assistant on reallocate
        to avoid rendering glitches.  (#343956, Christian
        Persch, Carlos Garnacho)

svn path=/trunk/; revision=16990

17 years agoTypo fix. (#352121, Clytie Siddall)
Matthias Clasen [Sun, 31 Dec 2006 05:09:01 +0000 (05:09 +0000)]
Typo fix. (#352121, Clytie Siddall)

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)

svn path=/trunk/; revision=16989

17 years agoImprove the docs of the "label" property. (#341730, Kristof Vansant)
Matthias Clasen [Sun, 31 Dec 2006 04:14:28 +0000 (04:14 +0000)]
Improve the docs of the "label" property. (#341730, Kristof Vansant)

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaction.c: Improve the docs of the "label"
        property.  (#341730, Kristof Vansant)

svn path=/trunk/; revision=16988

17 years agoCorrectly handle min size. (#320465, Philipp Langdale)
Matthias Clasen [Sun, 31 Dec 2006 00:57:27 +0000 (00:57 +0000)]
Correctly handle min size. (#320465, Philipp Langdale)

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
        Correctly handle min size. (#320465, Philipp Langdale)

svn path=/trunk/; revision=16986

17 years agoImplement editing of flags.
Matthias Clasen [Sun, 31 Dec 2006 00:49:44 +0000 (00:49 +0000)]
Implement editing of flags.

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/prop-editor.c: Implement editing of flags.

svn path=/trunk/; revision=16985