Commit Graph

1379 Commits

Author SHA1 Message Date
Johan Dahlin
fddc9b8561 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
2008-01-25 16:17:38 +00:00
Matthias Clasen
65cdbb25a8 Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
2008-01-16 02:24:47 +00:00
Sven Neumann
83a6ca1147 corrected documentation for GtkEditable::delete-text.
2008-01-10  Sven Neumann  <sven@gimp.org>

	* gtk/tmpl/gtkeditable.sgml: corrected documentation for
	GtkEditable::delete-text.


svn path=/trunk/; revision=19341
2008-01-10 19:04:02 +00:00
Mathias Hasselmann
c32421418a Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details are shown within the widget, or jst as tooltip.
* gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
* tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
in flags vbox.

svn path=/trunk/; revision=19267
2007-12-28 09:39:34 +00:00
Mathias Hasselmann
fdbf92ad90 Add infrastructure for GtkCalendar details. (#339540)
* gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
Add "detail-width-chars" and "detail-height-rows" properties,
and gtk_calendar_set_detail_func function.

svn path=/trunk/; revision=19251
2007-12-27 20:41:08 +00:00
Xan Lopez
b28fea94a0 Add gtk_border_new to avoid memory allocator confusions when using
2007-12-27  Xan Lopez  <xan@gnome.org>

	* gtk/gtk.symbols:
	* gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):

	Add gtk_border_new to avoid memory allocator confusions when using
	GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)

svn path=/trunk/; revision=19248
2007-12-27 14:04:37 +00:00
19:54:11 Tim Janik
8c3c173239 include Makefile.decl to unbreak test rules.
2007-12-19 19:54:11  Tim Janik  <timj@imendio.com>

        * libgail-util/Makefile.am: include Makefile.decl to unbreak test rules.



svn path=/trunk/; revision=19200
2007-12-19 18:52:30 +00:00
Christian Persch
a8e6ee33b1 Integrate gail into gtk+. Bug #169488.
* configure.in:
	* docs/reference/Makefile.am:
	* docs/reference/libgail-util/*:
	* gail-uninstalled.pc.in:
	* gail.pc.in:
	* modules/Makefile.am:
	* modules/other/Makefile.am:
	* modules/other/gail/*:
	* modules/other/gail/libgail-util/*:
	* po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.

svn path=/trunk/; revision=19196
2007-12-18 13:51:12 +00:00
Matthias Clasen
f8a1be3a04 Add a gtk-im-module GTK setting
2007-12-17  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c: Add a gtk-im-module GTK setting
        * gdk/win32/gdkproperty-win32.c:
        * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.

        * gtk/gtkimmodule.[hc]:
        * gtk/gtkimmulticontext.[hc]: When determining the default context,
        look at the gtk-im-module setting, and listen for changes to the
        setting.  (#502446, Akira Tagoh)


svn path=/trunk/; revision=19195
2007-12-18 03:24:17 +00:00
Mathias Hasselmann
0b3cd3f6ae Remove comments I forgot in docs/reference/gtk/gtk-docs.sgml.
svn path=/trunk/; revision=19178
2007-12-14 11:03:41 +00:00
Mathias Hasselmann
95adf7ee26 Change GtkToolItem to retrieve its properties from GtkToolShell interface,
instead of relying on being child of a GtkToolbar. (#5034079)

* gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
* docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
* gtk/gtktoolbar.c: Implement GtkToolShellIface.
* gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
* gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
Take section docs from template file and update them for GtkToolShell.
* gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
* gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.

svn path=/trunk/; revision=19177
2007-12-14 10:57:46 +00:00
Matthias Clasen
da057b5675 Close an api gap in tooltips
svn path=/trunk/; revision=19175
2007-12-14 05:00:51 +00:00
Michael Natterer
64c73a61b7 Remove all .cvsignore files.
svn path=/trunk/; revision=19169
2007-12-13 11:18:45 +00:00
Matthias Clasen
9bf93a6fc8 Add docs
svn path=/trunk/; revision=19167
2007-12-13 05:49:11 +00:00
Mathias Hasselmann
13a8c0511a Move documentation for gtk_drag_dest_set to gtkdnd.c.
* docs/reference/gtk/tmpl/gtkdnd.sgml:
Move documentation for gtk_drag_dest_set to gtkdnd.c.

svn path=/trunk/; revision=19160
2007-12-11 18:57:00 +00:00
Matthias Clasen
7c89db436e Fix a typo
svn path=/trunk/; revision=19093
2007-11-30 18:16:08 +00:00
Ryan Lortie
08e15bbbae add clarification stating that the construct_child function is responsible
2006-11-26  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
        that the construct_child function is responsible for returning a
        reference.
        * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
        objects from constructors
        * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
        g_object_ref() to this construction function (it's the only
        implementer in GTK)

        Fixes #496645.


svn path=/trunk/; revision=19075
2007-11-27 03:25:09 +00:00
Matthias Clasen
259244deda Add a note about hook setup. (#425004, Emmanuele Bassi)
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
        about hook setup.  (#425004, Emmanuele Bassi)



svn path=/trunk/; revision=19050
2007-11-26 16:48:21 +00:00
Matthias Clasen
0184d7caad Move signal and property documentation inline, fix a problem with the
2007-11-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkdialog.c: Move signal and property documentation inline,
        fix a problem with the ::response signal docs.  (#499133, Josselin
        Mouette)


svn path=/trunk/; revision=19038
2007-11-25 05:40:49 +00:00
15:39:40 Tim Janik
2dc08ada49 call g_test_init() from gtk_test_init().
2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>

        * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().

        * gtk/tests/testing.c: use g_test_add_func() to register tests and use
	g_test_run() to run the tests to integrate with the testing framework.

        * gtk/tests/Makefile.am: removed exemplary testing rules.

        * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
        * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
        * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
        * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
        * docs/reference/Makefile.am, docs/tools/Makefile.am:
        * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
        * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
        * demos/gtk-demo/Makefile.am, demos/Makefile.am:
        * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
        * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
        * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
        * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
        * modules/engines/ms-windows/Theme/Makefile.am:
        * modules/engines/ms-windows/Makefile.am:
        * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
        * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
        * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
        * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
        * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
        * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.



svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
Matthias Clasen
cec5f34557 Fix some typos
svn path=/trunk/; revision=19006
2007-11-19 18:59:49 +00:00
Matthias Clasen
0add6313d3 Correct docs for program-name property. (#496689, Thomas Wood)
2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaboutdialog.c: Correct docs for program-name property.
        (#496689, Thomas Wood)



svn path=/trunk/; revision=18999
2007-11-19 05:28:28 +00:00
Matthias Clasen
73cfd8fa1d Small correction to the informational DTD. (#496277, Nicolas Joseph)
2007-11-19  Matthias Clasen <mclasen@redhat.com>

        * gtk/tmpl/gtkbuilder.sgml: Small correction to the
        informational DTD.  (#496277, Nicolas Joseph)



svn path=/trunk/; revision=18998
2007-11-19 05:02:30 +00:00
Matthias Clasen
b7f048b18c 2.12.1
svn path=/trunk/; revision=18924
2007-10-17 05:05:49 +00:00
Matthias Clasen
2c5038c5f8 Move GtkFileSelection to deprecated section. (#476920, Matthew Barnes)
2007-10-16  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk-docs.sgml: Move GtkFileSelection to deprecated
        section.  (#476920, Matthew Barnes)


svn path=/trunk/; revision=18922
2007-10-17 03:36:42 +00:00
Matthias Clasen
260ec9c31e Document GtkTreeModelForeach parameters. (#4777074, Ross Burton)
2007-10-16  Matthias Clasen  <mclasen@redhat.com>

        * gtk/tmpl/gtktreemodel.sgml: Document GtkTreeModelForeach
        parameters. (#4777074, Ross Burton)

svn path=/trunk/; revision=18921
2007-10-17 03:33:21 +00:00
Cody Russell
d9e345d084 Fix a typo in GdkEventGrabBroken where it said "@grab_window id NULL" and
2007-10-08  Cody Russell  <bratsche@gnome.org>
	* docs/reference/gdk/tmpl/event_structs.sgml:
	Fix a typo in GdkEventGrabBroken where it said
	"@grab_window id NULL" and should say
	"@grab_window is NULL". (#484650, Chris Lord)


svn path=/trunk/; revision=18892
2007-10-08 14:49:26 +00:00
Matthias Clasen
11a4e7dce7 Add a little more docs
svn path=/trunk/; revision=18887
2007-10-07 16:14:10 +00:00
Tim Janik
63ee4ae25d docs/reference/gtk/tmpl/gtkmenu.sgml: more wording fixups from Owen Taylor.
svn path=/trunk/; revision=18873
2007-10-01 18:26:45 +00:00
20:21:28 Tim Janik
8d503f2a90 reworded push_in description with Owen's help, fixes bug #482034.
2007-10-01 20:21:28  Tim Janik  <timj@imendio.com>

        * gtk/tmpl/gtkmenu.sgml: reworded push_in description with Owen's
        help, fixes bug #482034.



svn path=/trunk/; revision=18872
2007-10-01 18:21:54 +00:00
Matthias Clasen
bebbf23f22 2.12.0
svn path=/trunk/; revision=18820
2007-09-14 00:56:57 +00:00
Matthias Clasen
d7d3690f89 Add one more paragraph
svn path=/trunk/; revision=18788
2007-09-10 17:32:52 +00:00
Matthias Clasen
1a869c046a Add an internal child name for the notebook, so that GtkBuilder can be
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Add an internal child name for
        the notebook, so that GtkBuilder can be used to add custom tabs.
        (#472951, Christian Persch)


svn path=/trunk/; revision=18757
2007-09-07 20:03:22 +00:00
Matthias Clasen
8e2de76673 Remove references to deprecated functions. (#460207, Guillaume Cottenceau)
2007-09-06  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/porting-from-imlib.sgml:
        * gdk/tmpl/rgb.sgml: Remove references to deprecated
        functions.  (#460207, Guillaume Cottenceau)



svn path=/trunk/; revision=18741
2007-09-07 03:18:53 +00:00
Matthias Clasen
c191a26d92 correct an example
svn path=/trunk/; revision=18740
2007-09-07 03:07:18 +00:00
Behdad Esfahbod
09c762904e Remove duplicate gtk_print_operation_get_error(). (#473340, Yeti)
2007-09-03  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtk-sections.txt: Remove duplicate
        gtk_print_operation_get_error().  (#473340, Yeti)


svn path=/trunk/; revision=18718
2007-09-03 21:59:49 +00:00
Stefan Kost
07a789f58a Move documentation of gtk_ruler_set_range() to source and fix nonsense.
* docs/reference/gtk/tmpl/gtkruler.sgml:
	* gtk/gtkruler.c:
	Move documentation of gtk_ruler_set_range() to source and fix nonsense.


svn path=/trunk/; revision=18599
2007-08-09 12:58:25 +00:00
Emmanuele Bassi
d3625daed1 Add documentation for properties and fix the deprecation marker for the
2007-07-29  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c: Add documentation for properties
	and fix the deprecation marker for the show-numbers
	accessor functions (Murray Cumming).

	* gtk/gtkrecentchooser.h: Add deprecation guards around
	gtk_recent_chooser_set_show_numbers() and
	gtk_recent_chooser_get_show_numbers(), as promised during
	last development cycle.

svn path=/trunk/; revision=18556
2007-07-30 09:38:05 +00:00
Matthias Clasen
22f1a7f918 Add forgotten release markers
svn path=/trunk/; revision=18519
2007-07-21 13:12:48 +00:00
Matthias Clasen
b75486f577 2.11.6
svn path=/trunk/; revision=18513
2007-07-20 23:16:43 +00:00
Matthias Clasen
5a58d1ab18 Add new functions
svn path=/trunk/; revision=18509
2007-07-20 10:38:01 +00:00
Matthias Clasen
bdf50bd4f6 Convenience functions to position tooltips on icon view items or cells.
2007-07-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkiconview.h:
        * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
        (gtk_icon_view_set_tooltip_cell): Convenience functions to
        position tooltips on icon view items or cells.



svn path=/trunk/; revision=18473
2007-07-16 14:04:35 +00:00
Tim Janik
920147ee8f clarify section about gdk_threads_enter/ gdk_threads_leave to be reworded
Thu Jul 12 18:12:04 2007  Tim Janik  <timj@imendio.com>

        * gdk/tmpl/threads.sgml: clarify section about gdk_threads_enter/
        gdk_threads_leave to be reworded in terms of events and to mention
        availability of gdk_threads_add_idle_full().



svn path=/trunk/; revision=18457
2007-07-12 16:13:11 +00:00
Matthias Clasen
167acf1286 Move some docs inline
svn path=/trunk/; revision=18450
2007-07-12 00:56:44 +00:00
Matthias Clasen
e848df063e Small additions and corrections
svn path=/trunk/; revision=18449
2007-07-12 00:48:10 +00:00
Matthias Clasen
981127c74f Additions
svn path=/trunk/; revision=18448
2007-07-11 23:00:09 +00:00
Matthias Clasen
4a5ebcfc45 Move some docs inline
svn path=/trunk/; revision=18447
2007-07-11 22:21:06 +00:00
Matthias Clasen
4c40014a86 New function to convert widget coords to what is expected by the at_pos
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkiconview.[hc]
        (gtk_icon_view_convert_widget_to_bin_window_coords): New
        function to convert widget coords to what is expected by
        the at_pos functions.  (#455984)


svn path=/trunk/; revision=18445
2007-07-11 18:14:46 +00:00
Matthias Clasen
6cd8ec5f78 More tooltips docs
svn path=/trunk/; revision=18443
2007-07-11 04:46:03 +00:00
Matthias Clasen
2a9ae2f16f Small doc update
svn path=/trunk/; revision=18442
2007-07-10 23:45:45 +00:00