]> Pileus Git - ~andy/gtk/log
~andy/gtk
15 years agoUpdated Japanese translation.
Takeshi AIHANA [Sat, 7 Feb 2009 11:56:09 +0000 (11:56 +0000)]
Updated Japanese translation.

2009-02-07  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=22292

15 years ago Make the new GtkAction code work with PolicyKit-gnome's use of actions.
Matthias Clasen [Sat, 7 Feb 2009 03:17:43 +0000 (03:17 +0000)]
    Make the new GtkAction code work with PolicyKit-gnome's use of actions.

        * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
        the action.

        * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
        * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
        * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
        Work with non-toggle actions without complaining.

        * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
        the icon-name should not remove the label.

        * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
        update the image when the icon name is set to NULL.

svn path=/trunk/; revision=22290

15 years agoAccept a NULL string.
Matthew Barnes [Fri, 6 Feb 2009 15:49:26 +0000 (15:49 +0000)]
Accept a NULL string.

2009-02-06  Matthew Barnes  <mbarnes@redhat.com>

* gtk/gtklabel.c (gtk_label_set_label): Accept a NULL string.

svn path=/trunk/; revision=22289

15 years agoTranslation updated.
Gabor Kelemen [Fri, 6 Feb 2009 13:14:44 +0000 (13:14 +0000)]
Translation updated.

2009-02-06  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=22288

15 years agoAdd online urls for library.gnome.org. This allows other docs to do
Stefan Kost [Fri, 6 Feb 2009 08:16:22 +0000 (08:16 +0000)]
Add online urls for library.gnome.org. This allows other docs to do

* gdk-pixbuf/gdk-pixbuf.sgml:
* gdk/gdk-docs.sgml:
* gtk/gtk-docs.sgml:
* libgail-util/gail-libgail-util-docs.sgml:
  Add online urls for library.gnome.org. This allows other docs to do
          gtkdoc-rebase --online --html-dir=html
          before publishing docs and have working xrefs.
          Whitespece cleanup for gdk/gdk-docs.sgml.

svn path=/trunk/; revision=22287

15 years agoTranslation updated.
Gabor Kelemen [Thu, 5 Feb 2009 18:59:31 +0000 (18:59 +0000)]
Translation updated.

2009-02-05  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=22286

15 years agoUpdated Danish translation
Kenneth Nielsen [Thu, 5 Feb 2009 00:50:36 +0000 (00:50 +0000)]
Updated Danish translation

svn path=/trunk/; revision=22285

15 years agoUpdated Polish translation
Tomasz Dominikowski [Wed, 4 Feb 2009 16:48:02 +0000 (16:48 +0000)]
Updated Polish translation

2009-02-04  Tomasz Dominikowski  <tdominikowski@aviary.pl>

* pl.po: Updated Polish translation

svn path=/trunk/; revision=22284

15 years agoCommitted Gujarati Translation.
Sweta Kothari [Wed, 4 Feb 2009 16:47:46 +0000 (16:47 +0000)]
Committed Gujarati Translation.

2009-02-04  Sweta Kothari  <swkothar@redhat.com>

* gu.po: Committed Gujarati Translation.

svn path=/trunk/; revision=22283

15 years agoUpdated translation in gujarati
Sweta Kothari [Wed, 4 Feb 2009 09:27:30 +0000 (09:27 +0000)]
Updated translation in gujarati

svn path=/trunk/; revision=22282

15 years agoCommitted Translation by Sweta Kothari
Sweta Kothari [Wed, 4 Feb 2009 08:29:44 +0000 (08:29 +0000)]
Committed Translation by Sweta Kothari

svn path=/trunk/; revision=22281

15 years agoBug 570406 - gailutil.def is in srcdir, but used from builddir
Tor Lillqvist [Wed, 4 Feb 2009 08:20:11 +0000 (08:20 +0000)]
Bug 570406 - gailutil.def is in srcdir, but used from builddir

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

Bug 570406 - gailutil.def is in srcdir, but used from builddir

* libgail-util/Makefile.am: Use gailutil.def from srcdir. Drop
useless rules to install/uninstall import libraries, libtool knows
to install / uninstall them itself when installing / uninstalling
a .la file. Add rules to install / uninstall the def file like for
consistency, like with the other libraries in GTK+.

svn path=/trunk/; revision=22280

15 years agoCommitted Translation by Sweta Kothari
Sweta Kothari [Wed, 4 Feb 2009 06:10:38 +0000 (06:10 +0000)]
Committed Translation by Sweta Kothari

svn path=/trunk/; revision=22278

15 years agoSet the root coordinates in the event correctly. Patch by Kristian
Matthias Clasen [Wed, 4 Feb 2009 01:16:35 +0000 (01:16 +0000)]
Set the root coordinates in the event correctly. Patch by Kristian

        * gtk/gtktooltip.c (gtk_tooltip_trigger_query): Set the root
        coordinates in the event correctly. Patch by Kristian Rietveld.

svn path=/trunk/; revision=22277

15 years agoCommitted Translation by Sweta Kothari
Sweta Kothari [Tue, 3 Feb 2009 12:30:15 +0000 (12:30 +0000)]
Committed Translation by Sweta Kothari

svn path=/trunk/; revision=22276

15 years agobump version
Matthias Clasen [Tue, 3 Feb 2009 01:58:28 +0000 (01:58 +0000)]
bump version

svn path=/trunk/; revision=22275

15 years ago2.15.3
Matthias Clasen [Tue, 3 Feb 2009 01:55:28 +0000 (01:55 +0000)]
2.15.3

svn path=/trunk/; revision=22273

15 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 2 Feb 2009 21:12:42 +0000 (21:12 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=22272

15 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sun, 1 Feb 2009 12:23:16 +0000 (12:23 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2009-02-01  Alexander Shopov  <ash@contact.bg>

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

svn path=/trunk/; revision=22271

15 years agoChange the "gtk-fontconfig-timestamp" property from int to uint. Doesn't
Behdad Esfahbod [Sun, 1 Feb 2009 06:04:12 +0000 (06:04 +0000)]
Change the "gtk-fontconfig-timestamp" property from int to uint. Doesn't

2009-02-01  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtksettings.c (gtk_settings_class_init): Change the
        "gtk-fontconfig-timestamp" property from int to uint.  Doesn't affect
        anything in practice, except that  it overflows years later...

svn path=/trunk/; revision=22270

15 years agoBug 569635 – fontchooser should reload list of families/styles on theme
Behdad Esfahbod [Sun, 1 Feb 2009 05:26:54 +0000 (05:26 +0000)]
Bug 569635 – fontchooser should reload list of families/styles on theme

2009-02-01  Behdad Esfahbod  <behdad@gnome.org>

        Bug 569635 – fontchooser should reload list of families/styles on
        theme change

        * gtk/gtkfontsel.c (gtk_font_selection_class_init),
        (gtk_font_selection_init), (gtk_font_selection_finalize),
        (gtk_font_selection_ref_family), (gtk_font_selection_ref_face),
        (gtk_font_selection_reload_fonts),
        (gtk_font_selection_screen_changed),
        (gtk_font_selection_style_set),
        (gtk_font_selection_scroll_to_selection),
        (gtk_font_selection_scroll_on_map),
        (gtk_font_selection_select_font),
        (gtk_font_selection_show_available_fonts),
        (gtk_font_selection_show_available_styles),
        (gtk_font_selection_select_style),
        (gtk_font_selection_select_font_desc),
        (gtk_font_selection_set_font_name):
        Reload Pango families and faces in style_set.  Installing/uninstalling
        fonts shows up immediately in an open font chooser now.

svn path=/trunk/; revision=22269

15 years agoUpdates
Matthias Clasen [Sat, 31 Jan 2009 21:56:02 +0000 (21:56 +0000)]
Updates

svn path=/trunk/; revision=22267

15 years ago Bug 162726 – Multiple Latin layouts in XKB break keyboard shortcuts
Matthias Clasen [Sat, 31 Jan 2009 20:32:06 +0000 (20:32 +0000)]
    Bug 162726 – Multiple Latin layouts in XKB break keyboard shortcuts

        * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Change the handling of
        fuzzy matches: As long there are any exact matches, only exact
        matches are returned. If there are no exact matches, fuzzy matches
        will be returned, as long as they are not shadowing a possible exact
        match. This means that fuzzy matches won't be considered if their
        keyval is present in the current group. Problem reported by
        many people, patch by Simos Xenitellis.

svn path=/trunk/; revision=22266

15 years agoUpdates
Matthias Clasen [Sat, 31 Jan 2009 19:58:32 +0000 (19:58 +0000)]
Updates

svn path=/trunk/; revision=22265

15 years agoallow static jasper gdk-pixbuf loader
Fridrich Strba [Sat, 31 Jan 2009 11:41:12 +0000 (11:41 +0000)]
allow static jasper gdk-pixbuf loader

svn path=/trunk/; revision=22264

15 years ago2.15.3
Chao-Hsiung Liao [Sat, 31 Jan 2009 06:23:13 +0000 (06:23 +0000)]
2.15.3

svn path=/trunk/; revision=22263

15 years agoBe more careful with the beeps
Matthias Clasen [Sat, 31 Jan 2009 05:52:58 +0000 (05:52 +0000)]
Be more careful with the beeps

svn path=/trunk/; revision=22262

15 years agoAvoid a compiler warning. Patch by Magnus Boman.
Matthias Clasen [Sat, 31 Jan 2009 02:28:40 +0000 (02:28 +0000)]
Avoid a compiler warning. Patch by Magnus Boman.

        * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance):
        Avoid a compiler warning. Patch by Magnus Boman.

svn path=/trunk/; revision=22261

15 years agoMake sure we queue at least one resize. This fixes a problem with
Matthias Clasen [Sat, 31 Jan 2009 02:21:27 +0000 (02:21 +0000)]
Make sure we queue at least one resize. This fixes a problem with

       * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
        at least one resize. This fixes a problem with toolitems remaining
        invisible when they shouldn't that was reported by Christian Weiske.

svn path=/trunk/; revision=22260

15 years agoAlways show images.
Matthias Clasen [Sat, 31 Jan 2009 02:17:00 +0000 (02:17 +0000)]
Always show images.

        * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
        Always show images.

svn path=/trunk/; revision=22259

15 years agoUpdated Brazilian Portuguese translation.
Jonh Wendell [Fri, 30 Jan 2009 14:56:51 +0000 (14:56 +0000)]
Updated Brazilian Portuguese translation.

2009-01-30  Jonh Wendell  <jwendell@gnome.org>

* pt_BR.po: Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=22258

15 years agoUpdated Brazilian Portuguese translation by Leonardo Fontenelle.
Jonh Wendell [Fri, 30 Jan 2009 14:45:49 +0000 (14:45 +0000)]
Updated Brazilian Portuguese translation by Leonardo Fontenelle.

2009-01-30  Jonh Wendell  <jwendell@gnome.org>

* pt_BR.po: Updated Brazilian Portuguese translation by Leonardo Fontenelle.

svn path=/trunk/; revision=22257

15 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Fri, 30 Jan 2009 05:53:58 +0000 (05:53 +0000)]
Updated Thai translation.

2009-01-30  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=22256

15 years agoBug 559408 - Transparency lost when images are copied between GTK+ and the
Tor Lillqvist [Fri, 30 Jan 2009 01:16:47 +0000 (01:16 +0000)]
Bug 559408 - Transparency lost when images are copied between GTK+ and the

2009-01-29  Tor Lillqvist  <tml@novell.com>

Bug 559408 - Transparency lost when images are copied between GTK+
and the clipboard on Windows

The code in gdkselection-win32.c is simplified quite a lot. When
an image is stored on the clipboard from GTK+, only the "PNG" and
CF_DIB formats are advertised. PNG is our preferred format because
it can losslessly represent any image that gdk-pixbuf can handle,
even with alpha, unambiguously. CF_DIB is also advertised because
of its ubiquitous support in Windows software.

Delayed rendering is used as before, so for other data than text
nothing is actually stored on the clipboard until some app asks
for it.

It's pointless to advertise images formats like "image/png" or
"image/x-MS-bmp" that no other Windows application is going to
look for anyway. Likewise it's pointless to store text under
formats like "text/plain" or "UTF8_STRING". Just store
CF_UNICODETEXT. CF_TEXT will be available as a synthesized format
anyways.

Office 2007 offers and asks for images in PNG format using the
registered clipboard format name "PNG", so we do likewise. If the
"PNG" format is available that is preferred when copying to GTK+
from the clipboard.

Unfortunately Word 2007 still uses CF_DIB without handling
alpha. But PowerPoint 2007 uses PNG if available and handles alpha
correctly. Both Word and Powerpoint offer PNG with alpha nicely.

Firefox and IE7 offer images that contain alpha as 32-bit version
3 BI_RGB DIBs with the undocumented "extra" bytes actually being
alpha. Also, alpha is premultiplied into the RGB bytes, presumably
because that is how AlphaBlend() wants such DIBs. That is also
taken care of. At least for Firefox it easy to be sure that a
CF_DIB on the clipboard is from Firefox.

Also some general stylistic cleanup, comment improvements, and
improvements of debugging printout especially in the clipboard
handling. Those are not detailled below.

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkgmain-win32.c: Move some globals that were used
only in gdkselection-win32.c to be local to that file.

* gdk/win32/gdkproperty-win32.c (gdk_property_change): Don't
bother checking if text to be placed on the clipboard consists of
only ASCII.

* gdk/win32/gdkselection-win32.c: Add static variables for a list
of GdkPixbuf-supported formats, well-known registered clipboard
formats for images, and for GdkAtoms for well-known image and text
formats.

(_gdk_win32_selection_init): Initialize above static variables.

(selection_property_store) (gdk_selection_property_get)
(_gdk_selection_property_delete): Don't use a FIFO of GdkSelProps
for a window after all, it breaks testtext. See bug #163844.

(gdk_selection_convert): When converting to the TARGETS format,
i.e. when the caller wants to know what clipboard formats are
available, if PNG is available we report just that and skip
CF_DIB, JPEG and GIF even if advertised.

If CF_UNICODETEXT is available, report only UTF8_STRING.

When converting to the UTF8_STRING format, i.e. when the caller
wants text from the clipboard, try just CF_UNICODETEXT. There is
no point in trying CF_TEXT as Windows will synthesize
CF_UNICODETEXT from CF_TEXT anyway, if some app has stored just
CF_TEXT.

When converting to the image/bmp format, i.e. when the caller
wants an CF_DIB image from the clipboard, we check if the DIB is a
version 3 32-bit BI_RGB one that is likely to actually contain
alpha in the "extra" bytes. Such a DIB is likely to have
premultiplied alpha even, at least in the case of Firefox 3 and
IE7. We then edit the DIB in-place into a version 5 one in
BI_BITFIELDS format and undo the alpha premultiplication.

In any case, prepend a BMP file header before letting go of the
data which will be fed to the gdk-pixbuf bmp loader by upper
levels.

(gdk_win32_selection_add_targets): If some kind of pixmap image
format is being added, actually advertise just PNG and
CF_DIB. Note that alpha won't be stored on the clipboard through
CF_DIB. This is because gdk-pixbuf's bmp loader doesn't save
alpha. Furthermore, few if any non-GTK+ Windows apps seem to
understand a version 5 DIB with proper alpha anyway.

(_gdk_win32_selection_convert_to_dib): Simplified muchly.

svn path=/trunk/; revision=22255

15 years agoBug 145058 - Inputting "^^" requires four keystrokes on Win32, differs
Tor Lillqvist [Thu, 29 Jan 2009 13:43:42 +0000 (13:43 +0000)]
Bug 145058 - Inputting "^^" requires four keystrokes on Win32, differs

2009-01-29  Tor Lillqvist  <tml@novell.com>

Bug 145058 - Inputting "^^" requires four keystrokes on Win32,
differs from platform default behaviour

* gtk/gtkimcontextsimple.c
(check_win32_special_case_after_compact_match): New
function. Called from check_compact_table() after a table-based
match has committed a character. In case there was two identical
dead accents in the input, another copy of the spacing accent that
was already committed is committed. This fixes #145058.

(check_win32_special_cases): New function. Called first from
gtk_im_context_simple_filter_keypress(). This fixes another
problem: a dead accent followed by a space should commit the
corresponding spacing accent. The compose tables from X commit
another character in two cases and we want to override that on
Windows.

Add GTK_NOTE (MISC) debugging output to this code.

svn path=/trunk/; revision=22253

15 years agoAdded entry for Oriya language Translation updation
Manoj Kumar Giri [Thu, 29 Jan 2009 10:22:08 +0000 (10:22 +0000)]
Added entry for Oriya language Translation updation

svn path=/trunk/; revision=22251

15 years agoUpdated Oriya Translation
Manoj Kumar Giri [Thu, 29 Jan 2009 10:20:00 +0000 (10:20 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=22250

15 years agoBug 569435 – make maintainer-clean removes non-generated sources
Claudio Saavedra [Thu, 29 Jan 2009 07:35:33 +0000 (07:35 +0000)]
Bug 569435 – make maintainer-clean removes non-generated sources

2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>

Bug 569435 – make maintainer-clean removes non-generated sources

* gdk/Makefile.am: Do not remove gdkprivate.h and gdkwindowimpl.h
during make maintainer-clean, as these files are not generated.

svn path=/trunk/; revision=22248

15 years agoSmall documentation fix.
Philip Withnall [Wed, 28 Jan 2009 20:35:35 +0000 (20:35 +0000)]
Small documentation fix.

2009-01-28  Philip Withnall  <philip@tecnocode.co.uk>

* gtk/gtktreeview.c: Small documentation fix.

svn path=/trunk/; revision=22247

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 28 Jan 2009 17:09:39 +0000 (17:09 +0000)]
Updated Norwegian bokmål translation.

2009-01-28  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=22246

15 years agoUpdated Oriya Translation
Manoj Kumar Giri [Wed, 28 Jan 2009 12:35:00 +0000 (12:35 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=22245

15 years agoAdded entry for Oriya language Translation updation
Manoj Kumar Giri [Wed, 28 Jan 2009 12:33:40 +0000 (12:33 +0000)]
Added entry for Oriya language Translation updation

svn path=/trunk/; revision=22244

15 years agoupdating for Punjabi by A S Alam
Amanpreet Singh Alam [Wed, 28 Jan 2009 02:26:26 +0000 (02:26 +0000)]
updating for Punjabi by A S Alam

svn path=/trunk/; revision=22243

15 years agoFix alignment and icons in spin buttons
Matthias Clasen [Tue, 27 Jan 2009 19:22:56 +0000 (19:22 +0000)]
Fix alignment and icons in spin buttons

svn path=/trunk/; revision=22242

15 years agoAdd bug ref
Matthias Clasen [Tue, 27 Jan 2009 15:08:28 +0000 (15:08 +0000)]
Add bug ref

svn path=/trunk/; revision=22241

15 years agoDon't chain up blindly
Matthias Clasen [Tue, 27 Jan 2009 14:59:53 +0000 (14:59 +0000)]
Don't chain up blindly

svn path=/trunk/; revision=22240

15 years agoUpdated Oriya Translation
Manoj Kumar Giri [Tue, 27 Jan 2009 13:20:47 +0000 (13:20 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=22239

15 years agoUpdated Oriya Translation
Manoj Kumar Giri [Tue, 27 Jan 2009 13:20:29 +0000 (13:20 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=22238

15 years agoAdded entry for oriya Translation Updation.
Manoj Kumar Giri [Tue, 27 Jan 2009 12:23:02 +0000 (12:23 +0000)]
Added entry for oriya Translation Updation.

svn path=/trunk/; revision=22237

15 years agoUpdated Oriya Translation.
Manoj Kumar Giri [Tue, 27 Jan 2009 12:14:28 +0000 (12:14 +0000)]
Updated Oriya Translation.

svn path=/trunk/; revision=22236

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 27 Jan 2009 07:18:43 +0000 (07:18 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=22234

15 years agoBump version
Matthias Clasen [Tue, 27 Jan 2009 05:53:32 +0000 (05:53 +0000)]
Bump version

svn path=/trunk/; revision=22233

15 years ago2.15.2
Matthias Clasen [Tue, 27 Jan 2009 05:51:23 +0000 (05:51 +0000)]
2.15.2

svn path=/trunk/; revision=22231

15 years ago Bug 322932 – Always show icons on panel menus
Matthias Clasen [Tue, 27 Jan 2009 03:56:03 +0000 (03:56 +0000)]
    Bug 322932 – Always show icons on panel menus

        * gtk/gtk.symbols:
        * gtk/gtkimagemenuitem.[hc]: Add a property to override the
        show-menu-images setting for individual menuitems. Patch by
        William Jon McCann.

svn path=/trunk/; revision=22230

15 years agoUpdated Finnish translation
Ilkka Tuohela [Tue, 27 Jan 2009 03:37:36 +0000 (03:37 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=22229

15 years agoUpdated Finnish translation
Ilkka Tuohela [Tue, 27 Jan 2009 03:20:58 +0000 (03:20 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=22228

15 years agoActivate the action in a regular clicked handler instead of the default
Matthias Clasen [Tue, 27 Jan 2009 02:55:02 +0000 (02:55 +0000)]
Activate the action in a regular clicked handler instead of the default

        * gtk/gtkbutton.c: Activate the action in a regular clicked
        handler instead of the default handler, to make it work with
        derived classes which don't chain up their clicked handler.

svn path=/trunk/; revision=22227

15 years agoAdd bug ref
Matthias Clasen [Tue, 27 Jan 2009 01:22:29 +0000 (01:22 +0000)]
Add bug ref

svn path=/trunk/; revision=22226

15 years agoBlock the previous action when calling reset() to prevent accidental
Matthias Clasen [Tue, 27 Jan 2009 00:25:21 +0000 (00:25 +0000)]
Block the previous action when calling reset() to prevent accidental

       * gtk/gtkactivatable.c (gtk_activatable_do_set_related_action):
        Block the previous action when calling reset() to prevent
        accidental activation of the previous action.

        * gtk/gtkaction.c (gtk_action_activate): Don't compare booleans.

        * gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove
        extraneous braces.

svn path=/trunk/; revision=22225

15 years agoBug 569240 - Crasher when using markers
Bastien Nocera [Mon, 26 Jan 2009 20:47:00 +0000 (20:47 +0000)]
Bug 569240 - Crasher when using markers

2009-01-26  Bastien Nocera  <hadess@hadess.net>

Bug 569240 - Crasher when using markers

* gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying
a GtkRange with markers

svn path=/trunk/; revision=22224

15 years agoBug 566628 – gdk_display_close always asserts on win32 and quartz
Richard Hult [Mon, 26 Jan 2009 20:31:18 +0000 (20:31 +0000)]
Bug 566628 – gdk_display_close always asserts on win32 and quartz

2009-01-26  Richard Hult  <richard@imendio.com>

Bug 566628 – gdk_display_close always asserts on win32 and quartz

* gdk/quartz/gdkdisplay-quartz.c
(_gdk_windowing_set_default_display): Copy fix for bug #566628
from the win32 backend: Allow also a NULL parameter in the
g_assert().

svn path=/trunk/; revision=22223

15 years agoMore action-related fixes
Matthias Clasen [Mon, 26 Jan 2009 03:01:01 +0000 (03:01 +0000)]
More action-related fixes

svn path=/trunk/; revision=22218

15 years agoSet draw-as-radio to TRUE
Matthias Clasen [Sun, 25 Jan 2009 23:54:27 +0000 (23:54 +0000)]
Set draw-as-radio to TRUE

svn path=/trunk/; revision=22217

15 years agoBug 563576 – Dummy po files break the build
Claudio Saavedra [Sun, 25 Jan 2009 11:14:46 +0000 (11:14 +0000)]
Bug 563576 – Dummy po files break the build

2009-01-25  Claudio Saavedra  <csaavedra@igalia.com>

Bug 563576 – Dummy po files break the build

* ast.po: copy contact data from po/ast.po, patch from Adrian Bunk

svn path=/trunk/; revision=22216

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 25 Jan 2009 09:30:43 +0000 (09:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=22215

15 years ago Revert changes for bug 567124. Instead of trying to avoid
Matthias Clasen [Sun, 25 Jan 2009 03:38:27 +0000 (03:38 +0000)]
    Revert changes for bug 567124. Instead of trying to avoid
        setting up the im context before the widget is realized, just
        reset it when the client window is set.

        * gtk/gtkimmulticontext.c: Reset the slave when a client window
        is set.

        * gtk/gtkimmodule.c
        * gtk/gtktextview.c: Revert changes for bug 567124.

svn path=/trunk/; revision=22214

15 years agoUse gtk-doc syntax to refer to properties in the docstrings.
Claudio Saavedra [Sat, 24 Jan 2009 22:54:53 +0000 (22:54 +0000)]
Use gtk-doc syntax to refer to properties in the docstrings.

2009-01-25  Claudio Saavedra  <csaavedra@igalia.com>

* gtk/gtktreeview.c: Use gtk-doc syntax to refer to properties in
the docstrings.

svn path=/trunk/; revision=22213

15 years agoMore docstrings improvements regarding reorderable property.
Claudio Saavedra [Sat, 24 Jan 2009 22:42:05 +0000 (22:42 +0000)]
More docstrings improvements regarding reorderable property.

2009-01-25  Claudio Saavedra  <csaavedra@igalia.com>

* gtk/gtkiconview.c: More docstrings improvements
regarding reorderable property.

svn path=/trunk/; revision=22212

15 years agoBug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs wrt.
Claudio Saavedra [Sat, 24 Jan 2009 22:22:35 +0000 (22:22 +0000)]
Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs wrt.

2009-01-24  Claudio Saavedra  <csaavedra@igalia.com>

Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs
wrt. reorderable property

* gtk/gtkiconview.c: Improve docstrings regarding reorderable
        property. Based on a patch by Björn Lindqvist.

svn path=/trunk/; revision=22211

15 years agoFallback from stock ids to icon names like the old GtkAction code did
Matthias Clasen [Sat, 24 Jan 2009 22:00:07 +0000 (22:00 +0000)]
Fallback  from stock ids to icon names like the old GtkAction code did

svn path=/trunk/; revision=22210

15 years agoTest icon names in actions with toolitems
Matthias Clasen [Sat, 24 Jan 2009 21:53:29 +0000 (21:53 +0000)]
Test icon names in actions with toolitems

svn path=/trunk/; revision=22209

15 years agoDon't update blank cursors
Matthias Clasen [Sat, 24 Jan 2009 21:29:36 +0000 (21:29 +0000)]
Don't update blank cursors

svn path=/trunk/; revision=22208

15 years agoimprove ::search-column property description.
Claudio Saavedra [Sat, 24 Jan 2009 21:00:12 +0000 (21:00 +0000)]
improve ::search-column property description.

2009-01-24  Claudio Saavedra  <csaavedra@igalia.com>

* gtk/gtktreeview.c: (gtk_tree_view_class_init):
improve ::search-column property description.

svn path=/trunk/; revision=22207

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 24 Jan 2009 20:19:10 +0000 (20:19 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=22206

15 years agoFix bug #568859.
Andre Klapper [Sat, 24 Jan 2009 17:49:54 +0000 (17:49 +0000)]
Fix bug #568859.

2009-01-24  Andre Klapper  <a9016009@gmx.de>

* de.po: Fix bug #568859.

svn path=/trunk/; revision=22205

15 years agobump version
Matthias Clasen [Fri, 23 Jan 2009 23:05:41 +0000 (23:05 +0000)]
bump version

svn path=/trunk/; revision=22204

15 years ago2.15.1
Matthias Clasen [Fri, 23 Jan 2009 23:03:59 +0000 (23:03 +0000)]
2.15.1

svn path=/trunk/; revision=22202

15 years agoDoc fixes
Matthias Clasen [Fri, 23 Jan 2009 17:51:15 +0000 (17:51 +0000)]
Doc fixes

svn path=/trunk/; revision=22201

15 years agoAdd GtkActivatableIface, too
Matthias Clasen [Fri, 23 Jan 2009 17:48:08 +0000 (17:48 +0000)]
Add GtkActivatableIface, too

svn path=/trunk/; revision=22200

15 years agoFix the section docs
Matthias Clasen [Fri, 23 Jan 2009 17:29:11 +0000 (17:29 +0000)]
Fix the section docs

svn path=/trunk/; revision=22199

15 years agoFix pltcheck issues
Matthias Clasen [Fri, 23 Jan 2009 17:10:08 +0000 (17:10 +0000)]
Fix pltcheck issues

svn path=/trunk/; revision=22198

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 23 Jan 2009 16:02:23 +0000 (16:02 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=22197

15 years agoUpdates
Matthias Clasen [Fri, 23 Jan 2009 15:46:12 +0000 (15:46 +0000)]
Updates

svn path=/trunk/; revision=22196

15 years agoi Bug 560228 – Add "action-controller" property to GtkWidgetClass
Matthias Clasen [Fri, 23 Jan 2009 15:15:28 +0000 (15:15 +0000)]
i        Bug 560228 – Add "action-controller" property to GtkWidgetClass

        Rework the way actions and proxies interact, to make the
        interaction less ad hoc, more extensible, and better suited
        for support in GUI builders like glade.

        To be used as a proxy, a widget must now implement the
        GtkActivatable interface, and GtkActivatable implementations
        are responsible for syncing their appearance with the action
        and for activating the action.

        All the widgets that are commonly used as proxies implement
        GtkActivatable now.

        Patch by Tristan van Berkom.

        * gtk/gtkactivatable.[hc]: The GtkActivatable interface.

        * gtk/gtkbutton.c:
        * gtk/gtktogglebutton.c:
        * gtk/gtktoolitem.c:
        * gtk/gtktoolbutton.c:
        * gtk/gtktoggletoolbutton.c:
        * gtk/gtkmenuitem.c:
        * gtk/gtkcheckmenuitem.c:
        * gtk/gtkimagemenuitem.c:
        * gtk/gtkradiomenuitem.c:
        * gtk/gtkrecentchooserprivate.h:
        * gtk/gtkrecentchooser.c:
        * gtk/gtkrecentchooserdefault.c:
        * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
        * gtk/gtkaction.[hc]: Move appearance synchronization to
        GtkActivatable implementations.

        * gtk/gtkradioaction.c:
        * gtk/gtkrecentaction.c:
        * gtk/gtktoggleaction.c:
        * gtk/gtkactiongroup.c: Adapt.

        * gtk/gtk.h: Include gtkactivatable.h
        * gtk/gtk.symbols: Add new functions

svn path=/trunk/; revision=22195

15 years agoAdditions
Matthias Clasen [Fri, 23 Jan 2009 06:07:03 +0000 (06:07 +0000)]
Additions

svn path=/trunk/; revision=22194

15 years agoDon't set up im stuff if the widget is not realized.
Matthias Clasen [Fri, 23 Jan 2009 06:04:05 +0000 (06:04 +0000)]
Don't set up im stuff if the widget is not realized.

        * gtk/gtktextview.c: Don't set up im stuff if the widget
        is not realized.

        * gtk/gtkimmodule.c: Assert that we have a window.

svn path=/trunk/; revision=22193

15 years agoSkip Desktop if it equals the home folder
Matthias Clasen [Fri, 23 Jan 2009 06:00:44 +0000 (06:00 +0000)]
Skip Desktop if it equals the home folder

svn path=/trunk/; revision=22192

15 years ago Keep GtkPlug in sync with the global list of toplevels.
Matthias Clasen [Fri, 23 Jan 2009 05:57:36 +0000 (05:57 +0000)]
    Keep GtkPlug in sync with the global list of toplevels.
        Patch by Federico Mena Quintero

        * gtk/gtkwindow.h:
        * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal
        function used when a GtkPlug parents/unparents itself by an
        in-process GtkSocket.  This keeps the plug's GTK_TOPLEVEL flag in
        sync with the global toplevel_list.

        * gtk/gtkplug.c (gtk_plug_set_is_child): Call
        _gtk_window_set_is_toplevel() to keep the toplevel list updated,
        instead of just setting/unsetting the GTK_TOPLEVEL flag.

svn path=/trunk/; revision=22191

15 years agoFix typos
Matthias Clasen [Fri, 23 Jan 2009 05:54:02 +0000 (05:54 +0000)]
Fix typos

svn path=/trunk/; revision=22190

15 years ago Bug 567761 – Spellfixes in GTK+ documentation
Matthias Clasen [Fri, 23 Jan 2009 05:51:25 +0000 (05:51 +0000)]
    Bug 567761 – Spellfixes in GTK+ documentation

        * gdk/x11/gdkselection-x11.c:
        * gtk/gtktestutils.c: Fix typos in the docs.

svn path=/trunk/; revision=22189

15 years agoImprove docs
Matthias Clasen [Fri, 23 Jan 2009 05:43:45 +0000 (05:43 +0000)]
Improve docs

svn path=/trunk/; revision=22188

15 years agoUse a different approach to snapshotting that is in line with what is done
Matthias Clasen [Fri, 23 Jan 2009 05:34:14 +0000 (05:34 +0000)]
Use a different approach to snapshotting that is in line with what is done

        * gtk/gtkwidget.c (gtk_widget_get_snapshot): Use a different approach
        to snapshotting that is in line with what is done in the client-side
        windows branch, and that works for widgets regardless if they are
        double-buffered or not. Patch by Alex Larsson.

        * gdk/gdkwindow.c (_gdk_window_calculate_full_clip_region): Clip
        to the parent.

svn path=/trunk/; revision=22187

15 years agoGtkFileChooserEntry: handle slow folders by not autocompleting when the cursor is...
Federico Mena Quintero [Fri, 23 Jan 2009 01:52:36 +0000 (01:52 +0000)]
GtkFileChooserEntry: handle slow folders by not autocompleting when the cursor is not at the end of the text
2009-01-22  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (autocomplete): Relax the assertion;
just do nothing if the folder is not loaded or if the cursor position
is not at the end of the text.  A very slow-to-load folder can get
us into the latter state if the user starts typing first.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22186

15 years agoRevert the previous change
Matthias Clasen [Fri, 23 Jan 2009 01:45:46 +0000 (01:45 +0000)]
Revert the previous change

svn path=/trunk/; revision=22185

15 years agoGtkFileChooserEntry: fix the computation of 'complete but not unique' and appending...
Federico Mena Quintero [Fri, 23 Jan 2009 00:55:07 +0000 (00:55 +0000)]
GtkFileChooserEntry: fix the computation of 'complete but not unique' and appending a '/' to unique directory names
2009-01-22  Federico Mena Quintero  <federico@novell.com>

Fix the computation of "complete but unique" in
GtkFileChooserEntry.  Fix the case where "/" was not appended to a
unique directory name during explicit Tab completion.

* gtk/gtkfilechooserentry.c (maybe_append_separator_to_file):
Return whether anything was appended as well as the new string
itself.
(find_common_prefix): Oops, only turn on
is_complete_not_unique_ret if we had a unique match!
(append_common_prefix): If we appended a directory separator, we
*did* expand the common prefix, so we are not in the "nothing
inserted" case.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22184

15 years agoComments for translators on the file chooser entry's completion feedback
Federico Mena Quintero [Fri, 23 Jan 2009 00:54:52 +0000 (00:54 +0000)]
Comments for translators on the file chooser entry's completion feedback
(start_explicit_completion): Add comments for translators, to
explain the purpose of the various feedback messages used during
completion.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22183

15 years agoPass refresh errors from the very bottom of the loading sequence up to the top
Federico Mena Quintero [Fri, 23 Jan 2009 00:54:37 +0000 (00:54 +0000)]
Pass refresh errors from the very bottom of the loading sequence up to the top
(start_loading_current_folder): Check if the folder to be loaded
is non-native for the local_only=TRUE case; if so, return an error
as we are configured to load only local folders.
(reload_current_folder): Pass on errors from
start_loading_current_folder().  Tighten the preconditions, as we
are sure that we can only receive non-NULL folder-files to load.
(refresh_current_folder_and_file_part): Pass on errors from
reload_current_folder().  At the very end, assert the invariant
described above.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22182

15 years agoFactor out function to discard the loading process and the current folder file
Federico Mena Quintero [Fri, 23 Jan 2009 00:54:22 +0000 (00:54 +0000)]
Factor out function to discard the loading process and the current folder file
(discard_loading_and_current_folder_file): Factor out function to
cancel the cancellable and discard the current_folder_file,
i.e. to reset the invariant to the "nothing valid is loaded" case.
(gtk_file_chooser_entry_dispose): Use
discard_loading_and_current_folder_file().
(reload_current_folder): Likewise.
(refresh_current_folder_and_file_part): Likewise, and ensure that
the error cases result in the invariant being held.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22181

15 years agoProcess the result of refreshing the folder during autocompletion
Federico Mena Quintero [Fri, 23 Jan 2009 00:54:08 +0000 (00:54 +0000)]
Process the result of refreshing the folder during autocompletion
(start_autocompletion): Process the result from refresh...().  We
only do completion in the REFRESH_OK case.  For the error cases,
we don't do anything, as this is autocompletion and must not
result in non-asked-for errors popping up.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22180

15 years agoDon't handle errors when committing the completion
Federico Mena Quintero [Fri, 23 Jan 2009 00:53:53 +0000 (00:53 +0000)]
Don't handle errors when committing the completion
(commit_completion_and_refresh): Don't do anything with the result
of refresh...(), since this function doesn't get called during
completion-related interaction.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22179