2008-03-08 Alberto Ruiz <aruiz@gnome.org>
* modules/engines/ms-windows/msw_style.c (draw_shadow):
Do not draw frame if parent if combobox.
(draw_box):
Uses scrollbar width system metrics for combobox button.
Fixes#461805 for XP theme engine.
svn path=/trunk/; revision=19733
2008-03-07 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkiconfactory.c:
* tests/buildertest.c:
- Treat enums like enums and not values
- Avoid invalid free, in case of more than two sources
- Add better error messages
- Add much improved tests
(#520979, Christian Persch)
svn path=/trunk/; revision=19732
2008-03-06 Johan Dahlin <jdahlin@async.com.br>
* docs/reference/gtk/tmpl/gtkiconfactory.sgml:
* gtk/gtkbuilder.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkiconfactory.c:
* tests/buildertest.c:
Implement GtkBuildable on GtkIconFactory, to make
it possible to register custom stock icons.
Fixes#517066
svn path=/trunk/; revision=19726
2008-03-06 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkitemfactory.h:
* gtk/gtktypeutils.h:
Move GtkTranslateFunc to gtktypeutils.h so we can completely
deprecate gtkitemfactory.h.
* gtk/gtkactiongroup.h:
* gtk/gtkstock.h:
Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
* README.in:
Add a note describing this slight incompatible change
svn path=/trunk/; revision=19721
2008-03-06 Michael Natterer <mitch@imendio.com>
* gtk/gtk.h
* gtk/Makefile.am: move the remaining deprecated widgets to the
separate sections and replaced spaces by tabs in Makefile.am
svn path=/trunk/; revision=19719
2008-03-05 Johan Dahlin <johan@gnome.org>
* gtk/gtk.h:
* gtk/Makefile.am:
Separate broken and deprecated sources and headers into different sections
svn path=/trunk/; revision=19714
2008-03-05 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
short-circuit in case an empty root level would be build (and thus
directly destroyed) if no virtual root has been set.
svn path=/trunk/; revision=19712
2008-03-03 Carlos Garnacho <carlos@imendio.com>
Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
scrollwheel work in GtkPathBar.
* gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
* gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
an input-only window, event_window, which we'll use to capture
scroll events.
(gtk_path_bar_map): Show the event_window under the rest of the
windows, so it will be a catch-all for unhandled events.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19699
2008-03-03 Sven Neumann <sven@gimp.org>
* gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
typo in the documentation of the GtkFileChooserButtons::file-set
signal (see bug #353196).
svn path=/trunk/; revision=19696
2008-03-02 Johan Dahlin <johan@gnome.org>
* gtk/gtkitemfactory.h: Use void instead of empty arguments.
(#508760, Philip Van Hoof)
svn path=/trunk/; revision=19694
2008-03-02 Johan Dahlin <johan@gnome.org>
* docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
(#518166, Matt Kraai)
svn path=/trunk/; revision=19692
2008-03-03 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/msw_style.c (draw_box): Check that
the widget is a GtkButton before casting.
svn path=/trunk/; revision=19690
2008-03-02 Johan Dahlin <johan@gnome.org>
* configure.in: Compare using = instead of ==, which is portable.
(#490787, Thomas Klausner)
svn path=/trunk/; revision=19689
2008-02-29 Johan Dahlin <johan@gnome.org>
* demos/gtk-demo/demo.ui:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkliststore.c:
* tests/buildertest.c:
Add translatable/context and comment attributes on
<col> tags under a GtkListStore. Refactor parts of the
translation api and make it available inside gtk+ itself.
Update tests and example.
Fixes a part of #518642
svn path=/trunk/; revision=19685
2008-02-29 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
Do not use g_error for a few more errors, instead set
the GError sent in through add_from_file/add_from_string.
* tests/buildertest.c:
Add a couple of new parsing tests.
(#519199, Pavel Syomin)
svn path=/trunk/; revision=19681
2008-02-29 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
refreshing an existing folder (i.e. when we are about to reload
its file list), turn off the folder's is_finished_loading flag.
Otherwise callers which do ::is_finished_loading() followed by
::list_children() will get nothing.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19677
2008-02-29 Cody Russell <bratsche@gnome.org>
* docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
svn path=/trunk/; revision=19676
2008-02-27 Sven Neumann <sven@gimp.org>
* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
Quartz backend, use a native Mac OS X application for the print
preview (bug #518624).
svn path=/trunk/; revision=19663
2008-02-26 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
the members of info->tag_stack since they are a) gobjects and b)
not even owned by us, ugh... Fixes crash when deserializing fails.
svn path=/trunk/; revision=19657