]> Pileus Git - ~andy/gtk/log
~andy/gtk
17 years agoRemove unused GError; do not allocate GtkRecentData and use a variable on
Emmanuele Bassi [Thu, 15 Mar 2007 19:58:00 +0000 (19:58 +0000)]
Remove unused GError; do not allocate GtkRecentData and use a variable on

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

* gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
unused GError; do not allocate GtkRecentData and use a variable
on the stack. (#418673, Morten Welinder)

svn path=/trunk/; revision=17525

17 years agoAdd GtkActionClass::get_submenu() vfunc: actions providing a menu item or
Emmanuele Bassi [Thu, 15 Mar 2007 19:33:57 +0000 (19:33 +0000)]
Add GtkActionClass::get_submenu() vfunc: actions providing a menu item or

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

* gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
actions providing a menu item or a menu tool button with already
a submenu should return the GtkMenu widget.

* gtk/gtkuimanager.c (update_node): If an action provides its
own submenu, use it instead of adding an empty one

* gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
implementing the GtkRecentChooser interface for displaying the
list of recently used files into menus and toolbars generated
using GtkUIManager. (#338843)

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols: Add GtkRecentAction API to the build.

* tests/testactions.c: Exercise the GtkRecentAction API.

svn path=/trunk/; revision=17524

17 years agoProtect ensure_valid_themes() from recursion, which can happen for example
Chris Wilson [Thu, 15 Mar 2007 18:40:16 +0000 (18:40 +0000)]
Protect ensure_valid_themes() from recursion, which can happen for example

2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>

* gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
(gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
from recursion, which can happen for example if the app tries to
reload an icon from within a theme-changed handler. (#418531)

svn path=/trunk/; revision=17523

17 years agoAdd stubs for gdk_notify_startup_complete_with_id and
Richard Hult [Thu, 15 Mar 2007 18:06:58 +0000 (18:06 +0000)]
Add stubs for gdk_notify_startup_complete_with_id and

2007-03-15  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkmain-quartz.c: Add stubs for
gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
here too.

svn path=/trunk/; revision=17521

17 years agoFix documentation errors. (Morten Welinder)
Emmanuele Bassi [Thu, 15 Mar 2007 17:13:28 +0000 (17:13 +0000)]
Fix documentation errors. (Morten Welinder)

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

* gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
Welinder)

svn path=/trunk/; revision=17519

17 years agoAdd gdk_notify_startup_complete_with_id and gdk_window_set_startup_id.
Tor Lillqvist [Thu, 15 Mar 2007 16:48:26 +0000 (16:48 +0000)]
Add gdk_notify_startup_complete_with_id and gdk_window_set_startup_id.

2007-03-15  Tor Lillqvist  <tml@novell.com>

* gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
gdk_window_set_startup_id.

* gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.

svn path=/trunk/; revision=17518

17 years agoMove filtering of the recent files list into the shared implementation; do
Emmanuele Bassi [Thu, 15 Mar 2007 10:05:34 +0000 (10:05 +0000)]
Move filtering of the recent files list into the shared implementation; do

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

* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.c: Move filtering of the recent
files list into the shared implementation; do the filtering
before the sorting, so that we always clamp on the desired
size. (#418219)

* gtk/gtkrecentchoosermenu.c: Remove the filtering of the
list, as it's already been done.

* gtk/gtkrecentchooserdefault.c: Ditto; also remove the
GtkTreeModelFilter: just reload the view if the sorting and
filtering properties change.

* gtk/testrecentchoosermenu.c: Exercise the limit property.

svn path=/trunk/; revision=17516

17 years agoMake gtk_widget_set_extension_events() work on already realized widgets
Michael Natterer [Wed, 14 Mar 2007 13:55:12 +0000 (13:55 +0000)]
Make gtk_widget_set_extension_events() work on already realized widgets

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

Make gtk_widget_set_extension_events() work on already realized
widgets (bug #379550, Tommi Komulainen)

* gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
called multiple times without leaking and work correctly when
already realized (don't rely on a configure event following).

* gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
internal function which walks the GdkWindow tree and sets the
extension events on all windows that belong to the widget.

(gtk_widget_realize)
(gtk_widget_set_extension_events): use the new function.

svn path=/trunk/; revision=17515

17 years agoVarious clean ups in the GtkRecent code. (see #338843)
Emmanuele Bassi [Wed, 14 Mar 2007 10:33:36 +0000 (10:33 +0000)]
Various clean ups in the GtkRecent code. (see #338843)

2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>

Various clean ups in the GtkRecent code. (see #338843)

* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchoosermenu.c:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.c: Move the recent chooser function
for getting the sorted and clamped list of recent files from the
manager outside the implementations.

* gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
the list when the sorting order changes.

(gtk_recent_chooser_default_dispose),
(gtk_recent_chooser_default_finalize): Move object unref and
source removal from finalize to dispose.

* gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
prerequisite for the GtkRecentChooser interface implementations,
from GtkObject to GObject.

(gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
G_PARAM_*

svn path=/trunk/; revision=17514

17 years agobe@latin.po: Added actual Belarusian Latin translation by Ales Navicki.
Ihar Hrachyshka [Tue, 13 Mar 2007 20:40:57 +0000 (20:40 +0000)]
be@latin.po: Added actual Belarusian Latin translation by Ales Navicki.

svn path=/trunk/; revision=17510

17 years agoApply patch by Vytautas Liuolia for changing the startup notification id
Emmanuele Bassi [Tue, 13 Mar 2007 17:03:54 +0000 (17:03 +0000)]
Apply patch by Vytautas Liuolia for changing the startup notification id

2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>

Apply patch by Vytautas Liuolia for changing the startup
notification id on a window in the X11 backend. (#347375)

* gdk/gdk.h:
* gdk/gdkx.h:
* gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_wit_id()
and gdk_x11_display_get_startup_notification_id().

* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().

* gtk/gtkwindow.h:
* gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
change the startup notification id.

(gtk_window_class_init), (gtk_window_init),
(gtk_window_set_property): Add write-only "startup-id" property
to GtkWindow.

(gtk_window_realize): Set the startup notification id
on a GtkWindow if it's valid.

(gtk_window_map): If we have another valid startup notification
id then finish the notification process.

svn path=/trunk/; revision=17508

17 years agoFix tabbed browsing in epiphany. (#413664, Christian Persch)
Matthias Clasen [Tue, 13 Mar 2007 15:08:56 +0000 (15:08 +0000)]
Fix tabbed browsing in epiphany. (#413664, Christian Persch)

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

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
        Fix tabbed browsing in epiphany.  (#413664, Christian Persch)

svn path=/trunk/; revision=17505

17 years agoUpdate Ukrainian translation.
Maxim Dziumanenko [Mon, 12 Mar 2007 07:47:21 +0000 (07:47 +0000)]
Update Ukrainian translation.

2007-03-12 Maxim Dziumanenko <dziumanenko@gmail.com>

* Update Ukrainian translation.

svn path=/trunk/; revision=17498

17 years agoClarify docs.
Matthias Clasen [Mon, 12 Mar 2007 06:31:38 +0000 (06:31 +0000)]
Clarify docs.

svn path=/trunk/; revision=17497

17 years agoDoc improvements
Matthias Clasen [Mon, 12 Mar 2007 06:26:34 +0000 (06:26 +0000)]
Doc improvements

svn path=/trunk/; revision=17496

17 years agoFix an oversight in an example.
Matthias Clasen [Mon, 12 Mar 2007 06:15:41 +0000 (06:15 +0000)]
Fix an oversight in an example.

svn path=/trunk/; revision=17495

17 years agoDoc improvements
Matthias Clasen [Mon, 12 Mar 2007 06:04:44 +0000 (06:04 +0000)]
Doc improvements

svn path=/trunk/; revision=17494

17 years agoSet the background of the panel window on style changes. (#402144,
Matthias Clasen [Mon, 12 Mar 2007 05:51:11 +0000 (05:51 +0000)]
Set the background of the panel window on style changes. (#402144,

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

        * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
        the background of the panel window on style changes. (#402144,
        Benjamin Berg)

svn path=/trunk/; revision=17492

17 years agoRemove an obsolete comment
Matthias Clasen [Mon, 12 Mar 2007 05:41:53 +0000 (05:41 +0000)]
Remove an obsolete comment

svn path=/trunk/; revision=17491

17 years agoDon't copy PangoLanguage. (#340031, Morten Welinder)
Matthias Clasen [Mon, 12 Mar 2007 04:46:58 +0000 (04:46 +0000)]
Don't copy PangoLanguage. (#340031, Morten Welinder)

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

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
        Don't copy PangoLanguage.  (#340031, Morten Welinder)

svn path=/trunk/; revision=17489

17 years agoHandle the row reference path being NULL. (#410565, Joe Markus Clarke,
Matthias Clasen [Mon, 12 Mar 2007 04:09:25 +0000 (04:09 +0000)]
Handle the row reference path being NULL. (#410565, Joe Markus Clarke,

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

        * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
        Handle the row reference path being NULL.  (#410565, Joe Markus
        Clarke, patch by Chris Wilson)

svn path=/trunk/; revision=17487

17 years agoHandle Menu key presses without crash. (#385637, Christian Persch)
Matthias Clasen [Mon, 12 Mar 2007 03:13:51 +0000 (03:13 +0000)]
Handle Menu key presses without crash. (#385637, Christian Persch)

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

        * tests/testiconview.c: Handle Menu key presses without
        crash.  (#385637, Christian Persch)

svn path=/trunk/; revision=17485

17 years agoDon't crash if active_tips_data is NULL. (#382904, Li Yuan)
Matthias Clasen [Mon, 12 Mar 2007 02:51:40 +0000 (02:51 +0000)]
Don't crash if active_tips_data is NULL. (#382904, Li Yuan)

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

        * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
        Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)

2

svn path=/trunk/; revision=17483

17 years agoSet first_para_mark to NULL. (#396805, Colin Leroy, patch by Mariano
Matthias Clasen [Mon, 12 Mar 2007 02:32:15 +0000 (02:32 +0000)]
Set first_para_mark to NULL. (#396805, Colin Leroy, patch by Mariano

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

        * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
        to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)

svn path=/trunk/; revision=17481

17 years agoimmediately bail out if current_folder is NULL. (#350988, lots of
Kristian Rietveld [Mon, 12 Mar 2007 00:12:25 +0000 (00:12 +0000)]
immediately bail out if current_folder is NULL. (#350988, lots of

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

* gtk/gtkfilechooserdefault.c (check_save_entry): immediately
bail out if current_folder is NULL. (#350988, lots of reporters,
modified patch by Jan Darmochwal).

svn path=/trunk/; revision=17479

17 years agoUpdated Brazilian Portuguese translation
Raphael Higino [Sun, 11 Mar 2007 19:21:25 +0000 (19:21 +0000)]
Updated Brazilian Portuguese translation

svn path=/trunk/; revision=17476

17 years agoUpdated Serbian translation
Goran Rakic [Sun, 11 Mar 2007 17:22:24 +0000 (17:22 +0000)]
Updated Serbian translation

svn path=/trunk/; revision=17474

17 years agoinvalid po revision date prevented correct build
Guillaume Savaton [Sun, 11 Mar 2007 17:10:33 +0000 (17:10 +0000)]
invalid po revision date prevented correct build

2007-03-11 Guillaume Savaton <llumeao@gmail.com>

   * Corrected po file for esperanto translation: invalid po revision date prevented correct build

svn path=/trunk/; revision=17473

17 years agoUpdated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Sat, 10 Mar 2007 23:01:00 +0000 (23:01 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>

2007-03-11  Mugurel Tudor  <mugurelu@gnome.ro>

* ro.po: Updated Romanian translation by
Mişu Moldovan <dumol@gnome.ro>

svn path=/trunk/; revision=17467

17 years agoUpdated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Sat, 10 Mar 2007 23:00:37 +0000 (23:00 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>

2007-03-11  Mugurel Tudor  <mugurelu@gnome.ro>

* ro.po: Updated Romanian translation by
Mişu Moldovan <dumol@gnome.ro>

svn path=/trunk/; revision=17466

17 years agoonly hide the search dialog and send focus events if the search dialog is
Kristian Rietveld [Sat, 10 Mar 2007 22:42:40 +0000 (22:42 +0000)]
only hide the search dialog and send focus events if the search dialog is

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

* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
hide the search dialog and send focus events if the search dialog
is currently visible.

svn path=/trunk/; revision=17464

17 years agoUpdate for the new quartz cairo surface API (#410442). Don't lock focus
Richard Hult [Sat, 10 Mar 2007 21:58:49 +0000 (21:58 +0000)]
Update for the new quartz cairo surface API (#410442). Don't lock focus

2007-03-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_drawable_get_context): Update for the new quartz cairo
surface API (#410442). Don't lock focus unless called outside of an
expose event.
(gdk_quartz_drawable_release_context): Only flush the CG context and
unlock focus if called outside of expose.
(gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
(_gdk_quartz_drawable_finish): New function, used to free the cached
cairo surface.

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_begin_paint_region): A few small style changes.
(gdk_window_quartz_process_all_updates): Move the autorelease pool
allocation and freeing outside the loop.
(_gdk_windowing_window_destroy): Finish the drawable.
(move_resize_window_internal): Small cleanup and remove comment.
(_gdk_window_impl_quartz_get_type): No need to make the type info
static.

* gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.

svn path=/trunk/; revision=17463

17 years agoAdd missing function signature to fix a build warning.
Richard Hult [Sat, 10 Mar 2007 21:35:20 +0000 (21:35 +0000)]
Add missing function signature to fix a build warning.

2007-03-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
a build warning.

svn path=/trunk/; revision=17462

17 years agoPlug a leak.
Richard Hult [Sat, 10 Mar 2007 21:04:05 +0000 (21:04 +0000)]
Plug a leak.

2007-03-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.

svn path=/trunk/; revision=17461

17 years agoRemove unneccesary exposure mask check.
Richard Hult [Sat, 10 Mar 2007 20:57:13 +0000 (20:57 +0000)]
Remove unneccesary exposure mask check.

2007-03-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.

svn path=/trunk/; revision=17460

17 years agoDon't set the font name here, leave that to themes, fixes #387508.
Richard Hult [Sat, 10 Mar 2007 20:50:58 +0000 (20:50 +0000)]
Don't set the font name here, leave that to themes, fixes #387508.

2007-03-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
the font name here, leave that to themes, fixes #387508.

svn path=/trunk/; revision=17459

17 years agowhen (un)reffing an element, also (un)ref its parent elements. (Fixes
Kristian Rietveld [Sat, 10 Mar 2007 17:25:51 +0000 (17:25 +0000)]
when (un)reffing an element, also (un)ref its parent elements. (Fixes

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

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
(gtk_tree_model_sort_real_unref_node): when (un)reffing an
element, also (un)ref its parent elements. (Fixes #364946,
reported by many, testcase by Andreas Koehler).

svn path=/trunk/; revision=17457

17 years agoInitialize the do_preview field of PrintResponseData. (#396703, Christian
Matthias Clasen [Sat, 10 Mar 2007 06:55:44 +0000 (06:55 +0000)]
Initialize the do_preview field of PrintResponseData. (#396703, Christian

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

        * gtk/gtkprintoperation-unix.c: Initialize the do_preview
        field of PrintResponseData.  (#396703, Christian Persch)

svn path=/trunk/; revision=17453

17 years agoPlug some leaks.
Matthias Clasen [Sat, 10 Mar 2007 05:52:29 +0000 (05:52 +0000)]
Plug some leaks.

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

        * tests/print-editor.c: Plug some leaks.

svn path=/trunk/; revision=17452

17 years agoGet rid of the unused event argument. Update all callers.
Matthias Clasen [Sat, 10 Mar 2007 03:51:37 +0000 (03:51 +0000)]
Get rid of the unused event argument. Update all callers.

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

        * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
        Get rid of the unused event argument. Update all callers.

        * gtk/gtktextview.c (gtk_text_view_focus_out): Call
        gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)

svn path=/trunk/; revision=17449

17 years agoDon't commit modifier-adorned characters. (#331369, #335796, Lin Ma and
Matthias Clasen [Fri, 9 Mar 2007 23:36:55 +0000 (23:36 +0000)]
Don't commit modifier-adorned characters. (#331369, #335796, Lin Ma and

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

        * modules/input/gtkimcontextxim.c
        (gtk_im_context_xim_filter_keypress): Don't commit
        modifier-adorned characters.  (#331369, #335796, Lin Ma
        and others)

svn path=/trunk/; revision=17446

17 years agoRemove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,
Matthias Clasen [Fri, 9 Mar 2007 21:57:37 +0000 (21:57 +0000)]
Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,

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

        * Everywhere: Remove unnecessary NULL checks before
        g_free().  (#369666, Morten Welinder, Djihed Afifi)

        * configure.in: Check for ftw.h

svn path=/trunk/; revision=17444

17 years agoRemove C99isms. (#416525, Kazuki Iwamoto)
Matthias Clasen [Fri, 9 Mar 2007 21:30:32 +0000 (21:30 +0000)]
Remove C99isms. (#416525, Kazuki Iwamoto)

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

        * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
        C99isms.  (#416525, Kazuki Iwamoto)

svn path=/trunk/; revision=17442

17 years agoUpdate.
Tor Lillqvist [Fri, 9 Mar 2007 10:00:22 +0000 (10:00 +0000)]
Update.

2007-03-09  Tor Lillqvist  <tml@novell.com>

* README.win32: Update.

svn path=/trunk/; revision=17441

17 years agoDefer the callbacks to an idle to avoid deadlock with xcb-ified libX11.
Matthias Clasen [Fri, 9 Mar 2007 05:28:00 +0000 (05:28 +0000)]
Defer the callbacks to an idle to avoid deadlock with xcb-ified libX11.

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

        * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
        to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
        Sebastian Dröge)

svn path=/trunk/; revision=17436

17 years agoSet child visibility to FALSE here; it will be turned back on in
Matthias Clasen [Fri, 9 Mar 2007 04:44:20 +0000 (04:44 +0000)]
Set child visibility to FALSE here; it will be turned back on in

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

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
        Set child visibility to FALSE here; it will be turned
        back on in switch_page.  (#413664, Carlos Garnacho)

svn path=/trunk/; revision=17434

17 years agoImplement scaling for animations
Matthias Clasen [Thu, 8 Mar 2007 16:21:09 +0000 (16:21 +0000)]
Implement scaling for animations

svn path=/trunk/; revision=17430

17 years agoUse proper border style when drawing shadow of scrolled windows on Windows
Mathias Hasselmann [Thu, 8 Mar 2007 13:24:51 +0000 (13:24 +0000)]
Use proper border style when drawing shadow of scrolled windows on Windows

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* modules/engines/ms-windows/msw_style.c: Use proper border style
when drawing shadow of scrolled windows on Windows XP (#168326)
* modules/engines/ms-windows/xp_theme.c: Explicitly set size of
element_part_map array to ensure it always is large enough.

svn path=/trunk/; revision=17429

17 years agoAdd shadow-type style property, set shadow-type property of GtkEntry
Mathias Hasselmann [Thu, 8 Mar 2007 02:36:46 +0000 (02:36 +0000)]
Add shadow-type style property, set shadow-type property of GtkEntry

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
property of GtkEntry accordingly, unify size-allocation of toggle
button (#411123, patch from Mathias Hasselmann).
* gtk/gtkentry.c: Add shadow-type property. Query style properties
on style changes only (#411123, patch from Mathias Hasselmann).
* modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
hack as GtkComboBox emits drawing requests now (#411123, patch
from Mathias Hasselmann).

svn path=/trunk/; revision=17426

17 years agoImprove look of GtkScrolledWindow on Windows by implementing a
Mathias Hasselmann [Thu, 8 Mar 2007 02:33:15 +0000 (02:33 +0000)]
Improve look of GtkScrolledWindow on Windows by implementing a

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
by implementing a scrollbars-within-bevel style property. (#168326)

svn path=/trunk/; revision=17425

17 years agoAdd Novell and tbf as copyright holders
Tor Lillqvist [Wed, 7 Mar 2007 23:41:05 +0000 (23:41 +0000)]
Add Novell and tbf as copyright holders

svn path=/trunk/; revision=17423

17 years agoUse Windows shell icons. Icons are stored in the current theme with the
Mathias Hasselmann [Wed, 7 Mar 2007 23:17:38 +0000 (23:17 +0000)]
Use Windows shell icons. Icons are stored in the current theme with the

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
stored in the current theme with the name
"gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
icons as reported by SHGetFileInfoW. (#412221)

svn path=/trunk/; revision=17421

17 years agoDraw the focus around the arrow if there is no label widget. (#124045,
Matthias Clasen [Wed, 7 Mar 2007 21:34:43 +0000 (21:34 +0000)]
Draw the focus around the arrow if there is no label widget. (#124045,

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

        * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
        focus around the arrow if there is no label widget.
        (#124045, Cody Russell)

svn path=/trunk/; revision=17419

17 years agoSet names on the popup widgets to make them themable. (#414975, Benjamin
Matthias Clasen [Wed, 7 Mar 2007 21:10:45 +0000 (21:10 +0000)]
Set names on the popup widgets to make them themable. (#414975, Benjamin

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

        * gtk/gtkcombo.c: (gtk_combo_init):
        * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
        (gtk_combo_box_menu_setup):
        Set names on the popup widgets to make them themable. (#414975,
        Benjamin Berg)

svn path=/trunk/; revision=17417

17 years agouse multihead safe ungrab functions instead of gdk_keyboard_ungrab() and
Michael Natterer [Wed, 7 Mar 2007 14:18:53 +0000 (14:18 +0000)]
use multihead safe ungrab functions instead of gdk_keyboard_ungrab() and

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

* gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
empty finalize() implementation, some cosmetic cleanup
(bug #415645).

svn path=/trunk/; revision=17412

17 years agoBe careful not to trigger a style reset before we have loaded the icon
Chris Wilson [Tue, 6 Mar 2007 18:26:41 +0000 (18:26 +0000)]
Be careful not to trigger a style reset before we have loaded the icon

2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>

* gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
(do_theme_change), (gtk_icon_theme_set_custom_theme),
(load_themes):
Be careful not to trigger a style reset before we have loaded
the icon theme. (#414875).

svn path=/trunk/; revision=17404

17 years agoUpdated German translation.
Hendrik Richter [Tue, 6 Mar 2007 17:13:25 +0000 (17:13 +0000)]
Updated German translation.

2007-03-06  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=17402

17 years agoUpdated German translation.
Hendrik Richter [Tue, 6 Mar 2007 17:12:39 +0000 (17:12 +0000)]
Updated German translation.

2007-03-06  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=17401

17 years ago2007-03-06 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian transla...
Jovan Naumovski [Tue, 6 Mar 2007 10:21:37 +0000 (10:21 +0000)]
2007-03-06 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.

svn path=/trunk/; revision=17397

17 years agogdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32
Tor Lillqvist [Tue, 6 Mar 2007 09:52:35 +0000 (09:52 +0000)]
gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32

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

* gdk/Makefile.am
* gdk-pixbuf/Makefile.am
* gtk/Makefile.am: Further fixes for building on Win32 outside
srcdir. (#413492, Mathias Hasselmann)

svn path=/trunk/; revision=17395

17 years agoFlip some more images
Matthias Clasen [Tue, 6 Mar 2007 04:16:24 +0000 (04:16 +0000)]
Flip some more images

svn path=/trunk/; revision=17393

17 years agoFixed problems with be@latin.
Ihar Hrachyshka [Mon, 5 Mar 2007 13:38:45 +0000 (13:38 +0000)]
Fixed problems with be@latin.

svn path=/trunk/; revision=17392

17 years agoRemoved be@latin from ALL_LINGUAS, as it's currently breaking the build.
Claudio Saavedra [Mon, 5 Mar 2007 00:49:59 +0000 (00:49 +0000)]
Removed be@latin from ALL_LINGUAS, as it's currently breaking the build.

2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
        breaking the build.

svn path=/trunk/; revision=17390

17 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 4 Mar 2007 19:44:09 +0000 (19:44 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=17388

17 years agoremoved "fuzzy" before po header; added author information
Guillaume SAVATON [Sun, 4 Mar 2007 18:52:32 +0000 (18:52 +0000)]
removed "fuzzy" before po header; added author information

2007-03-04 Guillaume SAVATON <llumeao@gmail.com>

   * eo.po: removed "fuzzy" before po header; added author information

svn path=/trunk/; revision=17387

17 years agoCorrected bug #355838
Erdal Ronahi [Sun, 4 Mar 2007 15:45:54 +0000 (15:45 +0000)]
Corrected bug #355838

svn path=/trunk/; revision=17386

17 years agobe@latin.po: Added Belarusian Latin translation by Ales Navicki.
Ihar Hrachyshka [Sun, 4 Mar 2007 13:43:42 +0000 (13:43 +0000)]
be@latin.po: Added Belarusian Latin translation by Ales Navicki.

svn path=/trunk/; revision=17385

17 years agoCorrected mistakes in Esperanto translation (labels translated in msgstr)
Guillaume Savaton [Sat, 3 Mar 2007 19:36:30 +0000 (19:36 +0000)]
Corrected mistakes in Esperanto translation (labels translated in msgstr)

2007-03-03 Guillaume Savaton <llumeao@gmail.com>

   * eo.po: Corrected mistakes in Esperanto translation (labels translated in msgstr)

svn path=/trunk/; revision=17380

17 years agoAdded Esperanto (eo) translation
Guillaume Savaton [Sat, 3 Mar 2007 18:57:27 +0000 (18:57 +0000)]
Added Esperanto (eo) translation

2007-03-03 Guillaume Savaton <llumeao@gmail.com>

   * Added Esperanto (eo) translation

svn path=/trunk/; revision=17379

17 years agoremove forgotten debug code
Matthias Clasen [Thu, 1 Mar 2007 06:47:15 +0000 (06:47 +0000)]
remove forgotten debug code

svn path=/trunk/; revision=17370

17 years agoAlways store gtk-color-scheme values from all sources in the
Matthias Clasen [Thu, 1 Mar 2007 06:44:00 +0000 (06:44 +0000)]
Always store gtk-color-scheme values from all sources in the

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

        * gtk/gtksettings.c: Always store gtk-color-scheme
        values from all sources in the ColorSchemeData struct
        and ignore the property_value for gtk-color-scheme.
        This fixes #412596, reported by Thomas Wood.

svn path=/trunk/; revision=17369

17 years agoMake color scheme update properly when changing themes. (#402131, Benjamin
Matthias Clasen [Wed, 28 Feb 2007 19:37:08 +0000 (19:37 +0000)]
Make color scheme update properly when changing themes. (#402131, Benjamin

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

        * gtk/gtksettings.c: Make color scheme update properly
        when changing themes.  (#402131, Benjamin Berg)

svn path=/trunk/; revision=17366

17 years agoDon't leak references to the color-hash gotten from GtkSettings. (#409357,
Matthias Clasen [Wed, 28 Feb 2007 17:00:55 +0000 (17:00 +0000)]
Don't leak references to the color-hash gotten from GtkSettings. (#409357,

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

        * gtk/gtkrc.c: Don't leak references to the color-hash
        gotten from GtkSettings.  (#409357, Benjamin Berg)

svn path=/trunk/; revision=17364

17 years agoFixed a warning from g_object_set (radiobutton, "group", NULL, NULL).
Tristan Van Berkom [Wed, 28 Feb 2007 16:16:54 +0000 (16:16 +0000)]
Fixed a warning from g_object_set (radiobutton, "group", NULL, NULL).

* gtk/gtkradiobutton.c: Fixed a warning from
g_object_set (radiobutton, "group", NULL, NULL).

svn path=/trunk/; revision=17363

17 years agoAdd image/x-ico to supported mime types. Fixes bug #393599.
Felix Riemann [Tue, 27 Feb 2007 19:28:28 +0000 (19:28 +0000)]
Add image/x-ico to supported mime types. Fixes bug #393599.

2007-02-27  Felix Riemann  <friemann@svn.gnome.org>

* io-ico.c: (fill_info): Add image/x-ico to supported mime types.
Fixes bug #393599.

svn path=/trunk/; revision=17361

17 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Tue, 27 Feb 2007 14:47:35 +0000 (14:47 +0000)]
Updated Lithuanian translation.

2007-02-27  Gintautas Miliauskas  <gintas@akl.lt>

* lt.po: Updated Lithuanian translation.

svn path=/trunk/; revision=17359

17 years agoApply a patch by Carlos Garnacho to fix several problems with filechooser
Matthias Clasen [Mon, 26 Feb 2007 19:45:33 +0000 (19:45 +0000)]
Apply a patch by Carlos Garnacho to fix several problems with filechooser

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

        Apply a patch by Carlos Garnacho to fix several problems
        with filechooser size handling (#325477, #151169, 143213,
        #153785)

        * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
        (browse_widgets_create): Don't force the paned position to 200.
        (find_good_size_from_style): Take the size of the extra widget
        into account.

        * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
        Accept a minimal width parameter. Update all callers.

svn path=/trunk/; revision=17357

17 years agoChange a label
Matthias Clasen [Mon, 26 Feb 2007 19:12:22 +0000 (19:12 +0000)]
Change a label

svn path=/trunk/; revision=17356

17 years agoMake folder selection for print-to-file work
Matthias Clasen [Mon, 26 Feb 2007 14:56:11 +0000 (14:56 +0000)]
Make folder selection for print-to-file work

svn path=/trunk/; revision=17354

17 years agoBug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause
Chris Wilson [Mon, 26 Feb 2007 14:09:21 +0000 (14:09 +0000)]
Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause

2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>

Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash

* gtk/gtkicontheme.c: (scan_directory):
Reorder the replacement of the shared base_name key, so that we
avoid dereferencing the string in the icon_theme->all_icon
hash table after freeing it from the dir->icons hash table.

svn path=/trunk/; revision=17353

17 years agoAdd comment clarifying that "icon name" here is not related to the
Tor Lillqvist [Mon, 26 Feb 2007 13:48:01 +0000 (13:48 +0000)]
Add comment clarifying that "icon name" here is not related to the

2007-02-26  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
comment clarifying that "icon name" here is not related to the
freedesktop.org icon naming stuff.

svn path=/trunk/; revision=17351

17 years agoUpdated Finnish translation
Ilkka Tuohela [Sun, 25 Feb 2007 16:13:39 +0000 (16:13 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=17350

17 years agoBug 411118 - bad bevel for progress bar on windows classic. Match from
Dom Lachowicz [Fri, 23 Feb 2007 16:30:05 +0000 (16:30 +0000)]
Bug 411118 - bad bevel for progress bar on windows classic. Match from

2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>

        * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
        progress bar on windows classic. Match from Mathias Hasselmann.

svn path=/trunk/; revision=17344

17 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Wed, 21 Feb 2007 23:52:31 +0000 (23:52 +0000)]
Updated Lithuanian translation.

2007-02-22  Gintautas Miliauskas  <gintas@akl.lt>

* lt.po: Updated Lithuanian translation.

svn path=/trunk/; revision=17341

17 years agoUpdate Ukrainian translation.
Maxim Dziumanenko [Wed, 21 Feb 2007 09:24:42 +0000 (09:24 +0000)]
Update Ukrainian translation.

2007-02-21 Maxim Dziumanenko <dziumanenko@gmail.com>

* Update Ukrainian translation.

svn path=/trunk/; revision=17340

17 years agoUpdated German translation, fix #410019.
Hendrik Richter [Tue, 20 Feb 2007 14:36:39 +0000 (14:36 +0000)]
Updated German translation, fix #410019.

2007-02-20  Hendrik Richter  <hendrikr@gnome.org>

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

svn path=/trunk/; revision=17339

17 years agoUpdated Georgian translation
Vladimer Sichinava [Mon, 19 Feb 2007 02:49:11 +0000 (02:49 +0000)]
Updated Georgian translation

svn path=/trunk/; revision=17333

17 years agoRemove. (gdk_device_get_type): Drop class init function. The X11 version
Tor Lillqvist [Mon, 19 Feb 2007 00:32:32 +0000 (00:32 +0000)]
Remove. (gdk_device_get_type): Drop class init function. The X11 version

2007-02-19  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkinput.c
(gdk_device_finalize, gdk_device_class_init): Remove.
(gdk_device_get_type): Drop class init function. The X11 version
doesn't have one either.
(gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
(gdk_display_list_devices): Check that the argument is
_gdk_display.

* gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
Cleanup: remove unused fields.
* gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
names in a few debugging printouts.

svn path=/trunk/; revision=17332

17 years agoIgnore invisible text when going to end of the previous line. (#382565)
Matthias Clasen [Sun, 18 Feb 2007 16:24:13 +0000 (16:24 +0000)]
Ignore invisible text when going to end of the previous line. (#382565)

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

        * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
        Ignore invisible text when going to end of the previous line.
        (#382565)

svn path=/trunk/; revision=17328

17 years agoupdating for Punjabi by AP S Alam
Amanpreet Singh Alam [Sun, 18 Feb 2007 15:39:01 +0000 (15:39 +0000)]
updating for Punjabi by AP S Alam

svn path=/trunk/; revision=17326

17 years agoSetup release pools to plug two leaks, patch from Erik van Pienbroek,
Richard Hult [Sun, 18 Feb 2007 11:04:06 +0000 (11:04 +0000)]
Setup release pools to plug two leaks, patch from Erik van Pienbroek,

2007-02-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates),
(_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
patch from Erik van Pienbroek, fixes bug #396649.

svn path=/trunk/; revision=17325

17 years agoAdd stub for gdk_display_add_client_message_filter, patch from Taybin
Richard Hult [Sun, 18 Feb 2007 10:56:13 +0000 (10:56 +0000)]
Add stub for gdk_display_add_client_message_filter, patch from Taybin

2007-02-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: Add stub for
gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
bug #405870.

* gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.

svn path=/trunk/; revision=17324

17 years agoImport AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for
Richard Hult [Sun, 18 Feb 2007 10:26:49 +0000 (10:26 +0000)]
Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for

2007-02-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.h:
* gdk/quartz/GdkQuartzWindow.h:
* gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
* gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
userSpaceScaleFactor for 10.3. Those changes bring us closer to working
on panther, patch from Mathias Hasselmann.

* gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.

svn path=/trunk/; revision=17323

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sat, 17 Feb 2007 20:52:32 +0000 (20:52 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-02-17  Alexander Shopov  <ash@contact.bg>

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

svn path=/trunk/; revision=17321

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sat, 17 Feb 2007 20:51:02 +0000 (20:51 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-02-17  Alexander Shopov  <ash@contact.bg>

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

svn path=/trunk/; revision=17320

17 years agoUse PANGO_PIXELS instead of division. (#334617)
Behdad Esfahbod [Fri, 16 Feb 2007 22:12:42 +0000 (22:12 +0000)]
Use PANGO_PIXELS instead of division. (#334617)

2007-02-16  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
        instead of division. (#334617)

svn path=/trunk/; revision=17317

17 years agoadd cursor_offset field.
Kristian Rietveld [Fri, 16 Feb 2007 21:35:31 +0000 (21:35 +0000)]
add cursor_offset field.

2007-02-16  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeprivate.h: add cursor_offset field.

* gtk/gtktreeview.c (gtk_tree_view_init),
(gtk_tree_view_move_cursor_page_up_down): fix off by one error
in page up/down handling by memorizing the offset into the cursor
row.  (Fixes #399809, reported by Bruce Bowler).

svn path=/trunk/; revision=17316

17 years agosend a focus-in event to the tree view after hiding the search dialog.
Kristian Rietveld [Fri, 16 Feb 2007 21:24:54 +0000 (21:24 +0000)]
send a focus-in event to the tree view after hiding the search dialog.

2007-02-16  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog.
(#356515, Rich Burridge, Peter Parente).

svn path=/trunk/; revision=17314

17 years agoalso handle keyboard tooltips. (#408325, Matthias Clasen).
Kristian Rietveld [Fri, 16 Feb 2007 20:10:48 +0000 (20:10 +0000)]
also handle keyboard tooltips. (#408325, Matthias Clasen).

2007-02-16  Kristian Rietveld  <kris@imendio.com>

* tests/testtooltips.c (query_tooltip_text_view_cb): also handle
keyboard tooltips. (#408325, Matthias Clasen).

svn path=/trunk/; revision=17313

17 years agoCleanup the logic in expose event handler. Reviewed by Matthias Clasen,
Xan Lopez [Fri, 16 Feb 2007 16:00:19 +0000 (16:00 +0000)]
Cleanup the logic in expose event handler. Reviewed by Matthias Clasen,

* gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
  in expose event handler. Reviewed by Matthias Clasen, #406112

svn path=/trunk/; revision=17312