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

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

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

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

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

svn path=/trunk/; revision=20004

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

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

Bug 506062 – gtk_recent_manager_add_item does not detect mime
type on Windows

* configure.in: Depend on gio-2.0

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

svn path=/trunk/; revision=20003

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

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

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

svn path=/trunk/; revision=20002

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

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

        * gl.po: Updated Galician Translation.

svn path=/trunk/; revision=20001

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

svn path=/trunk/; revision=20000

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

svn path=/trunk/; revision=19999

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

svn path=/trunk/; revision=19998

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

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

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

svn path=/trunk/; revision=19996

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

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

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

svn path=/trunk/; revision=19995

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

svn path=/trunk/; revision=19993

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

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

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

svn path=/trunk/; revision=19991

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

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

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

svn path=/trunk/; revision=19989

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

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

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

svn path=/trunk/; revision=19987

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

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

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

svn path=/trunk/; revision=19985

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

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

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

svn path=/trunk/; revision=19982

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

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

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

svn path=/trunk/; revision=19981

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

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

svn path=/trunk/; revision=19978

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

svn path=/trunk/; revision=19976

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

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

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

svn path=/trunk/; revision=19975

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

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

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

svn path=/trunk/; revision=19974

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

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

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

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

svn path=/trunk/; revision=19972

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

svn path=/trunk/; revision=19969

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

svn path=/trunk/; revision=19968

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

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

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

svn path=/trunk/; revision=19967

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

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

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

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

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

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

svn path=/trunk/; revision=19959

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

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

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

svn path=/trunk/; revision=19958

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

svn path=/trunk/; revision=19956

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

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

        * configure.in: Bump required Cairo to 1.5.2.

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

svn path=/trunk/; revision=19955

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

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

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

svn path=/trunk/; revision=19952

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

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

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

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

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

svn path=/trunk/; revision=19951

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

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

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

svn path=/trunk/; revision=19950

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

svn path=/trunk/; revision=19948

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

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

Bug 524862 - Using GTK_WIN_POS_CENTER_ALWAYS gives jerky
window resizing in Win32

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

svn path=/trunk/; revision=19947

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

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

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

svn path=/trunk/; revision=19944

16 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 29 Mar 2008 07:26:55 +0000 (07:26 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=19943

16 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 29 Mar 2008 07:21:25 +0000 (07:21 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=19942

16 years agoUpdate Vietnamese translation
Nguyễn Thái Ngọc Duy [Thu, 27 Mar 2008 13:45:33 +0000 (13:45 +0000)]
Update Vietnamese translation

2008-03-27  Nguyễn Thái Ngọc Duy <pclouds@gmail.com>

* vi.po: Update Vietnamese translation

svn path=/trunk/; revision=19940

16 years agoAhem, fix compilation
Federico Mena Quintero [Wed, 26 Mar 2008 20:34:22 +0000 (20:34 +0000)]
Ahem, fix compilation

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

16 years agoMake 'Ok' work for the file chooser entry
Federico Mena Quintero [Wed, 26 Mar 2008 20:22:50 +0000 (20:22 +0000)]
Make 'Ok' work for the file chooser entry
2008-03-26  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
helper function; factored out from the functions that commit the
current suggested autocompletion and that refresh the entry's paths.
(gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
(_gtk_file_chooser_entry_get_file_part): Likewise.
(_gtk_file_chooser_entry_get_current_folder): Likewise.  This
makes the entry have the correct paths when *not* using any form
of completion (and makes the file chooser work when clicking the
OK button).

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

16 years agoBail out early if we can't find a matching window.
Richard Hult [Tue, 25 Mar 2008 13:49:03 +0000 (13:49 +0000)]
Bail out early if we can't find a matching window.

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

* gdk/quartz/gdkevents-quartz.c:
(_gdk_quartz_events_trigger_crossing_events): Bail out early if we
can't find a matching window.

* gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
comment, and only trigger an event for non-temp windows, fixes
problems for tooltips caused by the workarounds for the
problematic tracking rect API.

svn path=/trunk/; revision=19934

16 years agoPlug a leak and add a check that we have a toplevel before accessing it.
Richard Hult [Tue, 25 Mar 2008 13:35:20 +0000 (13:35 +0000)]
Plug a leak and add a check that we have a toplevel before accessing it.

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

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates): Plug a leak and add a
check that we have a toplevel before accessing it.

svn path=/trunk/; revision=19933

16 years agoBug 524151 - Dragging of 0-byte files results in an empty filename on
Tor Lillqvist [Mon, 24 Mar 2008 17:35:02 +0000 (17:35 +0000)]
Bug 524151 - Dragging of 0-byte files results in an empty filename on

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

Bug 524151 - Dragging of 0-byte files results in an empty filename
on Windows XP and above

* gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
being empty first. For some reason ISHellLink and IPersistFile
succeeds in interpreting empty files as shortcuts, claiming the
target of the shortcut is an empty path.

Change the function to take the wide character file name that the
caller already has anyway, to avoid a superfluous conversion from
UTF-8 to UTF-16.

svn path=/trunk/; revision=19931

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Mon, 24 Mar 2008 16:16:46 +0000 (16:16 +0000)]
Translation updated by Ivar Smolin

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

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=19930

16 years agoGuard against NULL pointer. (#467051, Gian Mario Tagliaretti)
Björn Lindqvist [Sun, 23 Mar 2008 18:27:03 +0000 (18:27 +0000)]
Guard against NULL pointer. (#467051, Gian Mario Tagliaretti)

2008-03-23  Björn Lindqvist  <bjourne@gmail.com>

* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
against NULL pointer. (#467051, Gian Mario Tagliaretti)

svn path=/trunk/; revision=19929

16 years agoCheck window state for GDK_WINDOW_STATE_ICONIFIED before doing ShowWindow
Cody Russell [Sun, 23 Mar 2008 15:37:40 +0000 (15:37 +0000)]
Check window state for GDK_WINDOW_STATE_ICONIFIED before doing ShowWindow

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

        * gdk/win32/gdkevents-win32.c (show_window_recurse):
        Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
        ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
        menus from a maximized window would force the window to restore
        its size. (#518846)

svn path=/trunk/; revision=19926

16 years agoProperly convert GtkImageMenuItems which use stock labels but don't have
Johan Dahlin [Sun, 23 Mar 2008 08:17:07 +0000 (08:17 +0000)]
Properly convert GtkImageMenuItems which use stock labels but don't have

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

* gtk/gtk-builder-convert:
Properly convert GtkImageMenuItems which use stock labels but don't
have any children.
(#523932, Brian Pepple)

svn path=/trunk/; revision=19924

16 years agoNew function implements GtkCellLayoutClass::get_cells. (#523787)
Matthew Barnes [Sat, 22 Mar 2008 17:53:42 +0000 (17:53 +0000)]
New function implements GtkCellLayoutClass::get_cells. (#523787)

2008-03-22  Matthew Barnes  <mbarnes@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
New function implements GtkCellLayoutClass::get_cells.  (#523787)

svn path=/trunk/; revision=19923

16 years agoBug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
Tor Lillqvist [Sat, 22 Mar 2008 09:03:38 +0000 (09:03 +0000)]
Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c

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

Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c

* gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
GDK_THREADS_LEAVE() call. Approved by mclasen.

svn path=/trunk/; revision=19922

16 years agogtk_label_get_label() should be used instead of gtk_label_get_text().
Björn Lindqvist [Sat, 22 Mar 2008 01:27:07 +0000 (01:27 +0000)]
gtk_label_get_label() should be used instead of gtk_label_get_text().

2008-03-22  Björn Lindqvist  <bjourne@gmail.com>

* gtk/gtkexpander.c (gtk_expander_get_label):
gtk_label_get_label() should be used instead of
gtk_label_get_text(). (#353088, Xan Lopez)

svn path=/trunk/; revision=19920

16 years agoMinor edit.
Tor Lillqvist [Thu, 20 Mar 2008 23:40:17 +0000 (23:40 +0000)]
Minor edit.

svn path=/trunk/; revision=19918

16 years agoAdd comment about what grep to use on Windows.
Tor Lillqvist [Thu, 20 Mar 2008 23:38:52 +0000 (23:38 +0000)]
Add comment about what grep to use on Windows.

svn path=/trunk/; revision=19917

16 years agoTypo.
Tor Lillqvist [Thu, 20 Mar 2008 23:36:21 +0000 (23:36 +0000)]
Typo.

svn path=/trunk/; revision=19916

16 years agoInsert the ChangeLog from gdip-pixbuf-loaders.
Tor Lillqvist [Thu, 20 Mar 2008 23:29:31 +0000 (23:29 +0000)]
Insert the ChangeLog from gdip-pixbuf-loaders.

svn path=/trunk/; revision=19915

16 years agoImport the GDI+ gdk-pixbuf loaders for Windows by Dominic Lachowicz and
Tor Lillqvist [Thu, 20 Mar 2008 23:24:45 +0000 (23:24 +0000)]
Import the GDI+ gdk-pixbuf loaders for Windows by Dominic Lachowicz and

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

Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
Lachowicz and Alberto Ruiz into the GTK+ tree, from the
gdip-pixbuf-loader module.

* configure.in: Add switch --disable-gdiplus-loaders that disables
building of the GDI+ loaders.

When including loaders in the gdk-pixbuf library, either build in
abll the GDI+ ones or none of them. Use just -DINCLUDE_gdiplus in
$INCLUDED_LOADER_DEFINE to signal building them in.

Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
indicate whether they should be built-in.

For the rest of the changes, see gdk-pixbuf/ChangeLog.

In gdk-pixbuf:

* Makefile.am: Add the bits and pieces for the GDI+ loaders. When
building GDI+ loaders don't build the traditional ones for the
same formats. Always build the traditional PNG loader, though, as
it isn't possible to read and write PNG tEXt chunks through GDI+,
and GIMP at least needs that functionality in the gdk-pixbuf PNG
loader.

Either build all the GDI+ loaders (except the PNG one) into
libgdk-pixbuf, or build them all as DLLs. I don't see any reason
to enable cherry-picking among them whether to build in or not.

* io-gdip-animation.c
* io-gdip-animation.h
* io-gdip-bmp.c
* io-gdip-emf.c
* io-gdip-gif.c
* io-gdip-ico.c
* io-gdip-jpeg.c
* io-gdip-native.h
* io-gdip-png.c
* io-gdip-propertytags.h
* io-gdip-tiff.c
* io-gdip-utils.c
* io-gdip-utils.h
* io-gdip-wmf.c: New files. Note that io-gdip-png.c is not
currently used.

* gdk-pixbuf-io.c: Add the bits and pieces for built-in GDI+
loaders.

svn path=/trunk/; revision=19914

16 years agoRevert accidental change that went in as part of the commit on 2008-03-18.
Tor Lillqvist [Thu, 20 Mar 2008 16:21:49 +0000 (16:21 +0000)]
Revert accidental change that went in as part of the commit on 2008-03-18.

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

* gtk/Makefile.am: Revert accidental change that went in as part
of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
Darwin.

svn path=/trunk/; revision=19913

16 years ago Updated Albanian translation.
Laurent Dhima [Thu, 20 Mar 2008 11:53:32 +0000 (11:53 +0000)]
 Updated Albanian translation.

svn path=/trunk/; revision=19912

16 years agoUpdated Translation
Laurent Dhima [Thu, 20 Mar 2008 11:01:33 +0000 (11:01 +0000)]
Updated Translation

svn path=/trunk/; revision=19911

16 years agoBug #498079. Free cell's action info before free the action_list.
Li Yuan [Thu, 20 Mar 2008 08:44:27 +0000 (08:44 +0000)]
Bug #498079. Free cell's action info before free the action_list.

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

        * gailcell.c: (gail_cell_object_finalize):
        Bug #498079. Free cell's action info before free the action_list.

svn path=/trunk/; revision=19909

16 years agoDon't pass NULL for %s to g_message(). (main): Drop unnecessary call to
Tor Lillqvist [Thu, 20 Mar 2008 03:21:41 +0000 (03:21 +0000)]
Don't pass NULL for %s to g_message(). (main): Drop unnecessary call to

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

* tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
pass NULL for %s to g_message().
(main): Drop unnecessary call to gtk_widget_destroy().

svn path=/trunk/; revision=19908

16 years agoBug 314084 - GTK+ dialogs should not be placed partially offscreen
Tor Lillqvist [Thu, 20 Mar 2008 03:00:45 +0000 (03:00 +0000)]
Bug 314084 - GTK+ dialogs should not be placed partially offscreen

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

Bug 314084 - GTK+ dialogs should not be placed partially offscreen

* gtk/gtkwindow.c (clamp): New function. Clamps a window position
in one dimension, or centered in case it doesn't fit.
(clamp_window_to_rectangle): Simplify. Call clamp() for x and y
dimensions.

svn path=/trunk/; revision=19907

16 years agoUpdated Georgian translation
Vladimer Sichinava [Wed, 19 Mar 2008 21:06:46 +0000 (21:06 +0000)]
Updated Georgian translation

svn path=/trunk/; revision=19905

16 years agoUpdated Georgian translation
Vladimer Sichinava [Wed, 19 Mar 2008 20:46:19 +0000 (20:46 +0000)]
Updated Georgian translation

svn path=/trunk/; revision=19903

16 years agoBug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
Tor Lillqvist [Tue, 18 Mar 2008 21:29:00 +0000 (21:29 +0000)]
Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code

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

Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code

* modules/input/im*.c: Modify the MODULE_ENTRY macro so the
G_MODULE_ENTRY decoration can be put in a more correct place.

svn path=/trunk/; revision=19902

16 years ago Updated Albanian translation.
Laurent Dhima [Tue, 18 Mar 2008 16:39:31 +0000 (16:39 +0000)]
 Updated Albanian translation.

svn path=/trunk/; revision=19900

16 years agoset alternative button order on the password dialog.
Sven Neumann [Tue, 18 Mar 2008 09:21:15 +0000 (09:21 +0000)]
set alternative button order on the password dialog.

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

* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
alternative button order on the password dialog.

svn path=/trunk/; revision=19897

16 years agoBug 99192 - Add --with-include-input-modules
Tor Lillqvist [Mon, 17 Mar 2008 23:53:18 +0000 (23:53 +0000)]
Bug 99192 - Add --with-include-input-modules

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

Bug 99192 - Add --with-include-input-modules

* configure.in: Add --with-included-immodules switch. Handled in a
similar way as the --with-included-loaders switch. For each input
method module foo: Collect the list of input modules to be built
into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
-DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
Define Automake conditionals INCLUDE_IM_FOO.

* modules/input/Makefile.am: For modules to be included in libgtk,
build a static library.

* modules/input/im*.c: Use MODULE_ENTRY macros much like in
gdk-pixbuf to get unique names for the functions called by libgtk
in the included case. Use G_MODULE_EXPORT in the non-included case
so that we don't unnecessarily export unneeded random global
symbols on Windows.

* gtk/Makefile.am: Build the included modules and link them into libgtk.

* gtk/gtkimmodule.c: Handle the built-in modules. Remove
copy/paste leftover mentions of "themes" in comments.

svn path=/trunk/; revision=19896

16 years agoBuild testmountoperation only on Unix for now.
Tor Lillqvist [Mon, 17 Mar 2008 22:41:55 +0000 (22:41 +0000)]
Build testmountoperation only on Unix for now.

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

* tests/Makefile.am: Build testmountoperation only on Unix for now.

svn path=/trunk/; revision=19895

16 years agoImplement GtkMountOperation, a subclass of GMountOperation to be used with
Christian Kellner [Mon, 17 Mar 2008 17:29:55 +0000 (17:29 +0000)]
Implement GtkMountOperation, a subclass of GMountOperation to be used with

2008-03-17  Christian Kellner  <gicmo@gnome.org>

        Implement GtkMountOperation, a subclass of GMountOperation
        to be used with gio wherever there is the need to ask the
        user for credentials or questions while mounting a volume.
        This is bug #522245

        * gtk/gtkmountoperation.c:
        * gtk/gtkmountoperation.h:
        Implement GtkMountOperation.

        * gtk/gtk.h: Add gtkmountoperation.h
        * gtk/Makefile.am: Add gtkmountoperation.[hc]
        * gtk/gtk.symbols: Add symbols of GtkMountOperation.
        * tests/testmountoperation.c: Test program for it.
        * tests/Makefile.am: Add testmountoperation.

svn path=/trunk/; revision=19894

16 years agoProperly document gtk_container_set_focus_child(). (#521739, Andrew Cowie)
Emmanuele Bassi [Mon, 17 Mar 2008 13:57:00 +0000 (13:57 +0000)]
Properly document gtk_container_set_focus_child(). (#521739, Andrew Cowie)

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

* gtk/gtkcontainer.c: Properly document
gtk_container_set_focus_child(). (#521739, Andrew Cowie)

svn path=/trunk/; revision=19893

16 years agore-wrapped some lines to make them fit into 80 columns
Sven Neumann [Mon, 17 Mar 2008 10:21:47 +0000 (10:21 +0000)]
re-wrapped some lines to make them fit into 80 columns

svn path=/trunk/; revision=19892

16 years agoUpdated zh_CN translation from manphiz
Yang Zhang [Mon, 17 Mar 2008 04:09:13 +0000 (04:09 +0000)]
Updated zh_CN translation from manphiz

svn path=/trunk/; revision=19890

16 years agomore descriptive style names for the ComboBox thickness style
Alberto Ruiz [Sun, 16 Mar 2008 03:57:38 +0000 (03:57 +0000)]
more descriptive style names for the ComboBox thickness style

2008-03-16  Alberto Ruiz <aruiz@gnome.org>
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive style
names for the ComboBox thickness style

svn path=/trunk/; revision=19888

16 years agodraw box does more intelligent separation for the xp theming engine and
Alberto Ruiz [Sun, 16 Mar 2008 03:39:15 +0000 (03:39 +0000)]
draw box does more intelligent separation for the xp theming engine and

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

* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
* modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
(combo_box_draw_arrow) (setup_msw_rc_style): draw box does more intelligent
separation for the xp theming engine and the classic theme while drawing the
GtkComboBox button.
combobox_draw_arrow is not used anymore, commented.
The style has been updated to fix border/thickness glitches in the combobox
according to the fixes commited regarding bug #521442. (bug #461805)

svn path=/trunk/; revision=19887

16 years agoThe child is now aware of both the combobox and frame (if has-frame is
Alberto Ruiz [Sun, 16 Mar 2008 01:37:12 +0000 (01:37 +0000)]
The child is now aware of both the combobox and frame (if has-frame is

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

* gtl/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is now aware of
both the combobox and frame (if has-frame is set) thickness and border. (bug #521442)

svn path=/trunk/; revision=19886

16 years agoAdded missing files.
Andre Klapper [Sat, 15 Mar 2008 16:59:43 +0000 (16:59 +0000)]
Added missing files.

2008-03-15  Andre Klapper  <a9016009@gmx.de>

* POTFILES.in: Added missing files.

svn path=/trunk/; revision=19885

16 years agoAdded "si" to ALL_LINGUAS.
Andre Klapper [Sat, 15 Mar 2008 16:57:27 +0000 (16:57 +0000)]
Added "si" to ALL_LINGUAS.

2008-03-15  Andre Klapper  <a9016009@gmx.de>

* configure.in: Added "si" to ALL_LINGUAS.

svn path=/trunk/; revision=19884

16 years agoAdded missing files.
Andre Klapper [Sat, 15 Mar 2008 16:55:47 +0000 (16:55 +0000)]
Added missing files.

2008-03-15  Andre Klapper  <a9016009@gmx.de>

* POTFILES.in: Added missing files.

svn path=/trunk/; revision=19883

16 years agoSet window type hint on the search popup. (#522279, Danny Baumann)
Matthias Clasen [Sat, 15 Mar 2008 04:51:48 +0000 (04:51 +0000)]
Set window type hint on the search popup. (#522279, Danny Baumann)

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

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Set window type hint on the search popup.  (#522279, Danny Baumann)

svn path=/trunk/; revision=19880

16 years agoEmit preedit_start/_end as appropriate. (#521934, Huang Peng)
Matthias Clasen [Sat, 15 Mar 2008 04:24:50 +0000 (04:24 +0000)]
Emit preedit_start/_end as appropriate. (#521934, Huang Peng)

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

        * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
        appropriate.  (#521934, Huang Peng)

svn path=/trunk/; revision=19878

16 years agogdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c
Michael Natterer [Fri, 14 Mar 2008 20:38:58 +0000 (20:38 +0000)]
gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c

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

* gdk/gdkspawn.h
* gtk/gtkbuilderprivate.h
* gtk/gtkfilechoosersettings.c
* gtk/gtksearchenginesimple.c
* gtk/tests/liststore.c
* gtk/tests/treestore.c: remove single-file includes of GLib
headers or replace them by <glib.h> where needed.

svn path=/trunk/; revision=19877

16 years agoAdded missing mnemonic to German version.
Andre Klapper [Fri, 14 Mar 2008 18:52:10 +0000 (18:52 +0000)]
Added missing mnemonic to German version.

2008-03-14  Andre Klapper  <a9016009@gmx.de>

* de.po: Added missing mnemonic to German version.

svn path=/trunk/; revision=19876

16 years agocoding style cleanup.
Michael Natterer [Fri, 14 Mar 2008 17:26:12 +0000 (17:26 +0000)]
coding style cleanup.

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

* gtk/gtkadjustment.c: coding style cleanup.

(gtk_adjustment_set_property): no need to call g_object_notify()
on the set properties.

Implement GObject::dispatch_properties_changed() and make sure we
emit "changed" when anything but the "value" property changes.

svn path=/trunk/; revision=19875

16 years agoDrop the support for the MSH_MOUSEWHEEL message that MSDN says is used
Tor Lillqvist [Fri, 14 Mar 2008 16:11:50 +0000 (16:11 +0000)]
Drop the support for the MSH_MOUSEWHEEL message that MSDN says is used

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

* gdk/win32/gdkevents-win32.c: Drop the support for the
MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
Win95. Thanks to mitch for noticing this obsolete code.

svn path=/trunk/; revision=19874

16 years agoChanged 'void int main()' to 'int main()'. (#522211, Liqing Huang)
Cody Russell [Fri, 14 Mar 2008 12:38:01 +0000 (12:38 +0000)]
Changed 'void int main()' to 'int main()'. (#522211, Liqing Huang)

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

* examples/scribble-xinput/scribble-xinput.c: Changed
'void int main()' to 'int main()'. (#522211, Liqing Huang)

svn path=/trunk/; revision=19872

16 years agoPatch from Paul Davis, only flush the toplevel once per update.
Richard Hult [Fri, 14 Mar 2008 10:20:55 +0000 (10:20 +0000)]
Patch from Paul Davis, only flush the toplevel once per update.

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

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates): Patch from Paul Davis,
only flush the toplevel once per update.

svn path=/trunk/; revision=19871

16 years agoHide the mouse cursor in the completion feedback window
Federico Mena Quintero [Fri, 14 Mar 2008 02:45:44 +0000 (02:45 +0000)]
Hide the mouse cursor in the completion feedback window
2008-03-13  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (create_completion_feedback_window):
Set the mouse cursor of the feedback window to invisible, so that
we respect GtkEntry's invisible cursor while typing.

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

16 years agoUse rough font-based spacing for the completion entry's suggestion window
Federico Mena Quintero [Fri, 14 Mar 2008 02:13:54 +0000 (02:13 +0000)]
Use rough font-based spacing for the completion entry's suggestion window
2008-03-13  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
the feedback window at entry_height/2 pixels to the right of the
cursor, for a cheap "M-width / 2" spacing.

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

16 years agoRemove superfluous empty line
Tor Lillqvist [Thu, 13 Mar 2008 16:08:38 +0000 (16:08 +0000)]
Remove superfluous empty line

svn path=/trunk/; revision=19868

16 years agogtk/gtkfilechooserdefault.c set alternative button order for overwrite
Sven Neumann [Thu, 13 Mar 2008 14:09:02 +0000 (14:09 +0000)]
gtk/gtkfilechooserdefault.c set alternative button order for overwrite

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

* gtk/gtkfilechooserdefault.c
* gtk/gtkprintunixdialog.c: set alternative button order for
overwrite confirmation dialogs (bug #522191).

svn path=/trunk/; revision=19866

16 years agoadded some line-breaks for readability.
Sven Neumann [Thu, 13 Mar 2008 09:22:48 +0000 (09:22 +0000)]
added some line-breaks for readability.

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

* gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
(overwrite_confirmation_dialog): added some line-breaks for
readability.

svn path=/trunk/; revision=19862

16 years agoChangeLog for the new GtkFileChooserEntry completion code
Federico Mena Quintero [Thu, 13 Mar 2008 00:48:27 +0000 (00:48 +0000)]
ChangeLog for the new GtkFileChooserEntry completion code

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

16 years agoBeep with gtk_widget_error_bell()
Federico Mena Quintero [Thu, 13 Mar 2008 00:48:10 +0000 (00:48 +0000)]
Beep with gtk_widget_error_bell()

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

16 years agoBetter feedback for sole completions
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:54 +0000 (00:47 +0000)]
Better feedback for sole completions

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

16 years agoDon't complete the directory separator if it would result in double separators
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:38 +0000 (00:47 +0000)]
Don't complete the directory separator if it would result in double separators

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

16 years agoRemove obsolete FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:21 +0000 (00:47 +0000)]
Remove obsolete FIXMEs

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

16 years agoRemove debug printfs
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:05 +0000 (00:47 +0000)]
Remove debug printfs

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

16 years agoAdd some FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:48 +0000 (00:46 +0000)]
Add some FIXMEs

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

16 years agoOn error when loading a folder, use the raw error message instead of commenting it up
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:31 +0000 (00:46 +0000)]
On error when loading a folder, use the raw error message instead of commenting it up

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

16 years agoClear the current_folder_path if loading yields an error
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:14 +0000 (00:46 +0000)]
Clear the current_folder_path if loading yields an error

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