]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years ago2.13.0
Matthias Clasen [Thu, 21 Feb 2008 18:03:04 +0000 (18:03 +0000)]
2.13.0

svn path=/trunk/; revision=19628

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

svn path=/trunk/; revision=19626

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

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

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

svn path=/trunk/; revision=19625

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

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

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

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

svn path=/trunk/; revision=19622

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

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

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

svn path=/trunk/; revision=19619

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

svn path=/trunk/; revision=19617

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

svn path=/trunk/; revision=19615

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

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

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

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

svn path=/trunk/; revision=19614

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

svn path=/trunk/; revision=19613

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

svn path=/trunk/; revision=19612

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

svn path=/trunk/; revision=19611

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

svn path=/trunk/; revision=19610

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

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

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

svn path=/trunk/; revision=19607

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

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

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

svn path=/trunk/; revision=19605

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

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

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

svn path=/trunk/; revision=19604

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

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

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

svn path=/trunk/; revision=19603

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

svn path=/trunk/; revision=19602

16 years agoAdd state to the scroll event (bug #516757, Paul Davis).
Richard Hult [Sat, 16 Feb 2008 09:49:52 +0000 (09:49 +0000)]
Add state to the scroll event (bug #516757, Paul Davis).

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

* gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
to the scroll event (bug #516757, Paul Davis).

svn path=/trunk/; revision=19598

16 years agoLook at a patch
Matthias Clasen [Sat, 16 Feb 2008 07:01:40 +0000 (07:01 +0000)]
Look at a patch

svn path=/trunk/; revision=19597

16 years agoShow the URI in a tooltip. (#505480, Teppo Turtiainen)
Matthias Clasen [Sat, 16 Feb 2008 05:28:22 +0000 (05:28 +0000)]
Show the URI in a tooltip. (#505480, Teppo Turtiainen)

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

        * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
        Teppo Turtiainen)

svn path=/trunk/; revision=19596

16 years agoDon't install private headers. (#463510)
Matthias Clasen [Sat, 16 Feb 2008 04:33:48 +0000 (04:33 +0000)]
Don't install private headers. (#463510)

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

        * gdk/Makefile.am: Don't install private headers. (#463510)

        * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
        the installed header gdkprivate.h.

svn path=/trunk/; revision=19595

16 years agoPrevent a crash with hidden, reorderable tabs. (#513230, Mike Massonnet,
Matthias Clasen [Sat, 16 Feb 2008 04:09:15 +0000 (04:09 +0000)]
Prevent a crash with hidden, reorderable tabs. (#513230, Mike Massonnet,

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

        * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
        a crash with hidden, reorderable tabs.  (#513230,
        Mike Massonnet, patch by Carlos Garnacho)

svn path=/trunk/; revision=19593

16 years agoWarn on duplicate action group names. (#501746, Christian Persch)
Matthias Clasen [Sat, 16 Feb 2008 03:43:38 +0000 (03:43 +0000)]
Warn on duplicate action group names. (#501746, Christian Persch)

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

        * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
        Warn on duplicate action group names.  (#501746, Christian
        Persch)

svn path=/trunk/; revision=19592

16 years agoFix builddir!=srcdir builds. (#516254, Yevgen Muntyan)
Matthias Clasen [Sat, 16 Feb 2008 02:39:20 +0000 (02:39 +0000)]
Fix builddir!=srcdir builds. (#516254, Yevgen Muntyan)

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

        * gtk/Makefile.am:
        * modules/other/gail/tests/Makefile.am:
        * modules/other/gail/libgail-util/Makefile.am:
        * modules/other/gail/Makefile.am: Fix builddir!=srcdir
        builds.  (#516254,  Yevgen Muntyan)

svn path=/trunk/; revision=19591

16 years agoUse gtk_drag_*_add_{text,uri}_targets instead of hardcoded target tables.
Matthias Clasen [Sat, 16 Feb 2008 02:31:33 +0000 (02:31 +0000)]
Use gtk_drag_*_add_{text,uri}_targets instead of hardcoded target tables.

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

        * gtk/gtkentry.c:
        * gtk/gtkfilesel.c:
        * gtk/gtklabel.c:
        * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
        instead of hardcoded target tables.  (#516092, Christian Persch)

svn path=/trunk/; revision=19590

16 years agoDon't add the same target atom twice. (#516087, Christian Persch)
Matthias Clasen [Sat, 16 Feb 2008 01:37:47 +0000 (01:37 +0000)]
Don't add the same target atom twice. (#516087, Christian Persch)

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

        * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
        add the same target atom twice.  (#516087, Christian Persch)

svn path=/trunk/; revision=19589

16 years agoAdd a --backend option. (#516073, Christian Persch)
Matthias Clasen [Sat, 16 Feb 2008 01:23:18 +0000 (01:23 +0000)]
Add a --backend option. (#516073, Christian Persch)

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

        * tests/testfilechooser.c: Add a --backend option.
        (#516073, Christian Persch)

svn path=/trunk/; revision=19588

16 years agoAdd debugging code to highlight a gdkwindow.
Richard Hult [Sat, 16 Feb 2008 00:27:29 +0000 (00:27 +0000)]
Add debugging code to highlight a gdkwindow.

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

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
gdkwindow.

svn path=/trunk/; revision=19587

16 years agoGo back to 2.13.0 as version for now, as there was no consensus to do the
Matthias Clasen [Fri, 15 Feb 2008 23:42:42 +0000 (23:42 +0000)]
Go back to 2.13.0 as version for now, as there was no consensus to do the

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

        * configure.in: Go back to 2.13.0 as version for now,
        as there was no consensus to do the jump.

        * many other places: Update Since: tags.

svn path=/trunk/; revision=19586

16 years agoAdd gtk_tool_shell_get_type
Matthias Clasen [Fri, 15 Feb 2008 23:13:30 +0000 (23:13 +0000)]
Add gtk_tool_shell_get_type

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

        * gtk/gtk.symbols: Add gtk_tool_shell_get_type

        * gtk/gtktestutils.c: Don't generate unnecessary PLT entries

svn path=/trunk/; revision=19585

16 years agoFix up export of gdk_pixbuf_non_anim_get_type.
Matthias Clasen [Fri, 15 Feb 2008 22:50:46 +0000 (22:50 +0000)]
Fix up export of gdk_pixbuf_non_anim_get_type.

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

        * gdk-pixbuf-animation.h:
        * gdk-pixbuf.symbols: Fix up export of gdk_pixbuf_non_anim_get_type.

svn path=/trunk/; revision=19584

16 years agoUpdates
Matthias Clasen [Fri, 15 Feb 2008 21:55:07 +0000 (21:55 +0000)]
Updates

svn path=/trunk/; revision=19583

16 years agoUpdated French translation (synced with gtk-2-12).
Claude Paroz [Fri, 15 Feb 2008 21:23:06 +0000 (21:23 +0000)]
Updated French translation (synced with gtk-2-12).

2008-02-15  Claude Paroz  <claude@2xlibre.net>

* fr.po: Updated French translation (synced with gtk-2-12).

svn path=/trunk/; revision=19582

16 years agoAdapt to the change to use frame instead of bounds when resizing windows.
Richard Hult [Fri, 15 Feb 2008 19:06:49 +0000 (19:06 +0000)]
Adapt to the change to use frame instead of bounds when resizing windows.

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

* gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
instead of bounds when resizing windows.

svn path=/trunk/; revision=19580

16 years agoFix a small doc issues.
Matthias Clasen [Fri, 15 Feb 2008 19:02:44 +0000 (19:02 +0000)]
Fix a small doc issues.

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

        * gdk/x11/gdkkeys-x11.c:
        * gdk/x11/gdkcolor-x11.c:
        * gdk/gdkpolyreg-generic.c: Fix a small doc issues.

svn path=/trunk/; revision=19579

16 years agoUpdates
Matthias Clasen [Fri, 15 Feb 2008 19:01:39 +0000 (19:01 +0000)]
Updates

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

        * gdk/gdk-docs.xml:
        * gdk/gdk-sections.txt: Updates

svn path=/trunk/; revision=19578

16 years agoDocumentation fixes
Matthias Clasen [Fri, 15 Feb 2008 18:37:34 +0000 (18:37 +0000)]
Documentation fixes

svn path=/trunk/; revision=19577

16 years agoDon't leak Registry key handles. (#516578)
Tor Lillqvist [Fri, 15 Feb 2008 00:26:40 +0000 (00:26 +0000)]
Don't leak Registry key handles. (#516578)

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

* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
leak Registry key handles. (#516578)

svn path=/trunk/; revision=19572

16 years agoUsing makeKeyWindow unfortunately doesn't work in all cases, we must use
Richard Hult [Thu, 14 Feb 2008 21:48:41 +0000 (21:48 +0000)]
Using makeKeyWindow unfortunately doesn't work in all cases, we must use

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

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
makeKeyWindow unfortunately doesn't work in all cases, we must use
makeKeyAndOrderFront.

svn path=/trunk/; revision=19568

16 years agoMake sure we leave fullscreen mode if the window is hidden.
Richard Hult [Thu, 14 Feb 2008 21:41:59 +0000 (21:41 +0000)]
Make sure we leave fullscreen mode if the window is hidden.

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

* gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
(gdk_window_hide), (gdk_window_fullscreen),
(gdk_window_unfullscreen): Make sure we leave fullscreen mode if
the window is hidden.

svn path=/trunk/; revision=19567

16 years agoSet frame, not bounds when resizing to be consistent and to avoid
Richard Hult [Thu, 14 Feb 2008 21:34:54 +0000 (21:34 +0000)]
Set frame, not bounds when resizing to be consistent and to avoid

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

* gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
resizing to be consistent and to avoid introducing an internal
transform in the view.

svn path=/trunk/; revision=19566

16 years agoCoding style fix.
Richard Hult [Thu, 14 Feb 2008 15:51:13 +0000 (15:51 +0000)]
Coding style fix.

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

* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
fix.

svn path=/trunk/; revision=19565

16 years agogdk/gdktestutils.h Remove ; trailing G_BEGIN/END_DECLS
Johan Dahlin [Thu, 14 Feb 2008 15:48:35 +0000 (15:48 +0000)]
gdk/gdktestutils.h Remove ; trailing G_BEGIN/END_DECLS

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

    * gdk/gdktestutils.h
    * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS

svn path=/trunk/; revision=19564

16 years agoUpdated assamese translations
Amitakhya Phukan [Thu, 14 Feb 2008 09:54:02 +0000 (09:54 +0000)]
Updated assamese translations

svn path=/trunk/; revision=19563

16 years agoTypo fix
Christian Persch [Wed, 13 Feb 2008 19:24:10 +0000 (19:24 +0000)]
Typo fix

svn path=/trunk/; revision=19562

16 years agoRemove unused variables. (gtk_clipboard_set_contents),
Richard Hult [Wed, 13 Feb 2008 15:36:18 +0000 (15:36 +0000)]
Remove unused variables. (gtk_clipboard_set_contents),

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

* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
Remove unused variables.
(gtk_clipboard_set_contents),
(gtk_clipboard_get_owner), (clipboard_unset),
(gtk_clipboard_request_targets): Notify the previous clipboard
owner when the owner changes. Fixes bug #493406.

svn path=/trunk/; revision=19560

16 years agoCorrect description of the Wintab and max palette size options. Drop
Tor Lillqvist [Wed, 13 Feb 2008 14:21:28 +0000 (14:21 +0000)]
Correct description of the Wintab and max palette size options. Drop

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

* gtk/windows.sgml: Correct description of the Wintab and max
palette size options. Drop obsolete Win9x stuff.

svn path=/trunk/; revision=19558

16 years agoFix the return value (return number of colors that failed), and handle
Richard Hult [Wed, 13 Feb 2008 14:20:51 +0000 (14:20 +0000)]
Fix the return value (return number of colors that failed), and handle

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

* gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
the return value (return number of colors that failed), and handle
RGBA colormap.
(gdk_colormap_free_colors): Fix typo in comment.

svn path=/trunk/; revision=19557

16 years agoonly queue a redraw if the rubber banding has actually been active.
Kristian Rietveld [Wed, 13 Feb 2008 11:53:35 +0000 (11:53 +0000)]
only queue a redraw if the rubber banding has actually been active.

2008-02-13  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
queue a redraw if the rubber banding has actually been active.

svn path=/trunk/; revision=19556

16 years agoUpdated Telugu translation done by Krishna Babu K <kkrothap@redhat.com>.
Sunil Mohan Adapa [Wed, 13 Feb 2008 08:54:36 +0000 (08:54 +0000)]
Updated Telugu translation done by Krishna Babu K <kkrothap@redhat.com>.

2008-02-13  Sunil Mohan Adapa  <sunilmohan@fsf.org.in>

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

svn path=/trunk/; revision=19553

16 years agoFix some i18n errors. Pointed out by Behdad Esfahbod.
Matthias Clasen [Tue, 12 Feb 2008 22:43:35 +0000 (22:43 +0000)]
Fix some i18n errors. Pointed out by Behdad Esfahbod.

2008-02-12  Matthias Clasen  <mclasne@redhat.com>

        * gtk/gtkpapersize.c:
        * gtk/gtkprintoperation.c:
        * gtk/gtkvolumebutton.c:
        * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
        out by Behdad Esfahbod.

svn path=/trunk/; revision=19547

16 years agoFix 419737 - don't focus the file list when activating a shortcut in the file chooser
Federico Mena Quintero [Tue, 12 Feb 2008 19:32:17 +0000 (19:32 +0000)]
Fix 419737 - don't focus the file list when activating a shortcut in the file chooser
2008-02-12  Federico Mena Quintero  <federico@novell.com>

Merged from gtk-2-12:

Don't focus the file list when shortcuts get activated.  This
removes a lot of ambiguity in when the file selection should
change, and makes the overall code flow simpler.

This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
file/save dialog clears the filename entry when changing
directories.

Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
focus should not go to the file list when a shortcut is activated.

* gtk/gtkfilechooserdefault.c
(shortcuts_activate_volume_mount_cb): Don't focus the file list
(shortcuts_activate_get_info_cb): Likewise.

* gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
the file list (this was the last place where we would focus the
file list explicitly).  If you are in the location entry, for
example, you don't want Alt-Home to take you to the file list; you
just want the current folder to change.  Thanks to Olle Bergkvist
<olle.bergkvist@yahoo.se> for pointing this out in
http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
(focus_browse_tree_view_if_possible): Removed.

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

16 years agoSkip exensions when selecting filenames in the save-as dialog. (#362516,
Matthias Clasen [Tue, 12 Feb 2008 17:34:43 +0000 (17:34 +0000)]
Skip exensions when selecting filenames in the save-as dialog. (#362516,

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

        Skip exensions when selecting filenames in the save-as dialog.
        (#362516, Carlos Garnacho)

        * gtk/gtkfilechooserentry.h:
        * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
        New function to skip the extension part when selecting a filename.
        (_gtk_file_chooser_entry_set_base_folder): Use it here.

        * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
        ...and here.

svn path=/trunk/; revision=19540

16 years agoFix state change reporting for accessibility. (#499835, Rich Burridge,
Matthias Clasen [Tue, 12 Feb 2008 16:43:04 +0000 (16:43 +0000)]
Fix state change reporting for accessibility. (#499835, Rich Burridge,

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

        * gtk/gtkiconview.c: Fix state change reporting for
        accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)

svn path=/trunk/; revision=19538

16 years agoSet the default value of the :show-not-found property to TRUE, as every
Emmanuele Bassi [Tue, 12 Feb 2008 16:38:00 +0000 (16:38 +0000)]
Set the default value of the :show-not-found property to TRUE, as every

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

* gtk/gtkrecentchooser.c:
(gtk_recent_chooser_class_init): Set the default value of the
:show-not-found property to TRUE, as every implementation sets
it to TRUE already.

* gtk/gtkrecentchooserdefault.c:
(_gtk_recent_chooser_default_init): Sync show_tips to the
default value of the :show-tips property.

svn path=/trunk/; revision=19535

16 years agoDon't let the width or height go below 1. (#516024, Christian Persch)
Matthias Clasen [Tue, 12 Feb 2008 16:35:02 +0000 (16:35 +0000)]
Don't let the width or height go below 1. (#516024, Christian Persch)

2008-02-12  Matthias Clasen  <mclasne@redhat.com>

        * gdk-pixbuf-io.c (at_scale_size_prepared_cb): Don't let
        the width or height go below 1.  (#516024, Christian Persch)

svn path=/trunk/; revision=19534

16 years agoUse GSlice for GtkSelectionData. (#515060, Christian Persch)
Matthias Clasen [Tue, 12 Feb 2008 16:10:39 +0000 (16:10 +0000)]
Use GSlice for GtkSelectionData. (#515060, Christian Persch)

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

        * gtk/gtkclipboard-quartz.c:
        * gtkquartz.c:
        * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
        Christian Persch)

svn path=/trunk/; revision=19533

16 years agoguard against people deleting the row in question in the selection-changed
Kristian Rietveld [Tue, 12 Feb 2008 15:58:25 +0000 (15:58 +0000)]
guard against people deleting the row in question in the selection-changed

2008-02-12  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
(gtk_tree_view_real_toggle_cursor_row): guard against people
deleting the row in question in the selection-changed callback.
(#514621, Andreas Koehler).

svn path=/trunk/; revision=19530

16 years agoUnify the handling of various "Enter" keysyms all over the place.
Matthias Clasen [Tue, 12 Feb 2008 15:51:09 +0000 (15:51 +0000)]
Unify the handling of various "Enter" keysyms all over the place.

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

        * gtk/*.c: Unify the handling of various "Enter" keysyms
        all over the place.  (#515047, Christian Persch)

svn path=/trunk/; revision=19528

16 years agoUse g_value_set_static_string() where appropriate. (#515042, Christian
Matthias Clasen [Tue, 12 Feb 2008 15:41:30 +0000 (15:41 +0000)]
Use g_value_set_static_string() where appropriate. (#515042, Christian

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

        * gtk/gtkfilesystemmodel.c:
        * gtk/gtkprinter.c:
        * gtk/gtkwidget.c: Use g_value_set_static_string() where
        appropriate.  (#515042, Christian Persch)

svn path=/trunk/; revision=19527

16 years agoFix a memory leak (#515039, Christian Persch)
Matthias Clasen [Tue, 12 Feb 2008 15:38:47 +0000 (15:38 +0000)]
Fix a memory leak (#515039, Christian Persch)

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

        * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)

svn path=/trunk/; revision=19526

16 years agoFix a memory leak (#515038, Christian Persch)
Matthias Clasen [Tue, 12 Feb 2008 15:24:57 +0000 (15:24 +0000)]
Fix a memory leak (#515038, Christian Persch)

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

        * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)

svn path=/trunk/; revision=19525

16 years agoUse gtk_selection_data_set_uris() instead of doing it by hand. (#514890,
Matthias Clasen [Tue, 12 Feb 2008 15:07:38 +0000 (15:07 +0000)]
Use gtk_selection_data_set_uris() instead of doing it by hand. (#514890,

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

        * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
        (recent_model_sort_drag_data_get):
        (search_model_sort_drag_data_get):
        * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
        * gtk/gtkpathbar.c (button_drag_data_get_cb):
        Use gtk_selection_data_set_uris() instead of doing it
        by hand.  (#514890, Christian Persch)

svn path=/trunk/; revision=19524

16 years ago#include "gtkmain.h" for gtk_get_current_event_time().
Michael Natterer [Tue, 12 Feb 2008 10:26:42 +0000 (10:26 +0000)]
#include "gtkmain.h" for gtk_get_current_event_time().

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

* gtk/gtkstatusicon.c: #include "gtkmain.h" for
gtk_get_current_event_time().

svn path=/trunk/; revision=19522

16 years agosimply use gtk_window_get_key_hash() to get the hash instead of manually
Michael Natterer [Tue, 12 Feb 2008 10:02:46 +0000 (10:02 +0000)]
simply use gtk_window_get_key_hash() to get the hash instead of manually

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

* gtk/gtkwindow.c (gtk_window_activate_key): simply use
gtk_window_get_key_hash() to get the hash instead of manually
fiddling with quarks and gtk_window_keys_changed(). Also add
g_return_if_fail() to this public function.

svn path=/trunk/; revision=19521

16 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Tue, 12 Feb 2008 09:36:18 +0000 (09:36 +0000)]
updated si.po

svn path=/trunk/; revision=19520

16 years agoadded si.po
SANDRA MARAKKALA DANISHKA NAVIN [Tue, 12 Feb 2008 09:35:30 +0000 (09:35 +0000)]
added si.po

svn path=/trunk/; revision=19519

16 years agoUpdated German translation.
Hendrik Richter [Tue, 12 Feb 2008 09:34:01 +0000 (09:34 +0000)]
Updated German translation.

2008-02-12  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=19518

16 years agoFix the build
Matthias Clasen [Tue, 12 Feb 2008 03:48:09 +0000 (03:48 +0000)]
Fix the build

svn path=/trunk/; revision=19517

16 years agoSupport keynav in status icons. (#473786, Li Yuan)
Matthias Clasen [Tue, 12 Feb 2008 03:24:03 +0000 (03:24 +0000)]
Support keynav in status icons. (#473786, Li Yuan)

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

        Support keynav in status icons.  (#473786, Li Yuan)

        * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.

        * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.

svn path=/trunk/; revision=19515

16 years agogtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder) plug leak wrt. link
Kristian Rietveld [Mon, 11 Feb 2008 15:06:57 +0000 (15:06 +0000)]
gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder) plug leak wrt. link

2008-02-11  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
* gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
wrt. link deletion from list; contination of fix for #503569.

svn path=/trunk/; revision=19513

16 years agoremove SGML comment in example code - it was visible in the generated
Benjamin Otte [Mon, 11 Feb 2008 11:01:59 +0000 (11:01 +0000)]
remove SGML comment in example code - it was visible in the generated

2008-02-11  Benjamin Otte  <otte@gnome.org>

* gdk/tmpl/windows.sgml:
remove SGML comment in example code - it was visible in the generated
HTML.

svn path=/trunk/; revision=19512

16 years agoRevert spurious commit on GtkLinkButton
Emmanuele Bassi [Mon, 11 Feb 2008 09:55:29 +0000 (09:55 +0000)]
Revert spurious commit on GtkLinkButton

svn path=/trunk/; revision=19510

16 years agoSet no-show-all flag on the placeholder menu item.
Emmanuele Bassi [Mon, 11 Feb 2008 09:54:09 +0000 (09:54 +0000)]
Set no-show-all flag on the placeholder menu item.

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

* gtk/gtkrecentchoosermenu.c:
(gtk_recent_chooser_menu_constructor): Set no-show-all flag
on the placeholder menu item.

* tests/testrecentchoosermenu.c:
(create_recent_chooser_menu): Use gtk_widget_show_all() to test
whether the placeholder menu item gets shown.

svn path=/trunk/; revision=19509

16 years agoCheck the return value of _gtk_file_chooser_get_file_system () for NULL
Cody Russell [Mon, 11 Feb 2008 01:51:14 +0000 (01:51 +0000)]
Check the return value of _gtk_file_chooser_get_file_system () for NULL

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

        * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
        Check the return value of _gtk_file_chooser_get_file_system () for
        NULL before passing it to gtk_file_system_path_to_uri ().
        (#515667, Francesco Montorsi)

svn path=/trunk/; revision=19508

16 years agoImprove the documentation for gtk_builder_connect_signals. (#514471)
Philip Withnall [Sun, 10 Feb 2008 06:59:52 +0000 (06:59 +0000)]
Improve the documentation for gtk_builder_connect_signals. (#514471)

2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>

* gtk/gtkbuilder.c: Improve the documentation for
gtk_builder_connect_signals. (#514471)

svn path=/trunk/; revision=19507

16 years agoTry harder to return pixbufs of the requested size. (#494515, Mike
Matthias Clasen [Sun, 10 Feb 2008 06:27:46 +0000 (06:27 +0000)]
Try harder to return pixbufs of the requested size. (#494515, Mike

2008-02-10  Matthias Clasen  <mclasne@redhat.com>

        * gdk-pixbuf-scaled-anim.c: Try harder to return pixbufs
        of the requested size.  (#494515, Mike Morrison)

svn path=/trunk/; revision=19504

16 years agoPropagate local-only. (#511987, Jonh Wendell)
Matthias Clasen [Sun, 10 Feb 2008 06:14:59 +0000 (06:14 +0000)]
Propagate local-only. (#511987, Jonh Wendell)

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

        * gtk/gtkrecentaction.c: Propagate local-only.  (#511987,
        Jonh Wendell)

svn path=/trunk/; revision=19503

16 years agoRemoved an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
Cody Russell [Sat, 9 Feb 2008 04:03:25 +0000 (04:03 +0000)]
Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)

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

        * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
        Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)

svn path=/trunk/; revision=19502

16 years agoUpdated German translation.
Hendrik Richter [Fri, 8 Feb 2008 19:39:40 +0000 (19:39 +0000)]
Updated German translation.

2008-02-08  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=19501

16 years agoIgnore the delta from the NSEvent for now, generating multiple scroll
Richard Hult [Fri, 8 Feb 2008 19:08:40 +0000 (19:08 +0000)]
Ignore the delta from the NSEvent for now, generating multiple scroll

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

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
delta from the NSEvent for now, generating multiple scroll events
results in a lot of events getting queued up and things get really
slow.

svn path=/trunk/; revision=19499

16 years agoAdjust the code to match the documentation, examples, "common sense" and
Sven Herzberg [Fri, 8 Feb 2008 00:25:50 +0000 (00:25 +0000)]
Adjust the code to match the documentation, examples, "common sense" and

2008-02-08  Sven Herzberg  <sven@imendio.com>

Adjust the code to match the documentation, examples, "common sense"
and existing applications.

* gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
that a GtkMenu for a <popup> element doesn't have to have a GtkAction
assigned

svn path=/trunk/; revision=19497

16 years agoupdated hebrew translation
Yair Hershkovitz [Thu, 7 Feb 2008 23:25:12 +0000 (23:25 +0000)]
updated hebrew translation

svn path=/trunk/; revision=19496

16 years agogdk/win32/gdkevents-win32.c Fixed two declarations in the middle of a
Cody Russell [Thu, 7 Feb 2008 19:25:07 +0000 (19:25 +0000)]
gdk/win32/gdkevents-win32.c Fixed two declarations in the middle of a

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

        * gdk/win32/gdkevents-win32.c
        * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
        of a block that were causing compile problems on old
        compilers. (#515053, reported by Kazuki IWAMOTO)

svn path=/trunk/; revision=19493

16 years agogtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c
Michael Natterer [Thu, 7 Feb 2008 16:59:42 +0000 (16:59 +0000)]
gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c

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

* gtk/gtkcellview.c
* gtk/gtklabel.c
* gtk/gtklayout.c
* gtk/gtklist.c
* gtk/gtkmenu.c
* gtk/gtkmenushell.c
* gtk/gtkmisc.c
* gtk/gtkoptionmenu.c
* gtk/gtkplug.c
* gtk/gtkpreview.c
* gtk/gtkprogress.c
* gtk/gtkradiomenuitem.c
* gtk/gtkscale.c
* gtk/gtkscrolledwindow.c
* gtk/gtksocket.c: remove g_return_if_fail() from private
functions and virtual function implementations.

svn path=/trunk/; revision=19492

16 years agogtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.c
Michael Natterer [Thu, 7 Feb 2008 15:50:39 +0000 (15:50 +0000)]
gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.c

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

* gtk/gtkaction.c
* gtk/gtkassistant.c
* gtk/gtkbin.c
* gtk/gtkbox.c
* gtk/gtkcalendar.c
* gtk/gtkcellrenderercombo.c
* gtk/gtkcombobox.c
* gtk/gtkcombo.c
* gtk/gtkdrawingarea.c
* gtk/gtkentrycompletion.c
* gtk/gtkfixed.h
* gtk/gtkgamma.c
* gtk/gtkhpaned.c
* gtk/gtkiconview.c
* gtk/gtkitem.c
* gtk/gtkitemfactory.c: remove g_return_if_fail() from private
functions and virtual function implementations.

svn path=/trunk/; revision=19491

16 years agoUpdated Russian translation by Anton Shestakov <engored@ya.ru>
Nickolay V. Shmyrev [Thu, 7 Feb 2008 06:47:50 +0000 (06:47 +0000)]
Updated Russian translation by Anton Shestakov <engored@ya.ru>

2008-02-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* ru.po: Updated Russian translation by
Anton Shestakov <engored@ya.ru>

svn path=/trunk/; revision=19489

16 years agoIf the pixbuf has an alpha channel, use gdk_draw_rgb_32_image to draw it
Christian Persch [Wed, 6 Feb 2008 23:08:07 +0000 (23:08 +0000)]
If the pixbuf has an alpha channel, use gdk_draw_rgb_32_image to draw it

2008-02-07  Christian Persch  <chpe@gnome.org>

* gdk/gdkpixbuf-render.c:
(gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
otherwise there will be random pixel values in the semi-transparent
area of the pixbuf within the mask. Bug #487865.

svn path=/trunk/; revision=19488

16 years agoAlso check that the window is not mapped.
Cody Russell [Wed, 6 Feb 2008 17:01:47 +0000 (17:01 +0000)]
Also check that the window is not mapped.

svn path=/trunk/; revision=19485

16 years agoCheck if the window is a temp window, otherwise things get wonky when you
Cody Russell [Wed, 6 Feb 2008 16:32:41 +0000 (16:32 +0000)]
Check if the window is a temp window, otherwise things get wonky when you

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

        * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
        otherwise things get wonky when you click on a menu.  This fixes
        a regression caused in #505928.  Thanks to Tor for spotting this
        one!  (#514789)

svn path=/trunk/; revision=19482

16 years agogtk/gtkcontainer.c gtk/gtkexpander.c gtk/gtkframe.c gtk/gtklabel.c
Michael Natterer [Wed, 6 Feb 2008 09:53:34 +0000 (09:53 +0000)]
gtk/gtkcontainer.c gtk/gtkexpander.c gtk/gtkframe.c gtk/gtklabel.c

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

* gtk/gtkcontainer.c
* gtk/gtkexpander.c
* gtk/gtkframe.c
* gtk/gtklabel.c
* gtk/gtkmain.c
* gtk/gtkmenu.c
* gtk/gtkmenuitem.c
* gtk/gtkmenushell.c
* gtk/gtknotebook.c
* gtk/gtkseparatortoolitem.c
* gtk/gtksocket.c
* gtk/gtktextlayout.c
* gtk/gtktoggletoolbutton.c
* gtk/gtktoolbutton.c
* gtk/gtktoolitem.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
"GTK_IS_FOO (foo)".

svn path=/trunk/; revision=19481

16 years agoAllow to store half-open ranges.
Matthias Clasen [Wed, 6 Feb 2008 04:04:07 +0000 (04:04 +0000)]
Allow to store half-open ranges.

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

        * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
        Allow to store half-open ranges.

svn path=/trunk/; revision=19479

16 years agoWalk down the stack until we get to a window that is mapped. Otherwise
Cody Russell [Tue, 5 Feb 2008 23:46:35 +0000 (23:46 +0000)]
Walk down the stack until we get to a window that is mapped. Otherwise

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

        * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
        down the stack until we get to a window that is mapped.
        Otherwise hiding a window will cause all windows in the app
        to be blocked. (#514643)

svn path=/trunk/; revision=19477

16 years agoFix typo in ChangeLog
Xan Lopez [Tue, 5 Feb 2008 22:55:09 +0000 (22:55 +0000)]
Fix typo in ChangeLog

svn path=/trunk/; revision=19474

16 years agoIgnore images in the toplevel theme directory, avoiding one source of
Matthias Clasen [Tue, 5 Feb 2008 22:20:12 +0000 (22:20 +0000)]
Ignore images in the toplevel theme directory, avoiding one source of

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

        * gtk/updateiconcache.c: Ignore images in the toplevel theme
        directory, avoiding one source of invalid caches that has been
        spotted in the wild.

svn path=/trunk/; revision=19466

16 years agoFix the build
Matthias Clasen [Tue, 5 Feb 2008 21:43:26 +0000 (21:43 +0000)]
Fix the build

svn path=/trunk/; revision=19465

16 years agoInstall a printerr handler that prepends the program name, since
Matthias Clasen [Tue, 5 Feb 2008 18:35:54 +0000 (18:35 +0000)]
Install a printerr handler that prepends the program name, since

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

        * gtk/updateiconcache.c: Install a printerr handler that
        prepends the program name, since gtk-update-icon-cache output
        often appears in the middle of other output, e.g. rpm update logs.

svn path=/trunk/; revision=19464

16 years agogdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c
Cody Russell [Tue, 5 Feb 2008 16:47:24 +0000 (16:47 +0000)]
gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c

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

        * gdk/win32/gdkprivate-win32.h
        * gdk/win32/gdkevents-win32.c
        * gdk/win32/gdkwindow-win32.c
        * gdk/win32/gdkwindow-win32.h
        * gdk/win32/gdkwin32.h:
        Modal window rework.  (#455627 and #511111)

svn path=/trunk/; revision=19463

16 years agog_return_if_fail() is the cell is not part of the combo instead of
Michael Natterer [Mon, 4 Feb 2008 23:01:00 +0000 (23:01 +0000)]
g_return_if_fail() is the cell is not part of the combo instead of

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

* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
g_return_if_fail() is the cell is not part of the combo instead of
crashing in the next line.

svn path=/trunk/; revision=19462

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Mon, 4 Feb 2008 12:33:35 +0000 (12:33 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=19461