]> Pileus Git - ~andy/gtk/log
~andy/gtk
17 years agoReplace a lot of idle and timeout calls by the new gdk_threads api.
Matthias Clasen [Fri, 22 Dec 2006 19:10:43 +0000 (19:10 +0000)]
Replace a lot of idle and timeout calls by the new gdk_threads api.

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

        * *.c: Replace a lot of idle and timeout calls by
        the new gdk_threads api.

17 years agoAdd functions to allow threadsafe handling of idles and timeouts wrt. to
Matthias Clasen [Fri, 22 Dec 2006 17:46:32 +0000 (17:46 +0000)]
Add functions to allow threadsafe handling of idles and timeouts wrt. to

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

        * gdk/gdk.symbols:
        * gdk/gdk.h:
        * gdk/gdk.c: Add functions to allow threadsafe handling
        of idles and timeouts wrt. to the GDK lock.  (#321886,
        Chris Wilson)

17 years agoUse pango_cairo_show_error_underline. (#340141, Behdad Esfahbod)
Matthias Clasen [Fri, 22 Dec 2006 17:06:30 +0000 (17:06 +0000)]
Use pango_cairo_show_error_underline. (#340141, Behdad Esfahbod)

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

        * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
        (#340141, Behdad Esfahbod)

17 years agoCheck for getc_unlocked.
Matthias Clasen [Fri, 22 Dec 2006 16:13:49 +0000 (16:13 +0000)]
Check for getc_unlocked.

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

        * configure.in: Check for getc_unlocked.

        * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
        unavailable.   (#381499)

17 years agotypo fix
Matthias Clasen [Fri, 22 Dec 2006 15:39:09 +0000 (15:39 +0000)]
typo fix

17 years agoMake it possible to track the embeddedness of statusicon (#387215, Martyn
Matthias Clasen [Fri, 22 Dec 2006 07:18:21 +0000 (07:18 +0000)]
Make it possible to track the embeddedness of statusicon (#387215, Martyn

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

        Make it possible to track the embeddedness of
        statusicon (#387215, Martyn Russell, patch by Christian
        Persch)

        * gtk/gtkstatusicon.c: Add orientation and embedded properties.
        * gtk/gtkplug.c:
        * gtk/gtkplug-x11.c: Add an embedded property.
        * tests/teststatusicon.c: Test the new properties.

17 years agoDon't leak draw_border. (#387170, Kjartan Maraas)
Matthias Clasen [Fri, 22 Dec 2006 06:29:51 +0000 (06:29 +0000)]
Don't leak draw_border. (#387170, Kjartan Maraas)

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

        * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
        leak draw_border.  (#387170, Kjartan Maraas)

17 years agoHandle bmps with more than 8 bits per channel. (#172584, David Costanzo)
Matthias Clasen [Fri, 22 Dec 2006 06:19:38 +0000 (06:19 +0000)]
Handle bmps with more than 8 bits per channel. (#172584, David Costanzo)

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

        * io-bmp.c (decode_bitmasks): Handle bmps
        with more than 8 bits per channel.  (#172584,
        David Costanzo)

17 years agoHandle offsets more carefully. (#172188, David Costanzo)
Matthias Clasen [Fri, 22 Dec 2006 06:01:28 +0000 (06:01 +0000)]
Handle offsets more carefully. (#172188, David Costanzo)

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

        * io-bmp.c: Handle offsets more carefully. (#172188,
        David Costanzo)

        * io-bmp.c: Handle v5 and OS/2 v2 bmps.

        * io-bmp.c: Handle alpha masks in v4 and v5 bmps.

17 years agoEmit the closed signal when closing the loader, pointed out by David
Matthias Clasen [Fri, 22 Dec 2006 03:14:31 +0000 (03:14 +0000)]
Emit the closed signal when closing the loader, pointed out by David

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

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit
        the closed signal when closing the loader, pointed out
        by David Necas.

17 years agoHandle invalid gif animations a little bit more robustly. (#357974,
Matthias Clasen [Thu, 21 Dec 2006 23:27:01 +0000 (23:27 +0000)]
Handle invalid gif animations a little bit more robustly. (#357974,

        * io-gif.c (gif_get_lzw): Handle invalid gif animations
        a little bit more robustly.  (#357974, Vassilis Pandis,
        patch by Felix Riemann)

17 years agoRemove redundant size checks, and document that width, height must be > 0.
Matthias Clasen [Thu, 21 Dec 2006 20:40:24 +0000 (20:40 +0000)]
Remove redundant size checks, and document that width, height must be > 0.

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

        * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data):
        * gdk-pixbuf.c (gdk_pixbuf_new): Remove redundant size
        checks, and document that width, height must be > 0.
        (#343330, Felix Riemann)

17 years agoLink against GLib. (#341158, Alexey Rusakov)
Matthias Clasen [Thu, 21 Dec 2006 17:00:59 +0000 (17:00 +0000)]
Link against GLib. (#341158, Alexey Rusakov)

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

        * Makefile.am: Link against GLib.  (#341158, Alexey Rusakov)

17 years agoTypo fix. (#388123, Murray Cumming)
Matthias Clasen [Thu, 21 Dec 2006 16:41:11 +0000 (16:41 +0000)]
Typo fix. (#388123, Murray Cumming)

         * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
        Typo fix.  (#388123, Murray Cumming)

17 years agoGenerate double-click events. (#380421, Tommi Komulainen)
Matthias Clasen [Thu, 21 Dec 2006 16:33:29 +0000 (16:33 +0000)]
Generate double-click events. (#380421, Tommi Komulainen)

        * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
        Generate double-click events.  (#380421, Tommi Komulainen)

17 years agoCorrect return_if_fail checks. (#379803, Tommi Komulainen)
Matthias Clasen [Thu, 21 Dec 2006 16:28:28 +0000 (16:28 +0000)]
Correct return_if_fail checks. (#379803, Tommi Komulainen)

        * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
        (_gdk_input_enter_event): Correct return_if_fail checks.
        (#379803, Tommi Komulainen)

17 years agoImprove docs. (#353438, Mariano Suárez-Alvarez)
Matthias Clasen [Thu, 21 Dec 2006 16:25:01 +0000 (16:25 +0000)]
Improve docs. (#353438, Mariano Suárez-Alvarez)

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

        * gdk/gdkdisplay.c (gdk_display_beep): Improve docs.
        (#353438, Mariano Suárez-Alvarez)

17 years agoAdd a function for converting a GdkColor to a string (#373856).
Matthew Barnes [Thu, 21 Dec 2006 12:34:41 +0000 (12:34 +0000)]
Add a function for converting a GdkColor to a string (#373856).

2006-12-21  Matthew Barnes  <mbarnes@redhat.com>

* docs/reference/gdk/gdk-sections.txt:
* gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
converting a GdkColor to a string (#373856).

* configure.in: Bump pango requirement to 1.15.2.

17 years agoMark arrow keys as translatable
Matthias Clasen [Thu, 21 Dec 2006 05:11:00 +0000 (05:11 +0000)]
Mark arrow keys as translatable

17 years agoAdd signal documentation. (#317064, Søren Wedel Nielsen)
Matthias Clasen [Wed, 20 Dec 2006 21:18:27 +0000 (21:18 +0000)]
Add signal documentation. (#317064, Søren Wedel Nielsen)

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

        * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
        Søren Wedel Nielsen)

17 years agoSilently return if a drag is already in progress, rather than asserting.
Matthias Clasen [Wed, 20 Dec 2006 20:57:49 +0000 (20:57 +0000)]
Silently return if a drag is already in progress, rather than asserting.

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

        * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
        Silently return if a drag is already in progress, rather
        than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)

17 years agoAllow any GtkDialog that implements GtkFileChooser as dialog. (#335473,
Matthias Clasen [Wed, 20 Dec 2006 19:02:21 +0000 (19:02 +0000)]
Allow any GtkDialog that implements GtkFileChooser as dialog. (#335473,

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

        * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
        Allow any GtkDialog that implements GtkFileChooser as
        dialog.  (#335473, Tommi Komulainen)

17 years agoFixed a last minute change in the quartz backend.
Mikael Hallendal [Wed, 20 Dec 2006 14:02:43 +0000 (14:02 +0000)]
Fixed a last minute change in the quartz backend.

2006-12-20  Mikael Hallendal  <micke@imendio.com>

* gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
change in the quartz backend.

17 years agoAdded gtkstatusicon-quartz.c Implements the quartz backend for the status
Mikael Hallendal [Wed, 20 Dec 2006 13:24:05 +0000 (13:24 +0000)]
Added gtkstatusicon-quartz.c Implements the quartz backend for the status

2006-12-20  Mikael Hallendal  <micke@imendio.com>

* gtk/Makefile.am: Added gtkstatusicon-quartz.c
* gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
status icon.
* gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.

17 years agoAdd a tooltip explaining the format of page ranges, and improve the page
Matthias Clasen [Wed, 20 Dec 2006 04:39:52 +0000 (04:39 +0000)]
Add a tooltip explaining the format of page ranges, and improve the page

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

        * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
        format of page ranges, and improve the page sequence icon
        for the case of n_copies == 1.

17 years agoDon't spew a warning if the printer is already closed.
Matthias Clasen [Tue, 19 Dec 2006 20:45:04 +0000 (20:45 +0000)]
Don't spew a warning if the printer is already closed.

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

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Don't
        spew a warning if the printer is already closed.

17 years agoSplitted out the GdkPixbuf to NSImage routine so that it can be used from
Mikael Hallendal [Tue, 19 Dec 2006 15:53:44 +0000 (15:53 +0000)]
Splitted out the GdkPixbuf to NSImage routine so that it can be used from

2006-12-19  Mikael Hallendal  <micke@imendio.com>

* gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
routine so that it can be used from libgtk as well (needed for
upcoming GtkStatusIcon support in the Quartz port).
* gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
created from GDK, this is not true for the status icon.
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkquartz.h: Added
gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
the status icon code.

17 years agoTranslation updated.
Gabor Kelemen [Sun, 17 Dec 2006 13:29:58 +0000 (13:29 +0000)]
Translation updated.

2006-12-17  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

17 years agoFixed a bug in set_property() (setting "window-placement-set" could result
Tristan Van Berkom [Sat, 16 Dec 2006 20:34:48 +0000 (20:34 +0000)]
Fixed a bug in set_property() (setting "window-placement-set" could result

* gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
(setting "window-placement-set" could result in a crash because
of boolean/enum mixup)

17 years agoMerged from gtk-2-10:
Federico Mena Quintero [Fri, 15 Dec 2006 20:13:01 +0000 (20:13 +0000)]
Merged from gtk-2-10:

2006-12-15  Federico Mena Quintero  <federico@novell.com>

Merged from gtk-2-10:

* gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
the case where the new title is the same as the old title, to
preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
equivalent).  Handle the case where title == priv->title.  This
was found by the LSB compatibility tests:
https://bugzilla.novell.com/show_bug.cgi?id=223882

2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>

17 years agoMake GtkComboBox in "appears-as-list" mode more closely resemble its Win32
Dom Lachowicz [Fri, 15 Dec 2006 19:08:15 +0000 (19:08 +0000)]
Make GtkComboBox in "appears-as-list" mode more closely resemble its Win32

2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>

        * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
        more closely resemble its Win32 counterpart. Bug #340204.

17 years agoTranslation updated.
Gabor Kelemen [Fri, 15 Dec 2006 16:06:43 +0000 (16:06 +0000)]
Translation updated.

2006-12-15  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

17 years agoUndo bogus commit.
Benjamin Berg [Thu, 14 Dec 2006 18:33:43 +0000 (18:33 +0000)]
Undo bogus commit.

17 years agoadded new docs.
Tim Janik [Thu, 14 Dec 2006 14:48:41 +0000 (14:48 +0000)]
added new docs.

Thu Dec 14 15:48:14 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtk-sections.txt: added new docs.

17 years agofile si.po was initially added on branch gtk-2-10.
Kjartan Maraas [Thu, 14 Dec 2006 14:16:55 +0000 (14:16 +0000)]
file si.po was initially added on branch gtk-2-10.

17 years agofile as.po was initially added on branch gtk-2-10.
Kjartan Maraas [Thu, 14 Dec 2006 14:15:15 +0000 (14:15 +0000)]
file as.po was initially added on branch gtk-2-10.

17 years agofile si.po was initially added on branch gtk-2-10.
Ankitkumar Rameshchandra Patel [Thu, 14 Dec 2006 13:43:44 +0000 (13:43 +0000)]
file si.po was initially added on branch gtk-2-10.

17 years agodraw arrows pointing to the right correctly placed inside their GdkWindow.
Carlos Garnacho [Thu, 14 Dec 2006 13:15:13 +0000 (13:15 +0000)]
draw arrows pointing to the right correctly placed inside their GdkWindow.

2006-12-14  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
        placed inside their GdkWindow. Bug #385672.

17 years agoFix docs typo. Bug #385642.
Christian Persch [Thu, 14 Dec 2006 12:28:31 +0000 (12:28 +0000)]
Fix docs typo. Bug #385642.

2006-12-14  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkiconview.c: Fix docs typo. Bug #385642.

17 years agoBug 351679 - Notebooks drawn with extra line below tab in MS-Windows
Dom Lachowicz [Thu, 14 Dec 2006 02:09:27 +0000 (02:09 +0000)]
Bug 351679 - Notebooks drawn with extra line below tab in MS-Windows

2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>

* src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
drawn with extra line below tab in MS-Windows theme. Patch by
Cody Russell

17 years agoupdated gtk+ assamese translation
Amitakhya Phukan [Thu, 14 Dec 2006 00:11:37 +0000 (00:11 +0000)]
updated gtk+ assamese translation

17 years agoAdd --unlink-tempfile to the evince call for print preview. (#370041, Ghee
Matthias Clasen [Wed, 13 Dec 2006 18:44:45 +0000 (18:44 +0000)]
Add --unlink-tempfile to the evince call for print preview. (#370041, Ghee

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

        * gtk/Makefile.am: Add --unlink-tempfile to the evince call
        for print preview.  (#370041, Ghee Teo)

17 years ago- Remove unused code/options from the code. Warn about their usage while
Benjamin Berg [Wed, 13 Dec 2006 17:32:49 +0000 (17:32 +0000)]
- Remove unused code/options from the code. Warn about their usage while

2006-12-13  Benjamin Berg  <benjamin@sipsolutions.net>

* engines/clearlooks/src/clearlooks_rc_style.c:
(clearlooks_rc_style_init), (clearlooks_gtk2_rc_parse_dummy),
(clearlooks_rc_style_parse), (clearlooks_rc_style_merge):
* engines/clearlooks/src/clearlooks_rc_style.h:
* engines/clearlooks/src/clearlooks_style.c:
(clearlooks_style_draw_box), (clearlooks_style_init_from_rc),
(clearlooks_style_copy):
* engines/clearlooks/src/clearlooks_style.h:
* engines/clearlooks/src/clearlooks_types.h:
- Remove unused code/options from the code. Warn about their usage
while parsing.

* themes/Clearlooks/gtk-2.0/gtkrc:
- Remove options that don't have any effect.

17 years agoUpdated Oriya Translation
Subhransu Behera [Wed, 13 Dec 2006 09:56:11 +0000 (09:56 +0000)]
Updated Oriya Translation

17 years agoUpdated Oriya Translation
Subhransu Behera [Wed, 13 Dec 2006 07:38:52 +0000 (07:38 +0000)]
Updated Oriya Translation

17 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Tue, 12 Dec 2006 16:21:17 +0000 (16:21 +0000)]
Updated Spanish translation.

2006-12-12  Francisco Javier F. Serrador  <serrador@openshine.com>

* es.po: Updated Spanish translation.

17 years agoBe more careful when overdrawing antialiased text. (#352435, Alex Jones,
Matthias Clasen [Mon, 11 Dec 2006 15:35:25 +0000 (15:35 +0000)]
Be more careful when overdrawing antialiased text. (#352435, Alex Jones,

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

        * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
        careful when overdrawing antialiased text.  (#352435, Alex Jones,
        patch by Benjamin Otte)

17 years agoChange the way in which color scheme information is merged to correctly
Matthias Clasen [Mon, 11 Dec 2006 06:16:21 +0000 (06:16 +0000)]
Change the way in which color scheme information is merged to correctly

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

* gtksettings.c: Change the way in which color scheme information
is merged to correctly handle vanishing colors.  (#374420,
Benjamin Berg, patch by Callum McKenzie)
Also allow to separate entries in color schemes by ';'
instead of newline.

17 years agoProperly pass multi-value options to cups. (#355350, Jürg Billeter)
Matthias Clasen [Mon, 11 Dec 2006 04:08:42 +0000 (04:08 +0000)]
Properly pass multi-value options to cups. (#355350, Jürg Billeter)

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

* modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
Properly pass multi-value options to cups.  (#355350, Jürg Billeter)

17 years agocancel editing (ie. don't accept changes) when the entry loses focus.
Kristian Rietveld [Sun, 10 Dec 2006 20:52:05 +0000 (20:52 +0000)]
cancel editing (ie. don't accept changes) when the entry loses focus.

2006-12-10  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
cancel editing (ie. don't accept changes) when the entry loses
focus. (Fixes #164494, reported by Chris Rouch).

17 years agoFix my last commit
Matthias Clasen [Sun, 10 Dec 2006 19:34:19 +0000 (19:34 +0000)]
Fix my last commit

17 years agoPut gdk-pixbuf-query-loaders.exe and gtk-query-immodules-2.0.exe in the
Tor Lillqvist [Sun, 10 Dec 2006 09:08:50 +0000 (09:08 +0000)]
Put gdk-pixbuf-query-loaders.exe and gtk-query-immodules-2.0.exe in the

2006-12-10  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
gtk-query-immodules-2.0.exe in the runtime zipfile instead of
developer zipfile. Users might add pixbuf loaders or immodules
even if they are not interested in developing gtk+-using software.

17 years agoCheck for crt_extern.h and _NSGetEnviron. Fix compilation on Darwin where
Matthias Clasen [Sun, 10 Dec 2006 06:31:53 +0000 (06:31 +0000)]
Check for crt_extern.h and _NSGetEnviron. Fix compilation on Darwin where

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

        * configure.in: Check for crt_extern.h and _NSGetEnviron.
        * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
        environ is not available.  (#384168, Min Sik Kim)

17 years agoBehave as documented and close the loader when returning FALSE.
Matthias Clasen [Sun, 10 Dec 2006 04:25:46 +0000 (04:25 +0000)]
Behave as documented and close the loader when returning FALSE.

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

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Behave as
        documented and close the loader when returning FALSE.

17 years agoFixes bug #383407
Paolo Maggi [Thu, 7 Dec 2006 17:01:16 +0000 (17:01 +0000)]
Fixes bug #383407

2006-12-07  Paolo Maggi  <paolo@gnome.org>

Fixes bug #383407

* gtk/gtkentry.c (gtk_entry_set_text): check for
completion->priv->changed_id > 0 before calling
g_signal_handler_[un]block.
(gtk_entry_completion_key_press): does not block/unblock the
"changed"
signal before calling gtk_entry_set_text.

17 years agoRemove nonexistent files, add missing ones. Updated Canadian English
Adam Weinberger [Thu, 7 Dec 2006 16:34:41 +0000 (16:34 +0000)]
Remove nonexistent files, add missing ones. Updated Canadian English

2006-12-07  Adam Weinberger  <adamw@gnome.org>

* POTFILES.in: Remove nonexistent files, add missing ones.
* en_CA.po: Updated Canadian English translation.

17 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 7 Dec 2006 16:25:41 +0000 (16:25 +0000)]
Updated Canadian English translation.

2006-12-07  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

17 years agodo not use xthickness/ythickness, they aren't used any longer for drawing.
Carlos Garnacho [Thu, 7 Dec 2006 15:56:03 +0000 (15:56 +0000)]
do not use xthickness/ythickness, they aren't used any longer for drawing.

2006-12-07  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkcellrendererprogress (compute_dimensions): do not use
        xthickness/ythickness, they aren't used any longer for drawing.

17 years agoFix accelerator clipping
Matthias Clasen [Thu, 7 Dec 2006 14:45:04 +0000 (14:45 +0000)]
Fix accelerator clipping

17 years agobroooooooken pipe
Kristian Rietveld [Wed, 6 Dec 2006 21:40:02 +0000 (21:40 +0000)]
broooooooken pipe

17 years agodraw progress bar through theme engine instead of using our own custom
Kristian Rietveld [Wed, 6 Dec 2006 21:39:50 +0000 (21:39 +0000)]
draw progress bar through theme engine instead of using our own custom

2006-12-06  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
draw progress bar through theme engine instead of using our own
custom cairo drawing code (#377244, patch from Carlos Garnacho).

17 years agoImprove print dialog
Matthias Clasen [Wed, 6 Dec 2006 15:17:40 +0000 (15:17 +0000)]
Improve print dialog

17 years agoReplace modules/input/imthai-broken.c with imthai.c. Updated Thai
Theppitak Karoonboonyanan [Wed, 6 Dec 2006 15:08:14 +0000 (15:08 +0000)]
Replace modules/input/imthai-broken.c with imthai.c. Updated Thai

2006-12-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* POTFILES.in: Replace modules/input/imthai-broken.c with imthai.c.
* th.po: Updated Thai translation.

17 years agoFix an a11y regression
Matthias Clasen [Mon, 4 Dec 2006 17:56:30 +0000 (17:56 +0000)]
Fix an a11y regression

17 years agoDon't leak the old page size when
Christian Persch [Mon, 4 Dec 2006 17:54:48 +0000 (17:54 +0000)]
Don't leak the old page size when

2006-12-04  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
(gtk_page_setup_set_paper_size): Don't leak the old page size when

17 years agoremove FIXME #include that is no longer needed.
Michael Natterer [Sun, 3 Dec 2006 21:16:42 +0000 (21:16 +0000)]
remove FIXME #include that is no longer needed.

2006-12-03  Michael Natterer  <mitch@gimp.org>

* gtk/gtktextview.c: remove FIXME #include that is no longer needed.

17 years agofix spelling
Kristian Rietveld [Sun, 3 Dec 2006 20:23:06 +0000 (20:23 +0000)]
fix spelling

17 years agoMake sure [xy]_offset are always being initialized, fix pixbuf renderer
Kristian Rietveld [Sun, 3 Dec 2006 20:02:04 +0000 (20:02 +0000)]
Make sure [xy]_offset are always being initialized, fix pixbuf renderer

2006-12-03  Kristian Rietveld  <kris@gtk.org>

Make sure [xy]_offset are always being initialized, fix pixbuf
renderer padding.  (#108235, Sven Neuman).

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
(gtk_cell_renderer_pixbuf_render): add padding in _render instead
of _get_size.

* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
always initialize [xy]_offset.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
ditto.

17 years agowhen not using an explicit alignment, use the full area of the row (not
Kristian Rietveld [Sun, 3 Dec 2006 15:14:51 +0000 (15:14 +0000)]
when not using an explicit alignment, use the full area of the row (not

2006-12-03  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (validate_visible_area): when not using an
explicit alignment, use the full area of the row (not just dy)
to determine how to implicitly align it.  (Fixes #363191, reported
by Federico Mena Quintero).

17 years agoFix a crash with icon themes
Matthias Clasen [Sat, 2 Dec 2006 19:48:22 +0000 (19:48 +0000)]
Fix a crash with icon themes

17 years agoBug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch
Dom Lachowicz [Sat, 2 Dec 2006 16:34:12 +0000 (16:34 +0000)]
Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch

2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>

* src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
not with PositionType.Top drawn incorrectly. Patch by Cody Russell

17 years agoRemove the broken Thai input method and add a functional Thai and Lao
Behdad Esfahbod [Wed, 29 Nov 2006 01:14:04 +0000 (01:14 +0000)]
Remove the broken Thai input method and add a functional Thai and Lao

2006-11-28  Behdad Esfahbod  <behdad@gnome.org>

        Remove the broken Thai input method and add a functional Thai and Lao
        input method by Theppitak Karoonboonyanan. (#81031)

        * modules/input/imthai.c:
        * modules/input/gtkimcontextthai.c:
        * modules/input/gtkimcontextthai.h:
        * modules/input/thai-charprop.c:
        * modules/input/thai-charprop.h:
        Added.

        * modules/input/imthai-broken.c:
        Removed.

        * modules/input/Makefile.am:
        Updated.

17 years agoNotify when the screen changes. Bug #379793.
Christian Persch [Mon, 27 Nov 2006 21:17:19 +0000 (21:17 +0000)]
Notify when the screen changes. Bug #379793.

2006-11-27  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.

17 years agoapplied patch by Colin Leroy for Control+GDK_KP_Left to move one word to
Tim Janik [Mon, 27 Nov 2006 11:51:54 +0000 (11:51 +0000)]
applied patch by Colin Leroy for Control+GDK_KP_Left to move one word to

Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtktextview.c: applied patch by  Colin Leroy for
        Control+GDK_KP_Left to move one word to the left, #356255.

17 years agoProtect against NULL widget. (#379503)
Benjamin Berg [Sun, 26 Nov 2006 19:43:12 +0000 (19:43 +0000)]
Protect against NULL widget. (#379503)

2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>

* gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
  widget. (#379503)

17 years agoMake print dialog work when 'BrowseShortNames Off' is specified in cups
Matthias Clasen [Sat, 25 Nov 2006 05:12:48 +0000 (05:12 +0000)]
Make print dialog work when 'BrowseShortNames Off' is specified in cups

2006-11-25  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Make
        print dialog work when 'BrowseShortNames Off' is specified
        in cups configuration. Patch by Tim Waugh.

17 years agoif we can't go up/down, consult gtk_widget_keynav_failed() and leave the
Michael Natterer [Fri, 24 Nov 2006 13:18:55 +0000 (13:18 +0000)]
if we can't go up/down, consult gtk_widget_keynav_failed() and leave the

2006-11-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
can't go up/down, consult gtk_widget_keynav_failed() and leave the
widget if it returns FALSE (bug #322640).

17 years agoFix minor typo in docs. (#378632, Hannes Mueller)
Behdad Esfahbod [Thu, 23 Nov 2006 22:10:03 +0000 (22:10 +0000)]
Fix minor typo in docs. (#378632, Hannes Mueller)

2006-11-23  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)

17 years agofix the date of the last commit
Emmanuele Bassi [Wed, 22 Nov 2006 09:13:42 +0000 (09:13 +0000)]
fix the date of the last commit

17 years agog_filename_from_uri() might fail; catch the failure and fall back to the
Emmanuele Bassi [Wed, 22 Nov 2006 09:12:49 +0000 (09:12 +0000)]
g_filename_from_uri() might fail; catch the failure and fall back to the

2006-11-21  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(get_uri_shortname_for_display): g_filename_from_uri() might
fail; catch the failure and fall back to the non-local URI
case. (#363437)

17 years agoadd gtk_status_icon_(get|set)_screen
Mark McLoughlin [Sun, 19 Nov 2006 16:23:01 +0000 (16:23 +0000)]
add gtk_status_icon_(get|set)_screen

2006-11-19  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtk-sections.txt: add gtk_status_icon_(get|set)_screen

17 years agoFixes bug #376502 - multi-screen support for GtkStatusIcon
Mark McLoughlin [Sun, 19 Nov 2006 16:22:23 +0000 (16:22 +0000)]
Fixes bug #376502 - multi-screen support for GtkStatusIcon

2006-11-19  Mark McLoughlin  <mark@skynet.ie>

        Fixes bug #376502 - multi-screen support for GtkStatusIcon

        * gtk/gtkstatusicon.[ch]:
        (gtk_status_icon_set_screen),
        (gtk_status_icon_get_screen): add multi-screen API. Allows
        an app to display an icon on a non-default screen
        (gtk_status_icon_class_init),
        (gtk_status_icon_set_property),
        (gtk_status_icon_get_property): add a "screen" property

        * tests/teststatusicon.c: update to test on multiple screens

17 years agoFix problems with drag cancellation. (#376535, Michael Natterer)
Matthias Clasen [Sat, 18 Nov 2006 04:37:33 +0000 (04:37 +0000)]
Fix problems with drag cancellation. (#376535, Michael Natterer)

2006-11-17  Matthias Clasen  <mclasen@redhat.com>

Fix problems with drag cancellation. (#376535, Michael Natterer)

* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
handlers before emitting drag-end.
(gtk_drag_end): Disconnect signal handlers before removing
the grab.

17 years agoadd gtk-doc blurb on GtkCellRendererText::edited (#376094)
Mariano Suárez-Alvarez [Thu, 16 Nov 2006 21:35:52 +0000 (21:35 +0000)]
add gtk-doc blurb on GtkCellRendererText::edited (#376094)

2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
add gtk-doc blurb on GtkCellRendererText::edited (#376094)

17 years agodon't use gtk_widget_keynav_failed(). Instead, look at
Michael Natterer [Thu, 16 Nov 2006 14:32:47 +0000 (14:32 +0000)]
don't use gtk_widget_keynav_failed(). Instead, look at

2006-11-16  Michael Natterer  <mitch@imendio.com>

* gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
and gtk-keynav-wrap-around and wrap around, beep or continue outside
the group manually (bug #322640).

17 years agoAdd new infrastructure for notifications of failed keyboard navigation and
Michael Natterer [Thu, 16 Nov 2006 12:56:30 +0000 (12:56 +0000)]
Add new infrastructure for notifications of failed keyboard navigation and

2006-11-16  Michael Natterer  <mitch@imendio.com>

Add new infrastructure for notifications of failed keyboard
navigation and navigation with restricted set of keys.

The patch handles configurable beeping, navigating the GUI with
cursor keys only (as in phone environments), and configurable
wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
and #309291.

* gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
gtk-keynav-wrap-around and gtk-error-bell.

* gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
API to emit it. Added New function gtk_widget_error_bell() which
looks at the gtk-error-bell setting and calls gdk_window_beep()
accordingly.

* gtk/gtk.symbols: add the new widget symbols.

* gtk/gtkcellrendereraccel.c
* gtk/gtkimcontextsimple.c
* gtk/gtkmenu.c
* gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
gtk-error-bell setting instead of calling gdk_display_beep()
unconditionally.

* gtk/gtkcombobox.c
* gtk/gtkentry.c
* gtk/gtkiconview.c
* gtk/gtklabel.c
* gtk/gtkmenushell.c
* gtk/gtkspinbutton.c
* gtk/gtktextview.c
* gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.

* gtk/gtkentry.c
* gtk/gtklabel.c
* gtk/gtkrange.c
* gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
cursor navigation and leave the widget if it returns FALSE.

* gtk/gtkmenushell.c
* gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
is TRUE.

* gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
whether to to wrap-around, and don't select active items on cursor
navigation if gtk-keynav-cursor-only is TRUE. Should look at
gtk-keynav-wrap-around too, will look into that.

17 years agoReturn the URI of the GtkRecentInfo object (upgraded to UTF-8 if needed)
Emmanuele Bassi [Thu, 16 Nov 2006 11:12:12 +0000 (11:12 +0000)]
Return the URI of the GtkRecentInfo object (upgraded to UTF-8 if needed)

2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_info_get_uri_display): Return the URI
of the GtkRecentInfo object (upgraded to UTF-8 if
needed) in case of non-local file. (#351945)

17 years agoApply the tip only if we have a displayable name for the item. (#365031,
Emmanuele Bassi [Thu, 16 Nov 2006 10:10:44 +0000 (10:10 +0000)]
Apply the tip only if we have a displayable name for the item. (#365031,

2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c:
(gtk_recent_chooser_menu_add_tip): Apply the tip only
if we have a displayable name for the item. (#365031,
patch by padraig.obriain(at)sun.com)

17 years agoProvide a fast path returning NULL when the limit is set to 0.
Emmanuele Bassi [Thu, 16 Nov 2006 09:57:45 +0000 (09:57 +0000)]
Provide a fast path returning NULL when the limit is set to 0.

2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c: Provide a fast path returning
NULL when the limit is set to 0.

* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchoosermenu.c: Add the same fast path
inside the RecentChooser implementation; add a check
in the list clamping code. (#373466 and duplicates)

17 years agoDon't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
Matthias Clasen [Wed, 15 Nov 2006 18:54:43 +0000 (18:54 +0000)]
Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)

2006-11-15  Matthias Clasen  <mclasen@redhat.com>

* modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)

17 years agoadded properties "fill-level", "show-fill-level" and
Michael Natterer [Wed, 15 Nov 2006 12:23:10 +0000 (12:23 +0000)]
added properties "fill-level", "show-fill-level" and

2006-11-15  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrange.[ch]: added properties "fill-level",
"show-fill-level" and "restrict-to-fill-level" and getters/setters
for them. The "fill level" is an additional marker on the range's
trough than can be e.g. used to indicate the amount of
pre-buffering in a range showing the play position of streamed
media. See the embedded API docs for details. Made GtkRangeLayout
a GTypeInstance private struct and removed finalize()
implementation. Fixes bug #349808

* gtk/gtk.symbols: added the new symbols.

17 years agoMake libtool magic robust. (#352795)
Behdad Esfahbod [Tue, 14 Nov 2006 20:06:46 +0000 (20:06 +0000)]
Make libtool magic robust. (#352795)

2006-11-14  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Make libtool magic robust. (#352795)

17 years agoplug small memory leak (#370395)
Paolo Borelli [Mon, 13 Nov 2006 20:04:59 +0000 (20:04 +0000)]
plug small memory leak (#370395)

2006-11-13  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
leak (#370395)

17 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sun, 12 Nov 2006 08:37:46 +0000 (08:37 +0000)]
Translation updated by Ivar Smolin.

2006-11-12  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

17 years agodisable don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
Kristian Rietveld [Thu, 9 Nov 2006 17:09:25 +0000 (17:09 +0000)]
disable don't move cursor case for SELECTION_NONE. (#371756, John Ellis).

2006-11-09  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
don't move cursor case for SELECTION_NONE. (#371756, John Ellis).

17 years agoFix parenthesis confusion.
Carlos Garnacho [Thu, 9 Nov 2006 16:51:05 +0000 (16:51 +0000)]
Fix parenthesis confusion.

2006-11-09  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.

17 years agoadded, do not leave the scroll timeout running if the slider buttons are
Carlos Garnacho [Wed, 8 Nov 2006 19:46:56 +0000 (19:46 +0000)]
added, do not leave the scroll timeout running if the slider buttons are

2006-11-08  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
        timeout running if the slider buttons are hidden. (#372527)

17 years agoDon't make the "Location" label bold. Bug #372449.
Christian Persch [Wed, 8 Nov 2006 17:09:24 +0000 (17:09 +0000)]
Don't make the "Location" label bold. Bug #372449.

2006-11-08  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
the "Location" label bold. Bug #372449.

17 years agomake non-focused tabs xthickness/ythickness thinner. (#353962)
Carlos Garnacho [Tue, 7 Nov 2006 16:54:34 +0000 (16:54 +0000)]
make non-focused tabs xthickness/ythickness thinner. (#353962)

2006-11-07  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
        non-focused tabs xthickness/ythickness thinner. (#353962)

17 years agoavoid memory corruption (#357050).
Paolo Borelli [Tue, 7 Nov 2006 15:41:42 +0000 (15:41 +0000)]
avoid memory corruption (#357050).

2006-11-07  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
corruption (#357050).