]>
Pileus Git - ~andy/gtk/log
Hendrik Richter [Tue, 12 Feb 2008 09:34:01 +0000 (09:34 +0000)]
Updated German translation.
2008-02-12 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=19518
Matthias Clasen [Tue, 12 Feb 2008 03:48:09 +0000 (03:48 +0000)]
Fix the build
svn path=/trunk/; revision=19517
Matthias Clasen [Tue, 12 Feb 2008 03:24:03 +0000 (03:24 +0000)]
Support keynav in status icons. (#473786, Li Yuan)
2008-02-11 Matthias Clasen <mclasen@redhat.com>
Support keynav in status icons. (#473786, Li Yuan)
* gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
* gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
svn path=/trunk/; revision=19515
Kristian Rietveld [Mon, 11 Feb 2008 15:06:57 +0000 (15:06 +0000)]
gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder) plug leak wrt. link
2008-02-11 Kristian Rietveld <kris@imendio.com>
* gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
* gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
wrt. link deletion from list; contination of fix for #503569.
svn path=/trunk/; revision=19513
Benjamin Otte [Mon, 11 Feb 2008 11:01:59 +0000 (11:01 +0000)]
remove SGML comment in example code - it was visible in the generated
2008-02-11 Benjamin Otte <otte@gnome.org>
* gdk/tmpl/windows.sgml:
remove SGML comment in example code - it was visible in the generated
HTML.
svn path=/trunk/; revision=19512
Emmanuele Bassi [Mon, 11 Feb 2008 09:55:29 +0000 (09:55 +0000)]
Revert spurious commit on GtkLinkButton
svn path=/trunk/; revision=19510
Emmanuele Bassi [Mon, 11 Feb 2008 09:54:09 +0000 (09:54 +0000)]
Set no-show-all flag on the placeholder menu item.
2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c:
(gtk_recent_chooser_menu_constructor): Set no-show-all flag
on the placeholder menu item.
* tests/testrecentchoosermenu.c:
(create_recent_chooser_menu): Use gtk_widget_show_all() to test
whether the placeholder menu item gets shown.
svn path=/trunk/; revision=19509
Cody Russell [Mon, 11 Feb 2008 01:51:14 +0000 (01:51 +0000)]
Check the return value of _gtk_file_chooser_get_file_system () for NULL
2008-02-10 Cody Russell <bratsche@gnome.org>
* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
Check the return value of _gtk_file_chooser_get_file_system () for
NULL before passing it to gtk_file_system_path_to_uri ().
(#515667, Francesco Montorsi)
svn path=/trunk/; revision=19508
Philip Withnall [Sun, 10 Feb 2008 06:59:52 +0000 (06:59 +0000)]
Improve the documentation for gtk_builder_connect_signals. (#514471)
2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
* gtk/gtkbuilder.c: Improve the documentation for
gtk_builder_connect_signals. (#514471)
svn path=/trunk/; revision=19507
Matthias Clasen [Sun, 10 Feb 2008 06:27:46 +0000 (06:27 +0000)]
Try harder to return pixbufs of the requested size. (#494515, Mike
2008-02-10 Matthias Clasen <mclasne@redhat.com>
* gdk-pixbuf-scaled-anim.c: Try harder to return pixbufs
of the requested size. (#494515, Mike Morrison)
svn path=/trunk/; revision=19504
Matthias Clasen [Sun, 10 Feb 2008 06:14:59 +0000 (06:14 +0000)]
Propagate local-only. (#511987, Jonh Wendell)
2008-02-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentaction.c: Propagate local-only. (#511987,
Jonh Wendell)
svn path=/trunk/; revision=19503
Cody Russell [Sat, 9 Feb 2008 04:03:25 +0000 (04:03 +0000)]
Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2008-02-08 Cody Russell <bratsche@gnome.org>
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
svn path=/trunk/; revision=19502
Hendrik Richter [Fri, 8 Feb 2008 19:39:40 +0000 (19:39 +0000)]
Updated German translation.
2008-02-08 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=19501
Richard Hult [Fri, 8 Feb 2008 19:08:40 +0000 (19:08 +0000)]
Ignore the delta from the NSEvent for now, generating multiple scroll
2008-02-08 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
delta from the NSEvent for now, generating multiple scroll events
results in a lot of events getting queued up and things get really
slow.
svn path=/trunk/; revision=19499
Sven Herzberg [Fri, 8 Feb 2008 00:25:50 +0000 (00:25 +0000)]
Adjust the code to match the documentation, examples, "common sense" and
2008-02-08 Sven Herzberg <sven@imendio.com>
Adjust the code to match the documentation, examples, "common sense"
and existing applications.
* gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
that a GtkMenu for a <popup> element doesn't have to have a GtkAction
assigned
svn path=/trunk/; revision=19497
Yair Hershkovitz [Thu, 7 Feb 2008 23:25:12 +0000 (23:25 +0000)]
updated hebrew translation
svn path=/trunk/; revision=19496
Cody Russell [Thu, 7 Feb 2008 19:25:07 +0000 (19:25 +0000)]
gdk/win32/gdkevents-win32.c Fixed two declarations in the middle of a
2008-02-07 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
of a block that were causing compile problems on old
compilers. (#515053, reported by Kazuki IWAMOTO)
svn path=/trunk/; revision=19493
Michael Natterer [Thu, 7 Feb 2008 16:59:42 +0000 (16:59 +0000)]
gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c
2008-02-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellview.c
* gtk/gtklabel.c
* gtk/gtklayout.c
* gtk/gtklist.c
* gtk/gtkmenu.c
* gtk/gtkmenushell.c
* gtk/gtkmisc.c
* gtk/gtkoptionmenu.c
* gtk/gtkplug.c
* gtk/gtkpreview.c
* gtk/gtkprogress.c
* gtk/gtkradiomenuitem.c
* gtk/gtkscale.c
* gtk/gtkscrolledwindow.c
* gtk/gtksocket.c: remove g_return_if_fail() from private
functions and virtual function implementations.
svn path=/trunk/; revision=19492
Michael Natterer [Thu, 7 Feb 2008 15:50:39 +0000 (15:50 +0000)]
gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.c
2008-02-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkaction.c
* gtk/gtkassistant.c
* gtk/gtkbin.c
* gtk/gtkbox.c
* gtk/gtkcalendar.c
* gtk/gtkcellrenderercombo.c
* gtk/gtkcombobox.c
* gtk/gtkcombo.c
* gtk/gtkdrawingarea.c
* gtk/gtkentrycompletion.c
* gtk/gtkfixed.h
* gtk/gtkgamma.c
* gtk/gtkhpaned.c
* gtk/gtkiconview.c
* gtk/gtkitem.c
* gtk/gtkitemfactory.c: remove g_return_if_fail() from private
functions and virtual function implementations.
svn path=/trunk/; revision=19491
Nickolay V. Shmyrev [Thu, 7 Feb 2008 06:47:50 +0000 (06:47 +0000)]
Updated Russian translation by Anton Shestakov <engored@ya.ru>
2008-02-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation by
Anton Shestakov <engored@ya.ru>
svn path=/trunk/; revision=19489
Christian Persch [Wed, 6 Feb 2008 23:08:07 +0000 (23:08 +0000)]
If the pixbuf has an alpha channel, use gdk_draw_rgb_32_image to draw it
2008-02-07 Christian Persch <chpe@gnome.org>
* gdk/gdkpixbuf-render.c:
(gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
otherwise there will be random pixel values in the semi-transparent
area of the pixbuf within the mask. Bug #487865.
svn path=/trunk/; revision=19488
Cody Russell [Wed, 6 Feb 2008 17:01:47 +0000 (17:01 +0000)]
Also check that the window is not mapped.
svn path=/trunk/; revision=19485
Cody Russell [Wed, 6 Feb 2008 16:32:41 +0000 (16:32 +0000)]
Check if the window is a temp window, otherwise things get wonky when you
2008-02-06 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
otherwise things get wonky when you click on a menu. This fixes
a regression caused in #505928. Thanks to Tor for spotting this
one! (#514789)
svn path=/trunk/; revision=19482
Michael Natterer [Wed, 6 Feb 2008 09:53:34 +0000 (09:53 +0000)]
gtk/gtkcontainer.c gtk/gtkexpander.c gtk/gtkframe.c gtk/gtklabel.c
2008-02-06 Michael Natterer <mitch@imendio.com>
* gtk/gtkcontainer.c
* gtk/gtkexpander.c
* gtk/gtkframe.c
* gtk/gtklabel.c
* gtk/gtkmain.c
* gtk/gtkmenu.c
* gtk/gtkmenuitem.c
* gtk/gtkmenushell.c
* gtk/gtknotebook.c
* gtk/gtkseparatortoolitem.c
* gtk/gtksocket.c
* gtk/gtktextlayout.c
* gtk/gtktoggletoolbutton.c
* gtk/gtktoolbutton.c
* gtk/gtktoolitem.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
"GTK_IS_FOO (foo)".
svn path=/trunk/; revision=19481
Matthias Clasen [Wed, 6 Feb 2008 04:04:07 +0000 (04:04 +0000)]
Allow to store half-open ranges.
2008-02-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
Allow to store half-open ranges.
svn path=/trunk/; revision=19479
Cody Russell [Tue, 5 Feb 2008 23:46:35 +0000 (23:46 +0000)]
Walk down the stack until we get to a window that is mapped. Otherwise
2008-02-05 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
down the stack until we get to a window that is mapped.
Otherwise hiding a window will cause all windows in the app
to be blocked. (#514643)
svn path=/trunk/; revision=19477
Xan Lopez [Tue, 5 Feb 2008 22:55:09 +0000 (22:55 +0000)]
Fix typo in ChangeLog
svn path=/trunk/; revision=19474
Matthias Clasen [Tue, 5 Feb 2008 22:20:12 +0000 (22:20 +0000)]
Ignore images in the toplevel theme directory, avoiding one source of
2008-02-05 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c: Ignore images in the toplevel theme
directory, avoiding one source of invalid caches that has been
spotted in the wild.
svn path=/trunk/; revision=19466
Matthias Clasen [Tue, 5 Feb 2008 21:43:26 +0000 (21:43 +0000)]
Fix the build
svn path=/trunk/; revision=19465
Matthias Clasen [Tue, 5 Feb 2008 18:35:54 +0000 (18:35 +0000)]
Install a printerr handler that prepends the program name, since
2008-02-05 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c: Install a printerr handler that
prepends the program name, since gtk-update-icon-cache output
often appears in the middle of other output, e.g. rpm update logs.
svn path=/trunk/; revision=19464
Cody Russell [Tue, 5 Feb 2008 16:47:24 +0000 (16:47 +0000)]
gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c
2008-02-05 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/win32/gdkwindow-win32.h
* gdk/win32/gdkwin32.h:
Modal window rework. (#455627 and #511111)
svn path=/trunk/; revision=19463
Michael Natterer [Mon, 4 Feb 2008 23:01:00 +0000 (23:01 +0000)]
g_return_if_fail() is the cell is not part of the combo instead of
2008-02-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
g_return_if_fail() is the cell is not part of the combo instead of
crashing in the next line.
svn path=/trunk/; revision=19462
Yannig MARCHEGAY [Mon, 4 Feb 2008 12:33:35 +0000 (12:33 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19461
Cody Russell [Fri, 1 Feb 2008 23:25:18 +0000 (23:25 +0000)]
modules/engines/ms-windows/xp_theme.[ch]
2008-02-01 Cody Russell <cody@jhu.edu>
* modules/engines/ms-windows/xp_theme.[ch]
* modules/engines/ms-windows/xp_theme_defs.h
* modules/engines/ms-windows/msw_rc_style.c
* modules/engines/ms-windows/msw_theme_main.c
* modules/engines/ms-windows/msw_style.c: Re-indented and generally
attempted to stylize more like the rest of the gtk+ stack's code.
svn path=/trunk/; revision=19455
Michael Natterer [Fri, 1 Feb 2008 11:20:47 +0000 (11:20 +0000)]
initialize GdkColor structs to fix warning about uninitialized "pixel"
2008-02-01 Michael Natterer <mitch@imendio.com>
* tests/testgtk.c: initialize GdkColor structs to fix warning
about uninitialized "pixel" member.
* tests/testactions.c: connect the toolbar_style() callback so it
does something useful and doesn't warn about being defined but not
used.
svn path=/trunk/; revision=19454
Cody Russell [Thu, 31 Jan 2008 22:40:37 +0000 (22:40 +0000)]
Refactored some of the window hiding/showing code from WM_ACTIVATE to
2008-01-31 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkevents-win32.c:
Refactored some of the window hiding/showing code from
WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
under WM_ACTIVATE was causing the application to go into
a weird state when the user right-clicked on the taskbar
entry of a window that was minimized. (#505928)
svn path=/trunk/; revision=19451
Cody Russell [Thu, 31 Jan 2008 17:53:06 +0000 (17:53 +0000)]
Change queue_resize() to queue_draw(), and add a check for child2 != NULL
2008-01-31 Cody Russell <bratsche@gnome.org>
* gtk/gtkpaned.c (gtk_paned_set_position):
Change queue_resize() to queue_draw(), and add a check for
child2 != NULL in case someone calls this before there is
a child packed in there. (#144269 again)
svn path=/trunk/; revision=19449
Sven Neumann [Thu, 31 Jan 2008 17:27:54 +0000 (17:27 +0000)]
applied patch from Denis Oliver Kropp <dok@directfb.org>.
2008-01-31 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkimage-directfb.c
(_gdk_directfb_copy_to_image):
applied patch from Denis Oliver Kropp <dok@directfb.org>.
svn path=/trunk/; revision=19448
Sven Neumann [Thu, 31 Jan 2008 17:25:19 +0000 (17:25 +0000)]
gdk/directfb/gdkdisplay-directfb.c gdk/directfb/gdkdrawable-directfb.c
2008-01-31 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkdrawable-directfb.c
* gdk/directfb/gdkprivate-directfb.h
* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
svn path=/trunk/; revision=19447
Richard Hult [Thu, 31 Jan 2008 14:05:47 +0000 (14:05 +0000)]
Another attempt at fixing focus issues with undecorated windows. Revert
2008-01-31 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
issues with undecorated windows. Revert the change done on
2008-01-25 and fix it by using the view's bounds instead. The
bounds will always be up to date when setting up the tracking
rect, so this should be more robust.
svn path=/trunk/; revision=19445
Marcel Telka [Thu, 31 Jan 2008 08:53:47 +0000 (08:53 +0000)]
Updated Slovak translation by Pavol Šimo.
2008-01-31 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation by Pavol Šimo.
svn path=/trunk/; revision=19444
Marcel Telka [Thu, 31 Jan 2008 08:52:35 +0000 (08:52 +0000)]
Updated Slovak translation by Pavol Šimo.
2008-01-31 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation by Pavol Šimo.
svn path=/trunk/; revision=19443
Djihed Afifi [Thu, 31 Jan 2008 08:21:12 +0000 (08:21 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=19440
Nikos Charonitakis [Thu, 31 Jan 2008 00:40:10 +0000 (00:40 +0000)]
Updated Greek translation
svn path=/trunk/; revision=19439
Nikos Charonitakis [Thu, 31 Jan 2008 00:36:34 +0000 (00:36 +0000)]
Updated Greek translation
svn path=/trunk/; revision=19438
Daniel Nylander [Wed, 30 Jan 2008 23:55:52 +0000 (23:55 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=19434
Sven Neumann [Wed, 30 Jan 2008 19:51:30 +0000 (19:51 +0000)]
gdk/directfb/gdkdrawable-directfb.c gdk/directfb/gdkwindow-directfb.c
2008-01-30 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdrawable-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
Oliver Kropp <dok@directfb.org>. Adds debug messages using
DirectFB's debugging system
svn path=/trunk/; revision=19433
Sven Neumann [Wed, 30 Jan 2008 19:43:16 +0000 (19:43 +0000)]
gdk/directfb/gdkdirectfb.h gdk/directfb/gdkdisplay-directfb.c
2008-01-30 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdirectfb.h
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkdrawable-directfb.c
* gdk/directfb/gdkim-directfb.c
* gdk/directfb/gdkimage-directfb.c
* gdk/directfb/gdkinput-directfb.c
* gdk/directfb/gdkmain-directfb.c
* gdk/directfb/gdkpixmap-directfb.c
* gdk/directfb/gdktestutils-directfb.c
* gdk/directfb/gdkvisual-directfb.c
* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
errors and has some cleanups.
svn path=/trunk/; revision=19432
Michael Natterer [Wed, 30 Jan 2008 15:06:06 +0000 (15:06 +0000)]
use the right type for "subparser_data" and remove the (gpointer*) cast.
2008-01-30 Michael Natterer <mitch@imendio.com>
* gtk/gtkbuilderparser.c (parse_custom): use the right type for
"subparser_data" and remove the (gpointer*) cast. Fixes bogus
aliasing warning.
* gtk/updateiconcache.c (add_string): cast const gchar* to
gpointer when inserting in a GHashTable.
* tests/testcalendar.c (calendar_detail_cb): remove const from
return value since it's a newly allocated string.
(calendar_update_details): free the detail.
svn path=/trunk/; revision=19431
Johan Dahlin [Tue, 29 Jan 2008 14:18:22 +0000 (14:18 +0000)]
Remove commas
svn path=/trunk/; revision=19427
Johan Dahlin [Tue, 29 Jan 2008 14:12:08 +0000 (14:12 +0000)]
Move the about dialog to the glade file, add accessible tags examples to
2008-01-29 Johan Dahlin <johan@gnome.org>
* demos/gtk-demo/builder.c: (quit_activate), (about_activate),
(do_builder):
* demos/gtk-demo/demo.ui:
Move the about dialog to the glade file, add accessible tags
examples to the markup file.
svn path=/trunk/; revision=19426
Paolo Borelli [Mon, 28 Jan 2008 16:06:16 +0000 (16:06 +0000)]
do not leak the pango layout, fixes #512375.
2008-01-28 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
layout, fixes #512375.
svn path=/trunk/; revision=19419
Michael Natterer [Mon, 28 Jan 2008 15:16:13 +0000 (15:16 +0000)]
gtk/gtktextchild.c meant to use G_STRFUNC, not G_STRLOC...
2008-01-28 Michael Natterer <mitch@imendio.com>
* gtk/gtktextchild.c
* gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
svn path=/trunk/; revision=19418
Michael Natterer [Mon, 28 Jan 2008 13:05:15 +0000 (13:05 +0000)]
use gtk_about_dialog_set_program_name() instead of the deprecated
2008-01-28 Michael Natterer <mitch@imendio.com>
* demos/gtk-demo/builder.c (about_activate): use
gtk_about_dialog_set_program_name() instead of the deprecated
set_name().
svn path=/trunk/; revision=19417
Michael Natterer [Mon, 28 Jan 2008 13:01:01 +0000 (13:01 +0000)]
gtk/gtktextchild.c use G_STRLOC instead of G_GNUC_FUNCTION (which is
2008-01-28 Michael Natterer <mitch@imendio.com>
* gtk/gtktextchild.c
* gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
is deprecated now).
svn path=/trunk/; revision=19416
Mohammad DAMT [Sun, 27 Jan 2008 23:17:42 +0000 (23:17 +0000)]
Updated Indonesian translation by Muhammad Hilman hilman09121991 at
2008-01-28 Mohammad DAMT <mdamt@mnots.eu>
* id.po: Updated Indonesian translation by Muhammad Hilman
hilman09121991 at yahoo.com
svn path=/trunk/; revision=19415
Maxim V. Dziumanenko [Sun, 27 Jan 2008 22:01:32 +0000 (22:01 +0000)]
svn path=/trunk/; revision=19414
svn path=/trunk/; revision=19414
Djihed Afifi [Sun, 27 Jan 2008 16:05:44 +0000 (16:05 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=19413
Ihar Hrachyshka [Sun, 27 Jan 2008 15:11:47 +0000 (15:11 +0000)]
Reverted updated Belarusian translation..
svn path=/trunk/; revision=19411
Johan Dahlin [Sat, 26 Jan 2008 12:22:33 +0000 (12:22 +0000)]
Rename textbuffer test and port it to the new test framework
2008-01-26 Johan Dahlin <johan@gnome.org>
* tests/Makefile.am:
* tests/textbuffertest.c:
Rename textbuffer test and port it to the new test framework
svn path=/trunk/; revision=19410
Petr Kovář [Fri, 25 Jan 2008 20:11:24 +0000 (20:11 +0000)]
cs.po: Updated Czech translation.
svn path=/trunk/; revision=19408
Johan Dahlin [Fri, 25 Jan 2008 18:42:16 +0000 (18:42 +0000)]
Restore accidentally removed unsetting of GTK_MODULES.
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
unsetting of GTK_MODULES.
svn path=/trunk/; revision=19406
Johan Dahlin [Fri, 25 Jan 2008 18:23:10 +0000 (18:23 +0000)]
Handle the case where there is no child text node. (GtkBuilderConverter):
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert
(GtkBuilderConverter._convert_adjustment): Handle the case where
there is no child text node.
(GtkBuilderConverter): Allow xml comments in most places.
svn path=/trunk/; revision=19405
Johan Dahlin [Fri, 25 Jan 2008 18:00:15 +0000 (18:00 +0000)]
Remove the items even if there are no items set.
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert
(GtkBuilderConverter._convert_combobox_items): Remove the items
even if there are no items set.
(GtkBuilderConverter._add_action_from_menuitem): Convert toggled
signals and tooltips for all menu items subclasses and
GtkImageMenuItem:label.
Makes it possible to fully convert and run Jokosher.glade.
svn path=/trunk/; revision=19404
Johan Dahlin [Fri, 25 Jan 2008 16:17:38 +0000 (16:17 +0000)]
Implement accessible support, fixes #454653.
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
(gtk_widget_buildable_get_internal_child), (free_action),
(free_relation), (gtk_widget_buildable_parser_finished),
(accessibility_start_element),
(gtk_widget_buildable_custom_tag_start),
(gtk_widget_buildable_custom_finished):
Implement accessible support, fixes #454653.
* gtk/gtk-builder-convert:
Add support for migrating old glade files
* tests/buildertest.c: (test_widget), (test_file):
Add accessible tests and improve the test_file function to display
toplevels and run dialogs.
svn path=/trunk/; revision=19403
Richard Hult [Fri, 25 Jan 2008 13:19:02 +0000 (13:19 +0000)]
Don't recreate a tracking rect if it didn't change, fixes focus event
2008-01-25 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
didn't change, fixes focus event issues for undecorated windows.
svn path=/trunk/; revision=19402
Richard Hult [Fri, 25 Jan 2008 13:13:05 +0000 (13:13 +0000)]
Fix compile warnings (add missing const and remove unused variables).
2008-01-25 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
const and remove unused variables).
svn path=/trunk/; revision=19401
Michael Natterer [Fri, 25 Jan 2008 09:31:34 +0000 (09:31 +0000)]
Forgot to mention bug #.
svn path=/trunk/; revision=19400
Michael Natterer [Fri, 25 Jan 2008 09:30:40 +0000 (09:30 +0000)]
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
* gtk/gtkcellrenderer.h
* gtk/gtkimcontext.h
* gtk/gtkstyle.h
* gtk/gtktoolbar.h
* gtk/gtktooltip.h
* gtk/gtktreeprivate.h
* gtk/gtktreeviewcolumn.h
* gtk/gtkwidget.h: add const to constant structs which are passed
into GTK+. Also add some forgotten const for const strings.
* gtk/gtkbutton.c
* gtk/gtkcellrenderer.c
* gtk/gtkimcontext.c
* gtk/gtkstyle.c
* gtk/gtktoolbar.c
* gtk/gtktooltip.c
* gtk/gtktreeview.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkwidget.c: changed accordingly.
svn path=/trunk/; revision=19399
Stéphane Raimbault [Fri, 25 Jan 2008 08:14:28 +0000 (08:14 +0000)]
Synced with gtk-2-12.
2008-01-25 Stéphane Raimbault <stephane.raimbault@gmail.com>
* fr.po: Synced with gtk-2-12.
svn path=/trunk/; revision=19398
Sven Herzberg [Fri, 25 Jan 2008 00:19:18 +0000 (00:19 +0000)]
Reviewed by Johan Dahlin.
2008-01-25 Sven Herzberg <sven@imendio.com>
Reviewed by Johan Dahlin.
* gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
this is called with something that's not a GtkUIManager
svn path=/trunk/; revision=19395
Johan Dahlin [Thu, 24 Jan 2008 16:38:50 +0000 (16:38 +0000)]
Chain up to parent, so widgets can have internal children.
2008-01-24 Johan Dahlin <johan@gnome.org>
* gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
Chain up to parent, so widgets can have internal children.
svn path=/trunk/; revision=19394
Mathias Hasselmann [Tue, 22 Jan 2008 19:29:18 +0000 (19:29 +0000)]
Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
IWAMOTO).
* gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
svn path=/trunk/; revision=19393
Mathias Hasselmann [Tue, 22 Jan 2008 15:03:03 +0000 (15:03 +0000)]
Use pango_layout_set_height() for calendar details (#506049).
* configure.in: Require 1.19.3 for pango_layout_set_height().
* gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
svn path=/trunk/; revision=19392
Marcel Telka [Tue, 22 Jan 2008 00:11:20 +0000 (00:11 +0000)]
Updated Slovak translation.
2008-01-22 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.
svn path=/trunk/; revision=19391
Ihar Hrachyshka [Mon, 21 Jan 2008 00:07:07 +0000 (00:07 +0000)]
Updated Belarusian translation, converted spelling.
svn path=/trunk/; revision=19389
Yang Zhang [Sat, 19 Jan 2008 13:52:53 +0000 (13:52 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19386
Yang Zhang [Sat, 19 Jan 2008 13:51:39 +0000 (13:51 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19385
Johan Dahlin [Fri, 18 Jan 2008 16:09:26 +0000 (16:09 +0000)]
New method (GtkBuilderConverter._create_object): Conditionally take a node
2008-01-18 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert (get_property_node): New method
(GtkBuilderConverter._create_object): Conditionally take a node as
a property value, so don't lose translate/context attributes if they
are set.
(GtkBuilderConverter._add_action_from_menuitem): Send in Node as
property values instead of strings.
(#509153, Erik van Pienbroek)
svn path=/trunk/; revision=19383
Mathias Hasselmann [Thu, 17 Jan 2008 16:42:04 +0000 (16:42 +0000)]
Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
* gtk/gtkcalendar.c: Release the memory returned by the detail_func.
* gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
* tests/testcalendar.c: Duplicate calendar details before returning.
svn path=/trunk/; revision=19382
Christian Persch [Wed, 16 Jan 2008 19:14:49 +0000 (19:14 +0000)]
Store the event mask and extension event mode directly in the gobject data
* gtk/gtkwidget.c: Store the event mask and extension event mode
directly in the gobject data pointer, instead of in an allocated
gint. Bug #506604.
svn path=/trunk/; revision=19381
Matthias Clasen [Wed, 16 Jan 2008 17:38:13 +0000 (17:38 +0000)]
Handle partial writes.
2008-01-15 Matthias Clasen <mclasne@redhat.com>
* gdk-pixbuf-io.c (save_to_stream): Handle partial writes.
svn path=/trunk/; revision=19380
Rahul Bhalerao [Wed, 16 Jan 2008 14:53:18 +0000 (14:53 +0000)]
Updated Marathi translations
svn path=/trunk/; revision=19379
Michael Natterer [Wed, 16 Jan 2008 14:35:46 +0000 (14:35 +0000)]
fix signature of this function and propagate errors from
2008-01-16 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-io.c (save_to_stream): fix signature of this function
and propagate errors from g_output_stream_write(). Return error
also on incomplete writes (which don't generate an error by
themselves).
Unrelated:
(gdk_pixbuf_io_init): initialize "builtin_module" on a separate
line to avoid compiler warning in the common case of no built-in
modules.
svn path=/trunk/; revision=19378
Michael Natterer [Wed, 16 Jan 2008 13:30:06 +0000 (13:30 +0000)]
use $GDK_PIXBUF_DEP_LIBS instead of $GLIB_LIBS so gio gets pulled in.
2008-01-16 Michael Natterer <mitch@imendio.com>
* Makefile.am (LDADDS): use $GDK_PIXBUF_DEP_LIBS instead of
$GLIB_LIBS so gio gets pulled in.
svn path=/trunk/; revision=19377
Michael Natterer [Wed, 16 Jan 2008 13:29:34 +0000 (13:29 +0000)]
add "gio-2.0" because gdk-pixbuf now uses gio functions.
2008-01-16 Michael Natterer <mitch@imendio.com>
* configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
gdk-pixbuf now uses gio functions.
svn path=/trunk/; revision=19376
Matthias Clasen [Wed, 16 Jan 2008 05:25:35 +0000 (05:25 +0000)]
Emit the notify::model signal. (#509819, David Zeuthen)
2008-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
the notify::model signal. (#509819, David Zeuthen)
svn path=/trunk/; revision=19374
Matthias Clasen [Wed, 16 Jan 2008 02:24:47 +0000 (02:24 +0000)]
Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
Michael Natterer [Tue, 15 Jan 2008 15:32:37 +0000 (15:32 +0000)]
gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h
2008-01-15 Michael Natterer <mitch@imendio.com>
* gdk/gdkdisplay.h
* gdk/gdkdrawable.h
* gdk/gdkevents.h
* gdk/gdkpango.h
* gdk/gdkregion.h
* gdk/gdkrgb.h
* gdk/gdkwindow.h: made more struct pointer and array parameters
const. GDK should now be constified as far as possible without
breaking source compatibility. Includes some minor cleanup like
indentation and s/nfoo/n_foo/ (bug #508544).
* gdk/gdkdisplay.c
* gdk/gdkdraw.c
* gdk/gdkevents.c
* gdk/gdkpango.c
* gdk/gdkregion-generic.c
* gdk/gdkrgb.c
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkdisplay-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkdisplay-x11.c
* gdk/x11/gdkwindow-x11.c: changed accordingly.
svn path=/trunk/; revision=19372
Michael Natterer [Mon, 14 Jan 2008 17:07:03 +0000 (17:07 +0000)]
add cast to fix const warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
const warning.
(gtk_rc_parse_any): change variables to const and introduce
another local variable to fix const warnings.
svn path=/trunk/; revision=19371
Michael Natterer [Mon, 14 Jan 2008 15:00:57 +0000 (15:00 +0000)]
cast the return value of gdk_screen_get_font_options() to gpointer to get
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
of gdk_screen_get_font_options() to gpointer to get rid of const
warning.
svn path=/trunk/; revision=19370
Michael Natterer [Mon, 14 Jan 2008 14:34:07 +0000 (14:34 +0000)]
fix another call to gtk_selection_data_set().
2008-01-14 Michael Natterer <mitch@imendio.com>
* tests/testdnd.c (source_drag_data_get): fix another call to
gtk_selection_data_set().
svn path=/trunk/; revision=19369
Michael Natterer [Mon, 14 Jan 2008 14:22:59 +0000 (14:22 +0000)]
fix signedness warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
signedness warning.
svn path=/trunk/; revision=19368
Michael Natterer [Mon, 14 Jan 2008 14:19:21 +0000 (14:19 +0000)]
remove unused variable.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkiconcache.c (find_image_offset): remove unused variable.
svn path=/trunk/; revision=19367
Michael Natterer [Mon, 14 Jan 2008 14:17:26 +0000 (14:17 +0000)]
cast "uris" to guchar* when passing it to gtk_selection_data_set().
2008-01-14 Michael Natterer <mitch@gimp.org>
* gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
"uris" to guchar* when passing it to gtk_selection_data_set().
svn path=/trunk/; revision=19366
Michael Natterer [Mon, 14 Jan 2008 14:02:12 +0000 (14:02 +0000)]
gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdk.h
* gdk/gdkcairo.h
* gdk/gdkcolor.h
* gdk/gdkgc.h
* gdk/gdkinternals.h
* gdk/gdkregion.h
* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
parameters const.
* gdk/gdkcairo.c
* gdk/gdkgc.c
* gdk/gdkwindow.c
* gdk/gdkrectangle.c
* gdk/gdkpolyreg-generic.c
* gdk/gdkregion-generic.c
* gdk/directfb/gdkcolor-directfb.c
* gdk/directfb/gdkgc-directfb.c
* gdk/directfb/gdkgeometry-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkcolor-quartz.c
* gdk/quartz/gdkgc-quartz.c
* gdk/quartz/gdkgeometry-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkgeometry-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkcolor-x11.c
* gdk/x11/gdkgc-x11.c
* gdk/x11/gdkgeometry-x11.c
* gdk/x11/gdkmain-x11.c
* gdk/x11/gdkprivate-x11.h
* gdk/x11/gdkwindow-x11.c: changed accordingly.
* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
headers.
svn path=/trunk/; revision=19365
Michael Natterer [Mon, 14 Jan 2008 11:30:34 +0000 (11:30 +0000)]
cast the return value of _gdk_pixbuf_scaled_anim_new() to fix incompatible
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
warning.
svn path=/trunk/; revision=19364
Mathias Hasselmann [Mon, 14 Jan 2008 00:12:53 +0000 (00:12 +0000)]
Explain name choice for gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolitem.c: Add comment expaining name choice for
gtk_tool_item_toolbar_reconfigured.
svn path=/trunk/; revision=19362
Mathias Hasselmann [Sun, 13 Jan 2008 23:41:46 +0000 (23:41 +0000)]
Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
implementations to notify its children, when some aspect of their
configuration changed (#509042).
* gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
Rename _gtk_tool_item_toolbar_reconfigured.
svn path=/trunk/; revision=19361
Erdal Ronahi [Sun, 13 Jan 2008 19:13:23 +0000 (19:13 +0000)]
Kurdish translation completed
svn path=/trunk/; revision=19360