]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Wed, 1 Aug 2007 07:06:38 +0000 (07:06 +0000)]
Estonian translation update by Ivar Smolin.

2007-08-01  Priit Laes  <plaes@svn.gnome.org>

* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=18561

16 years agoImplement, fixes bug #405868. Based on patch from metz81@web.de.
Richard Hult [Tue, 31 Jul 2007 19:25:28 +0000 (19:25 +0000)]
Implement, fixes bug #405868. Based on patch from metz81@web.de.

2007-07-31  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
Implement, fixes bug #405868. Based on patch from metz81@web.de.

svn path=/trunk/; revision=18560

16 years agoreset the completion prefix on Enter too, plug potential leak. Follow-up
Xan Lopez [Tue, 31 Jul 2007 19:17:25 +0000 (19:17 +0000)]
reset the completion prefix on Enter too, plug potential leak. Follow-up

2007-07-31  Xan Lopez  <xan@gnome.org>

* gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
completion prefix on Enter too, plug potential leak.
Follow-up to #458298

svn path=/trunk/; revision=18559

16 years agoMake the label wrap, for compatibility with the old tooltips code. This
Matthias Clasen [Tue, 31 Jul 2007 17:38:27 +0000 (17:38 +0000)]
Make the label wrap, for compatibility with the old tooltips code. This

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

        * gtk/gtktooltip.c (gtk_tooltip_init): Make the label
        wrap, for compatibility with the old tooltips code. This
        fixes absurdly long tooltips in the color selector.

svn path=/trunk/; revision=18558

16 years agoFix documentation. (#461225, Murray Cumming).
Kristian Rietveld [Mon, 30 Jul 2007 10:57:25 +0000 (10:57 +0000)]
Fix documentation. (#461225, Murray Cumming).

2007-07-30  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
documentation. (#461225, Murray Cumming).

svn path=/trunk/; revision=18557

16 years agoAdd documentation for properties and fix the deprecation marker for the
Emmanuele Bassi [Mon, 30 Jul 2007 09:38:05 +0000 (09:38 +0000)]
Add documentation for properties and fix the deprecation marker for the

2007-07-29  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchooser.c: Add documentation for properties
and fix the deprecation marker for the show-numbers
accessor functions (Murray Cumming).

* gtk/gtkrecentchooser.h: Add deprecation guards around
gtk_recent_chooser_set_show_numbers() and
gtk_recent_chooser_get_show_numbers(), as promised during
last development cycle.

svn path=/trunk/; revision=18556

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Sun, 29 Jul 2007 11:34:10 +0000 (11:34 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=18555

16 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Fri, 27 Jul 2007 18:48:07 +0000 (18:48 +0000)]
Updated Basque translation.

2007-07-27  Inaki Larranaga Murgoitio  <dooteo@zundan.com>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=18552

16 years agoAttempts to load stock X cursors no longer results in annoying error messages under...
Attilio Fiandrotti [Fri, 27 Jul 2007 16:27:37 +0000 (16:27 +0000)]
Attempts to load stock X cursors no longer results in annoying error messages under DirectFB

svn path=/trunk/; revision=18549

16 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Fri, 27 Jul 2007 16:24:32 +0000 (16:24 +0000)]
Updated Basque translation.

2007-07-27  Inaki Larranaga Murgoitio  <dooteo@zundan.com>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=18548

16 years agoFix check/radio indicator drawing mess (bug #452225):
Michael Natterer [Fri, 27 Jul 2007 12:11:07 +0000 (12:11 +0000)]
Fix check/radio indicator drawing mess (bug #452225):

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

Fix check/radio indicator drawing mess (bug #452225):

* gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
indicator size by one to ensure odd size (don't say -= -1).

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
removed -1 adjustment from calls to gtk_paint_option(). Theme
engines now get the actually configured size passed, not one pixel
less.

* gtk/gtkcellrenderertoggle.c
* gtk/gtkcheckmenuitem.c: changed default indicator size from 12
to 13 so all widgets which draw check/option indicators have the
same default size now (and render the same size after above
changes).

* README.in: mention above changes in the release notes.

svn path=/trunk/; revision=18547

16 years agoInclude ChangeLog.pre-2-10 in tarballs as well (seems to be forgotten).
Wouter Bolsterlee [Fri, 27 Jul 2007 12:03:59 +0000 (12:03 +0000)]
Include ChangeLog.pre-2-10 in tarballs as well (seems to be forgotten).

2007-07-27  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
well (seems to be forgotten).

svn path=/trunk/; revision=18546

16 years agoCall gtk_tooltip_hide_tooltip() even if the tooltip is not visible yet.
Matthias Clasen [Wed, 25 Jul 2007 17:45:22 +0000 (17:45 +0000)]
Call gtk_tooltip_hide_tooltip() even if the tooltip is not visible yet.

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

        * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
        gtk_tooltip_hide_tooltip() even if the tooltip is not
        visible yet. This fixes annoying dangling tooltips
        on systray icons.

svn path=/trunk/; revision=18544

16 years agoMark more internal symbols for prefixing
Alexander Larsson [Wed, 25 Jul 2007 16:19:36 +0000 (16:19 +0000)]
Mark more internal symbols for prefixing

2007-07-25  Alexander Larsson  <alexl@redhat.com>

        * xdgmimealias.h:
        * xdgmimecache.h:
        * xdgmimeparent.h:
Mark more internal symbols for prefixing

svn path=/trunk/; revision=18543

16 years agoSilence the validator
Matthias Clasen [Wed, 25 Jul 2007 02:07:44 +0000 (02:07 +0000)]
Silence the validator

svn path=/trunk/; revision=18541

16 years agoRemove obsolete set-tooltip handler. (#458280, Christian Persch)
Matthias Clasen [Tue, 24 Jul 2007 15:44:04 +0000 (15:44 +0000)]
Remove obsolete set-tooltip handler. (#458280, Christian Persch)

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

        * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip
        handler.  (#458280, Christian Persch)

svn path=/trunk/; revision=18540

16 years agoPort to use new tooltips API. (#451397, Jan Arne Petersen)
Matthias Clasen [Tue, 24 Jul 2007 15:18:42 +0000 (15:18 +0000)]
Port to use new tooltips API. (#451397, Jan Arne Petersen)

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

        * gtkcolorsel.c:
        * gtkfilechooserdefault.c:
        * gtkpagesetupunixdialog.c:
        * gtkprintunixdialog.c: Port to use new tooltips API.
        (#451397, Jan Arne Petersen)

svn path=/trunk/; revision=18539

16 years agoCosmetic changes.
Tor Lillqvist [Tue, 24 Jul 2007 14:40:21 +0000 (14:40 +0000)]
Cosmetic changes.

2007-07-24  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.

svn path=/trunk/; revision=18538

16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Tue, 24 Jul 2007 09:28:55 +0000 (09:28 +0000)]
Estonian translation update by Ivar Smolin.

2007-07-24  Priit Laes  <plaes@svn.gnome.org>

* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=18537

16 years agoRestructure the code to make sense, and don't leak an empty accel.
Matthias Clasen [Tue, 24 Jul 2007 04:56:47 +0000 (04:56 +0000)]
Restructure the code to make sense, and don't leak an empty accel.

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

        * gtk/gtkmenubar.c (window_key_press_handler):
        * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
        to make sense, and don't leak an empty accel.  (#459515, Owen Taylor)

svn path=/trunk/; revision=18535

16 years agoProtect against recursion via gtk_container_remove(). (#459561, Christian
Matthias Clasen [Tue, 24 Jul 2007 03:54:16 +0000 (03:54 +0000)]
Protect against recursion via gtk_container_remove(). (#459561, Christian

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

        * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
        recursion via gtk_container_remove().  (#459561, Christian Persch)
        (gtk_tooltip_window_hide): Simplify.

svn path=/trunk/; revision=18534

16 years agoAdd code to test gtk_tooltip_set_custom()
Matthias Clasen [Tue, 24 Jul 2007 03:50:49 +0000 (03:50 +0000)]
Add code to test gtk_tooltip_set_custom()

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

        * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()

svn path=/trunk/; revision=18533

16 years agoRemove obsolete code. Bug #459566.
Christian Persch [Mon, 23 Jul 2007 18:45:36 +0000 (18:45 +0000)]
Remove obsolete code. Bug #459566.

2007-07-23  Christian Persch  <chpe@gnome.org>

* tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
code. Bug #459566.

svn path=/trunk/; revision=18531

16 years agoFix some doc formatting errors
Matthias Clasen [Mon, 23 Jul 2007 18:33:35 +0000 (18:33 +0000)]
Fix some doc formatting errors

svn path=/trunk/; revision=18530

16 years agoDectect if cups allows access to the http_t authstring field.
Matthias Clasen [Mon, 23 Jul 2007 17:02:04 +0000 (17:02 +0000)]
Dectect if cups allows access to the http_t authstring field.

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

        * configure.in: Dectect if cups allows access to the http_t
        authstring field.

        * modules/printbackends/cups/gtkcupsutils.c: Rely on the
        HAVE_HTTP_AUTHSTRING define done by configure.

svn path=/trunk/; revision=18527

16 years agoPort the GtkRecentChooser default implementation widget to the new
Emmanuele Bassi [Mon, 23 Jul 2007 16:44:07 +0000 (16:44 +0000)]
Port the GtkRecentChooser default implementation widget to the new

2007-07-23  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
implementation widget to the new tooltips API, and make it look
like the GtkFileChooser widget in recent files mode (move the
full path from the widget to a tooltip on the row) to improve
consistency.

* gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
to the new tooltips API.

* tests/testrecentchooser.c:
* tests/testrecentchoosermenu.c: Exercise the tooltips code paths.

svn path=/trunk/; revision=18526

16 years agoUpdated Telugu translation, fixes Bug #355842.
Sunil Mohan Adapa [Mon, 23 Jul 2007 15:50:09 +0000 (15:50 +0000)]
Updated Telugu translation, fixes Bug #355842.

2007-07-23  Sunil Mohan Adapa  <sunilmohan@gnu.org.in>

        * te.po: Updated Telugu translation, fixes Bug #355842.

svn path=/trunk/; revision=18525

16 years agoCorrectly redraw when gtk-scrolled-window-placement is changed after the
Ross Burton [Sun, 22 Jul 2007 19:16:41 +0000 (19:16 +0000)]
Correctly redraw when gtk-scrolled-window-placement is changed after the

2007-07-22  Ross Burton  <ross@openedhand.com>

* gtk/gtkscrolledwindow.c:
Correctly redraw when gtk-scrolled-window-placement is changed
after the widget is realised (#458102)

svn path=/trunk/; revision=18523

16 years agoDocumentation fixes
Matthias Clasen [Sun, 22 Jul 2007 04:19:19 +0000 (04:19 +0000)]
Documentation fixes

svn path=/trunk/; revision=18522

16 years agoTranslation updated.
Gabor Kelemen [Sat, 21 Jul 2007 19:09:15 +0000 (19:09 +0000)]
Translation updated.

2007-07-21 Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=18521

16 years agoRename the tips_data_list field back. (#447214)
Matthias Clasen [Sat, 21 Jul 2007 13:19:11 +0000 (13:19 +0000)]
Rename the tips_data_list field back. (#447214)

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

        * gtk/gtktooltips.[hc]: Rename the tips_data_list field
        back.  (#447214)

svn path=/trunk/; revision=18520

16 years agoAdd forgotten release markers
Matthias Clasen [Sat, 21 Jul 2007 13:12:48 +0000 (13:12 +0000)]
Add forgotten release markers

svn path=/trunk/; revision=18519

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Sat, 21 Jul 2007 13:12:23 +0000 (13:12 +0000)]
Updated Japanese translation.

2007-07-21  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=18518

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Sat, 21 Jul 2007 13:11:14 +0000 (13:11 +0000)]
Updated Japanese translation.

2007-07-21  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=18517

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 21 Jul 2007 12:32:26 +0000 (12:32 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18516

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sat, 21 Jul 2007 09:44:38 +0000 (09:44 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=18515

16 years ago2.11.6
Matthias Clasen [Fri, 20 Jul 2007 23:16:43 +0000 (23:16 +0000)]
2.11.6

svn path=/trunk/; revision=18513

16 years agoDon't pop up under the cursor.
Matthias Clasen [Fri, 20 Jul 2007 12:13:24 +0000 (12:13 +0000)]
Don't pop up under the cursor.

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

        * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
        under the cursor.

svn path=/trunk/; revision=18512

16 years agoDon't leak a label. (#455901, Christian Persch, Vincent Geddes)
Matthias Clasen [Fri, 20 Jul 2007 11:10:07 +0000 (11:10 +0000)]
Don't leak a label. (#455901, Christian Persch, Vincent Geddes)

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

        * gtk/gtkpathbar.c (make_directory_button): Don't leak
        a label.  (#455901, Christian Persch, Vincent Geddes)

svn path=/trunk/; revision=18511

16 years agoApply a patch by Emmanuele Bassi to limit the number of shown recent
Matthias Clasen [Fri, 20 Jul 2007 10:39:03 +0000 (10:39 +0000)]
Apply a patch by Emmanuele Bassi to limit the number of shown recent

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

        Apply a patch by Emmanuele Bassi to limit the number
        of shown recent files.  (#439715)

        * gtk/gtksettings.c: Add a setting for the number
        of recent files to display by default.

        * gtk/gtkrecentchooserdefault.c:
        * gtk/gtkfilechooserdefault.c: Respect the limit.

        * gtk/gtkrecentmanager.c: Remove the poll timeout in
        dispose, and do not stat more often than every 5 seconds.

        * gtk/gtkrecentchooserutils.c:
        * gtk/gtkrecentchoosermenu.c: Cleanups

        * tests/testrecentchoosermenu.c: Test limits.

svn path=/trunk/; revision=18510

16 years agoAdd new functions
Matthias Clasen [Fri, 20 Jul 2007 10:38:01 +0000 (10:38 +0000)]
Add new functions

svn path=/trunk/; revision=18509

16 years agoApply a patch by Emmanuele Bassi to add tooltips to the file lists in
Matthias Clasen [Fri, 20 Jul 2007 09:53:20 +0000 (09:53 +0000)]
Apply a patch by Emmanuele Bassi to add tooltips to the file lists in

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

        * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
        Bassi to add tooltips to the file lists in recent files and
        search modes.

svn path=/trunk/; revision=18508

16 years agoRemove debug spew
Matthias Clasen [Fri, 20 Jul 2007 02:36:12 +0000 (02:36 +0000)]
Remove debug spew

svn path=/trunk/; revision=18507

16 years agoadd note that the semantics of this call, when mixed with the new
Ryan Lortie [Thu, 19 Jul 2007 23:50:39 +0000 (23:50 +0000)]
add note that the semantics of this call, when mixed with the new

2007-07-20  Ryan Lortie  <desrt@desrt.ca>

        * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
        semantics of this call, when mixed with the new
        gdk_window_set_composited(), will change in the future.

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
        events that belong to us.

svn path=/trunk/; revision=18506

16 years agoHandle keypresses better when there is no completion. (#458298, Christian
Matthias Clasen [Thu, 19 Jul 2007 15:44:23 +0000 (15:44 +0000)]
Handle keypresses better when there is no completion. (#458298, Christian

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

        * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
        keypresses better when there is no completion.  (#458298,
        Christian Persch, patch by Xan Lopez)

        * gtk/gtkentrycompletion.c
        (gtk_entry_completion_insert_completion_text): Small cleanup.

svn path=/trunk/; revision=18505

16 years agoMerge color scheme before sending notification.
Matthias Clasen [Thu, 19 Jul 2007 15:32:04 +0000 (15:32 +0000)]
Merge color scheme before sending notification.

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

        * gtk/gtksettings.c (apply_queued_setting): Merge color
        scheme before sending notification.

svn path=/trunk/; revision=18504

16 years agoSmall fixes
Matthias Clasen [Thu, 19 Jul 2007 15:06:52 +0000 (15:06 +0000)]
Small fixes

svn path=/trunk/; revision=18503

16 years agohandle no-window and regular widgets seperately.
Kristian Rietveld [Thu, 19 Jul 2007 15:03:18 +0000 (15:03 +0000)]
handle no-window and regular widgets seperately.

2007-07-19  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
no-window and regular widgets seperately.

* gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
be zero.

svn path=/trunk/; revision=18502

16 years agoAdd new convenience api for tooltips on icon views
Matthias Clasen [Thu, 19 Jul 2007 14:59:44 +0000 (14:59 +0000)]
Add new convenience api for tooltips on icon views

svn path=/trunk/; revision=18501

16 years agomarkup fixes
Matthias Clasen [Thu, 19 Jul 2007 14:05:49 +0000 (14:05 +0000)]
markup fixes

svn path=/trunk/; revision=18500

16 years agomarkup fix
Matthias Clasen [Thu, 19 Jul 2007 13:57:16 +0000 (13:57 +0000)]
markup fix

svn path=/trunk/; revision=18499

16 years agotypo fix
Matthias Clasen [Thu, 19 Jul 2007 13:55:59 +0000 (13:55 +0000)]
typo fix

svn path=/trunk/; revision=18498

16 years agoInitialized GValues before unsetting them. (#457720)
Matthias Clasen [Thu, 19 Jul 2007 13:45:12 +0000 (13:45 +0000)]
Initialized GValues before unsetting them. (#457720)

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

        * gtk/gtktextview.c (gtk_text_view_compat_move_focus):
        Initialized GValues before unsetting them.  (#457720)

svn path=/trunk/; revision=18497

16 years agoadd more convenience API.
Kristian Rietveld [Thu, 19 Jul 2007 13:21:09 +0000 (13:21 +0000)]
add more convenience API.

2007-07-19  Kristian Rietveld  <kris@imendio.com>

* gtk/gtk.symbols:
* gtk/gtktreeprivate.h:
* gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
(gtk_tree_view_[sg]et_tooltip_column): add more convenience API.

* tests/testtooltip.c (query_tooltip_tree_view_cb): use
gtk_tree_view_get_tooltip_context().

* demos/gtk-demo/demo.ui: add a tooltip column to the list store,
set tooltip-column on the tree view.

svn path=/trunk/; revision=18496

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Thu, 19 Jul 2007 12:02:36 +0000 (12:02 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=18495

16 years agoMaxim Dziumanenko <dziumanenko@gmail.com>
Maxim V. Dziumanenko [Thu, 19 Jul 2007 09:06:31 +0000 (09:06 +0000)]
Maxim Dziumanenko <dziumanenko@gmail.com>

* Fix typo in uk.po

svn path=/trunk/; revision=18494

16 years agoRef the cursor in the cached case.
Richard Hult [Wed, 18 Jul 2007 09:52:25 +0000 (09:52 +0000)]
Ref the cursor in the cached case.

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

* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
the cursor in the cached case.

svn path=/trunk/; revision=18490

16 years agoCorrect some mistakes in the documentation of the test-expand/collapse-row
Matthias Clasen [Wed, 18 Jul 2007 08:56:42 +0000 (08:56 +0000)]
Correct some mistakes in the documentation of the test-expand/collapse-row

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

        * gtk/gtktreeview.c: Correct some mistakes in the
        documentation of the test-expand/collapse-row signals.
        (#457774, Olivier Andrieu)

svn path=/trunk/; revision=18489

16 years agoSmall cleanups
Matthias Clasen [Wed, 18 Jul 2007 07:30:34 +0000 (07:30 +0000)]
Small cleanups

svn path=/trunk/; revision=18488

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Tue, 17 Jul 2007 19:02:59 +0000 (19:02 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=18487

16 years agoonly do the coordinate check if tmp is not NULL.
Kristian Rietveld [Tue, 17 Jul 2007 12:39:20 +0000 (12:39 +0000)]
only do the coordinate check if tmp is not NULL.

2007-07-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): only do the
coordinate check if tmp is not NULL.

svn path=/trunk/; revision=18486

16 years agoFix some issues with some combinations of inline-selection and
Matthias Clasen [Mon, 16 Jul 2007 16:43:54 +0000 (16:43 +0000)]
Fix some issues with some combinations of inline-selection and

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

        Fix some issues with some combinations of inline-selection
        and inline-completion.  (#457384, Christian Persch)

        * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
        the completion_prefix here, and be careful when using
        completion_prefix, because it may be NULL.
        * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
        Free completion_prefix here.
        * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
        (gtk_entry_completion_insert_completion_text): Store the
        completion_prefix here.

svn path=/trunk/; revision=18479

16 years agocheck if the pointer is really over the returned widget, since the
Kristian Rietveld [Mon, 16 Jul 2007 16:39:53 +0000 (16:39 +0000)]
check if the pointer is really over the returned widget, since the

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

* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
if the pointer is really over the returned widget, since the
coordinate check may not always be hit in find_widget_under_pointer().

svn path=/trunk/; revision=18478

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 16 Jul 2007 15:54:15 +0000 (15:54 +0000)]
Translation updated by Tino Meinen.

2007-07-16  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=18477

16 years agoPlug a memleak. (#455721, Christian Persch)
Matthias Clasen [Mon, 16 Jul 2007 15:30:43 +0000 (15:30 +0000)]
Plug a memleak. (#455721, Christian Persch)

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

        * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
        Plug a memleak. (#455721, Christian Persch)

svn path=/trunk/; revision=18476

16 years agoApply a patch by Guillaume Cottenceau to improve the signal docs.
Matthias Clasen [Mon, 16 Jul 2007 15:00:05 +0000 (15:00 +0000)]
Apply a patch by Guillaume Cottenceau to improve the signal docs.

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

        * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
        to improve the signal docs.  (#456258)

svn path=/trunk/; revision=18475

16 years agoApply a patch by Xan Lopez to document a lot of GtkWidget signals.
Matthias Clasen [Mon, 16 Jul 2007 14:40:37 +0000 (14:40 +0000)]
Apply a patch by Xan Lopez to document a lot of GtkWidget signals.

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

        * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
        a lot of GtkWidget signals.  (#172424)

svn path=/trunk/; revision=18474

16 years agoConvenience functions to position tooltips on icon view items or cells.
Matthias Clasen [Mon, 16 Jul 2007 14:04:35 +0000 (14:04 +0000)]
Convenience functions to position tooltips on icon view items or cells.

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

        * gtk/gtk.symbols:
        * gtk/gtkiconview.h:
        * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
        (gtk_icon_view_set_tooltip_cell): Convenience functions to
        position tooltips on icon view items or cells.

svn path=/trunk/; revision=18473

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 15 Jul 2007 12:19:57 +0000 (12:19 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18472

16 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sat, 14 Jul 2007 18:28:03 +0000 (18:28 +0000)]
Updated Lithuanian translation.

svn path=/trunk/; revision=18471

16 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sat, 14 Jul 2007 18:18:09 +0000 (18:18 +0000)]
Updated Lithuanian translation.

svn path=/trunk/; revision=18470

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 14 Jul 2007 12:57:00 +0000 (12:57 +0000)]
Updated Norwegian bokmål translation.

2007-07-14  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=18469

16 years agoPlug leak.
Richard Hult [Sat, 14 Jul 2007 12:14:36 +0000 (12:14 +0000)]
Plug leak.

2007-07-14  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c:
(_gdk_quartz_events_update_cursor): Plug leak.

svn path=/trunk/; revision=18468

16 years agoMove from here... ...to here. (_gdk_windowing_window_destroy): Update the
Richard Hult [Fri, 13 Jul 2007 19:09:10 +0000 (19:09 +0000)]
Move from here... ...to here. (_gdk_windowing_window_destroy): Update the

2007-07-13  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
from here...
* gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
...to here.
(_gdk_windowing_window_destroy): Update the mouse window if the
destroyed window is an ancestor of the current one, not only if
they are the same.
(gdk_window_hide): Update the mouse window here too.

svn path=/trunk/; revision=18467

16 years agoAdd stubs.
Richard Hult [Fri, 13 Jul 2007 19:02:07 +0000 (19:02 +0000)]
Add stubs.

2007-07-13  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
(gdk_colors_free): Add stubs.

svn path=/trunk/; revision=18466

16 years agoAvoid gratitious use of g_strdup_printf().
Matthias Clasen [Fri, 13 Jul 2007 16:34:05 +0000 (16:34 +0000)]
Avoid gratitious use of g_strdup_printf().

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

        * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
        gratitious use of g_strdup_printf().

        * gtk/gtkrecentchooserdefault.c:
        * gtk/gtkrecentchoosermenu.c: Mark some strings for
        translation.  (#439480, Murray Cumming)

svn path=/trunk/; revision=18465

16 years ago#408327, improve tooltip positioning.
Kristian Rietveld [Fri, 13 Jul 2007 14:25:21 +0000 (14:25 +0000)]
#408327, improve tooltip positioning.

2007-07-13  Kristian Rietveld  <kris@imendio.com>

#408327, improve tooltip positioning.

* gtk/gtk.symbols: updated.

* gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
positioning code in here,
(gtk_tooltip_set_tip_area): new function to set the tooltip
area,
(gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
once the pointer leaves the tip area.

* gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
(gtk_tree_view_set_tooltip_cell): convenience functions to set
tip area for row/column/cell.

* tests/testtooltips.c (query_tooltip_tree_view_cb): use
gtk_tree_view_set_tooltip_row.

svn path=/trunk/; revision=18464

16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Fri, 13 Jul 2007 10:21:32 +0000 (10:21 +0000)]
Estonian translation update by Ivar Smolin.

2007-07-13  Priit Laes  <plaes@svn.gnome.org>

* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=18463

16 years agogdk/win32/gdkevents-win32.c Fix transient windows on Win32 so that when a
Cody Russell [Thu, 12 Jul 2007 23:38:30 +0000 (23:38 +0000)]
gdk/win32/gdkevents-win32.c Fix transient windows on Win32 so that when a

2007-07-12  Cody Russell  <bratsche@gnome.org>

* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
so that when a transient child window is closed (particularly when
there are 3 or more levels of transient windows), the correct window
receives focus rather than a seemingly random window. (#112404)

svn path=/trunk/; revision=18461

16 years agoFixed memory leak at window closing in DirectFB backend, patch provided by Simon...
Attilio Fiandrotti [Thu, 12 Jul 2007 17:09:02 +0000 (17:09 +0000)]
Fixed memory leak at window closing in DirectFB backend, patch provided by Simon Lanzmich

svn path=/trunk/; revision=18459

16 years agoclarified documentation example.
Tim Janik [Thu, 12 Jul 2007 16:13:36 +0000 (16:13 +0000)]
clarified documentation example.

Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>

        * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.

svn path=/trunk/; revision=18458

16 years agoclarify section about gdk_threads_enter/ gdk_threads_leave to be reworded
Tim Janik [Thu, 12 Jul 2007 16:13:11 +0000 (16:13 +0000)]
clarify section about gdk_threads_enter/ gdk_threads_leave to be reworded

Thu Jul 12 18:12:04 2007  Tim Janik  <timj@imendio.com>

        * gdk/tmpl/threads.sgml: clarify section about gdk_threads_enter/
        gdk_threads_leave to be reworded in terms of events and to mention
        availability of gdk_threads_add_idle_full().

svn path=/trunk/; revision=18457

16 years agoUpdated Korean translation by Eunju Kim..
Changwoo Ryu [Thu, 12 Jul 2007 09:00:39 +0000 (09:00 +0000)]
Updated Korean translation by Eunju Kim..

2007-07-12  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation by Eunju Kim..

svn path=/trunk/; revision=18456

16 years agoAdd docs
Matthias Clasen [Thu, 12 Jul 2007 06:09:07 +0000 (06:09 +0000)]
Add docs

svn path=/trunk/; revision=18455

16 years agoAdd docs
Matthias Clasen [Thu, 12 Jul 2007 03:23:42 +0000 (03:23 +0000)]
Add docs

svn path=/trunk/; revision=18454

16 years ago Add more documentation.
Matthias Clasen [Thu, 12 Jul 2007 01:55:15 +0000 (01:55 +0000)]
 Add more documentation.

svn path=/trunk/; revision=18453

16 years agoMake parameter naming consistent.
Matthias Clasen [Thu, 12 Jul 2007 01:13:42 +0000 (01:13 +0000)]
Make parameter naming consistent.

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

        * gtk/gtktreeview.c:
        * gtk/gtktoolitem.[hc]: Make parameter naming consistent.

svn path=/trunk/; revision=18452

16 years agoSmall doc fixes
Matthias Clasen [Thu, 12 Jul 2007 00:57:23 +0000 (00:57 +0000)]
Small doc fixes

svn path=/trunk/; revision=18451

16 years agoMove some docs inline
Matthias Clasen [Thu, 12 Jul 2007 00:56:44 +0000 (00:56 +0000)]
Move some docs inline

svn path=/trunk/; revision=18450

16 years agoSmall additions and corrections
Matthias Clasen [Thu, 12 Jul 2007 00:48:10 +0000 (00:48 +0000)]
Small additions and corrections

svn path=/trunk/; revision=18449

16 years agoAdditions
Matthias Clasen [Wed, 11 Jul 2007 23:00:09 +0000 (23:00 +0000)]
Additions

svn path=/trunk/; revision=18448

16 years agoMove some docs inline
Matthias Clasen [Wed, 11 Jul 2007 22:21:06 +0000 (22:21 +0000)]
Move some docs inline

svn path=/trunk/; revision=18447

16 years agox should be changed when converting widget <=> bin_window coordinates, not
Kristian Rietveld [Wed, 11 Jul 2007 18:42:28 +0000 (18:42 +0000)]
x should be changed when converting widget <=> bin_window coordinates, not

2007-07-11  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
changed when converting widget <=> bin_window coordinates, not
when bin_window <=> tree_window.

svn path=/trunk/; revision=18446

16 years agoNew function to convert widget coords to what is expected by the at_pos
Matthias Clasen [Wed, 11 Jul 2007 18:14:46 +0000 (18:14 +0000)]
New function to convert widget coords to what is expected by the at_pos

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

        * gtk/gtk.symbols:
        * gtk/gtkiconview.[hc]
        (gtk_icon_view_convert_widget_to_bin_window_coords): New
        function to convert widget coords to what is expected by
        the at_pos functions.  (#455984)

svn path=/trunk/; revision=18445

16 years agoMore tooltips docs
Matthias Clasen [Wed, 11 Jul 2007 04:46:03 +0000 (04:46 +0000)]
More tooltips docs

svn path=/trunk/; revision=18443

16 years agoSmall doc update
Matthias Clasen [Tue, 10 Jul 2007 23:45:45 +0000 (23:45 +0000)]
Small doc update

svn path=/trunk/; revision=18442

16 years agoIntern the action's name. Saves two string duplicates of it per action;
Christian Persch [Tue, 10 Jul 2007 22:18:08 +0000 (22:18 +0000)]
Intern the action's name. Saves two string duplicates of it per action;

2007-07-11  Christian Persch  <chpe@gnome.org>

* gtk/gtkaction.c: (gtk_action_buildable_set_name),
(gtk_action_finalize), (gtk_action_set_property),
(gtk_action_get_property):
* gtk/gtkactiongroup.c: (gtk_action_group_init),
(gtk_action_group_add_action),
(gtk_action_group_add_action_with_accel),
(gtk_action_group_remove_action): Intern the action's name. Saves two
string duplicates of it per action; bug #455645.

svn path=/trunk/; revision=18441

16 years agoAdd hack to workaround the broken tracking rect implementation in quartz,
Richard Hult [Tue, 10 Jul 2007 19:18:59 +0000 (19:18 +0000)]
Add hack to workaround the broken tracking rect implementation in quartz,

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

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
(show_window_internal), (gdk_window_show), (gdk_window_hide): Add
hack to workaround the broken tracking rect implementation in
quartz, that doesn't seem to produce events if the window shows up
under the mouse.

svn path=/trunk/; revision=18440

16 years agoadd getter/setter pair, slight addition to has-tooltip property
Kristian Rietveld [Tue, 10 Jul 2007 18:24:37 +0000 (18:24 +0000)]
add getter/setter pair, slight addition to has-tooltip property

2007-07-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtk.symbols:
* gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
getter/setter pair, slight addition to has-tooltip property
documentation,
(gtk_widget_real_set_has_tooltip): renamed internal function.

svn path=/trunk/; revision=18439

16 years agoTranslation updated.
Gabor Kelemen [Tue, 10 Jul 2007 18:21:41 +0000 (18:21 +0000)]
Translation updated.

2007-07-10 Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=18438