]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoAdd gtk-update-icon-cache.exe and more man pages to the dev zipfile.
Tor Lillqvist [Wed, 7 May 2008 09:01:16 +0000 (09:01 +0000)]
Add gtk-update-icon-cache.exe and more man pages to the dev zipfile.

2008-05-07  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
to the dev zipfile.

svn path=/trunk/; revision=20082

16 years agoForgotten files
Matthias Clasen [Tue, 6 May 2008 22:47:40 +0000 (22:47 +0000)]
Forgotten files

svn path=/trunk/; revision=20080

16 years agogdk/gdkinternals.h gdk/gdkevents.c gdk/directfb/gdkevents-directfb.c
Michael Natterer [Tue, 6 May 2008 22:35:13 +0000 (22:35 +0000)]
gdk/gdkinternals.h gdk/gdkevents.c gdk/directfb/gdkevents-directfb.c

2008-05-07  Michael Natterer  <mitch@imendio.com>

* gdk/gdkinternals.h
* gdk/gdkevents.c
* gdk/directfb/gdkevents-directfb.c
* gdk/quartz/gdkevents-quartz.c
* gdk/win32/gdkevents-win32.c
* gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
order parameters src,dest and make src const.

svn path=/trunk/; revision=20079

16 years agoAdd private backend data to events, and handle it when copying/freeing
Richard Hult [Tue, 6 May 2008 21:00:06 +0000 (21:00 +0000)]
Add private backend data to events, and handle it when copying/freeing

2008-05-06  Richard Hult  <richard@imendio.com>

* gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
* gdk/gdkinternals.h: Add private backend data to events, and
handle it when copying/freeing events. Currently only needed in
the quartz backend.

* gdk/directfb/gdkevents-directfb.c:
* gdk/quartz/gdkevents-quartz.c:
* gdk/win32/gdkevents-win32.c:
* gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
(_gdk_windowing_event_data_free): Add stubs for X11, win32 and
directfb. Implement for quartz. Part of fixing bug #473822.

svn path=/trunk/; revision=20078

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 6 May 2008 15:51:26 +0000 (15:51 +0000)]
Updated Norwegian bokmål translation.

2008-05-06  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20077

16 years agoApply a patch by Marek Kasik <mkasik@redhat.com> to display more printer
Matthias Clasen [Mon, 5 May 2008 23:38:31 +0000 (23:38 +0000)]
Apply a patch by Marek Kasik <mkasik@redhat.com> to display more printer

2008-05-05  Matthias Clasen  <mclasen@redhat.com>

        Apply a patch by Marek Kasik <mkasik@redhat.com> to display
        more printer status information in the print dialog.

        * modules/printbackends/cups/gtkprintbackendcups.c: Translate
        printer-state-reasons into suitable messages and icons.

        * gtk/stock-icons/16/gtk-print-error.{svg,png}:
        * gtk/stock-icons/16/gtk-print-report.{svg,png}:
        * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
        * gtk/Makefile.am:
        * gtk/gtkstock.h: New stock icons to display printer state.

svn path=/trunk/; revision=20076

16 years agoInitalize framework if there is one.
Richard Hult [Mon, 5 May 2008 18:14:27 +0000 (18:14 +0000)]
Initalize framework if there is one.

2008-05-05  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
framework if there is one.

svn path=/trunk/; revision=20075

16 years agogtk/gtkcellrenderercombo.h gtk/gtkcellrendererspin.h style cleanups for
Michael Natterer [Mon, 5 May 2008 13:40:29 +0000 (13:40 +0000)]
gtk/gtkcellrenderercombo.h gtk/gtkcellrendererspin.h style cleanups for

2008-05-05  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellrenderercombo.h
* gtk/gtkcellrendererspin.h
* gtk/gtkfilechooserbutton.h: style cleanups for the sake of
consistency.

* gtk/gtkfilechooserdialog.h
* gtk/gtkfilechooserwidget.h
* gtk/gtkscalebutton.h: reorder instance and class structs to be
in canonical order.

svn path=/trunk/; revision=20074

16 years agoCheck if gdk_unicode_to_keyval() worked before using the result. Makes
Richard Hult [Sun, 4 May 2008 15:15:00 +0000 (15:15 +0000)]
Check if gdk_unicode_to_keyval() worked before using the result. Makes

2008-05-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
gdk_unicode_to_keyval() worked before using the result. Makes
function keys work, bug #530156. Also add F16 to the function key
map.

svn path=/trunk/; revision=20071

16 years agoRemove stray semicolon after if statement. Fixes bug #530963, patch from
Richard Hult [Sun, 4 May 2008 15:07:18 +0000 (15:07 +0000)]
Remove stray semicolon after if statement. Fixes bug #530963, patch from

2008-05-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
semicolon after if statement. Fixes bug #530963, patch from Yevgen
Muntyan.

svn path=/trunk/; revision=20069

16 years agoadd 15 files that were missing (they all got included indirectly by
Michael Natterer [Fri, 2 May 2008 15:03:12 +0000 (15:03 +0000)]
add 15 files that were missing (they all got included indirectly by

2008-05-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.h: add 15 files that were missing (they all got included
indirectly by including gtk.h, so should have been here in the
first place).

svn path=/trunk/; revision=20068

16 years agodeprecate the entire gdk-pixbuf-marshal.h since it's installed by accident
Michael Natterer [Fri, 2 May 2008 14:23:12 +0000 (14:23 +0000)]
deprecate the entire gdk-pixbuf-marshal.h since it's installed by accident

2008-05-02  Michael Natterer  <mitch@imendio.com>

* Makefile.am (stamp-gdk-pixbuf-marshal.h): deprecate the entire
gdk-pixbuf-marshal.h since it's installed by accident only and
shouldn't be used by anybody.

svn path=/trunk/; revision=20067

16 years agouse GETTEXT_PACKAGE instead of "gtk20".
Michael Natterer [Fri, 2 May 2008 10:54:56 +0000 (10:54 +0000)]
use GETTEXT_PACKAGE instead of "gtk20".

2008-05-02  Michael Natterer  <mitch@imendio.com>

* modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".

svn path=/trunk/; revision=20066

16 years agoPrevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
Richard Hult [Thu, 1 May 2008 20:29:06 +0000 (20:29 +0000)]
Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.

2008-05-01  Richard Hult  <richard@imendio.com>

* gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.

svn path=/trunk/; revision=20064

16 years agoRegister the right translation domain.
Matthias Clasen [Thu, 1 May 2008 14:03:35 +0000 (14:03 +0000)]
Register the right translation domain.

        * modules/imput/imthai.c: Register the right translation domain.

svn path=/trunk/; revision=20060

16 years ago Bug 529386 – Printing options hidden by blacklisted option
Matthias Clasen [Thu, 1 May 2008 00:37:20 +0000 (00:37 +0000)]
    Bug 529386 – Printing options hidden by blacklisted option

        * modules/printbackend/cups/gtkprintbackendcups.c
        (cups_printer_get_options): Fix the blacklist handling.
        Patch by Marek Kašík.

svn path=/trunk/; revision=20058

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Wed, 30 Apr 2008 18:26:42 +0000 (18:26 +0000)]
Translation updated by Tino Meinen.

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

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=20057

16 years agoSimplify check for zero sized expose area.
Richard Hult [Wed, 30 Apr 2008 17:50:14 +0000 (17:50 +0000)]
Simplify check for zero sized expose area.

2008-04-30  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
area.

svn path=/trunk/; revision=20056

16 years agoDon't send nsevents with the gdk lock held, fixes deadlock when doing
Richard Hult [Wed, 30 Apr 2008 17:46:00 +0000 (17:46 +0000)]
Don't send nsevents with the gdk lock held, fixes deadlock when doing

2008-04-30  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
nsevents with the gdk lock held, fixes deadlock when doing manual
window resizing with threading enabled.

svn path=/trunk/; revision=20055

16 years agoMap Alt to Alt and Cmd to Meta. This is not only more logical but also
Richard Hult [Wed, 30 Apr 2008 17:42:27 +0000 (17:42 +0000)]
Map Alt to Alt and Cmd to Meta. This is not only more logical but also

2008-04-30  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c:
(get_keyboard_modifiers_from_ns_event), (create_key_event): Map
Alt to Alt and Cmd to Meta. This is not only more logical but also
makes it easier to have Mac-like behavior.

svn path=/trunk/; revision=20054

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Tue, 29 Apr 2008 21:34:13 +0000 (21:34 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=20053

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Tue, 29 Apr 2008 21:30:09 +0000 (21:30 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=20052

16 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 Apr 2008 13:53:18 +0000 (13:53 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=20051

16 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 Apr 2008 13:49:21 +0000 (13:49 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=20050

16 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 27 Apr 2008 19:32:03 +0000 (19:32 +0000)]
updated hebrew translation

svn path=/trunk/; revision=20049

16 years agoUpdated Dutch translation by Tino Meinen.
Wouter Bolsterlee [Sun, 27 Apr 2008 13:20:37 +0000 (13:20 +0000)]
Updated Dutch translation by Tino Meinen.

2008-04-27  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* nl.po: Updated Dutch translation by Tino Meinen.

svn path=/trunk/; revision=20048

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 26 Apr 2008 11:59:46 +0000 (11:59 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20047

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 26 Apr 2008 11:59:08 +0000 (11:59 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20046

16 years agoUse existing window size when painting the flat box instead of
Björn Lindqvist [Fri, 25 Apr 2008 21:56:50 +0000 (21:56 +0000)]
Use existing window size when painting the flat box instead of

2008-04-25  Björn Lindqvist  <bjourne@gmail.com>

* gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
painting the flat box instead of recalculating it. (#437493,
Ricardo Cruz)

svn path=/trunk/; revision=20045

16 years agoBug 529841 – incorrect position in directfb
Michael David Emmel [Fri, 25 Apr 2008 17:50:43 +0000 (17:50 +0000)]
Bug 529841 – incorrect position in directfb

svn path=/trunk/; revision=20044

16 years agoinclude <atk/atk.h> instead of <atk/atkobject.h>
Johan Dahlin [Fri, 25 Apr 2008 17:32:12 +0000 (17:32 +0000)]
include <atk/atk.h> instead of <atk/atkobject.h>

2008-04-25  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>

svn path=/trunk/; revision=20043

16 years agoinclude <pango/pango.h> instead of <pango/pango-layout.h>.
Michael Natterer [Fri, 25 Apr 2008 15:18:07 +0000 (15:18 +0000)]
include <pango/pango.h> instead of <pango/pango-layout.h>.

2008-04-25  Michael Natterer  <mitch@imendio.com>

* gtk/gtkprintcontext.h: include <pango/pango.h> instead of
<pango/pango-layout.h>.

* gtk/gtkiconfactory.c
* gtk/gtkimmodule.c
* gtk/gtkmain.c
* gtk/gtkmodules.c
* gtk/queryimmodules.c: remove inclusion of single files from
pango, none of them was actually needed.

* modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
<pango/pango-utils.h>.

svn path=/trunk/; revision=20042

16 years agoinclude <pango/pango.h> instead of <pango/pango-font.h>.
Michael Natterer [Fri, 25 Apr 2008 14:48:32 +0000 (14:48 +0000)]
include <pango/pango.h> instead of <pango/pango-font.h>.

2008-04-25  Michael Natterer  <mitch@imendio.com>

* gdk/gdkfont.h: include <pango/pango.h> instead of
<pango/pango-font.h>.

svn path=/trunk/; revision=20041

16 years agoinclude <gdk/gdk.h> instead of <gdk/gdkscreen.h>.
Michael Natterer [Fri, 25 Apr 2008 14:02:44 +0000 (14:02 +0000)]
include <gdk/gdk.h> instead of <gdk/gdkscreen.h>.

2008-04-25  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
<gdk/gdkscreen.h>.

svn path=/trunk/; revision=20040

16 years agoFix build. Please fix the translation if this isn't the right way to fix
Kjartan Maraas [Wed, 23 Apr 2008 13:23:07 +0000 (13:23 +0000)]
Fix build. Please fix the translation if this isn't the right way to fix

2008-04-23  Kjartan Maraas  <kmaraas@gnome.org>

* oc.po: Fix build. Please fix the translation if this
isn't the right way to fix it :-)

svn path=/trunk/; revision=20039

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 23 Apr 2008 08:50:07 +0000 (08:50 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=20038

16 years agoAdd io-gdip-* files here. Updated Norwegian bokmål translation.
Kjartan Maraas [Tue, 22 Apr 2008 20:01:52 +0000 (20:01 +0000)]
Add io-gdip-* files here. Updated Norwegian bokmål translation.

2008-04-22  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.skip: Add io-gdip-* files here.
* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20037

16 years agoAdd all the io-gdip-* files and gtkmountoperation.c Updated Norwegian
Kjartan Maraas [Tue, 22 Apr 2008 19:55:54 +0000 (19:55 +0000)]
Add all the io-gdip-* files and gtkmountoperation.c Updated Norwegian

2008-04-22  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add all the io-gdip-* files and
  gtkmountoperation.c
* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20036

16 years agoAdd gtkmountoperation.c
Kjartan Maraas [Tue, 22 Apr 2008 19:55:11 +0000 (19:55 +0000)]
Add gtkmountoperation.c

2008-04-22  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add gtkmountoperation.c

svn path=/trunk/; revision=20035

16 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 22 Apr 2008 04:06:02 +0000 (04:06 +0000)]
Updated Canadian English translation.

2008-04-22  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

svn path=/trunk/; revision=20034

16 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 22 Apr 2008 04:04:54 +0000 (04:04 +0000)]
Updated Canadian English translation.

2008-04-22  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

svn path=/trunk/; revision=20033

16 years agoupdated hebrew translation
Yair Hershkovitz [Mon, 21 Apr 2008 20:19:11 +0000 (20:19 +0000)]
updated hebrew translation

svn path=/trunk/; revision=20032

16 years agoadd tons of g_return_if_fail() instead of crashing when NULL pointers get
Michael Natterer [Mon, 21 Apr 2008 13:53:43 +0000 (13:53 +0000)]
add tons of g_return_if_fail() instead of crashing when NULL pointers get

2008-04-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkselection.c: add tons of g_return_if_fail() instead of
crashing when NULL pointers get passed.

svn path=/trunk/; revision=20031

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 20 Apr 2008 12:12:14 +0000 (12:12 +0000)]
Translation updated by Tino Meinen.

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

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=20029

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Sun, 20 Apr 2008 09:02:26 +0000 (09:02 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=20028

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Sun, 20 Apr 2008 08:58:26 +0000 (08:58 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=20027

16 years agoupdated hebrew translation
Yair Hershkovitz [Sat, 19 Apr 2008 09:35:31 +0000 (09:35 +0000)]
updated hebrew translation

svn path=/trunk/; revision=20026

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 19 Apr 2008 09:18:03 +0000 (09:18 +0000)]
Updated Norwegian bokmål translation.

2008-04-19  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20025

16 years agomove a few '{' to their own lines so all enums here have the same style.
Michael Natterer [Fri, 18 Apr 2008 15:34:50 +0000 (15:34 +0000)]
move a few '{' to their own lines so all enums here have the same style.

2008-04-18  Michael Natterer  <mitch@imendio.com>

* gtk/gtkenums.h: move a few '{' to their own lines so all enums
here have the same style.

svn path=/trunk/; revision=20024

16 years agogtk/gtkicontheme.h include <gdk/gdk.h> instead of <gdk/gdkscreen.h>.
Michael Natterer [Fri, 18 Apr 2008 14:56:23 +0000 (14:56 +0000)]
gtk/gtkicontheme.h include <gdk/gdk.h> instead of <gdk/gdkscreen.h>.

2008-04-18  Michael Natterer  <mitch@imendio.com>

* gtk/gtkicontheme.h
* gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
<gdk/gdkscreen.h>.

* gtk/gtkbuilderparser.c
* gtk/gtklinkbutton.c
* gtk/gtkpreview.c
* gtk/gtkrecentchooserdefault.c
* gtk/gtkrecentchoosermenu.c
* modules/input/gtkimcontextthai.c: remove inclusion of single
files from gdk, none of the includes was actually needed.

svn path=/trunk/; revision=20023

16 years agoreorder one include so they are all alphabetical.
Michael Natterer [Fri, 18 Apr 2008 14:52:22 +0000 (14:52 +0000)]
reorder one include so they are all alphabetical.

2008-04-18  Michael Natterer  <mitch@imendio.com>

* gdk/gdk.h: reorder one include so they are all alphabetical.

svn path=/trunk/; revision=20022

16 years agochange return value and local variable to const gchar* to fix warning
Michael Natterer [Fri, 18 Apr 2008 14:51:26 +0000 (14:51 +0000)]
change return value and local variable to const gchar* to fix warning

2008-04-18  Michael Natterer  <mitch@imendio.com>

* modules/printbackends/cups/gtkprintercups.[ch]
(gtk_printer_cups_get_ppd_name): change return value and local
variable to const gchar* to fix warning about discarding const
qualifier.

svn path=/trunk/; revision=20021

16 years agoKeep the default storage file in $HOME, as we don't have a migration code
Emmanuele Bassi [Fri, 18 Apr 2008 13:25:49 +0000 (13:25 +0000)]
Keep the default storage file in $HOME, as we don't have a migration code

2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_set_filename): Keep the default storage
file in $HOME, as we don't have a migration code in place yet.

svn path=/trunk/; revision=20020

16 years agog_strfreev() the uris returned by g_bookmark_file_get_uris().
Michael Natterer [Fri, 18 Apr 2008 13:05:56 +0000 (13:05 +0000)]
g_strfreev() the uris returned by g_bookmark_file_get_uris().

2008-04-18  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
g_strfreev() the uris returned by g_bookmark_file_get_uris().

svn path=/trunk/; revision=20019

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Thu, 17 Apr 2008 18:32:04 +0000 (18:32 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20018

16 years agoregister the GTK_STOCK_PAGE_SETUP icon.
Michael Natterer [Thu, 17 Apr 2008 12:46:38 +0000 (12:46 +0000)]
register the GTK_STOCK_PAGE_SETUP icon.

2008-04-17  Michael Natterer  <mitch@imendio.com>

* gtk/gtkiconfactory.c (get_default_icons): register the
GTK_STOCK_PAGE_SETUP icon.

svn path=/trunk/; revision=20017

16 years agono need to g_return_if_fail(tooltips != NULL);
Michael Natterer [Thu, 17 Apr 2008 11:40:33 +0000 (11:40 +0000)]
no need to g_return_if_fail(tooltips != NULL);

2008-04-17  Michael Natterer  <mitch@imendio.com>

* gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
g_return_if_fail(tooltips != NULL);

svn path=/trunk/; revision=20016

16 years agoFix ChangeLog
Xan Lopez [Thu, 17 Apr 2008 07:32:37 +0000 (07:32 +0000)]
Fix ChangeLog

svn path=/trunk/; revision=20015

16 years agoSync xdgmime to the copy in gio
Matthias Clasen [Wed, 16 Apr 2008 22:18:27 +0000 (22:18 +0000)]
Sync xdgmime to the copy in gio

svn path=/trunk/; revision=20013

16 years agoPartically revert the last commit after realizing that
Matthias Clasen [Wed, 16 Apr 2008 17:23:08 +0000 (17:23 +0000)]
Partically revert the last commit after realizing that

2008-04-16  Matthias Clasen  <mclasen@redhat.com>

        Partically revert the last commit after realizing that
        xdg_mime_media_type_equal doesn't have to init at all.

        * xdgmime/xdgmime.h:
        * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal

        * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal

svn path=/trunk/; revision=20011

16 years agoAvoid possible memory corruption in xdgmime, fd.o bug 12512, reported by
Matthias Clasen [Wed, 16 Apr 2008 16:59:28 +0000 (16:59 +0000)]
Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by

2008-04-16  Matthias Clasen  <mclasen@redhat.com>

        Avoid possible memory corruption in xdgmime, fd.o bug 12512,
        reported by Joe Shaw and Federico Mena Quintero.

        * xdgmime.c(_xdg_mime_media_type_equal): Implement.
        (xdg_mime_media_type_equal): Turn into a wrapper around the
        _-prefixed version.

        * xdgmimecache.c: Use the _-prefixed versions of
        comparison functions throughout.

svn path=/trunk/; revision=20009

16 years agoChain up in buildable_finish()
Tristan Van Berkom [Wed, 16 Apr 2008 16:35:17 +0000 (16:35 +0000)]
Chain up in buildable_finish()

* gtk/gtkwindow.c: Chain up in buildable_finish()

* gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
cases where g_path_get_dirname() returns "."

* docs/reference/gtk/tmpl/gtklabel.sgml,
docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
for the <attributes> tags on GtkLabel

svn path=/trunk/; revision=20008

16 years agoFix last commit, and complete the gtk-recent-files-max-age semantics: if
Emmanuele Bassi [Tue, 15 Apr 2008 22:46:15 +0000 (22:46 +0000)]
Fix last commit, and complete the gtk-recent-files-max-age semantics: if

2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_real_changed): Fix last commit, and
complete the gtk-recent-files-max-age semantics: if the
property is set to 0 then purge the list.

svn path=/trunk/; revision=20007

16 years agoBug 488507 – boundless growth of .recently-used.xbel file slows down
Emmanuele Bassi [Tue, 15 Apr 2008 22:37:32 +0000 (22:37 +0000)]
Bug 488507 – boundless growth of .recently-used.xbel file slows down

2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>

Bug 488507 – boundless growth of .recently-used.xbel file
slows down applications

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_init),
(gtk_recent_manager_real_changed),
(gtk_recent_manager_set_filename),
(gtk_recent_manager_clamp_to_age): Clamp the recently
used resources list by the age of its items, using
the newly added GtkSettings property.

* gtk/gtksettings.c (gtk_settings_class_init): Add the
gtk-recent-files-max-age property, controlling the
maximum age of the items in the recently used resources
list.

svn path=/trunk/; revision=20006

16 years agoEmit the ::changed signal at the end of the asynchronous MIME type query.
Emmanuele Bassi [Tue, 15 Apr 2008 22:31:01 +0000 (22:31 +0000)]
Emit the ::changed signal at the end of the asynchronous MIME type query.

2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_add_item_query_info),
(gtk_recent_manager_add_item): Emit the ::changed signal
at the end of the asynchronous MIME type query.

svn path=/trunk/; revision=20005

16 years agoBug 487375 – gtkrecent apps poll ~/.recently-used.xbel every 5 seconds
Emmanuele Bassi [Tue, 15 Apr 2008 22:22:44 +0000 (22:22 +0000)]
Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel every 5 seconds

2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>

Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
every 5 seconds

* gtk/gtkrecentmanager.c: Use GFileMonitor to check for
changes in the recently used resources storage file, and
drop the timeout-based poll.

* ChangeLog: Fix attribution of the patch of the previous
commit.

svn path=/trunk/; revision=20004

16 years agoBug 506062 – gtk_recent_manager_add_item does not detect mime type on
Emmanuele Bassi [Tue, 15 Apr 2008 22:00:17 +0000 (22:00 +0000)]
Bug 506062 – gtk_recent_manager_add_item does not detect mime type on

2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>

Bug 506062 – gtk_recent_manager_add_item does not detect mime
type on Windows

* configure.in: Depend on gio-2.0

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_add_item_query_info_cb),
(gtk_recent_manager_add_item): Use GIO to (asynchronously) query
the MIME type of the passed URI.

svn path=/trunk/; revision=20003

16 years agoUpdated British English translation. Fixed British English translation.
Philip Withnall [Tue, 15 Apr 2008 17:07:56 +0000 (17:07 +0000)]
Updated British English translation. Fixed British English translation.

2008-04-15  Philip Withnall  <pwithnall@svn.gnome.org>

* po/en_GB.po: Updated British English translation.
* po-properties/en_GB.po: Fixed British English
translation.

svn path=/trunk/; revision=20002

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Mon, 14 Apr 2008 09:38:11 +0000 (09:38 +0000)]
Updated Galician Translation.

2008-04-14  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>

        * gl.po: Updated Galician Translation.

svn path=/trunk/; revision=20001

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Mon, 14 Apr 2008 09:33:42 +0000 (09:33 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=20000

16 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 13 Apr 2008 17:36:50 +0000 (17:36 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=19999

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 12 Apr 2008 19:32:05 +0000 (19:32 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=19998

16 years agoAdd current page to visited page list instead of next current page.
Carlos Garnacho [Fri, 11 Apr 2008 17:08:21 +0000 (17:08 +0000)]
Add current page to visited page list instead of next current page.

2008-04-11  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
        page to visited page list instead of next current page. (#527466,
        patch by Marcus Brinkmann)

svn path=/trunk/; revision=19996

16 years agoAdded <attributes> / <attribute> custom tags to parse pango attributes
Tristan Van Berkom [Fri, 11 Apr 2008 16:56:26 +0000 (16:56 +0000)]
Added <attributes> / <attribute> custom tags to parse pango attributes

* gtk/gtklabel.c: Added <attributes> / <attribute>
custom tags to parse pango attributes into labels.

* tests/buildertest.c: Added tests for GtkLabel custom
tag parsing.

svn path=/trunk/; revision=19995

16 years agoMove my documentation changelog entries to the right changelog.
Cody Russell [Fri, 11 Apr 2008 13:49:36 +0000 (13:49 +0000)]
Move my documentation changelog entries to the right changelog.

svn path=/trunk/; revision=19993

16 years agoFix to say g_signal_connect_after rather than g_signal_register_after.
Cody Russell [Thu, 10 Apr 2008 21:10:15 +0000 (21:10 +0000)]
Fix to say g_signal_connect_after rather than g_signal_register_after.

2008-04-10  Cody Russell  <bratsche@gnome.org>

        * docs/reference/gdk/tmpl/windows.sgml: Fix to say
        g_signal_connect_after rather than g_signal_register_after.
        (reported by Guillaume Cottenceau)

svn path=/trunk/; revision=19991

16 years agoFix a typo in the markup. (reported by kraai -at- ftbfs.org)
Cody Russell [Thu, 10 Apr 2008 20:58:50 +0000 (20:58 +0000)]
Fix a typo in the markup. (reported by kraai -at- ftbfs.org)

2008-04-10  Cody Russell  <bratsche@gnome.org>

        * docs/reference/gtk/tmpl/gtktreeview.sgml: Fix a typo
        in the markup. (reported by kraai -at- ftbfs.org)

svn path=/trunk/; revision=19989

16 years agoDo not call gtk_widget_set_parent_window(), using widget->window instead
Carlos Garnacho [Thu, 10 Apr 2008 17:16:08 +0000 (17:16 +0000)]
Do not call gtk_widget_set_parent_window(), using widget->window instead

2008-04-10  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtknotebook.c (hide_drag_window): Do not call
        gtk_widget_set_parent_window(), using widget->window instead of NULL
        to unset is the wrong thing, and gtk_widget_unparent() will already
        take care of this (#467698, patch by Sébastien Granjoux)

svn path=/trunk/; revision=19987

16 years agoMark these functions with G_MODULE_EXPORT.
Tor Lillqvist [Tue, 8 Apr 2008 14:06:17 +0000 (14:06 +0000)]
Mark these functions with G_MODULE_EXPORT.

2008-04-08  Tor Lillqvist  <tml@novell.com>

* demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
these functions with G_MODULE_EXPORT.

svn path=/trunk/; revision=19985

16 years agoFix fallback icon rendering size
Tomas Bzatek [Tue, 8 Apr 2008 13:58:45 +0000 (13:58 +0000)]
Fix fallback icon rendering size

2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>

        * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
        (gtk_file_system_volume_render_icon):
        Fix fallback icon rendering size

svn path=/trunk/; revision=19982

16 years agofix a touchscreen-mode keynav corner case: when navigating to the parent
Michael Natterer [Tue, 8 Apr 2008 11:03:10 +0000 (11:03 +0000)]
fix a touchscreen-mode keynav corner case: when navigating to the parent

2008-04-08  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
touchscreen-mode keynav corner case: when navigating to the parent
menu, make sure we don't close two menus at the same time in case
the deepest open menu has no selectable items.

svn path=/trunk/; revision=19981

16 years agoClarified a g_warning message regarding parsing accelerators from builder
Tristan Van Berkom [Sun, 6 Apr 2008 03:10:23 +0000 (03:10 +0000)]
Clarified a g_warning message regarding parsing accelerators from builder

* gtk/gtkwidget.c: Clarified a g_warning message regarding
parsing accelerators from builder files.

svn path=/trunk/; revision=19978

16 years agoUpdated Norwegian Nynorsk translation
Eskild Hustvedt [Fri, 4 Apr 2008 07:34:59 +0000 (07:34 +0000)]
Updated Norwegian Nynorsk translation

svn path=/trunk/; revision=19976

16 years agoUpdated Slovak translation by Pavol Šimo.
Marcel Telka [Fri, 4 Apr 2008 05:22:25 +0000 (05:22 +0000)]
Updated Slovak translation by Pavol Šimo.

2008-04-04  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=19975

16 years agoFix variable declared in the middle of the block. (#526021, reported by
Cody Russell [Thu, 3 Apr 2008 17:58:53 +0000 (17:58 +0000)]
Fix variable declared in the middle of the block. (#526021, reported by

2008-04-03  Cody Russell  <bratsche@gnome.org>

        * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
        of the block. (#526021, reported by Kazuki IWAMOTO)

svn path=/trunk/; revision=19974

16 years agoBug 330743 - Up/down spinbuttons won't take zeros and exhibit very strange
Tor Lillqvist [Thu, 3 Apr 2008 12:44:29 +0000 (12:44 +0000)]
Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very strange

2008-04-03  Tor Lillqvist  <tml@novell.com>

Bug 330743 - Up/down spinbuttons won't take zeros and exhibit
very strange behavior

* gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
workaround for a specific kind of screwed up locale setting.

svn path=/trunk/; revision=19972

16 years agoDon't call XFreeColormap on foreign colormaps
Matthias Clasen [Thu, 3 Apr 2008 05:08:05 +0000 (05:08 +0000)]
Don't call XFreeColormap on foreign colormaps

svn path=/trunk/; revision=19969

16 years agoUpdated Valencian-Catalan translation by Robert Millan.
Jordi Mallach [Thu, 3 Apr 2008 01:23:41 +0000 (01:23 +0000)]
Updated Valencian-Catalan translation by Robert Millan.

svn path=/trunk/; revision=19968

16 years agoCover GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
Björn Lindqvist [Wed, 2 Apr 2008 21:02:13 +0000 (21:02 +0000)]
Cover GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current

2008-04-02  Björn Lindqvist  <bjourne@gmail.com>

* tests/autotestfilechooser.c: Cover
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
name. (#346058, Joe Halliwell)

svn path=/trunk/; revision=19967

16 years agobgo492134 - fix tilde expansion in GtkFileSystemUnix
Federico Mena Quintero [Wed, 2 Apr 2008 16:48:15 +0000 (16:48 +0000)]
bgo492134 - fix tilde expansion in GtkFileSystemUnix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19962

16 years agoDon't bother compiling gtksearchenginebeagle.c and
Tor Lillqvist [Wed, 2 Apr 2008 09:59:44 +0000 (09:59 +0000)]
Don't bother compiling gtksearchenginebeagle.c and

2008-04-02  Tor Lillqvist  <tml@novell.com>

* gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
and gtksearchenginetracker.c on Windows.

* gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
on Windows.

svn path=/trunk/; revision=19959

16 years agoPatch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>. Bug
Li Yuan [Wed, 2 Apr 2008 08:29:31 +0000 (08:29 +0000)]
Patch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>. Bug

2008-04-02  Li Yuan  <li.yuan@.sun.com>

        * gailbutton.c: (idle_do_action):
        Patch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>.
        Bug #496167. Synthesize press and release GdkEvent in button's click
        action.

svn path=/trunk/; revision=19958

16 years agoImproved changelog for last commit
Cody Russell [Tue, 1 Apr 2008 20:50:55 +0000 (20:50 +0000)]
Improved changelog for last commit

svn path=/trunk/; revision=19956

16 years agoBump required Cairo to 1.5.2.
Cody Russell [Tue, 1 Apr 2008 20:46:18 +0000 (20:46 +0000)]
Bump required Cairo to 1.5.2.

2008-04-01  Cody Russell  <bratsche@gnome.org>

        * configure.in: Bump required Cairo to 1.5.2.

        * gtk/gtkprintoperation-win32.c: Add support for using the new
        cairo_win32_printing_surface for printing. (#488833)

svn path=/trunk/; revision=19955

16 years agoMove down each line in units of text_height rather than in units of
Cody Russell [Mon, 31 Mar 2008 21:45:22 +0000 (21:45 +0000)]
Move down each line in units of text_height rather than in units of

2008-03-31  Cody Russell  <bratsche@gnome.org>

        * demos/gtk-demo/printing.c (draw_page): Move down each line in
        units of text_height rather than in units of data->font_size.
        (totally awesome catch by Dom Lachowicz)

svn path=/trunk/; revision=19952

16 years agoDefer the generated event to the mainloop and don't generate one at all if
Richard Hult [Mon, 31 Mar 2008 13:15:15 +0000 (13:15 +0000)]
Defer the generated event to the mainloop and don't generate one at all if

2008-03-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
(_gdk_quartz_events_trigger_crossing_events): Defer the generated
event to the mainloop and don't generate one at all if the
toplevel didn't change. Use the actual window and not the toplevel
as event window. These changes make the generated crossing events
match the X11 behavior and fixes issues with e.g. tooltips,
comboboxes and menus.

* gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
the view has no window, it will be updated as soon as it's put
inside a window.

* gdk/quartz/gdkwindow-quartz.c:
(_gdk_quartz_window_debug_highlight): Make it possible to track
multiple windows with debug highlighting.
(show_window_internal): Remove workaround for tooltips and popups
that is no longer needed with the above changes.

svn path=/trunk/; revision=19951

16 years agoBug #433324. add/remove selectable state depand on if the button can be
Li Yuan [Mon, 31 Mar 2008 07:48:16 +0000 (07:48 +0000)]
Bug #433324. add/remove selectable state depand on if the button can be

2008-03-31  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (gail_button_ref_state_set):
        Bug #433324. add/remove selectable state depand on if the button can
        be focused.

svn path=/trunk/; revision=19950

16 years agoUse #, not @ in text.
Tor Lillqvist [Sun, 30 Mar 2008 02:31:40 +0000 (02:31 +0000)]
Use #, not @ in text.

svn path=/trunk/; revision=19948

16 years agoBug 524862 - Using GTK_WIN_POS_CENTER_ALWAYS gives jerky window resizing
Tor Lillqvist [Sun, 30 Mar 2008 02:29:13 +0000 (02:29 +0000)]
Bug 524862 - Using GTK_WIN_POS_CENTER_ALWAYS gives jerky window resizing

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

Bug 524862 - Using GTK_WIN_POS_CENTER_ALWAYS gives jerky
window resizing in Win32

* gtk/tmpl/gtkenums.sgml: Recommend that GTK_WIN_POS_CENTER_ALWAYS
is not used.

svn path=/trunk/; revision=19947

16 years agoUpdated German translation, fix #524115.
Hendrik Richter [Sat, 29 Mar 2008 18:40:32 +0000 (18:40 +0000)]
Updated German translation, fix #524115.

2008-03-29  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation, fix #524115.

svn path=/trunk/; revision=19944