]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoUpdate to match what configure produces.
Tor Lillqvist [Wed, 12 Mar 2008 18:53:03 +0000 (18:53 +0000)]
Update to match what configure produces.

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

* config.h.win32.in: Update to match what configure produces.

svn path=/trunk/; revision=19791

16 years agoDon't define variables in the middle of a block. (#522067)
Jens Granseuer [Wed, 12 Mar 2008 18:37:39 +0000 (18:37 +0000)]
Don't define variables in the middle of a block. (#522067)

2008-03-12  Jens Granseuer  <jensgr@gmx.net>

* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_prepare_for_print): Don't define variables in the
middle of a block. (#522067)

svn path=/trunk/; revision=19789

16 years agoAdd an overwrite confirmation dialog for print-to-file. (#474302, Marek
Matthias Clasen [Wed, 12 Mar 2008 18:02:29 +0000 (18:02 +0000)]
Add an overwrite confirmation dialog for print-to-file. (#474302, Marek

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
        dialog for print-to-file.  (#474302, Marek Kašík)

svn path=/trunk/; revision=19787

16 years agoFix a crash
Matthias Clasen [Wed, 12 Mar 2008 17:52:36 +0000 (17:52 +0000)]
Fix a crash

svn path=/trunk/; revision=19786

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Wed, 12 Mar 2008 16:39:12 +0000 (16:39 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=19782

16 years agoDon't leak paper_size here. (#488820, Morten Welinder)
Matthias Clasen [Wed, 12 Mar 2008 16:37:51 +0000 (16:37 +0000)]
Don't leak paper_size here. (#488820, Morten Welinder)

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
        paper_size here.  (#488820, Morten Welinder)

svn path=/trunk/; revision=19781

16 years agoremove this deprecated file.
Michael Natterer [Wed, 12 Mar 2008 14:05:23 +0000 (14:05 +0000)]
remove this deprecated file.

2008-03-12  Michael Natterer  <mitch@imendio.com>

* acconfig.h: remove this deprecated file.

* configure.in: added comments to all instances of AC_DEFINE() so
config.h can be completely generated from configure.in.

svn path=/trunk/; revision=19779

16 years agoinclude <glib/gstdio.h> for g_fopen().
Michael Natterer [Wed, 12 Mar 2008 11:12:37 +0000 (11:12 +0000)]
include <glib/gstdio.h> for g_fopen().

2008-03-12  Michael Natterer  <mitch@imendio.com>

* modules/printbackends/cups/gtkprintbackendcups.c: include
<glib/gstdio.h> for g_fopen().

svn path=/trunk/; revision=19775

16 years agoUpdated Telugu traslation done by Krishna Babu K <kkrothap@redhat.com>.
Sunil Mohan Adapa [Wed, 12 Mar 2008 06:27:16 +0000 (06:27 +0000)]
Updated Telugu traslation done by Krishna Babu K <kkrothap@redhat.com>.

2008-03-12  Sunil Mohan Adapa  <sunilmohan@fsf.org.in>

        * te.po: Updated Telugu traslation done by
        Krishna Babu K <kkrothap@redhat.com>.

svn path=/trunk/; revision=19769

16 years agoUse g_ascii_formatd when formatting custom paper sizes, since cups doesn't
Matthias Clasen [Wed, 12 Mar 2008 01:34:34 +0000 (01:34 +0000)]
Use g_ascii_formatd when formatting custom paper sizes, since cups doesn't

2008-03-11  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Use
        g_ascii_formatd when formatting custom paper sizes, since
        cups doesn't handle , as decimal separator.  (#521548)

svn path=/trunk/; revision=19762

16 years agoSet a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still
Claudio Saavedra [Tue, 11 Mar 2008 21:06:59 +0000 (21:06 +0000)]
Set a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still

2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

* io-bmp.c: (gdk_pixbuf__bmp_image_stop_load): Set a
GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while
still reading the headers.  (#505085)

svn path=/trunk/; revision=19757

16 years agoCheck for the BMP header magic numbers before decoding it. (#505085)
Claudio Saavedra [Tue, 11 Mar 2008 21:05:26 +0000 (21:05 +0000)]
Check for the BMP header magic numbers before decoding it. (#505085)

2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * io-bmp.c: (DecodeHeader): Check for the BMP header magic numbers
        before decoding it.  (#505085)

svn path=/trunk/; revision=19756

16 years agoBug 469868 - Filenames with colon ":" are not saved correctly
Tor Lillqvist [Tue, 11 Mar 2008 18:43:49 +0000 (18:43 +0000)]
Bug 469868 - Filenames with colon ":" are not saved correctly

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

Bug 469868 - Filenames with colon ":" are not saved correctly

* gtk/gtkfilechooserentry.c (insert_text_callback)
(delete_text_callback) [Win32]: New functions to make sure that
colons used otherwise than as a separator after a drive letter, or
characters that are always illegal in file names, are rejected on
input. This means that the GTK+ file chooser can't be used to
input full names of alternate data streams, but oh well. There are
still more checks that could be done on the file names, see the
bug report. But this will do for now.
(_gtk_file_chooser_entry_init) [Win32]: Connect above functions.

svn path=/trunk/; revision=19753

16 years agoAdd the initial Valencian-Catalan translations.
Jordi Mallach [Tue, 11 Mar 2008 17:25:06 +0000 (17:25 +0000)]
Add the initial Valencian-Catalan translations.

svn path=/trunk/; revision=19752

16 years agoMinor Catalan corrections by Robert Millan.
Jordi Mallach [Tue, 11 Mar 2008 17:18:28 +0000 (17:18 +0000)]
Minor Catalan corrections by Robert Millan.

svn path=/trunk/; revision=19751

16 years agogdk/Makefile.am remove remaining linux-fb stuff.
Michael Natterer [Tue, 11 Mar 2008 17:15:59 +0000 (17:15 +0000)]
gdk/Makefile.am remove remaining linux-fb stuff.

2008-03-11  Michael Natterer  <mitch@imendio.com>

* gdk/Makefile.am
* gtk/framebuffer.sgml: remove remaining linux-fb stuff.

svn path=/trunk/; revision=19750

16 years agoremoved linux-fb backend files.
Michael Natterer [Tue, 11 Mar 2008 17:14:00 +0000 (17:14 +0000)]
removed linux-fb backend files.

2008-03-11  Michael Natterer  <mitch@imendio.com>

* gdk/linux-fb/*: removed linux-fb backend files.

* acconfig.h
* config.h.win32.in
* docs/README.linux-fb
* gtk/Makefile.am: remove remaining traces of linux-fb.

* gtk/gtkwindow-decorate.c: same here. There is some code that
calls into linux-fb to set window move/resize callbacks. I put it
in #if 0 as a reminder because we did use decorated windows with
the DirectFB backend and it did work, so I don't really know why
this code is needed or how it could work with DirectFB back then.
The file does actually compile now if DECORATE_WINDOWS is defined,
but I didn't test with DirectFB to check if it does anything.

svn path=/trunk/; revision=19749

16 years agoTake thickness into account in the size allocation of the child widgets in
Alberto Ruiz [Tue, 11 Mar 2008 13:46:37 +0000 (13:46 +0000)]
Take thickness into account in the size allocation of the child widgets in

2008-03-11  Alberto Ruiz  <aruiz@gnome.org>

* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
Take thickness into account in the size allocation of the child widgets in
list mode.
Fixes #521442

svn path=/trunk/; revision=19747

16 years agoImplement gdk_window_reparent.
Richard Hult [Tue, 11 Mar 2008 10:14:47 +0000 (10:14 +0000)]
Implement gdk_window_reparent.

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

* gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.

svn path=/trunk/; revision=19746

16 years agoAdd the possibility to test what happens if the process just calls exit()
Tor Lillqvist [Mon, 10 Mar 2008 19:28:34 +0000 (19:28 +0000)]
Add the possibility to test what happens if the process just calls exit()

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

* tests/teststatusicon.c (do_exit, popup_menu): Add the
possibility to test what happens if the process just calls exit()
without any orderly cleanup of GTK+.

svn path=/trunk/; revision=19745

16 years agoRemove from SVN, finally.
Tor Lillqvist [Mon, 10 Mar 2008 18:35:29 +0000 (18:35 +0000)]
Remove from SVN, finally.

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

* gtk/gtktrayicon-win32.c: Remove from SVN, finally.

svn path=/trunk/; revision=19744

16 years agoBug 520286 - Non-deletable window has no minimize / maximize buttons
Tor Lillqvist [Mon, 10 Mar 2008 15:48:06 +0000 (15:48 +0000)]
Bug 520286 - Non-deletable window has no minimize / maximize buttons

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

Bug 520286 - Non-deletable window has no minimize / maximize buttons

* gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
New debugging output function that decodes a set of WS_* bits.

* gdk/win32/gdkprivate-win32.h: Declare it.

* gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
New function that enables or disables one menu entry in the system
menu of a top-level window. (The corresponding decoration will
then also be enabled or disabled (grayed).)

(update_style_bits): Do as the comment says and don't try to
update the window style based on the GdkWMFunctions set for the
window.

(update_system_menu): New function that enables or disables the
system menu entries based on a window's stored set of
GdkWMFunctions.

(gdk_window_set_functions): Call update_system_menu() instead of
update_style_bits().

svn path=/trunk/; revision=19743

16 years agoReword the 2.14 release notes entry about the deprecation of the
Emmanuele Bassi [Mon, 10 Mar 2008 14:22:13 +0000 (14:22 +0000)]
Reword the 2.14 release notes entry about the deprecation of the

2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>

* README.in: Reword the 2.14 release notes entry about the
deprecation of the gtkitemfactory.h header, and fix typos
and grammar.

svn path=/trunk/; revision=19742

16 years agoRevert #508760
Johan Dahlin [Sun, 9 Mar 2008 22:56:29 +0000 (22:56 +0000)]
Revert #508760

svn path=/trunk/; revision=19740

16 years agoUpdated Czech translation.
Petr Kovář [Sat, 8 Mar 2008 23:38:00 +0000 (23:38 +0000)]
Updated Czech translation.

svn path=/trunk/; revision=19738

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Sat, 8 Mar 2008 10:23:01 +0000 (10:23 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=19735

16 years agoDo not draw frame if parent if combobox. (draw_box): Uses scrollbar width
Alberto Ruiz [Sat, 8 Mar 2008 07:20:33 +0000 (07:20 +0000)]
Do not draw frame if parent if combobox. (draw_box): Uses scrollbar width

2008-03-08  Alberto Ruiz  <aruiz@gnome.org>

* modules/engines/ms-windows/msw_style.c (draw_shadow):
Do not draw frame if parent if combobox.
(draw_box):
Uses scrollbar width system metrics for combobox button.
Fixes #461805 for XP theme engine.

svn path=/trunk/; revision=19733

16 years ago- Treat enums like enums and not values - Avoid invalid free, in case of
Johan Dahlin [Fri, 7 Mar 2008 20:03:35 +0000 (20:03 +0000)]
- Treat enums like enums and not values - Avoid invalid free, in case of

2008-03-07  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkbuilder.c:
    * gtk/gtkbuilderparser.c:
    * gtk/gtkbuilderprivate.h:
    * gtk/gtkiconfactory.c:
    * tests/buildertest.c:
    - Treat enums like enums and not values
    - Avoid invalid free, in case of more than two sources
    - Add better error messages
    - Add much improved tests
    (#520979, Christian Persch)

svn path=/trunk/; revision=19732

16 years agoFix build.
Carlos Garnacho [Fri, 7 Mar 2008 11:13:47 +0000 (11:13 +0000)]
Fix build.

2008-03-07  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
        Fix build.

svn path=/trunk/; revision=19731

16 years agoFix ChangeLog
Federico Mena Quintero [Fri, 7 Mar 2008 04:07:55 +0000 (04:07 +0000)]
Fix ChangeLog

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

16 years agobgo505857 - GtkFileChooserDialog ensures its default response
Federico Mena Quintero [Fri, 7 Mar 2008 03:53:58 +0000 (03:53 +0000)]
bgo505857 - GtkFileChooserDialog ensures its default response

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

16 years agoImplement GtkBuildable on GtkIconFactory, to make it possible to register
Johan Dahlin [Fri, 7 Mar 2008 00:08:16 +0000 (00:08 +0000)]
Implement GtkBuildable on GtkIconFactory, to make it possible to register

2008-03-06  Johan Dahlin  <jdahlin@async.com.br>

    * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
    * gtk/gtkbuilder.c:
    * gtk/gtkbuilderprivate.h:
    * gtk/gtkiconfactory.c:
    * tests/buildertest.c:
    Implement GtkBuildable on GtkIconFactory, to make
    it possible to register custom stock icons.
    Fixes #517066

svn path=/trunk/; revision=19726

16 years agoMake gtk-doc happy:
Johan Dahlin [Thu, 6 Mar 2008 23:21:26 +0000 (23:21 +0000)]
Make gtk-doc happy:

2008-03-06  Johan Dahlin  <johan@gnome.org>

    Make gtk-doc happy:

    * gtk/gtkstyle.c: npoints->n_points.
    * gtk/gtktestutils.h: widget->spinner
    * gtk/gtktestutils.c: argc->argcp, argv->argvp

svn path=/trunk/; revision=19725

16 years agoOops, forgot to make the raw "%H:%M" string localizable (as it should be).
William Rikard Lachance [Thu, 6 Mar 2008 19:57:55 +0000 (19:57 +0000)]
Oops, forgot to make the raw "%H:%M" string localizable (as it should be).

svn path=/trunk/; revision=19724

16 years agoDon't print "Today at" in front of the time for today's date. It's
William Rikard Lachance [Thu, 6 Mar 2008 19:43:22 +0000 (19:43 +0000)]
Don't print "Today at" in front of the time for today's date. It's
redudant. (see bug #410517).

svn path=/trunk/; revision=19723

16 years agofix typo in documentation.
Xan Lopez [Thu, 6 Mar 2008 19:14:17 +0000 (19:14 +0000)]
fix typo in documentation.

2008-03-06  Xan Lopez  <xan@gnome.org>

* gtk/gtkfixed.c: fix typo in documentation.

svn path=/trunk/; revision=19722

16 years agoMove GtkTranslateFunc to gtktypeutils.h so we can completely deprecate
Johan Dahlin [Thu, 6 Mar 2008 14:04:30 +0000 (14:04 +0000)]
Move GtkTranslateFunc to gtktypeutils.h so we can completely deprecate

2008-03-06  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkitemfactory.h:
    * gtk/gtktypeutils.h:
    Move GtkTranslateFunc to gtktypeutils.h so we can completely
    deprecate gtkitemfactory.h.

    * gtk/gtkactiongroup.h:
    * gtk/gtkstock.h:
    Do not include gtkitemfactory.h directly, instead include gtktypeutils.h

    * README.in:
    Add a note describing this slight incompatible change

svn path=/trunk/; revision=19721

16 years agoAvoid double-deprecation.
Johan Dahlin [Thu, 6 Mar 2008 13:43:26 +0000 (13:43 +0000)]
Avoid double-deprecation.

2008-03-06  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkpreview.h: Avoid double-deprecation.

svn path=/trunk/; revision=19720

16 years agogtk/gtk.h move the remaining deprecated widgets to the separate sections
Michael Natterer [Thu, 6 Mar 2008 10:51:16 +0000 (10:51 +0000)]
gtk/gtk.h move the remaining deprecated widgets to the separate sections

2008-03-06  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.h
* gtk/Makefile.am: move the remaining deprecated widgets to the
separate sections and replaced spaces by tabs in Makefile.am

svn path=/trunk/; revision=19719

16 years agoAdd --disable-cups option. (#513826, Alberto Ruiz)
Johan Dahlin [Wed, 5 Mar 2008 16:43:10 +0000 (16:43 +0000)]
Add --disable-cups option. (#513826, Alberto Ruiz)

2008-03-05  Johan Dahlin  <johan@gnome.org>

    * configure.in: Add --disable-cups option.
    (#513826, Alberto Ruiz)

svn path=/trunk/; revision=19715

16 years agoSeparate broken and deprecated sources and headers into different sections
Johan Dahlin [Wed, 5 Mar 2008 15:36:41 +0000 (15:36 +0000)]
Separate broken and deprecated sources and headers into different sections

2008-03-05  Johan Dahlin  <johan@gnome.org>

    * gtk/gtk.h:
    * gtk/Makefile.am:
    Separate broken and deprecated sources and headers into different sections

svn path=/trunk/; revision=19714

16 years agoRestore accidentally broken test.
Johan Dahlin [Wed, 5 Mar 2008 15:02:25 +0000 (15:02 +0000)]
Restore accidentally broken test.

2008-03-05  Johan Dahlin  <johan@gnome.org>

    * tests/buildertest.c (test_list_store): Restore accidentally broken test.

svn path=/trunk/; revision=19713

16 years agoshort-circuit in case an empty root level would be build (and thus
Kristian Rietveld [Wed, 5 Mar 2008 10:36:35 +0000 (10:36 +0000)]
short-circuit in case an empty root level would be build (and thus

2008-03-05  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
short-circuit in case an empty root level would be build (and thus
directly destroyed) if no virtual root has been set.

svn path=/trunk/; revision=19712

16 years agoHonor cups user default options from ~/.cups/lpoptions (#469210, Stijn
Matthias Clasen [Wed, 5 Mar 2008 03:45:41 +0000 (03:45 +0000)]
Honor cups user default options from ~/.cups/lpoptions (#469210, Stijn

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

        * modules/printbackends/cups/gtkprintbackendcups.c:
        Honor cups user default options from ~/.cups/lpoptions
        (#469210, Stijn Hoop)

svn path=/trunk/; revision=19710

16 years agoUpdated German translation.
Hendrik Richter [Tue, 4 Mar 2008 19:02:04 +0000 (19:02 +0000)]
Updated German translation.

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

* de.po: Updated German translation.

svn path=/trunk/; revision=19709

16 years agogtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.c
Michael Natterer [Tue, 4 Mar 2008 12:49:40 +0000 (12:49 +0000)]
gtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.c

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

* gtk/gtkcellview.c
* gtk/gtkcolorbutton.c
* gtk/gtkentrycompletion.c
* gtk/gtkfontbutton.c
* gtk/gtkiconview.c
* gtk/gtkobject.c
* gtk/gtkpaned.c
* gtk/gtkpreview.c: don't include "gtksignal.h".

* gtk/gtkfilefilter.c
* gtk/gtkrecentchoosermenu.c
* gtk/gtkrecentfilter.c
* gtk/gtktext.c: don't include "gtkobject.h".

svn path=/trunk/; revision=19708

16 years agoFix #321896 - Synch gtkimcontextsimple.c with Xorg
Simos Xenitellis [Tue, 4 Mar 2008 11:21:48 +0000 (11:21 +0000)]
Fix #321896 - Synch gtkimcontextsimple.c with Xorg

svn path=/trunk/; revision=19706

16 years agoRemove spurious character in ChangeLog
Federico Mena Quintero [Tue, 4 Mar 2008 01:04:46 +0000 (01:04 +0000)]
Remove spurious character in ChangeLog

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

16 years agobgo417389 - Scrollwheel for GtkPathBar
Carlos Garnacho [Mon, 3 Mar 2008 21:15:21 +0000 (21:15 +0000)]
bgo417389 - Scrollwheel for GtkPathBar
2008-03-03  Carlos Garnacho  <carlos@imendio.com>

Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
scrollwheel work in GtkPathBar.

* gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.

* gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
an input-only window, event_window, which we'll use to capture
scroll events.
(gtk_path_bar_map): Show the event_window under the rest of the
windows, so it will be a catch-all for unhandled events.

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

16 years agofixed a typo in the documentation of the GtkFileChooserButtons::file-set
Sven Neumann [Mon, 3 Mar 2008 12:35:43 +0000 (12:35 +0000)]
fixed a typo in the documentation of the GtkFileChooserButtons::file-set

2008-03-03  Sven Neumann  <sven@gimp.org>

* gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
typo in the documentation of the GtkFileChooserButtons::file-set
signal (see bug #353196).

svn path=/trunk/; revision=19696

16 years agoAdd gail bits. Simplify check for message catalog location.
Tor Lillqvist [Mon, 3 Mar 2008 01:27:43 +0000 (01:27 +0000)]
Add gail bits. Simplify check for message catalog location.

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

* gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
location.

svn path=/trunk/; revision=19695

16 years agoUse void instead of empty arguments. (#508760, Philip Van Hoof)
Johan Dahlin [Mon, 3 Mar 2008 01:22:54 +0000 (01:22 +0000)]
Use void instead of empty arguments. (#508760, Philip Van Hoof)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkitemfactory.h: Use void instead of empty arguments.
    (#508760, Philip Van Hoof)

svn path=/trunk/; revision=19694

16 years agoRemove left-over focus_pad variable. (#490892, Claudio Saavedra)
Johan Dahlin [Mon, 3 Mar 2008 01:13:07 +0000 (01:13 +0000)]
Remove left-over focus_pad variable. (#490892, Claudio Saavedra)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkiconview.c (gtk_icon_view_paint_item):
    Remove left-over focus_pad variable.
    (#490892, Claudio Saavedra)

svn path=/trunk/; revision=19693

16 years agoRemove an extra space and swap word order (#518166, Matt Kraai)
Johan Dahlin [Mon, 3 Mar 2008 01:06:16 +0000 (01:06 +0000)]
Remove an extra space and swap word order (#518166, Matt Kraai)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
    (#518166, Matt Kraai)

svn path=/trunk/; revision=19692

16 years agoAdd a missing space (#517954, Matt Kraai)
Johan Dahlin [Mon, 3 Mar 2008 01:04:26 +0000 (01:04 +0000)]
Add a missing space (#517954, Matt Kraai)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * docs/tutorial/gtk-tut.sgml: Add a missing space
    (#517954, Matt Kraai)

svn path=/trunk/; revision=19691

16 years agoCheck that the widget is a GtkButton before casting.
Tor Lillqvist [Sun, 2 Mar 2008 19:51:00 +0000 (19:51 +0000)]
Check that the widget is a GtkButton before casting.

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

* modules/engines/ms-windows/msw_style.c (draw_box): Check that
the widget is a GtkButton before casting.

svn path=/trunk/; revision=19690

16 years agoCompare using = instead of ==, which is portable. (#490787, Thomas
Johan Dahlin [Sun, 2 Mar 2008 18:08:50 +0000 (18:08 +0000)]
Compare using = instead of ==, which is portable. (#490787, Thomas

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * configure.in: Compare using = instead of ==, which is portable.
    (#490787, Thomas Klausner)

svn path=/trunk/; revision=19689

16 years agoRemove autotestkeywords, it's added later, fixes non-C++ build. (#496032,
Johan Dahlin [Sun, 2 Mar 2008 17:19:52 +0000 (17:19 +0000)]
Remove autotestkeywords, it's added later, fixes non-C++ build. (#496032,

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
    fixes non-C++ build.
    (#496032, Nelson Benitez)

svn path=/trunk/; revision=19688

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Sun, 2 Mar 2008 15:31:49 +0000 (15:31 +0000)]
Translation updated by Ivar Smolin

2008-03-02  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=19687

16 years agoAdd translatable/context and comment attributes on <col> tags under a
Johan Dahlin [Sun, 2 Mar 2008 01:14:48 +0000 (01:14 +0000)]
Add translatable/context and comment attributes on <col> tags under a

2008-02-29  Johan Dahlin  <johan@gnome.org>

* demos/gtk-demo/demo.ui:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkliststore.c:
* tests/buildertest.c:
Add translatable/context and comment attributes on
<col> tags under a GtkListStore. Refactor parts of the
translation api and make it available inside gtk+ itself.
Update tests and example.
Fixes a part of #518642

svn path=/trunk/; revision=19685

16 years agoAdd missing g_return_val_if_fail checks for public API.
Johan Dahlin [Sat, 1 Mar 2008 16:47:34 +0000 (16:47 +0000)]
Add missing g_return_val_if_fail checks for public API.

2008-02-29  Johan Dahlin  <johan@gnome.org>

* gtk/gtkbuilder.c:
Add missing g_return_val_if_fail checks for public API.

svn path=/trunk/; revision=19684

16 years agoDo not use g_error for a few more errors, instead set the GError sent in
Johan Dahlin [Sat, 1 Mar 2008 13:49:06 +0000 (13:49 +0000)]
Do not use g_error for a few more errors, instead set the GError sent in

2008-02-29  Johan Dahlin  <johan@gnome.org>

* gtk/gtkbuilder.c:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
Do not use g_error for a few more errors, instead set
the GError sent in through add_from_file/add_from_string.
* tests/buildertest.c:
Add a couple of new parsing tests.
(#519199, Pavel Syomin)

svn path=/trunk/; revision=19681

16 years agoWhen refreshing an existing unix folder, turn off its is_finished_loading state
Federico Mena Quintero [Sat, 1 Mar 2008 02:32:09 +0000 (02:32 +0000)]
When refreshing an existing unix folder, turn off its is_finished_loading state

2008-02-29  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
refreshing an existing folder (i.e. when we are about to reload
its file list), turn off the folder's is_finished_loading flag.
Otherwise callers which do ::is_finished_loading() followed by
::list_children() will get nothing.

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

16 years agoFix tutorial documentation to say 'gtk_main_quit()' instead of
Cody Russell [Fri, 29 Feb 2008 19:27:16 +0000 (19:27 +0000)]
Fix tutorial documentation to say 'gtk_main_quit()' instead of

2008-02-29  Cody Russell  <bratsche@gnome.org>

        * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
        say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)

svn path=/trunk/; revision=19676

16 years agoFixes bug in Russian translation
Nickolay V. Shmyrev [Thu, 28 Feb 2008 23:50:17 +0000 (23:50 +0000)]
Fixes bug in Russian translation

svn path=/trunk/; revision=19673

16 years agoRemove trailing comma from enum to make the compiler happy. (#517295,
Matthias Clasen [Thu, 28 Feb 2008 05:41:56 +0000 (05:41 +0000)]
Remove trailing comma from enum to make the compiler happy. (#517295,

2008-02-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcalendar.h: Remove trailing comma from enum to
        make the compiler happy.  (#517295, Sylvain Pasche)

svn path=/trunk/; revision=19671

16 years agogtk/gtkmenushell.c gtk/gtktable.c gtk/gtktext.c gtk/gtktipsquery.c
Michael Natterer [Wed, 27 Feb 2008 11:30:10 +0000 (11:30 +0000)]
gtk/gtkmenushell.c gtk/gtktable.c gtk/gtktext.c gtk/gtktipsquery.c

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

* gtk/gtkmenushell.c
* gtk/gtktable.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktoolbar.c
* gtk/gtktreeitem.c
* gtk/gtktreeview.c
* gtk/gtkviewport.c
* gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
private functions and virtual function implementations.

svn path=/trunk/; revision=19668

16 years agoFix performance regression for borderless transparent windows with shadow.
Richard Hult [Wed, 27 Feb 2008 10:49:22 +0000 (10:49 +0000)]
Fix performance regression for borderless transparent windows with shadow.

2008-02-27  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.c:
* gdk/quartz/GdkQuartzView.h:
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
Fix performance regression for borderless transparent windows
with shadow.

svn path=/trunk/; revision=19666

16 years agoRevert back to r19454.
Emmanuele Bassi [Wed, 27 Feb 2008 10:31:24 +0000 (10:31 +0000)]
Revert back to r19454.

2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>

* tests/testgtk.c: Revert back to r19454.

svn path=/trunk/; revision=19665

16 years agowhen building the Quartz backend, use a native Mac OS X application for
Sven Neumann [Wed, 27 Feb 2008 09:58:49 +0000 (09:58 +0000)]
when building the Quartz backend, use a native Mac OS X application for

2008-02-27  Sven Neumann  <sven@gimp.org>

* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
Quartz backend, use a native Mac OS X application for the print
preview (bug #518624).

svn path=/trunk/; revision=19663

16 years agodon't g_free() the members of info->tag_stack since they are a) gobjects
Michael Natterer [Tue, 26 Feb 2008 14:20:08 +0000 (14:20 +0000)]
don't g_free() the members of info->tag_stack since they are a) gobjects

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

* gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
the members of info->tag_stack since they are a) gobjects and b)
not even owned by us, ugh... Fixes crash when deserializing fails.

svn path=/trunk/; revision=19657

16 years agodocs/tools/shooter.c (find_toplevel_window) fixed signedness of argument
Sven Neumann [Tue, 26 Feb 2008 14:14:40 +0000 (14:14 +0000)]
docs/tools/shooter.c (find_toplevel_window) fixed signedness of argument

2008-02-26  Sven Neumann  <sven@gimp.org>

* docs/tools/shooter.c (find_toplevel_window)
* docs/tools/widgets.c (find_toplevel_window): fixed signedness of
argument passed to XQueryTree().

svn path=/trunk/; revision=19656

16 years agoTranslation updated, merge changes from 2-12 branch
Gabor Kelemen [Mon, 25 Feb 2008 23:08:23 +0000 (23:08 +0000)]
Translation updated, merge changes from 2-12 branch

2008-02-26  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated, merge changes from 2-12 branch

svn path=/trunk/; revision=19655

16 years agoTranslation updated, merge changes from 2-12 branch
Gabor Kelemen [Mon, 25 Feb 2008 23:06:36 +0000 (23:06 +0000)]
Translation updated, merge changes from 2-12 branch

2008-02-26  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated, merge changes from 2-12 branch

svn path=/trunk/; revision=19654

16 years agoAnd don't use beagle_query_add_hit_type
Matthias Clasen [Mon, 25 Feb 2008 15:59:28 +0000 (15:59 +0000)]
And don't use beagle_query_add_hit_type

svn path=/trunk/; revision=19649

16 years agoLook for libbeagle.so.1
Matthias Clasen [Mon, 25 Feb 2008 13:43:37 +0000 (13:43 +0000)]
Look for libbeagle.so.1

svn path=/trunk/; revision=19646

16 years agoFix build on tiger.
Richard Hult [Mon, 25 Feb 2008 12:45:56 +0000 (12:45 +0000)]
Fix build on tiger.

2008-02-25  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c
(_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.

svn path=/trunk/; revision=19644

16 years agoPrevent hidden windows from being shown without gdk's control when
Richard Hult [Sun, 24 Feb 2008 17:51:22 +0000 (17:51 +0000)]
Prevent hidden windows from being shown without gdk's control when

2008-02-24  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
shown without gdk's control when clicking the dock icon.

svn path=/trunk/; revision=19638

16 years agoUse the subtype field for the custom event that is used to wake up the
Richard Hult [Sun, 24 Feb 2008 17:45:29 +0000 (17:45 +0000)]
Use the subtype field for the custom event that is used to wake up the

2008-02-24  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
Use the subtype field for the custom event that is used to wake up
the mainloop so we can have other custom event types.

* gdk/quartz/gdkevents-quartz.c:
(_gdk_quartz_events_trigger_crossing_events):
* gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
crossing events after showing a window if necessary, to work
around problems with the tracking rect API.

svn path=/trunk/; revision=19637

16 years agogtk-demo printing gives wrong results on win32 because it doesn't set the
Dominic Lachowicz [Fri, 22 Feb 2008 22:38:47 +0000 (22:38 +0000)]
gtk-demo printing gives wrong results on win32 because it doesn't set the

2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>

        * demos/gtk-demo/printing.c (do_printing): gtk-demo printing
gives
        wrong results on win32 because it doesn't set the printing
units,
        which affect the transformation of the cairo context
        (#347125, Erik van Pienbroek)

svn path=/trunk/; revision=19635

16 years agoAdd file missing from SVN, from the tarball.
Tor Lillqvist [Fri, 22 Feb 2008 20:17:00 +0000 (20:17 +0000)]
Add file missing from SVN, from the tarball.

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

* tests/pixbuf-init.c: Add file missing from SVN, from the tarball.

svn path=/trunk/; revision=19634

16 years agoIt's perfectly acceptable for a module to only support the
Dominic Lachowicz [Fri, 22 Feb 2008 15:26:48 +0000 (15:26 +0000)]
It's perfectly acceptable for a module to only support the

2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>

        * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable
        for a module to only support the save_to_callback() method if it marks itself
        as WRITABLE

svn path=/trunk/; revision=19632

16 years agoBump version
Matthias Clasen [Thu, 21 Feb 2008 18:22:28 +0000 (18:22 +0000)]
Bump version

svn path=/trunk/; revision=19630

16 years ago2.13.0
Matthias Clasen [Thu, 21 Feb 2008 18:03:04 +0000 (18:03 +0000)]
2.13.0

svn path=/trunk/; revision=19628

16 years agoSmall further change to make it more robust.
Tor Lillqvist [Thu, 21 Feb 2008 16:23:01 +0000 (16:23 +0000)]
Small further change to make it more robust.

svn path=/trunk/; revision=19626

16 years agoMust pass the format string to strftime in the C library's locale's
Tor Lillqvist [Thu, 21 Feb 2008 12:47:45 +0000 (12:47 +0000)]
Must pass the format string to strftime in the C library's locale's

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

* gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
pass the format string to strftime in the C library's locale's
charset, not the system's. Correspondingly, the return value from
strftime() is in the C library's locale's charset. (#509885)

svn path=/trunk/; revision=19625

16 years agoSet the right window level and shadow after recreating the window.
Richard Hult [Wed, 20 Feb 2008 20:10:30 +0000 (20:10 +0000)]
Set the right window level and shadow after recreating the window.

2008-02-20  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
the right window level and shadow after recreating the window.

* gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
necessary after drawing (bug #517338).

svn path=/trunk/; revision=19622

16 years agofix missing call to g_type_class_unref in case of error. (#517563)
Marc-Andre Lureau [Wed, 20 Feb 2008 18:32:43 +0000 (18:32 +0000)]
fix missing call to g_type_class_unref in case of error. (#517563)

2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

        * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
        call to g_type_class_unref in case of error. (#517563)

svn path=/trunk/; revision=19619

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 19 Feb 2008 21:47:06 +0000 (21:47 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=19617

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Mon, 18 Feb 2008 22:49:07 +0000 (22:49 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=19615

16 years agogtk/Makefile.am (STOCK_ICONS) gtk/stock-icons/16/gtk-page-setup.png added
Sven Neumann [Mon, 18 Feb 2008 15:01:04 +0000 (15:01 +0000)]
gtk/Makefile.am (STOCK_ICONS) gtk/stock-icons/16/gtk-page-setup.png added

2008-02-18  Sven Neumann  <sven@gimp.org>

* gtk/Makefile.am (STOCK_ICONS)
* gtk/stock-icons/16/gtk-page-setup.png
* gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
taken from GNOME icon theme.

* gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.

svn path=/trunk/; revision=19614

16 years agoAdded Entry for Kannada Translation updation by Shankar Prasad
Runa Bhattacharjee [Mon, 18 Feb 2008 12:25:28 +0000 (12:25 +0000)]
Added Entry for Kannada Translation updation by Shankar Prasad

svn path=/trunk/; revision=19613

16 years agoUpdated Kannada Translations by Shankar Prasad
Runa Bhattacharjee [Mon, 18 Feb 2008 12:24:58 +0000 (12:24 +0000)]
Updated Kannada Translations by Shankar Prasad

svn path=/trunk/; revision=19612

16 years agoAdded Entry for addition of Kannada (kn) to ALL_LINGUAS
Runa Bhattacharjee [Mon, 18 Feb 2008 12:23:07 +0000 (12:23 +0000)]
Added Entry for addition of Kannada (kn) to ALL_LINGUAS

svn path=/trunk/; revision=19611

16 years agoAdded Kannada (kn) to ALL_LINGUAS
Runa Bhattacharjee [Mon, 18 Feb 2008 12:22:32 +0000 (12:22 +0000)]
Added Kannada (kn) to ALL_LINGUAS

svn path=/trunk/; revision=19610

16 years agoWhen converting a stock item based on the label, remove the label
Johan Dahlin [Sun, 17 Feb 2008 22:28:55 +0000 (22:28 +0000)]
When converting a stock item based on the label, remove the label

2008-02-17  Johan Dahlin  <johan@gnome.org>

    * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
    When converting a stock item based on the label, remove the label property.
    (bug #515824, Yuri Pimenov)

svn path=/trunk/; revision=19607

16 years agoUpdate the position after showing the window since the window manager
Richard Hult [Sun, 17 Feb 2008 10:11:11 +0000 (10:11 +0000)]
Update the position after showing the window since the window manager

2008-02-17  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
position after showing the window since the window manager might
not place it where we requested in the first places.

svn path=/trunk/; revision=19605

16 years agoClear the toplevel ordering list in all places where the order is
Richard Hult [Sun, 17 Feb 2008 10:01:52 +0000 (10:01 +0000)]
Clear the toplevel ordering list in all places where the order is

2008-02-17  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
(_gdk_quartz_window_detach_from_parent),
(_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
the toplevel ordering list in all places where the order is
potentially changed. Fixes mouse focus issues for windows with
a transient parent set.

svn path=/trunk/; revision=19604

16 years agoHighlight the mouse window when event debugging is enabled.
Richard Hult [Sun, 17 Feb 2008 09:54:57 +0000 (09:54 +0000)]
Highlight the mouse window when event debugging is enabled.

2008-02-17  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c
(_gdk_quartz_events_update_mouse_window): Highlight the mouse
window when event debugging is enabled.

svn path=/trunk/; revision=19603

16 years agoUpdated en_GB translation
David Lodge [Sun, 17 Feb 2008 09:50:22 +0000 (09:50 +0000)]
Updated en_GB translation

svn path=/trunk/; revision=19602