]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoDon't use the deprecated GTK_* GtkType macros.
Tor Lillqvist [Tue, 17 Jun 2008 19:11:54 +0000 (19:11 +0000)]
Don't use the deprecated GTK_* GtkType macros.

2008-06-17  Tor Lillqvist  <tml@novell.com>

* modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
GtkType macros.

svn path=/trunk/; revision=20434

16 years agobuild with GTK_DISABLE_DEPRECATED.
Michael Natterer [Tue, 17 Jun 2008 16:03:46 +0000 (16:03 +0000)]
build with GTK_DISABLE_DEPRECATED.

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

* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.

* gtk/gtkclist.c
* gtk/gtkcombo.c
* gtk/gtkctree.c
* gtk/gtklist.c
* gtk/gtklistitem.c
* gtk/gtkoldeditable.c
* gtk/gtkpixmap.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
actually use deprecated symbols (not just types or macros),
#define it again before #include "gtkalias.h" so the symbols match
and the beast links.

svn path=/trunk/; revision=20433

16 years agomore tests for GtkRecentManager.
Paolo Borelli [Tue, 17 Jun 2008 15:46:40 +0000 (15:46 +0000)]
more tests for GtkRecentManager.

2008-06-17  Paolo Borelli  <pborelli@katamail.com>

* gtk/tests/recentmanager.c: more tests for GtkRecentManager.

svn path=/trunk/; revision=20431

16 years agomodules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.h
Michael Natterer [Tue, 17 Jun 2008 14:58:10 +0000 (14:58 +0000)]
modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.h

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

* modules/input/gtkimcontextmultipress.h
* modules/input/gtkimcontextthai.h
* modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
type checking macros.

svn path=/trunk/; revision=20430

16 years agoreally move the GtkType typedef to an undeprecated section.
Michael Natterer [Tue, 17 Jun 2008 14:34:59 +0000 (14:34 +0000)]
really move the GtkType typedef to an undeprecated section.

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

* gtk/gtktypeutils.h: really move the GtkType typedef to an
undeprecated section.

svn path=/trunk/; revision=20429

16 years agodeprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, GTK_CHECK_GET_CLASS,
Michael Natterer [Tue, 17 Jun 2008 14:17:29 +0000 (14:17 +0000)]
deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, GTK_CHECK_GET_CLASS,

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

* gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
Move the GtkType typedef to an undeprecated section.

svn path=/trunk/; revision=20428

16 years agouse G_TYPE macros for type checking instead of GTK_CHECK ones because it's
Michael Natterer [Tue, 17 Jun 2008 14:14:06 +0000 (14:14 +0000)]
use G_TYPE macros for type checking instead of GTK_CHECK ones because it's

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

* gtk/gtkprogress.h: use G_TYPE macros for type checking instead
of GTK_CHECK ones because it's the parent class of an undeprecated
class and the GTK_CHECK stuff will soon be deprecated.

svn path=/trunk/; revision=20427

16 years agogtk/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.c
Michael Natterer [Tue, 17 Jun 2008 14:11:26 +0000 (14:11 +0000)]
gtk/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.c

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

* gtk/gtkfilesel.c
* gtk/gtkinputdialog.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkoptionmenu.c
* gtk/gtktoolitem.c
* gtk/gtktooltips.c: add or move around
#undef GTK_DISABLE_DEPRECATED so it's possible to build without
deprecated stuff again (with the minor glitch that it doesn't
link ;) but at least it's a tool to keep the code clean).

svn path=/trunk/; revision=20426

16 years agoFix dumb typo in the previous commit.
Emmanuele Bassi [Tue, 17 Jun 2008 13:46:48 +0000 (13:46 +0000)]
Fix dumb typo in the previous commit.

2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_remove_item): Fix dumb typo in the previous
commit.

svn path=/trunk/; revision=20425

16 years agoIncrease the consistency of the errors returned by GtkRecentManager.
Emmanuele Bassi [Tue, 17 Jun 2008 13:42:53 +0000 (13:42 +0000)]
Increase the consistency of the errors returned by GtkRecentManager.

2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_remove_item),
(gtk_recent_manager_move_item): Increase the consistency of the
errors returned by GtkRecentManager. (Paolo Borelli)

svn path=/trunk/; revision=20424

16 years agoadd some unit tests for GtkRecentManager.
Paolo Borelli [Tue, 17 Jun 2008 13:37:59 +0000 (13:37 +0000)]
add some unit tests for GtkRecentManager.

2008-06-17  Paolo Borelli  <pborelli@katamail.com>

* gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.

svn path=/trunk/; revision=20423

16 years agoConsistently use the same error when removing a URI from an empty
Emmanuele Bassi [Tue, 17 Jun 2008 13:15:45 +0000 (13:15 +0000)]
Consistently use the same error when removing a URI from an empty

2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_remove_item): Consistently use the same
error when removing a URI from an empty GtkRecentManager.

svn path=/trunk/; revision=20422

16 years agoremove static integer variables which hold the number of members in
Michael Natterer [Tue, 17 Jun 2008 12:54:16 +0000 (12:54 +0000)]
remove static integer variables which hold the number of members in

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

* gtk/gtkfilechooserdefault.c: remove static integer variables
which hold the number of members in GtkTargetEntry arrays and use
G_N_ELEMENTS() directly instead.

svn path=/trunk/; revision=20421

16 years agomove some deprecated symbols into #ifndef GTK_DISABLE_DEPRECATED.
Michael Natterer [Tue, 17 Jun 2008 12:47:57 +0000 (12:47 +0000)]
move some deprecated symbols into #ifndef GTK_DISABLE_DEPRECATED.

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

* gtk/gtk.symbols: move some deprecated symbols into
#ifndef GTK_DISABLE_DEPRECATED.

svn path=/trunk/; revision=20420

16 years agoRemove the GtkRecentManager screen dance, as it has been deprecated since
Emmanuele Bassi [Tue, 17 Jun 2008 12:46:12 +0000 (12:46 +0000)]
Remove the GtkRecentManager screen dance, as it has been deprecated since

2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkfilechooserdefault.c:
(gtk_file_chooser_default_init),
(gtk_file_chooser_default_constructor),
(gtk_file_chooser_default_screen_changed),
(recent_start_loading): Remove the GtkRecentManager screen
dance, as it has been deprecated since 2.12. Now we get the
GtkRecentManager singleton whewn we create the FileChooserDefault
instance. (Michael Natterer)

svn path=/trunk/; revision=20419

16 years agocast menu's toplevel to GtkWindow when passing to
Michael Natterer [Tue, 17 Jun 2008 11:27:37 +0000 (11:27 +0000)]
cast menu's toplevel to GtkWindow when passing to

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

* gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
toplevel to GtkWindow when passing to gtk_window_set_type_hint().

svn path=/trunk/; revision=20417

16 years ago#undef GTK_DISABLE_DEPRECATED, clean up includes a bit.
Michael Natterer [Tue, 17 Jun 2008 09:58:09 +0000 (09:58 +0000)]
#undef GTK_DISABLE_DEPRECATED, clean up includes a bit.

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

* gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
includes a bit.

* gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
in via deprecated headers.

svn path=/trunk/; revision=20416

16 years agoJustify my last entry.
Tor Lillqvist [Tue, 17 Jun 2008 08:51:27 +0000 (08:51 +0000)]
Justify my last entry.

svn path=/trunk/; revision=20415

16 years agoProtect against XKB being stupid. Reported by Pedro Villavicencio.
Matthias Clasen [Tue, 17 Jun 2008 02:11:47 +0000 (02:11 +0000)]
Protect against XKB being stupid. Reported by Pedro Villavicencio.

        * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
        against XKB being stupid. Reported by Pedro Villavicencio.

svn path=/trunk/; revision=20413

16 years agouse g_object_ref() and unref() instead of the deprecated gtk_widget_ref()
Michael Natterer [Mon, 16 Jun 2008 22:47:50 +0000 (22:47 +0000)]
use g_object_ref() and unref() instead of the deprecated gtk_widget_ref()

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

* gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
and unref() instead of the deprecated gtk_widget_ref() and unref().

svn path=/trunk/; revision=20411

16 years agoremoved function drag_begin_cb(), which was in svn since 2.8 but was never
Michael Natterer [Mon, 16 Jun 2008 20:10:17 +0000 (20:10 +0000)]
removed function drag_begin_cb(), which was in svn since 2.8 but was never

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

* gtk/gtkentry.c: removed function drag_begin_cb(), which was in
svn since 2.8 but was never used.

svn path=/trunk/; revision=20409

16 years agouse gtk_binding_entry_clear() instead of gtk_binding_entry_add() (the
Michael Natterer [Mon, 16 Jun 2008 20:02:33 +0000 (20:02 +0000)]
use gtk_binding_entry_clear() instead of gtk_binding_entry_add() (the

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

* gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
gtk_binding_entry_clear() instead of gtk_binding_entry_add()
(the former is deprecated and #defined to gtk_binding_entry_clear)

svn path=/trunk/; revision=20408

16 years agodon't include the deprecated (and unused) "gtkmarshal.h".
Michael Natterer [Mon, 16 Jun 2008 19:19:31 +0000 (19:19 +0000)]
don't include the deprecated (and unused) "gtkmarshal.h".

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

* gtk/gtkprintoperation-unix.c: don't include the deprecated (and
unused) "gtkmarshal.h".

svn path=/trunk/; revision=20407

16 years agoBug 538182 – pango_cairo_context_update_layout is not noop after
Behdad Esfahbod [Mon, 16 Jun 2008 18:53:17 +0000 (18:53 +0000)]
Bug 538182 – pango_cairo_context_update_layout is not noop after

2008-06-16  Behdad Esfahbod  <behdad@gnome.org>

        Bug 538182 – pango_cairo_context_update_layout is not noop after
        gtk_widget_create_pango_layout

        * gtk/gtksettings.c (settings_update_font_options): Make sure all
        font option fields are set to non-DEFAULT values.

svn path=/trunk/; revision=20406

16 years agogtk/gtkfontsel.c gtk/gtkrc.c gtk/gtkstyle.c use g_object_unref() instead
Michael Natterer [Mon, 16 Jun 2008 16:53:39 +0000 (16:53 +0000)]
gtk/gtkfontsel.c gtk/gtkrc.c gtk/gtkstyle.c use g_object_unref() instead

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

* gtk/gtkfontsel.c
* gtk/gtkrc.c
* gtk/gtkstyle.c
* gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
gtk_rc_style_unref().

svn path=/trunk/; revision=20405

16 years agouse _gtk_marshal_BOOLEAN__VOID instead of the deprecated
Michael Natterer [Mon, 16 Jun 2008 16:44:19 +0000 (16:44 +0000)]
use _gtk_marshal_BOOLEAN__VOID instead of the deprecated

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

* gtk/gtkcombobox.c (gtk_combo_box_class_init): use
_gtk_marshal_BOOLEAN__VOID instead of the deprecated
gtk_marshal_BOOLEAN__VOID.

svn path=/trunk/; revision=20404

16 years agogtk/gtkcellrendereraccel.h gtk/gtkiconview.h use G_TYPE macros instead of
Michael Natterer [Mon, 16 Jun 2008 16:26:49 +0000 (16:26 +0000)]
gtk/gtkcellrendereraccel.h gtk/gtkiconview.h use G_TYPE macros instead of

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

* gtk/gtkcellrendereraccel.h
* gtk/gtkiconview.h
* gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
macros for type checking.

(gtk_object_get_type): change prototype to return GType instead of
GtkType.

svn path=/trunk/; revision=20403

16 years agoIncrease verbiage.
Tor Lillqvist [Mon, 16 Jun 2008 13:46:20 +0000 (13:46 +0000)]
Increase verbiage.

svn path=/trunk/; revision=20402

16 years agoTypo.
Tor Lillqvist [Mon, 16 Jun 2008 13:44:23 +0000 (13:44 +0000)]
Typo.

svn path=/trunk/; revision=20401

16 years agoAdd some symlinks to the builtin icon theme
Matthias Clasen [Mon, 16 Jun 2008 13:38:58 +0000 (13:38 +0000)]
Add some symlinks to the builtin icon theme

svn path=/trunk/; revision=20399

16 years agoBug 538362 - Get Win32 icons back in the file chooser
Tor Lillqvist [Mon, 16 Jun 2008 13:27:46 +0000 (13:27 +0000)]
Bug 538362 - Get Win32 icons back in the file chooser

2008-06-16  Tor Lillqvist  <tml@novell.com>

Bug 538362 - Get Win32 icons back in the file chooser

* gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
reference to an icon resource in a DLL or .EXE as in the
Registry. In that case, extract the icon and convert to a
GdkPixbuf. Patch by Hans Breuer.

svn path=/trunk/; revision=20398

16 years agoAdd icons that are used by GtkVolumeButton
Matthias Clasen [Mon, 16 Jun 2008 12:31:20 +0000 (12:31 +0000)]
Add icons that are used by GtkVolumeButton

svn path=/trunk/; revision=20397

16 years agoremove GtkTooltips member from the GtkFileChooserDefault struct.
Michael Natterer [Mon, 16 Jun 2008 11:49:23 +0000 (11:49 +0000)]
remove GtkTooltips member from the GtkFileChooserDefault struct.

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

* gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
GtkFileChooserDefault struct.

* gtk/gtkfilechooserdefault.c: don't allocate and free the
GtkTooltips.

svn path=/trunk/; revision=20396

16 years agoBug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
Carlos Garnacho [Mon, 16 Jun 2008 10:03:16 +0000 (10:03 +0000)]
Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon

2008-06-16  Carlos Garnacho  <carlos@imendio.com>

        Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
        anymore

        * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
        Allow again setting any of the properties to render an image back to
        NULL.

svn path=/trunk/; revision=20395

16 years agoWhen pixel-size is specified, use GTK_ICON_LOOKUP_FORCE_SIZE when loading
Matthias Clasen [Mon, 16 Jun 2008 02:05:16 +0000 (02:05 +0000)]
When pixel-size is specified, use GTK_ICON_LOOKUP_FORCE_SIZE when loading

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

        * gtk/gtkimage.c: When pixel-size is specified, use
        GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.

svn path=/trunk/; revision=20394

16 years agoReturn full path here as expected, not just the basename.
Carlos Garnacho [Sun, 15 Jun 2008 23:32:11 +0000 (23:32 +0000)]
Return full path here as expected, not just the basename.

2008-06-15  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
        path here as expected, not just the basename.

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_update_current_folder): Ensure that we keep
        a reference to file, since it can be destroyed when switching back to
        browse mode.

        * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
        and desktop directories are dealt by the filechooser as normal files,
        not volumes, so the icon for these is handled directly by GIO.
        (_gtk_file_system_volume_render_icon): Update caller.

svn path=/trunk/; revision=20393

16 years agoFix docs
Matthias Clasen [Sun, 15 Jun 2008 22:56:47 +0000 (22:56 +0000)]
Fix docs

svn path=/trunk/; revision=20392

16 years agoAdd a gicon property
Matthias Clasen [Sun, 15 Jun 2008 04:54:20 +0000 (04:54 +0000)]
Add a gicon property

svn path=/trunk/; revision=20391

16 years agoInitialize hwnd to NULL. This fixes OpenClipboard() failure and, according
Cody Russell [Sun, 15 Jun 2008 00:00:49 +0000 (00:00 +0000)]
Initialize hwnd to NULL. This fixes OpenClipboard() failure and, according

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

        * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):

        Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
        according to MSDN docs, associates the open clipboard with the
        current task.  (#378158, reported by Andreas Köhler)

svn path=/trunk/; revision=20388

16 years agoBump version
Matthias Clasen [Sat, 14 Jun 2008 01:24:08 +0000 (01:24 +0000)]
Bump version

svn path=/trunk/; revision=20387

16 years ago2.13.3
Matthias Clasen [Sat, 14 Jun 2008 01:21:31 +0000 (01:21 +0000)]
2.13.3

svn path=/trunk/; revision=20385

16 years agoUpdates
Matthias Clasen [Fri, 13 Jun 2008 20:09:58 +0000 (20:09 +0000)]
Updates

svn path=/trunk/; revision=20384

16 years agoHere too
Matthias Clasen [Fri, 13 Jun 2008 17:47:43 +0000 (17:47 +0000)]
Here too

svn path=/trunk/; revision=20383

16 years agoRemove no longer existing files
Matthias Clasen [Fri, 13 Jun 2008 17:45:55 +0000 (17:45 +0000)]
Remove no longer existing files

svn path=/trunk/; revision=20382

16 years agoAdd some docs
Matthias Clasen [Fri, 13 Jun 2008 17:40:17 +0000 (17:40 +0000)]
Add some docs

svn path=/trunk/; revision=20381

16 years agoFix doc typos
Matthias Clasen [Fri, 13 Jun 2008 17:20:55 +0000 (17:20 +0000)]
Fix doc typos

svn path=/trunk/; revision=20380

16 years agoAvoid PLT entries
Matthias Clasen [Fri, 13 Jun 2008 17:02:26 +0000 (17:02 +0000)]
Avoid PLT entries

svn path=/trunk/; revision=20379

16 years agoReally make GtkFileSystem private by _-prefixing all functions.
Matthias Clasen [Fri, 13 Jun 2008 16:47:41 +0000 (16:47 +0000)]
Really make GtkFileSystem private by _-prefixing all functions.

        * gtk/gtkfilechooserbutton.c:
        * gtk/gtkfilechooserdefault.c:
        * gtk/gtkfilechooserentry.c:
        * gtk/gtkfilesystem.c:
        * gtk/gtkfilesystem.h:
        * gtk/gtkfilesystemmodel.c:
        * gtk/gtkpathbar.c: Really make GtkFileSystem private
        by _-prefixing all functions.

svn path=/trunk/; revision=20378

16 years agoUpdates
Matthias Clasen [Fri, 13 Jun 2008 15:00:36 +0000 (15:00 +0000)]
Updates

svn path=/trunk/; revision=20377

16 years agoUpdates`
Matthias Clasen [Fri, 13 Jun 2008 14:54:46 +0000 (14:54 +0000)]
Updates`

svn path=/trunk/; revision=20376

16 years agogtk/gtkcellrendereraccel.h gtk/gtkfilechooser.h gtk/gtkfilechooserdialog.h
Michael Natterer [Fri, 13 Jun 2008 14:26:44 +0000 (14:26 +0000)]
gtk/gtkcellrendereraccel.h gtk/gtkfilechooser.h gtk/gtkfilechooserdialog.h

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

* gtk/gtkcellrendereraccel.h
* gtk/gtkfilechooser.h
* gtk/gtkfilechooserdialog.h
* gtk/gtkfilechooserwidget.h
* gtk/gtkmenutoolbutton.h
* gtk/gtkpagesetup.h
* gtk/gtkpapersize.h
* gtk/gtkprintcontext.h
* gtk/gtkprintoperation.h
* gtk/gtkprintoperationpreview.h
* gtk/gtkprintsettings.h
* gtk/gtkradiotoolbutton.h
* gtk/gtkrecentchooser.h
* gtk/gtkrecentchooserdialog.h
* gtk/gtkrecentchoosermenu.h
* gtk/gtkrecentchooserwidget.h
* gtk/gtkseparatortoolitem.h
* gtk/gtkshow.h
* gtk/gtktoggletoolbutton.h
* gtk/gtktoolbar.h
* gtk/gtktoolbutton.h
* gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
"gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.

svn path=/trunk/; revision=20375

16 years agoremove double inclusion of <gtk/gtktexttag.h>.
Michael Natterer [Fri, 13 Jun 2008 14:04:52 +0000 (14:04 +0000)]
remove double inclusion of <gtk/gtktexttag.h>.

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

* gtk/gtktexttagtable.h: remove double inclusion of
<gtk/gtktexttag.h>.

svn path=/trunk/; revision=20374

16 years agochange type of local "image" variable from GtkImage to GtkWidget to fix
Michael Natterer [Fri, 13 Jun 2008 13:40:29 +0000 (13:40 +0000)]
change type of local "image" variable from GtkImage to GtkWidget to fix

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

* gtk/gtkaction.c (gtk_action_set_short_label): change type of
local "image" variable from GtkImage to GtkWidget to fix warning.

svn path=/trunk/; revision=20373

16 years agocast menu's toplevel to GtkWindow when passing to
Michael Natterer [Fri, 13 Jun 2008 13:30:38 +0000 (13:30 +0000)]
cast menu's toplevel to GtkWindow when passing to

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

* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
toplevel to GtkWindow when passing to gtk_window_set_type_hint().

svn path=/trunk/; revision=20372

16 years agosilently skip unknown attributes instead of bailing out with an error in
Michael Natterer [Fri, 13 Jun 2008 10:44:34 +0000 (10:44 +0000)]
silently skip unknown attributes instead of bailing out with an error in

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

* gtk/gtkuimanager.c (start_element_handler): silently skip
unknown attributes instead of bailing out with an error in order
to be compatible with possible future attribute names.

This is related to the discussion in bug #516425 but actually
needed for any kind of XML format extension.

svn path=/trunk/; revision=20371

16 years agocheck surface status after ceating a pdf. Avoids crashing when the target
Hans Breuer [Fri, 13 Jun 2008 08:36:26 +0000 (08:36 +0000)]
check surface status after ceating a pdf. Avoids crashing when the target

2008-05-23  Hans Breuer  <hans@breuer.org>

* gtk/gtkprintoperation.c : check surface status after ceating a pdf.
Avoids crashing when the target can not be written, bug #537685

* gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId

* gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
it was not needed here anyway.

svn path=/trunk/; revision=20370

16 years agoupdated to allow simple switch between gdiplus- and former fileformat
Hans Breuer [Fri, 13 Jun 2008 08:27:02 +0000 (08:27 +0000)]
updated to allow simple switch between gdiplus- and former fileformat

2008-06-13  Hans Breuer  <hans@breuer.org>

* makefile.msc : updated to allow simple switch between gdiplus- and
former fileformat backends
* io-tiff.c : use g_snprintf

svn path=/trunk/; revision=20369

16 years agoFix frame size allocation
Matthias Clasen [Fri, 13 Jun 2008 04:56:25 +0000 (04:56 +0000)]
Fix frame size allocation

svn path=/trunk/; revision=20368

16 years agoFix a crash
Matthias Clasen [Fri, 13 Jun 2008 04:23:54 +0000 (04:23 +0000)]
Fix a crash

svn path=/trunk/; revision=20367

16 years agoOpen the default display even when gtk_parse_args() has already been
Matthias Clasen [Fri, 13 Jun 2008 03:24:37 +0000 (03:24 +0000)]
Open the default display even when gtk_parse_args() has already been

        * gtk/gtkmain.c (gtk_init_with_args): Open the default display
        even when gtk_parse_args() has already been called.
        Patch by Mathias Hasselmann

svn path=/trunk/; revision=20366

16 years agoImprove appearance of "both vertical" mode toolbuttons. Patch by Peter
Matthias Clasen [Fri, 13 Jun 2008 03:21:09 +0000 (03:21 +0000)]
Improve appearance of "both vertical" mode toolbuttons. Patch by Peter

        * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
        Improve appearance of "both vertical" mode toolbuttons.
        Patch by Peter Johanson

svn path=/trunk/; revision=20365

16 years agoA11y descriptions for GtkVolumeButton
Matthias Clasen [Fri, 13 Jun 2008 03:17:51 +0000 (03:17 +0000)]
A11y descriptions for GtkVolumeButton

svn path=/trunk/; revision=20364

16 years agoSet the image of a button proxy to the "icon-name" property.
Matthias Clasen [Fri, 13 Jun 2008 01:26:46 +0000 (01:26 +0000)]
Set the image of a button proxy to the "icon-name" property.

        * gtk/gtkaction.c (connect_proxy): Set the image of a button
        proxy to the "icon-name" property.

        (gtk_action_set_short_label):  If the "image" property is set
        on the button proxy, also tries to set the "label" property on
        the GtkButton.

svn path=/trunk/; revision=20363

16 years agogtk/gtkmain.c don't #include <libintl.h>, it's pulled in via "gtkintl.h"
Michael Natterer [Thu, 12 Jun 2008 13:53:55 +0000 (13:53 +0000)]
gtk/gtkmain.c don't #include <libintl.h>, it's pulled in via "gtkintl.h"

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

* gtk/gtkmain.c
* gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
in via "gtkintl.h" from <glib/gi18n-lib.h>.

svn path=/trunk/; revision=20362

16 years agoReally fix printer URI construction
Matthias Clasen [Thu, 12 Jun 2008 13:03:35 +0000 (13:03 +0000)]
Really fix printer URI construction

svn path=/trunk/; revision=20360

16 years agolimit the number of displayed items by the actual screen height instead of
Michael Natterer [Thu, 12 Jun 2008 11:17:16 +0000 (11:17 +0000)]
limit the number of displayed items by the actual screen height instead of

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

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
limit the number of displayed items by the actual screen height
instead of some arbitrary value (Bug #408154, Xan Lopez and
Christian Dywan).

svn path=/trunk/; revision=20359

16 years agoBug 503071 – Application direction changes to right to left even if
Behdad Esfahbod [Wed, 11 Jun 2008 23:40:35 +0000 (23:40 +0000)]
Bug 503071 – Application direction changes to right to left even if

2008-06-11  Behdad Esfahbod  <behdad@gnome.org>

        Bug 503071 – Application direction changes to right to left even if
        theres no translation

        * configure.in: Bump glib requirement.

        * gtk/gtkaccellabel.c
        (_gtk_accel_label_class_get_accelerator_label):
        * gtk/gtkactiongroup.c (dgettext_swapped):
        * gtk/gtkbuilder.c (gtk_builder_class_init):
        * gtk/gtkbuilderparser.c (_dpgettext),
        (_gtk_builder_parser_translate):
        * gtk/gtkfilechooserdefault.c (list_size_data_func):
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
        * gtk/gtkintl.h:
        * gtk/gtkmain.c (setlocale_initialization),
        (do_pre_parse_initialization), (gettext_initialization):
        * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
        Use g_dgettext() and g_dngettext().

svn path=/trunk/; revision=20358

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Wed, 11 Jun 2008 21:43:32 +0000 (21:43 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=20357

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Wed, 11 Jun 2008 21:39:48 +0000 (21:39 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=20356

16 years agoMore detail
Matthias Clasen [Wed, 11 Jun 2008 18:51:35 +0000 (18:51 +0000)]
More detail

svn path=/trunk/; revision=20355

16 years agoUpdates
Matthias Clasen [Wed, 11 Jun 2008 18:45:07 +0000 (18:45 +0000)]
Updates

svn path=/trunk/; revision=20354

16 years agoAs we don't support Win9x anyway, we can use ProcessIdToSessionId()
Tor Lillqvist [Wed, 11 Jun 2008 16:05:28 +0000 (16:05 +0000)]
As we don't support Win9x anyway, we can use ProcessIdToSessionId()

2008-06-11  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
support Win9x anyway, we can use ProcessIdToSessionId()
unconditionally.

svn path=/trunk/; revision=20353

16 years agofix local prototype of _gtk_file_chooser_label_for_file() (takes a GFile,
Michael Natterer [Wed, 11 Jun 2008 15:14:26 +0000 (15:14 +0000)]
fix local prototype of _gtk_file_chooser_label_for_file() (takes a GFile,

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

* gtk/gtkfilechooserbutton.c: fix local prototype of
_gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).

svn path=/trunk/; revision=20352

16 years ago Bug 536765 – GtkComboBox should set COMBO type hint for its menu
Matthias Clasen [Wed, 11 Jun 2008 03:36:32 +0000 (03:36 +0000)]
    Bug 536765 – GtkComboBox should set COMBO type hint for its menu

        * gtk/gtkoptionmenu.c:
        * gtk/gtkcombobox.c: Set the window type hint on popups.
        Patch by Danny Baumann

svn path=/trunk/; revision=20351

16 years agoAdd standard icon names, and also fall back to builtin gtk stock icons.
Matthias Clasen [Wed, 11 Jun 2008 03:17:55 +0000 (03:17 +0000)]
Add standard icon names, and also fall back to builtin gtk stock icons.

        * gtk/gtkfilesystem.c (get_icon_for_special_directory):
        (gtk_file_system_volume_render_icon): Add standard icon names,
        and also fall back to builtin gtk stock icons.

svn path=/trunk/; revision=20350

16 years agoMake gtk_tree_view_enable_model_drag_[source|dest] compatible with
Christian Persch [Tue, 10 Jun 2008 12:33:22 +0000 (12:33 +0000)]
Make gtk_tree_view_enable_model_drag_[source|dest] compatible with

* gtk/gtktreeview.c: (destroy_info), (set_destination_row),
(gtk_tree_view_maybe_begin_dragging_row),
(gtk_tree_view_set_reorderable),
(gtk_tree_view_enable_model_drag_source),
(gtk_tree_view_enable_model_drag_dest),
(gtk_tree_view_unset_rows_drag_source),
(gtk_tree_view_unset_rows_drag_dest): Make
gtk_tree_view_enable_model_drag_[source|dest] compatible with
gtk_drag_[source|dest]_add_*_targets. Bug #506853.

svn path=/trunk/; revision=20349

16 years agoUse GSlice. Patch from bug #506853.
Christian Persch [Tue, 10 Jun 2008 12:28:57 +0000 (12:28 +0000)]
Use GSlice. Patch from bug #506853.

* gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
(dest_row_free), (set_dest_row), (ensure_info),
(gtk_tree_view_remove), (gtk_tree_view_put),
(gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
bug #506853.

svn path=/trunk/; revision=20348

16 years agogtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use
Paolo Borelli [Tue, 10 Jun 2008 12:21:58 +0000 (12:21 +0000)]
gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use

2008-06-10  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
use g_file_new_for_uri.

svn path=/trunk/; revision=20347

16 years agodo not leak the GIcon.
Paolo Borelli [Tue, 10 Jun 2008 11:50:43 +0000 (11:50 +0000)]
do not leak the GIcon.

2008-06-10  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
leak the GIcon.

svn path=/trunk/; revision=20346

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 10 Jun 2008 10:13:26 +0000 (10:13 +0000)]
Updated Thai translation.

2008-06-10  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=20345

16 years agoAutomatically scroll text caret to make it visible, when AT sets its
Li Yuan [Tue, 10 Jun 2008 05:40:42 +0000 (05:40 +0000)]
Automatically scroll text caret to make it visible, when AT sets its

2008-06-10  Li Yuan  <li.yuan@sun.com>

        * gailtextview.c: (gail_text_view_set_caret_offset):
        Automatically scroll text caret to make it visible, when AT
        sets its offset.

svn path=/trunk/; revision=20344

16 years agoremoved local xdgmime copy as Matthias suggested in bug #520874, comment
Carlos Garnacho [Tue, 10 Jun 2008 00:39:45 +0000 (00:39 +0000)]
removed local xdgmime copy as Matthias suggested in bug #520874, comment

2008-06-10  Carlos Garnacho  <carlos@imendio.com>

        * configure.in:
        * gtk/Makefile.am:
        * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
        #520874, comment #8. It's no longer used directly by GTK+.

svn path=/trunk/; revision=20343

16 years agoBug 520874 - Should use gio directly.
Carlos Garnacho [Tue, 10 Jun 2008 00:39:35 +0000 (00:39 +0000)]
Bug 520874 - Should use gio directly.

2008-06-10  Carlos Garnacho  <carlos@imendio.com>

        Bug 520874 - Should use gio directly.

        * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
        provides helper functions for asynchronous calls, folder abstraction
        and uniform handling of volumes/drives/mounts.

        * gtk/gtkfilesystemwin32.[ch]:
        * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.

        * gtk/gtkfilechooser.c:
        * gtk/gtkfilechooserbutton.c:
        * gtk/gtkfilechooserdefault.c:
        * gtk/gtkfilechooserentry.[ch]:
        * gtk/gtkfilechooserprivate.h:
        * gtk/gtkfilechooserutils.c:
        * gtk/gtkfilesystemmodel.[ch]:
        * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
        Do not load filesystem implementation modules.

        * gtk/Makefile.am:
        * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
        anymore, nor the unix/win32 implementations.

        * README.in: Add blurb about these changes.

svn path=/trunk/; revision=20342

16 years agoAdd bug ref
Christian Persch [Mon, 9 Jun 2008 14:37:27 +0000 (14:37 +0000)]
Add bug ref

svn path=/trunk/; revision=20341

16 years agoBug 526987 - GtkCellRendererCombo should allow model to be NULL
Kristian Rietveld [Sun, 8 Jun 2008 22:25:57 +0000 (22:25 +0000)]
Bug 526987 - GtkCellRendererCombo should allow model to be NULL

2008-06-09  Kristian Rietveld  <kris@gtk.org>

Bug 526987 - GtkCellRendererCombo should allow model to be NULL

* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
(gtk_cell_renderer_combo_set_property),
(gtk_cell_renderer_combo_editing_done),
(gtk_cell_renderer_combo_start_editing): introduce private class
struct, allow model to be set to NULL.

svn path=/trunk/; revision=20340

16 years agoBug 131920 – gtkNotebook sends incorrect switch_page value
Björn Lindqvist [Sun, 8 Jun 2008 21:41:16 +0000 (21:41 +0000)]
Bug 131920 – gtkNotebook sends incorrect switch_page value

2008-06-08  Björn Lindqvist  <bjourne@gmail.com>

Bug 131920 – gtkNotebook sends incorrect switch_page value

* gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
signal send correct page index when page index 0 is active and
removed. (#131920, Samuel Fogh)

svn path=/trunk/; revision=20339

16 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 8 Jun 2008 13:53:16 +0000 (13:53 +0000)]
updated hebrew translation

svn path=/trunk/; revision=20336

16 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 8 Jun 2008 13:51:38 +0000 (13:51 +0000)]
updated hebrew translation

svn path=/trunk/; revision=20335

16 years agoBug 536730 - memory corruption in gtktreeview
Kristian Rietveld [Sun, 8 Jun 2008 12:53:19 +0000 (12:53 +0000)]
Bug 536730 - memory corruption in gtktreeview

2008-06-08  Kristian Rietveld  <kris@gtk.org>

Bug 536730 - memory corruption in gtktreeview

* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
remove the expand/collapse timeout and node, then free the rbtree.

svn path=/trunk/; revision=20334

16 years agoBug 488119 - critical warnings from gtk_tree_view_get_visible_range
Kristian Rietveld [Sun, 8 Jun 2008 12:47:15 +0000 (12:47 +0000)]
Bug 488119 - critical warnings from gtk_tree_view_get_visible_range

2008-06-08  Kristian Rietveld  <kris@gtk.org>

Bug 488119 - critical warnings from gtk_tree_view_get_visible_range

* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
find path if we found valid nodes, return FALSE otherwise.  (Patch
from Matthias Clasen).

svn path=/trunk/; revision=20333

16 years agoReplace uses of xdgmime with g_content_type.
Matthias Clasen [Sun, 8 Jun 2008 05:50:46 +0000 (05:50 +0000)]
Replace uses of xdgmime with g_content_type.

2008-06-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkrecentmanager.c:
        * gtk/gtkrecentfilter.c:
        * gtk/gtkfilefilter.c: Replace uses of xdgmime with
        g_content_type.

svn path=/trunk/; revision=20332

16 years agoBug 535608 – do not string-copy accel paths in the menu code
Christian Persch [Sat, 7 Jun 2008 20:40:20 +0000 (20:40 +0000)]
Bug 535608 – do not string-copy accel paths in the menu code

Don't store the accel path as a string in gtkmenu/gtkmenuitem.
The accel path will be interned anyway, so keeping a string copy around
is just a waste of memory.
Improve the documentation to mention this.

svn path=/trunk/; revision=20331

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 7 Jun 2008 16:56:52 +0000 (16:56 +0000)]
Updated Norwegian bokmål translation.

2008-06-07  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=20330

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 7 Jun 2008 13:42:33 +0000 (13:42 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20329

16 years agoBug 536990 - updateiconcache.c: 'close ()' is redundant
Tor Lillqvist [Sat, 7 Jun 2008 04:19:54 +0000 (04:19 +0000)]
Bug 536990 - updateiconcache.c: 'close ()' is redundant

2008-06-07  Tor Lillqvist  <tml@novell.com>

Bug 536990 - updateiconcache.c: 'close ()' is redundant

* gtk/updateiconcache.c (build_cache): Drop redundant close()
calls. fclose() on a fdopen()ed strema closes the underlying file
descriptor.

svn path=/trunk/; revision=20327

16 years agoReturn the right coordinates
Matthias Clasen [Fri, 6 Jun 2008 20:57:50 +0000 (20:57 +0000)]
Return the right coordinates

svn path=/trunk/; revision=20325

16 years agoBug 536185 – monitor font configuration
Behdad Esfahbod [Fri, 6 Jun 2008 16:39:37 +0000 (16:39 +0000)]
Bug 536185 – monitor font configuration

2008-06-06  Behdad Esfahbod  <behdad@gnome.org>

        Bug 536185 – monitor font configuration

        * configure.in:
        * gdk/x11/gdksettings.c:
        * gtk/gtksettings.c (gtk_settings_class_init),
        (gtk_settings_notify), (settings_update_fontconfig):
        Monitor xsettings key Fontconfig/Timestamp and upon change,
        reread fontconfig configuration, clear Pango's caches, and
        redraw all widgets.

svn path=/trunk/; revision=20324

16 years agoFix trivial typo in documentation.
Ross Burton [Fri, 6 Jun 2008 09:55:06 +0000 (09:55 +0000)]
Fix trivial typo in documentation.

2008-06-06  Ross Burton  <ross@burtonini.com>

* gtk/gtkwindow.c:
Fix trivial typo in documentation.

svn path=/trunk/; revision=20323

16 years agoBefore emitting "text_caret_moved", change the cursor to the changed
Li Yuan [Fri, 6 Jun 2008 03:13:48 +0000 (03:13 +0000)]
Before emitting "text_caret_moved", change the cursor to the changed

2008-06-06  Li Yuan  <li.yuan@sun.com>

        * gail/gaillabel.c: (gail_label_real_notify_gtk):
        Before emitting "text_caret_moved", change the cursor to the
        changed bound. Bug #536927.

svn path=/trunk/; revision=20322

16 years agoSlight update to match what configure produces.
Tor Lillqvist [Thu, 5 Jun 2008 22:39:06 +0000 (22:39 +0000)]
Slight update to match what configure produces.

2008-06-06  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Slight update to match what configure
produces.

svn path=/trunk/; revision=20321