summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Move type-func to <object> instead of <child>, add a test to make sureJohan Dahlin2007-06-301-32/+36
| | | | | | | | | | | | | 2007-06-30 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object), (parse_child): * tests/buildertest.c: (test_types): Move type-func to <object> instead of <child>, add a test to make sure that it works as desired, #452463 svn path=/trunk/; revision=18306
* Make boolean string parsing consistent, #452464Johan Dahlin2007-06-303-30/+66
| | | | | | | | | | | | | | 2007-06-30 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean), (parse_property), (parse_signal): * gtk/gtkbuilderprivate.h: * tests/buildertest.c: (test_value_from_string): Make boolean string parsing consistent, #452464 svn path=/trunk/; revision=18305
* documentation updatesMatthias Clasen2007-06-302-137/+120
| | | | svn path=/trunk/; revision=18303
* Improve reference counting, #447967Johan Dahlin2007-06-291-8/+22
| | | | | | | | | | | | | 2007-06-29 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: (gtk_builder_finalize), (gtk_builder_get_parameters), (_gtk_builder_construct): * tests/buildertest.c: Improve reference counting, #447967 svn path=/trunk/; revision=18292
* Escape markup entities in the name and URI before displaying them.Emmanuele Bassi2007-06-291-5/+10
| | | | | | | | | 2007-06-29 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape markup entities in the name and URI before displaying them. svn path=/trunk/; revision=18289
* Do not cache the icon pixbufs but rely on the GtkIconTheme not to hit theEmmanuele Bassi2007-06-291-80/+31
| | | | | | | | | | 2007-06-29 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not cache the icon pixbufs but rely on the GtkIconTheme not to hit the disk cache too much (should tentatively fix #426987). svn path=/trunk/; revision=18288
* Prettify the output by running it through xmllint --format if xmllint isJohan Dahlin2007-06-281-3/+31
| | | | | | | | | | | | 2007-06-28 Johan Dahlin <jdahlin@async.com.br> * gtk/gtk-builder-convert (_indent): Prettify the output by running it through xmllint --format if xmllint is available which also requires the subprocess module only available in python 2.4 or later svn path=/trunk/; revision=18281
* Make the volume button use range 0.0 to 1.0 by default, and fix tooltipsChristian Persch2007-06-281-12/+18
| | | | | | | | | | | | 2007-06-28 Christian Persch <chpe@gnome.org> * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init), (gtk_volume_button_init), (gtk_volume_button_dispose), (gtk_volume_button_update_tooltip): Make the volume button use range 0.0 to 1.0 by default, and fix tooltips code to cope with different ranges. Bug #354181. svn path=/trunk/; revision=18279
* do right thing in one-character lines and at paragraph end (#448313).Yevgen Muntyan2007-06-281-27/+26
| | | | | | | | | | | | | 2007-06-28 Yevgen Muntyan <muntyan@tamu.edu> * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location): do right thing in one-character lines and at paragraph end (#448313). * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x() (pango #448342). svn path=/trunk/; revision=18273
* Use the attribute name in the error message instead of the value.Johan Dahlin2007-06-281-5/+5
| | | | | | | | | | | 2007-06-27 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilderparser.c (parse_property): Use the attribute name in the error message instead of the value. svn path=/trunk/; revision=18272
* Print out the name of the right object in the warning (#451314, PhilipJohan Dahlin2007-06-271-1/+1
| | | | | | | | | | | 2007-06-27 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c (apply_delayed_properties): Print out the name of the right object in the warning (#451314, Philip Withnall) svn path=/trunk/; revision=18270
* (GtkBuilderConverter._convert): Johan Dahlin2007-06-271-11/+13
| | | | | | | Make sure that we can convert Gazpacho files too. svn path=/trunk/; revision=18269
* Remove glade-interface doctype if found.Johan Dahlin2007-06-271-0/+6
| | | | | | | | | | 2007-06-27 Johan Dahlin <jdahlin@async.com.br> * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove glade-interface doctype if found. svn path=/trunk/; revision=18265
* Add GtkBuilder and GError arguments to gtk_builder_value_from_string andJohan Dahlin2007-06-274-35/+98
| | | | | | | | | | | | | | | | | * gtk/gtkbuilder.c: (gtk_builder_get_parameters), (gtk_builder_value_from_string), (gtk_builder_value_from_string_type): * gtk/gtkbuilder.h: * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property), (attributes_text_element): * gtk/gtkliststore.c: (list_store_text): * tests/buildertest.c: (test_value_from_string): Add GtkBuilder and GError arguments to gtk_builder_value_from_string and gtk_builder_value_from_string_type. (#451428) svn path=/trunk/; revision=18262
* Do not add border_width to the first button initial coordinate, since it'sXan Lopez2007-06-272-4/+2
| | | | | | | | | | | | | | 2007-06-27 Xan Lopez <xan@gnome.org> * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate): Do not add border_width to the first button initial coordinate, since it's already taken into account in the allocation value. (#451484) svn path=/trunk/; revision=18261
* Merged from maemo-gtk:Michael Natterer2007-06-271-22/+38
| | | | | | | | | | | | | | 2007-06-27 Michael Natterer <mitch@imendio.com> Merged from maemo-gtk: * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the scroll arrows' state, make sure we don't overwrite the insensitive state that might have been set by the first scroll step hitting the top/bottom border of the menu. svn path=/trunk/; revision=18260
* applied patch to improve variable names, by Olivier Delhomme, #451527.Tim Janik2007-06-272-13/+13
| | | | | | | | | | | Wed Jun 27 13:27:21 2007 Tim Janik <timj@gtk.org> * gtk/gtkradiobutton.[hc]: applied patch to improve variable names, by Olivier Delhomme, #451527. svn path=/trunk/; revision=18259
* fixed push_in description.Tim Janik2007-06-271-3/+2
| | | | | | | | | | Wed Jun 27 11:57:41 2007 Tim Janik <timj@imendio.com> * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed push_in description. svn path=/trunk/; revision=18258
* Plug leaks in error code pathsJohan Dahlin2007-06-271-4/+10
| | | | | | * gtk/gtkbuilderparser.c: Plug leaks in error code paths svn path=/trunk/; revision=18254
* Set an error if we encounter properties without values set (#451303,Johan Dahlin2007-06-272-1/+26
| | | | | | | | | | | * gtk/gtkbuilder.h (enum): * gtk/gtkbuilderparser.c (end_element): * tests/buildertest.c (test_parser): Set an error if we encounter properties without values set (#451303, Philip Withnall) svn path=/trunk/; revision=18252
* Fix a bunch of small bugs when parsing property valuesJohan Dahlin2007-06-261-21/+40
| | | | | | | | | | | * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a bunch of small bugs when parsing property values (boolean/int/uint/long/ulong/float/double). Bug #451353. * tests/buildertest.c: Add tests for the above. svn path=/trunk/; revision=18250
* Fix a typo in the previous commit.Emmanuele Bassi2007-06-261-6/+8
| | | | | | | | | | | | 2007-06-26 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix a typo in the previous commit. (shortcuts_append_desktop): Remove unused variable and hush the compiler warning. svn path=/trunk/; revision=18249
* Show the time of last change in the file chooser, for files modified todayEmmanuele Bassi2007-06-261-13/+37
| | | | | | | | | | | | 2007-06-26 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show the time of last change in the file chooser, for files modified today or yesterday. (#324543) * configure.in: Check for localtime_r(). svn path=/trunk/; revision=18248
* Encode the output in utf-8 as suggested by Bogdan NiculaJohan Dahlin2007-06-261-1/+2
| | | | | | | | * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode the output in utf-8 as suggested by Bogdan Nicula svn path=/trunk/; revision=18245
* remove the deprecation macros for now to fix the build and give us aKristian Rietveld2007-06-261-4/+0
| | | | | | | | | | | 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
* deprecate GtkTooltips.Kristian Rietveld2007-06-263-2/+8
| | | | | | | | | | | 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
* Add a script to convert libglade files to something gtkbuilder can parse.Johan Dahlin2007-06-262-1/+362
| | | | | | | | | * gtk/gtk-builder-convert: Add a script to convert libglade files to something gtkbuilder can parse. Fixes #447995 svn path=/trunk/; revision=18232
* building a GtkRecentInfo can never fail.Emmanuele Bassi2007-06-251-41/+7
| | | | | | | | | | | | | 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
* fix little mistake in my last commit ...Kristian Rietveld2007-06-241-0/+1
| | | | | | | | | 2007-06-24 Kristian Rietveld <kris@gtk.org> * Makefile.am: fix little mistake in my last commit ... svn path=/trunk/; revision=18223
* Add a search engine which queries the Spotlight database on MacOS X (onlyKristian Rietveld2007-06-244-1/+347
| | | | | | | | | | | | | | | | 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
* Remove the MIME type calls and queries from the search engineEmmanuele Bassi2007-06-223-127/+26
| | | | | | | | | | | | | | 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
* applied patch from Xan Lopez to eliminate gap in painted frame forTim Janik2007-06-221-11/+19
| | | | | | | | | | | | | | 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
* Remove debug spewMatthias Clasen2007-06-211-2/+0
| | | | svn path=/trunk/; revision=18214
* Remove faulty and irrelevant enter-leave compression code. (#449167, patchMatthias Clasen2007-06-211-33/+0
| | | | | | | | | | | 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
* 2.11.4GTK_2_11_4Matthias Clasen2007-06-191-0/+4
| | | | svn path=/trunk/; revision=18192
* use g_slice_dup().Sven Neumann2007-06-191-1/+2
| | | | | | | | 2007-06-19 Sven Neumann <sven@gimp.org> * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup(). svn path=/trunk/; revision=18189
* mark the GtkTooltips struct as private. Keep the tooltips in a hash tableSven Neumann2007-06-192-53/+68
| | | | | | | | | | | | 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
* Rename buildable methods to not clash with widget methods. (#448928,Johan Dahlin2007-06-1920-173/+173
| | | | | | | | | | 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
* Use g_timeout_add_seconds_full() for the timed poll of the storage file,Emmanuele Bassi2007-06-191-8/+57
| | | | | | | | | | | | | | | | 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
* Use a static variable to hold the singleton and remove the code that bindsEmmanuele Bassi2007-06-195-102/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix some issues with refcounting of the adjustment. (#448544, CarlosMatthias Clasen2007-06-191-2/+2
| | | | | | | | | | | 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
* Bug 448484 – GtkAccelGroup forgets to remove closure invalidate notifiers ↵Gustavo J. A. M. Carneiro2007-06-181-0/+3
| | | | | | when finalizing svn path=/trunk/; revision=18181
* Make GtkMenuShell abstractMatthias Clasen2007-06-181-1/+1
| | | | svn path=/trunk/; revision=18180
* Fix a doc typoMatthias Clasen2007-06-181-3/+3
| | | | svn path=/trunk/; revision=18179
* Remove extra braces.Xan Lopez2007-06-171-5/+1
| | | | svn path=/trunk/; revision=18174
* Update changelogXan Lopez2007-06-172-6/+14
| | | | svn path=/trunk/; revision=18173
* Pass the print settings to the preview programme. Bug #403717, patch byChristian Persch2007-06-171-1/+1
| | | | | | | | | 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
* List font sizes 6 and 7pt too. (#440450, Sebastien Bacher, Alex "weej"Behdad Esfahbod2007-06-171-1/+1
| | | | | | | | | | 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
* fixed couple of drawing problems with block cursor (#448321).Yevgen Muntyan2007-06-161-5/+5
| | | | | | | | | | 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
* Swap argument order to dgettext (#448299, Jan Arne Petersen)Johan Dahlin2007-06-161-1/+1
| | | | | | | | | | 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