]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoExtend the C++ keyword test to include internal GDK headers (#449016).
Mathias Hasselmann [Tue, 26 Jun 2007 14:24:27 +0000 (14:24 +0000)]
Extend the C++ keyword test to include internal GDK headers (#449016).

2007-06-22  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
tests/dummy-headers/*: Extend the C++ keyword test
to include internal GDK headers (#449016).

svn path=/trunk/; revision=18244

16 years agoCreate test for finding C++ keywords in public header files (#449016).
Mathias Hasselmann [Tue, 26 Jun 2007 14:24:13 +0000 (14:24 +0000)]
Create test for finding C++ keywords in public header files (#449016).

2007-06-26  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* ChangeLog, configure.in, tests/Makefile.am,
tests/autotestkeywords.cc: Create test for finding
C++ keywords in public header files (#449016).

svn path=/trunk/; revision=18243

16 years agoremove the deprecation macros for now to fix the build and give us a
Kristian Rietveld [Tue, 26 Jun 2007 11:03:50 +0000 (11:03 +0000)]
remove the deprecation macros for now to fix the build and give us a

2007-06-26  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltips.h: remove the deprecation macros for now to fix
the build and give us a chance to fix widgets which use GtkTooltips
in their API.

svn path=/trunk/; revision=18242

16 years agodeprecate GtkTooltips.
Kristian Rietveld [Tue, 26 Jun 2007 10:25:27 +0000 (10:25 +0000)]
deprecate GtkTooltips.

2007-06-26  Kristian Rietveld  <kris@imendio.com>

* gtk/gtk.symbols:
* gtk/gtktooltips.[ch]:
* docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.

svn path=/trunk/; revision=18241

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 26 Jun 2007 10:04:24 +0000 (10:04 +0000)]
Updated Norwegian bokmål translation.

2007-06-23  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=18240

16 years agoUpdate
Matthias Clasen [Tue, 26 Jun 2007 05:23:45 +0000 (05:23 +0000)]
Update

svn path=/trunk/; revision=18239

16 years agoAdd a man page
Matthias Clasen [Tue, 26 Jun 2007 05:22:05 +0000 (05:22 +0000)]
Add a man page

svn path=/trunk/; revision=18238

16 years agoUpdates
Matthias Clasen [Tue, 26 Jun 2007 05:04:41 +0000 (05:04 +0000)]
Updates

svn path=/trunk/; revision=18237

16 years agoAdditions
Matthias Clasen [Tue, 26 Jun 2007 04:18:28 +0000 (04:18 +0000)]
Additions

svn path=/trunk/; revision=18236

16 years agoUpdates
Matthias Clasen [Tue, 26 Jun 2007 04:07:12 +0000 (04:07 +0000)]
Updates

svn path=/trunk/; revision=18235

16 years agoUpdates
Matthias Clasen [Tue, 26 Jun 2007 04:03:49 +0000 (04:03 +0000)]
Updates

svn path=/trunk/; revision=18234

16 years agoUpdates
Matthias Clasen [Tue, 26 Jun 2007 03:34:06 +0000 (03:34 +0000)]
Updates

svn path=/trunk/; revision=18233

16 years agoAdd a script to convert libglade files to something gtkbuilder can parse.
Johan Dahlin [Tue, 26 Jun 2007 02:42:41 +0000 (02:42 +0000)]
Add a script to convert libglade files to something gtkbuilder can parse.

    * gtk/gtk-builder-convert: Add a script to convert libglade files
    to something gtkbuilder can parse.
    Fixes #447995

svn path=/trunk/; revision=18232

16 years agoDon't steal menu events while the keyboard is grabbed.
Richard Hult [Mon, 25 Jun 2007 19:54:04 +0000 (19:54 +0000)]
Don't steal menu events while the keyboard is grabbed.

2007-06-25  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
menu events while the keyboard is grabbed.

svn path=/trunk/; revision=18231

16 years agoFallback to X cursors for the ones that OS X doesn't provide. Fixes bug
Richard Hult [Mon, 25 Jun 2007 19:43:22 +0000 (19:43 +0000)]
Fallback to X cursors for the ones that OS X doesn't provide. Fixes bug

2007-06-25  Richard Hult  <richard@imendio.com>

* gdk/quartz/Makefile.am:
* gdk/quartz/xcursors.h:
* gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
ones that OS X doesn't provide. Fixes bug #327912.

svn path=/trunk/; revision=18229

16 years agobuilding a GtkRecentInfo can never fail.
Emmanuele Bassi [Mon, 25 Jun 2007 16:15:21 +0000 (16:15 +0000)]
building a GtkRecentInfo can never fail.

2007-06-25  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(build_recent_info): building a GtkRecentInfo can never fail.

(gtk_recent_manager_get_items): Clamp the list while building
it so we don't need to traverse it more than once. (#446532,
Philip Withnall)

svn path=/trunk/; revision=18228

16 years agoUpdated Vietnamese translation.
Clytie Siddall [Mon, 25 Jun 2007 13:22:39 +0000 (13:22 +0000)]
Updated Vietnamese translation.

svn path=/trunk/; revision=18227

16 years agoUpdated Vietnamese translation.
Clytie Siddall [Mon, 25 Jun 2007 13:08:42 +0000 (13:08 +0000)]
Updated Vietnamese translation.

svn path=/trunk/; revision=18226

16 years agoRevert my attempted overly simple fix for #445284, as it causes a
Tor Lillqvist [Mon, 25 Jun 2007 06:38:58 +0000 (06:38 +0000)]
Revert my attempted overly simple fix for #445284, as it causes a

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

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
attempted overly simple fix for #445284, as it causes a
regression. (For instance, in GIMP the tool cursor gets used also
for the right-click menu in image windows.) A more complex fix is
needed to more completely emulate X11 behaviour.

svn path=/trunk/; revision=18225

16 years agofix little mistake in my last commit ...
Kristian Rietveld [Sun, 24 Jun 2007 12:00:46 +0000 (12:00 +0000)]
fix little mistake in my last commit ...

2007-06-24  Kristian Rietveld  <kris@gtk.org>

* Makefile.am: fix little mistake in my last commit ...

svn path=/trunk/; revision=18223

16 years agoAdd a search engine which queries the Spotlight database on MacOS X (only
Kristian Rietveld [Sun, 24 Jun 2007 11:57:07 +0000 (11:57 +0000)]
Add a search engine which queries the Spotlight database on MacOS X (only

2007-06-24  Kristian Rietveld  <kris@gtk.org>

* gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
the Spotlight database on MacOS X (only available in 10.4 and
higher).

* gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
quartz search engine if we are on OS X.

* Makefile.am: added use_quartz_sources section with new file.

svn path=/trunk/; revision=18222

16 years agoTranslation updated.
Gabor Kelemen [Sat, 23 Jun 2007 16:37:58 +0000 (16:37 +0000)]
Translation updated.

2007-06-23 Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=18221

16 years agoTranslation updated.
Gabor Kelemen [Fri, 22 Jun 2007 21:12:12 +0000 (21:12 +0000)]
Translation updated.

2007-06-22 Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=18220

16 years agoRemove the MIME type calls and queries from the search engine
Emmanuele Bassi [Fri, 22 Jun 2007 14:32:22 +0000 (14:32 +0000)]
Remove the MIME type calls and queries from the search engine

2007-06-22  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtksearchenginebeagle.c:
* gtk/gtksearchenginesimple.c:
* gtk/gtksearchenginetracker.c: Remove the MIME type calls and
queries from the search engine implementations, since we use our
own GtkFileSystem to filter out basing on MIME types and we cannot
query MIME types anyway. The GtkQuery private object still has
MIME type, as well as location, support for future expansion.

svn path=/trunk/; revision=18219

16 years agoupdated si translation
Felix I [Fri, 22 Jun 2007 11:06:28 +0000 (11:06 +0000)]
updated si translation

svn path=/trunk/; revision=18218

16 years agoupdated si translation
Felix I [Fri, 22 Jun 2007 11:05:06 +0000 (11:05 +0000)]
updated si translation

svn path=/trunk/; revision=18217

16 years agoapplied patch from Xan Lopez to eliminate gap in painted frame for
Tim Janik [Fri, 22 Jun 2007 10:16:39 +0000 (10:16 +0000)]
applied patch from Xan Lopez to eliminate gap in painted frame for

Fri Jun 22 12:13:39 2007  Tim Janik  <timj@imendio.com>

        * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
        to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.

        * tests/testframe.c: added test application from Xan Lopez to
        test xalign/yalign interactions with xthickness/ythickness.

svn path=/trunk/; revision=18216

16 years agoapplied patch from Mark Tiefenbruck to add missing return_if_fail,
Tim Janik [Thu, 21 Jun 2007 22:37:21 +0000 (22:37 +0000)]
applied patch from Mark Tiefenbruck to add missing return_if_fail,

Fri Jun 22 00:34:34 2007  Tim Janik  <timj@gtk.org>

        * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
        patch from Mark Tiefenbruck to add missing return_if_fail, #449862.

svn path=/trunk/; revision=18215

16 years agoRemove debug spew
Matthias Clasen [Thu, 21 Jun 2007 05:35:15 +0000 (05:35 +0000)]
Remove debug spew

svn path=/trunk/; revision=18214

16 years agoRemove faulty and irrelevant enter-leave compression code. (#449167, patch
Matthias Clasen [Thu, 21 Jun 2007 05:21:51 +0000 (05:21 +0000)]
Remove faulty and irrelevant enter-leave compression code. (#449167, patch

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

        * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
        enter-leave compression code.  (#449167, patch by Tim Janik)

svn path=/trunk/; revision=18213

16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Wed, 20 Jun 2007 10:16:23 +0000 (10:16 +0000)]
Estonian translation update by Ivar Smolin.

2007-06-20  Priit Laes  <plaes@svn.gnome.org>

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

svn path=/trunk/; revision=18207

16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Wed, 20 Jun 2007 10:15:40 +0000 (10:15 +0000)]
Estonian translation update by Ivar Smolin.

2007-06-20  Priit Laes  <plaes@svn.gnome.org>

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

svn path=/trunk/; revision=18206

16 years agoFix a typo in a comment
Johan Dahlin [Tue, 19 Jun 2007 22:42:51 +0000 (22:42 +0000)]
Fix a typo in a comment

    * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
    in a comment

svn path=/trunk/; revision=18199

16 years agoDon't create or update the tracking rect in the window, move it to the
Richard Hult [Tue, 19 Jun 2007 22:09:56 +0000 (22:09 +0000)]
Don't create or update the tracking rect in the window, move it to the

2007-06-20  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c (gdk_window_new):
* gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
update the tracking rect in the window, move it to the view where
it belongs.

* gdk/quartz/GdkQuartzView.c (updateTrackingRect)
(viewDidMoveToWindow, viewWillMoveToWindow)
(setFrame, setBounds): Create and update the tracking rect here.

svn path=/trunk/; revision=18197

16 years agoRestore G_BEGIN_DECLS at the top of this file to make C++ compilers happy.
Mathias Hasselmann [Tue, 19 Jun 2007 18:37:14 +0000 (18:37 +0000)]
Restore G_BEGIN_DECLS at the top of this file to make C++ compilers happy.

2007-06-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
top of this file to make C++ compilers happy.

svn path=/trunk/; revision=18196

16 years agoBump version
Matthias Clasen [Tue, 19 Jun 2007 16:57:06 +0000 (16:57 +0000)]
Bump version

svn path=/trunk/; revision=18194

16 years ago2.11.4
Matthias Clasen [Tue, 19 Jun 2007 16:55:25 +0000 (16:55 +0000)]
2.11.4

svn path=/trunk/; revision=18192

16 years agoUpdates
Matthias Clasen [Tue, 19 Jun 2007 16:25:11 +0000 (16:25 +0000)]
Updates

svn path=/trunk/; revision=18191

16 years agouse g_slice_dup().
Sven Neumann [Tue, 19 Jun 2007 15:41:24 +0000 (15:41 +0000)]
use g_slice_dup().

2007-06-19  Sven Neumann  <sven@gimp.org>

* gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().

svn path=/trunk/; revision=18189

16 years agomark the GtkTooltips struct as private. Keep the tooltips in a hash table
Sven Neumann [Tue, 19 Jun 2007 15:08:11 +0000 (15:08 +0000)]
mark the GtkTooltips struct as private. Keep the tooltips in a hash table

2007-06-19  Sven Neumann  <sven@gimp.org>

* gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
Keep the tooltips in a hash table instead of a linked list.
Improves performance when using large amounts of tooltips (#447214).

* README.in: document the GtkTooltips changes.

svn path=/trunk/; revision=18188

16 years agoRename buildable methods to not clash with widget methods. (#448928,
Johan Dahlin [Tue, 19 Jun 2007 12:23:36 +0000 (12:23 +0000)]
Rename buildable methods to not clash with widget methods. (#448928,

2007-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/*: Rename buildable methods to not clash with widget
    methods. (#448928, Torsten Schoenfeld)

svn path=/trunk/; revision=18187

16 years agoFix ChangeLog
Emmanuele Bassi [Tue, 19 Jun 2007 11:00:39 +0000 (11:00 +0000)]
Fix ChangeLog

svn path=/trunk/; revision=18186

16 years agoUse g_timeout_add_seconds_full() for the timed poll of the storage file,
Emmanuele Bassi [Tue, 19 Jun 2007 10:59:37 +0000 (10:59 +0000)]
Use g_timeout_add_seconds_full() for the timed poll of the storage file,

2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
the timed poll of the storage file, since we are using multiple
seconds intervals and we don't actually care about millisecond
precision.

(threads_dispatch), (threads_free), (gtk_recent_manager_init),
(gtk_recent_manager_set_filename): Roll our own version of
gdk_threads_add_timeout() using g_timeout_add_seconds_full()
while holding the GDK main lock.

svn path=/trunk/; revision=18185

16 years agoUse a static variable to hold the singleton and remove the code that binds
Emmanuele Bassi [Tue, 19 Jun 2007 10:29:55 +0000 (10:29 +0000)]
Use a static variable to hold the singleton and remove the code that binds

2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c: Use a static variable to hold the
singleton and remove the code that binds a recent manager to
a GdkScreen.

(gtk_recent_manager_set_screen): Make it a NOOP.
(gtk_recent_manager_get_for_screen): Proxy for
gtk_recent_manager_get_default().

* gtk/gtk.symbols:
* gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
and gtk_recent_manager_get_for_screen().

* gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
singleton (if any) when reaching main loop depth of 0.

* gtk/gtkrecentchooserdefault.c:
(gtk_recent_chooser_default_dispose): Disconnect the changed
signal only if we have a manager and we are connected to it.

(set_recent_manager): Ditto.

* README.in: Document the deprecations.

svn path=/trunk/; revision=18184

16 years agoFix some issues with refcounting of the adjustment. (#448544, Carlos
Matthias Clasen [Tue, 19 Jun 2007 03:10:02 +0000 (03:10 +0000)]
Fix some issues with refcounting of the adjustment. (#448544, Carlos

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

        * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
        of the adjustment.  (#448544, Carlos Garnacho)

svn path=/trunk/; revision=18183

17 years agoBug 448484 – GtkAccelGroup forgets to remove closure invalidate notifiers when finalizing
Gustavo J. A. M. Carneiro [Mon, 18 Jun 2007 09:42:27 +0000 (09:42 +0000)]
Bug 448484 – GtkAccelGroup forgets to remove closure invalidate notifiers when finalizing

svn path=/trunk/; revision=18181

17 years agoMake GtkMenuShell abstract
Matthias Clasen [Mon, 18 Jun 2007 01:07:01 +0000 (01:07 +0000)]
Make GtkMenuShell abstract

svn path=/trunk/; revision=18180

17 years agoFix a doc typo
Matthias Clasen [Mon, 18 Jun 2007 00:22:14 +0000 (00:22 +0000)]
Fix a doc typo

svn path=/trunk/; revision=18179

17 years agoForward Mac OS menu shortcut events to the right menu.
Richard Hult [Sun, 17 Jun 2007 20:36:26 +0000 (20:36 +0000)]
Forward Mac OS menu shortcut events to the right menu.

2007-06-17  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
Mac OS menu shortcut events to the right menu.

svn path=/trunk/; revision=18178

17 years agoAdd note about --print-settings
Christian Persch [Sun, 17 Jun 2007 18:44:39 +0000 (18:44 +0000)]
Add note about --print-settings

svn path=/trunk/; revision=18177

17 years agoMore refactoring of the event handling: Extract synthesizing of crossing
Richard Hult [Sun, 17 Jun 2007 18:41:36 +0000 (18:41 +0000)]
More refactoring of the event handling: Extract synthesizing of crossing

2007-06-17  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
(synthesize_crossing_events_for_ns_event)
(find_window_for_ns_event): More refactoring of the event
handling: Extract synthesizing of crossing events from
find_window_for_ns_event so that it doesn't have any side effects,
and call the new function from gdk_event_translate instead.

svn path=/trunk/; revision=18176

17 years agoRemove pointless logging for unhandled events. Activate the application on
Richard Hult [Sun, 17 Jun 2007 14:29:21 +0000 (14:29 +0000)]
Remove pointless logging for unhandled events. Activate the application on

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
(gdk_event_translate): Remove pointless logging for unhandled events.
Activate the application on non-left clicks, since that is only done
for left clicks and we depend on it to get events routed properly for
context menus and other popup windows.

svn path=/trunk/; revision=18175

17 years agoRemove extra braces.
Xan Lopez [Sun, 17 Jun 2007 12:02:44 +0000 (12:02 +0000)]
Remove extra braces.

svn path=/trunk/; revision=18174

17 years agoUpdate changelog
Xan Lopez [Sun, 17 Jun 2007 12:02:42 +0000 (12:02 +0000)]
Update changelog

svn path=/trunk/; revision=18173

17 years agoPass the print settings to the preview programme. Bug #403717, patch by
Christian Persch [Sun, 17 Jun 2007 11:54:16 +0000 (11:54 +0000)]
Pass the print settings to the preview programme. Bug #403717, patch by

2007-06-17  Christian Persch  <chpe@gnome.org>

* gtk/Makefile.am: Pass the print settings to the preview programme.
Bug #403717, patch by Carlos Garcia Campos.

svn path=/trunk/; revision=18172

17 years agoBah, fix the bug number.
Xan Lopez [Sun, 17 Jun 2007 11:39:03 +0000 (11:39 +0000)]
Bah, fix the bug number.

svn path=/trunk/; revision=18171

17 years agoreplace GDK_WINDOW calls by cast to GdkWindow. Patch by Tilman Sauerbeck
Xan Lopez [Sun, 17 Jun 2007 11:24:25 +0000 (11:24 +0000)]
replace GDK_WINDOW calls by cast to GdkWindow. Patch by Tilman Sauerbeck

2007-06-17  Xan Lopez  <xan@gnome.org>

* gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
GdkWindow. Patch by Tilman Sauerbeck from #2063820.

svn path=/trunk/; revision=18170

17 years agoChange input method behavior to act on key presses instead of key
Daniel Elstner [Sun, 17 Jun 2007 09:48:28 +0000 (09:48 +0000)]
Change input method behavior to act on key presses instead of key

* modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
Change input method behavior to act on key presses instead of
key releases, matching normal text input behavior.  This change
alleviates the need to take special action for control keys not
handled by the input module itself.

svn path=/trunk/; revision=18169

17 years agoList font sizes 6 and 7pt too. (#440450, Sebastien Bacher, Alex "weej"
Behdad Esfahbod [Sun, 17 Jun 2007 07:45:25 +0000 (07:45 +0000)]
List font sizes 6 and 7pt too. (#440450, Sebastien Bacher, Alex "weej"

2007-06-17  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
        Sebastien Bacher, Alex "weej" Jones)

svn path=/trunk/; revision=18168

17 years agofixed couple of drawing problems with block cursor (#448321).
Yevgen Muntyan [Sat, 16 Jun 2007 23:18:29 +0000 (23:18 +0000)]
fixed couple of drawing problems with block cursor (#448321).

2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtktextdisplay.c (render_para): fixed couple of drawing
problems with block cursor (#448321).

svn path=/trunk/; revision=18167

17 years agoAdd GtkTooltip. (#448341)
Jan Arne Petersen [Sat, 16 Jun 2007 22:46:34 +0000 (22:46 +0000)]
Add GtkTooltip. (#448341)

2007-06-17  Jan Arne Petersen  <jpetersen@jpetersen.org>

       * gtk/gtk-docs.sgml: Add GtkTooltip. (#448341)

svn path=/trunk/; revision=18166

17 years agoIgnore events and break any grabs while the window is being dragged.
Richard Hult [Sat, 16 Jun 2007 21:39:42 +0000 (21:39 +0000)]
Ignore events and break any grabs while the window is being dragged.

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
events and break any grabs while the window is being dragged.

svn path=/trunk/; revision=18165

17 years agoDefer setting the parent until the window is shown, otherwise it gets
Richard Hult [Sat, 16 Jun 2007 21:21:52 +0000 (21:21 +0000)]
Defer setting the parent until the window is shown, otherwise it gets

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
Defer setting the parent until the window is shown, otherwise it
gets unconditionally shown here.

svn path=/trunk/; revision=18164

17 years agoSwap argument order to dgettext (#448299, Jan Arne Petersen)
Johan Dahlin [Sat, 16 Jun 2007 20:36:09 +0000 (20:36 +0000)]
Swap argument order to dgettext (#448299, Jan Arne Petersen)

2007-06-16  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
    (#448299, Jan Arne Petersen)

svn path=/trunk/; revision=18163

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 16 Jun 2007 19:59:32 +0000 (19:59 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18162

17 years agoMove the checks for no window or a non-GDK window from here...
Richard Hult [Sat, 16 Jun 2007 16:16:43 +0000 (16:16 +0000)]
Move the checks for no window or a non-GDK window from here...

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
Move the checks for no window or a non-GDK window from here...
(gdk_event_translate): ...to here. Reorder the code so that we
detect the cases where we need to break grabs before bailing
out.

svn path=/trunk/; revision=18161

17 years agoBreak out into a separate function.
Richard Hult [Sat, 16 Jun 2007 15:43:23 +0000 (15:43 +0000)]
Break out into a separate function.

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
(break_all_grabs): Break out into a separate function.

svn path=/trunk/; revision=18160

17 years agoImplement, to be used to detect if the window is currently being moved
Richard Hult [Sat, 16 Jun 2007 15:41:27 +0000 (15:41 +0000)]
Implement, to be used to detect if the window is currently being moved

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
to detect if the window is currently being moved with the mouse.

svn path=/trunk/; revision=18159

17 years agoDon't set parent/child relationship for tooltip windows since that moves
Richard Hult [Sat, 16 Jun 2007 15:38:33 +0000 (15:38 +0000)]
Don't set parent/child relationship for tooltip windows since that moves

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
Don't set parent/child relationship for tooltip windows since that
moves the parent window to the front, due to the tooltip having a
high window level.

svn path=/trunk/; revision=18158

17 years agoDon't use "typename" C++ keyword as parameter name. Bug #448193.
Christian Persch [Sat, 16 Jun 2007 14:29:50 +0000 (14:29 +0000)]
Don't use "typename" C++ keyword as parameter name. Bug #448193.

2007-06-16  Christian Persch  <chpe@gnome.org>

* gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
(gtk_builder_get_type_from_name):
* gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
name. Bug #448193.

svn path=/trunk/; revision=18157

17 years agoBump version
Matthias Clasen [Sat, 16 Jun 2007 02:08:38 +0000 (02:08 +0000)]
Bump version

svn path=/trunk/; revision=18156

17 years ago2.11.3
Matthias Clasen [Sat, 16 Jun 2007 02:02:37 +0000 (02:02 +0000)]
2.11.3

svn path=/trunk/; revision=18154

17 years agoBase class should be GObject, not GtkObject.
Johan Dahlin [Fri, 15 Jun 2007 21:48:32 +0000 (21:48 +0000)]
Base class should be GObject, not GtkObject.

* gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.

svn path=/trunk/; revision=18153

17 years agoFix cross-references
Matthias Clasen [Fri, 15 Jun 2007 21:19:44 +0000 (21:19 +0000)]
Fix cross-references

svn path=/trunk/; revision=18152

17 years agoDocumentation fixes
Matthias Clasen [Fri, 15 Jun 2007 21:18:35 +0000 (21:18 +0000)]
Documentation fixes

svn path=/trunk/; revision=18151

17 years agoFix up docs
Matthias Clasen [Fri, 15 Jun 2007 20:56:30 +0000 (20:56 +0000)]
Fix up docs

svn path=/trunk/; revision=18150

17 years agoCorrecting the ChangeLog entry for r18142.
Mathias Hasselmann [Fri, 15 Jun 2007 20:55:16 +0000 (20:55 +0000)]
Correcting the ChangeLog entry for r18142.

svn path=/trunk/; revision=18149

17 years agoDon't install gtkbuilderprivate.h
Matthias Clasen [Fri, 15 Jun 2007 20:43:49 +0000 (20:43 +0000)]
Don't install gtkbuilderprivate.h

2007-06-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am: Don't install gtkbuilderprivate.h

        * gtk/gtk.h: Include gtkbuilder.h

        * NEWS: Updates

svn path=/trunk/; revision=18148

17 years agoAdd forgotten docs
Matthias Clasen [Fri, 15 Jun 2007 19:46:32 +0000 (19:46 +0000)]
Add forgotten docs

svn path=/trunk/; revision=18147

17 years agoUse gsize instead of unsigned and gulong instead of long, fixes complation
Johan Dahlin [Fri, 15 Jun 2007 19:21:43 +0000 (19:21 +0000)]
Use gsize instead of unsigned and gulong instead of long, fixes complation

    * gtk/gtkbuilder.c (gtk_builder_add_from_file):
    (gtk_builder_value_from_string_type):
    Use gsize instead of unsigned and gulong instead of long,
    fixes complation on OSX, fixes #447987

svn path=/trunk/; revision=18146

17 years agoadd move_selected signal to allow overriding the default internal
Matthias Clasen [Fri, 15 Jun 2007 19:08:08 +0000 (19:08 +0000)]
add move_selected signal to allow overriding the default internal

2007-06-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmenushell.[ch]: add move_selected signal to allow
        overriding the default internal behaviour.  (#446833, Ryan Lortie)

svn path=/trunk/; revision=18145

17 years agoForgot to free the unescaped tooltip text.
Mathias Hasselmann [Fri, 15 Jun 2007 18:34:21 +0000 (18:34 +0000)]
Forgot to free the unescaped tooltip text.

2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.

svn path=/trunk/; revision=18144

17 years agoImproving handling of tooltip-text property. Also check result of tooltip
Mathias Hasselmann [Fri, 15 Jun 2007 18:25:11 +0000 (18:25 +0000)]
Improving handling of tooltip-text property. Also check result of tooltip

2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkwidget.c: Improving handling of tooltip-text property.
* tests/testtooltips.c: Also check result of tooltip getters.

svn path=/trunk/; revision=18143

17 years agoIntroduce convenience property "GtkWidget:tooltip-text" taking care of
Mathias Hasselmann [Fri, 15 Jun 2007 18:24:55 +0000 (18:24 +0000)]
Introduce convenience property "GtkWidget:tooltip-text" taking care of

2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>

        * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
        gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
        convenience property "GtkWidget:tooltip-text" taking care of escaping
        it for unwanted markup entities. Add functions to set tooltip text:
        gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
        gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().

        * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
        to set the tooltip text without using markup.

        Patches from Emmanuele Bassi (#447643).

svn path=/trunk/; revision=18142

17 years agoAdd GtkBuilder, fixes #172535
Johan Dahlin [Fri, 15 Jun 2007 17:53:46 +0000 (17:53 +0000)]
Add GtkBuilder, fixes #172535

2007-06-15  Johan Dahlin  <jdahlin@async.com.br>

    * demos/gtk-demo/Makefile.am:
    * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
    (do_builder):
    * demos/gtk-demo/demo.ui:
    * docs/reference/gtk/gtk-docs.sgml:
    * docs/reference/gtk/gtk-sections.txt:
    * docs/reference/gtk/gtk.types:
    * docs/reference/gtk/tmpl/gtkbuildable.sgml:
    * docs/reference/gtk/tmpl/gtkbuilder.sgml:
    * gtk/Makefile.am:
    * gtk/gtk.h:
    * gtk/gtk.symbols:
    * gtk/gtkaction.c: (gtk_action_buildable_init),
    (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
    * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
    (gtk_action_group_buildable_init),
    (gtk_action_group_buildable_add),
    (gtk_action_group_buildable_set_name),
    (gtk_action_group_buildable_get_name):
    * gtk/gtkbuildable.c: (gtk_buildable_get_type),
    (gtk_buildable_set_name), (gtk_buildable_get_name),
    (gtk_buildable_add), (gtk_buildable_set_property),
    (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
    (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
    (gtk_buildable_custom_finished),
    (gtk_buildable_get_internal_child):
    * gtk/gtkbuildable.h:
    * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
    (gtk_builder_finalize), (gtk_builder_set_property),
    (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
    (gtk_builder_real_get_type_from_name),
    (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
    (_gtk_builder_construct), (_gtk_builder_add),
    (apply_delayed_properties), (_gtk_builder_finish),
    (gtk_builder_new), (gtk_builder_add_from_file),
    (gtk_builder_add_from_string), (gtk_builder_get_object),
    (object_add_to_list), (gtk_builder_get_objects),
    (gtk_builder_set_translation_domain),
    (gtk_builder_get_translation_domain),
    (gtk_builder_connect_signals_default),
    (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
    (gtk_builder_value_from_string),
    (gtk_builder_value_from_string_type),
    (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
    (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
    * gtk/gtkbuilder.h:
    * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
    (error_missing_attribute), (error_invalid_attribute),
    (error_invalid_tag), (builder_construct), (parse_object),
    (free_object_info), (_get_type_by_symbol), (parse_child),
    (free_child_info), (parse_property), (free_property_info),
    (parse_signal), (_free_signal_info), (parse_interface),
    (create_subparser), (free_subparser), (subparser_start),
    (subparser_end), (parse_custom), (start_element), (end_element),
    (text), (_gtk_builder_parser_parse_buffer):
    * gtk/gtkbuilderprivate.h:
    * gtk/gtkcelllayout.c: (attributes_start_element),
    (attributes_text_element),
    (_gtk_cell_layout_buildable_custom_tag_start),
    (_gtk_cell_layout_buildable_custom_tag_end),
    (_gtk_cell_layout_buildable_add):
    * gtk/gtkcelllayout.h:
    * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
    (gtk_cell_view_buildable_custom_tag_start),
    (gtk_cell_view_buildable_custom_tag_end):
    * gtk/gtkcolorseldialog.c:
    (gtk_color_selection_dialog_buildable_interface_init),
    (gtk_color_selection_dialog_buildable_get_internal_child):
    * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
    (gtk_combo_box_buildable_custom_tag_start),
    (gtk_combo_box_buildable_custom_tag_end):
    * gtk/gtkcomboboxentry.c:
    (gtk_combo_box_entry_buildable_interface_init),
    (gtk_combo_box_entry_buildable_get_internal_child):
    * gtk/gtkcontainer.c: (gtk_container_get_type),
    (gtk_container_buildable_init), (gtk_container_buildable_add),
    (gtk_container_buildable_set_child_property),
    (attributes_start_element), (attributes_text_element),
    (gtk_container_buildable_custom_tag_start),
    (gtk_container_buildable_custom_tag_end):
    * gtk/gtkdebug.h:
    * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
    (gtk_dialog_buildable_get_internal_child),
    (attributes_start_element), (attributes_text_element),
    (gtk_dialog_buildable_custom_tag_start),
    (gtk_dialog_buildable_custom_finished):
    * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
    * gtk/gtkexpander.c: (gtk_expander_buildable_add),
    (gtk_expander_buildable_init):
    * gtk/gtkfontsel.c:
    (gtk_font_selection_dialog_buildable_interface_init),
    (gtk_font_selection_dialog_buildable_get_internal_child):
    * gtk/gtkframe.c: (gtk_frame_buildable_init),
    (gtk_frame_buildable_add):
    * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
    (gtk_icon_view_buildable_custom_tag_start),
    (gtk_icon_view_buildable_custom_tag_end):
    * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
    (list_store_start_element), (list_store_end_element),
    (list_store_text), (gtk_list_store_buildable_custom_tag_start),
    (gtk_list_store_buildable_custom_tag_end):
    * gtk/gtkmain.c:
    * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
    (gtk_notebook_buildable_add):
    * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
    (size_group_start_element),
    (gtk_size_group_buildable_custom_tag_start),
    (gtk_size_group_buildable_custom_finished):
    * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
    (tree_model_start_element),
    (gtk_tree_store_buildable_custom_tag_start),
    (gtk_tree_store_buildable_custom_finished):
    * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
    (gtk_tree_view_buildable_add):
    * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
    * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
    (gtk_ui_manager_buildable_add),
    (gtk_ui_manager_buildable_construct_child),
    (gtk_ui_manager_buildable_custom_tag_start),
    (gtk_ui_manager_buildable_custom_tag_end):
    * gtk/gtkwidget.c: (gtk_widget_get_type),
    (gtk_widget_buildable_interface_init),
    (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
    (gtk_widget_buildable_set_property),
    (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
    (gtk_widget_buildable_custom_tag_start),
    (gtk_widget_buildable_custom_finshed):
    * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
    (gtk_window_buildable_set_property),
    (gtk_window_buildable_parser_finished):
    * tests/Makefile.am:
    * tests/buildertest.c: (builder_new_from_string), (test_parser),
    (signal_normal), (signal_after), (signal_object),
    (signal_object_after), (signal_first), (signal_second),
    (signal_extra), (signal_extra2), (test_connect_signals),
    (test_uimanager_simple), (test_domain), (test_translation),
    (test_sizegroup), (test_list_store), (test_tree_store),
    (test_types), (test_spin_button), (test_notebook),
    (test_construct_only_property), (test_children),
    (test_child_properties), (test_treeview_column), (test_icon_view),
    (test_combo_box), (test_combo_box_entry), (test_cell_view),
    (test_dialog), (test_accelerators), (test_widget), (main):

    Add GtkBuilder, fixes #172535

svn path=/trunk/; revision=18141

17 years agoupdated explicit usage of RegisterClassExW to match the WNDCLASSEXW. True
Hans Breuer [Fri, 15 Jun 2007 15:25:50 +0000 (15:25 +0000)]
updated explicit usage of RegisterClassExW to match the WNDCLASSEXW. True

2007-06-15  Hans Breuer <hans@breuer.org>

* gtk/makefile.msc.in tests/makefile.msc : updated
* gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
to match the WNDCLASSEXW.
True dynamic linking of SetLayeredWindowAttributes
* tests/testprint.c tests/testnouiprint.c : use G_PI

svn path=/trunk/; revision=18140

17 years agoupdated use g_snprintf
Hans Breuer [Fri, 15 Jun 2007 15:18:48 +0000 (15:18 +0000)]
updated use g_snprintf

2007-06-15  Hans Breuer  <hans@breuer.org>

* makefile.msc : updated
* io-jpeg.c : use g_snprintf

svn path=/trunk/; revision=18139

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 15 Jun 2007 09:50:10 +0000 (09:50 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18138

17 years agoinlinegraphic instead of inlinegraphics. Fixes the doc build
Johan Dahlin [Thu, 14 Jun 2007 22:10:14 +0000 (22:10 +0000)]
inlinegraphic instead of inlinegraphics. Fixes the doc build

2007-06-14  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/tmpl/gtktreeview.sgml (linkend): inlinegraphic instead of
    inlinegraphics. Fixes the doc build

svn path=/trunk/; revision=18137

17 years ago...and the ChangeLog entry, thanks richard
Johan Dahlin [Thu, 14 Jun 2007 19:28:58 +0000 (19:28 +0000)]
...and the ChangeLog entry, thanks richard

svn path=/trunk/; revision=18136

17 years agoAdd gtk_text_layout_set_overwrite_mode
Johan Dahlin [Thu, 14 Jun 2007 19:18:25 +0000 (19:18 +0000)]
Add gtk_text_layout_set_overwrite_mode

svn path=/trunk/; revision=18135

17 years agoFix compiler warning. (#447586, Kazuki IWAMOTO)
Behdad Esfahbod [Thu, 14 Jun 2007 16:03:30 +0000 (16:03 +0000)]
Fix compiler warning. (#447586, Kazuki IWAMOTO)

2007-06-14  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
        warning. (#447586, Kazuki IWAMOTO)

svn path=/trunk/; revision=18134

17 years agoUse g_win32_get_windows_version() instead of _winver so that this compiles
Tor Lillqvist [Thu, 14 Jun 2007 09:41:08 +0000 (09:41 +0000)]
Use g_win32_get_windows_version() instead of _winver so that this compiles

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

* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
g_win32_get_windows_version() instead of _winver so that this
compiles on Cygwin, too. Not that I know if it makes sense to
build GTK+ with the Win32 backend for Cygwin, but some people want
to.

svn path=/trunk/; revision=18132

17 years agoUpdated Oriya Translation
Subhransu Behera [Thu, 14 Jun 2007 06:54:01 +0000 (06:54 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=18131

17 years agoUpdates
Matthias Clasen [Thu, 14 Jun 2007 04:37:31 +0000 (04:37 +0000)]
Updates

svn path=/trunk/; revision=18130

17 years agoMove a note around
Matthias Clasen [Thu, 14 Jun 2007 04:13:14 +0000 (04:13 +0000)]
Move a note around

svn path=/trunk/; revision=18129

17 years agoImprove docs
Matthias Clasen [Thu, 14 Jun 2007 04:03:58 +0000 (04:03 +0000)]
Improve docs

svn path=/trunk/; revision=18128

17 years agoremoved unused and hardly visible GtkFrame from the menu widget hierarchy
Carlos Garnacho [Wed, 13 Jun 2007 23:15:42 +0000 (23:15 +0000)]
removed unused and hardly visible GtkFrame from the menu widget hierarchy

2007-06-14  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
        the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
        * NEWS: add a note about repercussions of this change to RC files.

svn path=/trunk/; revision=18127

17 years ago#undef GDK_DISABLE_DEPRECATED to get prototype for gdk_font_ref().
Behdad Esfahbod [Wed, 13 Jun 2007 21:24:21 +0000 (21:24 +0000)]
#undef GDK_DISABLE_DEPRECATED to get prototype for gdk_font_ref().

2007-06-13  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
        get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)

svn path=/trunk/; revision=18126

17 years agoadd "submenu" property. Fix gtk_menu_item_set_submenu() to accept NULL
Michael Natterer [Wed, 13 Jun 2007 15:21:10 +0000 (15:21 +0000)]
add "submenu" property. Fix gtk_menu_item_set_submenu() to accept NULL

2007-06-13  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
gtk_menu_item_remove_submenu() because we have a properly working
setter now (bug #447065).

* gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().

* gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
gtk_menu_item_remove_submenu().

svn path=/trunk/; revision=18125