Commit Graph

1700 Commits

Author SHA1 Message Date
Matthias Clasen
4d9df738e5 Document GDK_BLANK_CURSOR
svn path=/trunk/; revision=22146
2009-01-20 02:18:33 +00:00
Matthias Clasen
92019f40eb Add properties and getters for icon tooltips.
* gtk/gtk.symbols:
        * gtk/gtkentry.[hc]: Add properties and getters for icon tooltips.


svn path=/trunk/; revision=22139
2009-01-18 20:22:10 +00:00
Matthias Clasen
85efb2bb61 Use the last chance to get the api right, and rename things for
* gtk/gtk.symbols:
        * gtk/gtkentry.[hc]: Use the last chance to get the api right,
        and rename things for consistency, requested by Murray Cumming.
        In detail,
        gtk_entry_get_stock -> gtk_entry_get_icon_stock
        gtk_entry_get_pixbuf -> gtk_entry_get_icon_pixbuf
        gtk_entry_get_gicon -> gtk_entry_get_icon_gicon
        gtk_entry_get_storage_type -> gtk_entry_get_icon_storage_type
        ::prelight -> ::icon-prelight
        ::pixbuf-primary -> ::primary-icon-pixbuf
        ::stock-primary -> ::primary-icon-stock
        ::icon-name-primary -> ::primary-icon-name
        ::gicon-primary-> ::primary-icon-gicon
        ::storage-type-primary -> ::primary-icon-storage-type
        ::activatable->primary -> ::primary-icon-activatable
        ::sensitive-primary -> ::primary-icon-sensitive
        (and similar for secondary properties)


svn path=/trunk/; revision=22134
2009-01-18 16:07:00 +00:00
Christian Dywan
30db574750 Bug 567569 – Typo in GtkFileChooser example in GTK+ documentation
2009-01-13  Christian Dywan  <christian@imendio.com>

	Bug 567569 – Typo in GtkFileChooser example in GTK+ documentation

	* gtk/tmpl/gtkfilechooser.sgml: s/gobject_unref/g_object_unref.
        Patch by Priyank Gosalia.

svn path=/trunk/; revision=22105
2009-01-13 09:32:17 +00:00
Matthias Clasen
b6036a88a6 Use a better caps lock warning icon
svn path=/trunk/; revision=22070
2009-01-05 18:14:58 +00:00
Matthias Clasen
e725c73ba0 Add long description
svn path=/trunk/; revision=22063
2009-01-05 04:19:48 +00:00
Matthias Clasen
c885c8afd2 2.15.0
svn path=/trunk/; revision=22037
2009-01-01 22:24:56 +00:00
Matthias Clasen
bffd4b117d forgotten file
svn path=/trunk/; revision=22032
2009-01-01 04:37:28 +00:00
Matthias Clasen
9a8f5ed4ee forgotten files
svn path=/trunk/; revision=22031
2009-01-01 04:36:57 +00:00
Matthias Clasen
5a751f46b6 Fix title
svn path=/trunk/; revision=22025
2008-12-31 18:55:29 +00:00
Matthias Clasen
e31eb99c9d Rename GtkEntry icon-related signals
svn path=/trunk/; revision=22023
2008-12-31 07:29:23 +00:00
Matthias Clasen
ecd2f0d9d1 Additions
svn path=/trunk/; revision=22013
2008-12-30 06:33:11 +00:00
Matthias Clasen
b09a8c3a69 Doc additions
svn path=/trunk/; revision=22011
2008-12-30 05:51:18 +00:00
Matthias Clasen
4dd366238e Additions
svn path=/trunk/; revision=22009
2008-12-30 05:40:18 +00:00
Matthias Clasen
d9ca382118 Fix a typo
svn path=/trunk/; revision=22008
2008-12-30 05:30:22 +00:00
Matthias Clasen
2ff3c80693 Document the preview capability
svn path=/trunk/; revision=22007
2008-12-30 05:27:25 +00:00
Matthias Clasen
734a2432ad Document GtkTreeViewGridLines
svn path=/trunk/; revision=22005
2008-12-30 04:37:56 +00:00
Matthias Clasen
8f6e5e37f7 Try to improve the formatting
svn path=/trunk/; revision=22004
2008-12-30 04:34:22 +00:00
Matthias Clasen
8efbe51a8e Minor additions
svn path=/trunk/; revision=21997
2008-12-29 07:28:29 +00:00
Matthias Clasen
b9d51ab1aa Move docs inline.
svn path=/trunk/; revision=21994
2008-12-29 07:17:46 +00:00
Matthias Clasen
3cf7c45388 Document capabilities
svn path=/trunk/; revision=21992
2008-12-29 07:02:24 +00:00
Matthias Clasen
5686375e45 Document GtkBorder
svn path=/trunk/; revision=21990
2008-12-29 06:37:01 +00:00
Matthias Clasen
0ce79a851d Additions
svn path=/trunk/; revision=21989
2008-12-29 06:31:44 +00:00
Matthias Clasen
ff45f5455e More additions
svn path=/trunk/; revision=21988
2008-12-29 06:17:00 +00:00
Matthias Clasen
435f0a2eee Document GtkBuilderError
svn path=/trunk/; revision=21985
2008-12-29 05:58:19 +00:00
Matthias Clasen
f8d0aa6c1b Document GtkArrowPlacement
svn path=/trunk/; revision=21984
2008-12-29 05:40:42 +00:00
Matthias Clasen
23b21687d5 Forgotten commit
svn path=/trunk/; revision=21982
2008-12-29 05:16:34 +00:00
Matthias Clasen
fe1eec5a41 Remove a duplicate section
svn path=/trunk/; revision=21978
2008-12-29 04:42:59 +00:00
Matthias Clasen
67e77cb4e2 Small addition
svn path=/trunk/; revision=21977
2008-12-29 04:40:42 +00:00
Matthias Clasen
3df5e08993 Move more private stuff to Private
svn path=/trunk/; revision=21976
2008-12-29 04:37:42 +00:00
Matthias Clasen
8fc49d07e1 Move GtkFixedChild to private
svn path=/trunk/; revision=21973
2008-12-29 04:30:45 +00:00
Matthias Clasen
d482dea1d7 Merge docs inline
svn path=/trunk/; revision=21971
2008-12-29 04:19:56 +00:00
Matthias Clasen
97ba70e19b Pick up misc. new api
svn path=/trunk/; revision=21970
2008-12-29 04:11:34 +00:00
Matthias Clasen
7ed82c7e1b s/<envvar>/<envar>/
svn path=/trunk/; revision=21969
2008-12-29 03:25:54 +00:00
Matthias Clasen
bbe04b385b Remove an overridden item
svn path=/trunk/; revision=21966
2008-12-29 03:20:34 +00:00
Matthias Clasen
b85386bafb Another dupe
svn path=/trunk/; revision=21964
2008-12-29 03:13:42 +00:00
Matthias Clasen
1269355a11 More dupes
svn path=/trunk/; revision=21962
2008-12-29 03:10:16 +00:00
Matthias Clasen
99a772615f Remove duplicates
svn path=/trunk/; revision=21961
2008-12-29 03:08:47 +00:00
Matthias Clasen
aa0b903fd3 Merge docs inline
svn path=/trunk/; revision=21960
2008-12-29 03:01:42 +00:00
Matthias Clasen
60d82adbf8 Merge docs inline
svn path=/trunk/; revision=21959
2008-12-29 02:36:39 +00:00
Matthias Clasen
94e6589d2d Documentation fixes
svn path=/trunk/; revision=21956
2008-12-29 00:06:12 +00:00
Matthias Clasen
a07dea8803 Merge docs inline
svn path=/trunk/; revision=21955
2008-12-28 18:57:44 +00:00
Matthias Clasen
b7935e5e78 Additions
2008-12-27  Matthias Clasen <mclasen@redhat.com>

        * gtk/tmpl/gtkmessagedialog.sgml:
        * gtk/tmpl/gtkmenushell.sgml:
        * gtk/tmpl/gtklinkbutton.sgml:
        * gtk/tmpl/gtkimage.sgml: Additions

        * gtk/gtk-sections.txt:
        * gtk/gtk-docs.sgml: Add GtkHSV
        * gtk/Makefile.am: Don't ignore gtkhsv.h


svn path=/trunk/; revision=21954
2008-12-28 06:59:23 +00:00
Matthias Clasen
ee7c906cd9 Remove nonexisting api
svn path=/trunk/; revision=21952
2008-12-28 06:19:34 +00:00
Matthias Clasen
3c05258e10 Formatting fixes
svn path=/trunk/; revision=21951
2008-12-28 06:14:43 +00:00
Matthias Clasen
517a2a352b More glue
svn path=/trunk/; revision=21950
2008-12-27 16:55:02 +00:00
Matthias Clasen
622ab35391 Fix typos
svn path=/trunk/; revision=21949
2008-12-27 16:24:07 +00:00
Matthias Clasen
d2933b8336 Glue
svn path=/trunk/; revision=21947
2008-12-27 06:12:26 +00:00
Matthias Clasen
fdf0e1a221 Add new migration chapter
svn path=/trunk/; revision=21946
2008-12-27 05:59:42 +00:00
Matthias Clasen
dd21a2d7fb Mention default hook
svn path=/trunk/; revision=21945
2008-12-27 05:37:10 +00:00
Matthias Clasen
8a4a531540 More additions
svn path=/trunk/; revision=21943
2008-12-27 05:30:58 +00:00
Matthias Clasen
5370dd5d45 Add some docs
svn path=/trunk/; revision=21936
2008-12-26 08:02:05 +00:00
Matthias Clasen
9970427175 Mention new functionality
svn path=/trunk/; revision=21935
2008-12-26 07:15:47 +00:00
Matthias Clasen
8e2921f7c5 Add new api
svn path=/trunk/; revision=21934
2008-12-26 06:57:50 +00:00
Matthias Clasen
d140d3a8d3 Update
svn path=/trunk/; revision=21933
2008-12-26 06:53:02 +00:00
Matthias Clasen
b51775ed9a Turn into a refenty
svn path=/trunk/; revision=21932
2008-12-26 06:41:23 +00:00
Matthias Clasen
089789497b trivial fixes
svn path=/trunk/; revision=21931
2008-12-26 04:42:25 +00:00
Matthias Clasen
012a1decaa Add another index
svn path=/trunk/; revision=21930
2008-12-26 04:22:07 +00:00
Matthias Clasen
b38f2c127c trivial correction
svn path=/trunk/; revision=21928
2008-12-26 04:18:56 +00:00
Matthias Clasen
eec610227f Small tweaks
svn path=/trunk/; revision=21927
2008-12-26 04:06:09 +00:00
Marek Kasik
8ff5d4ffc4 Bug 339318 - Allow page rendering to (optionally) happen in a thread
2008-12-19  Marek Kasik  <mkasik@redhat.com>

	Bug 339318 - Allow page rendering to (optionally) happen in a thread

	* gtk/gtk.symbols: API change
	* doc/reference/gtk/gtk-sections.txt: API change
	* gtk/gtkprintoperation-private.h
	* gtk/gtkprintoperation.h
	* gtk/gtkprintoperation.c: Adds 2 new functions
	   gtk_print_operation_set_defer_drawing()
	     - Sets up the GtkPrintOperation to wait for calling of
	       gtk_print_operation_draw_page_finish() from application. It can
	       be used for drawing page in another thread.
	       This function must be called in the callback of "draw-page"
	       signal.
	   gtk_print_operation_draw_page_finish()
	     - Signalize that drawing of particular page is complete.
	       It is called after completion of page drawing (e.g. drawing
	       in another thread).
	       If gtk_print_operation_set_defer_drawing() was called before,
	       then this function has to be called by application. In another
	       case it is called by the library itself.

svn path=/trunk/; revision=21913
2008-12-19 16:42:05 +00:00
Daniel Elstner
0bf3652e1d Bug 563994 – Input method module interface not documented
* gtk/gtkimcontext.h: Add public/private markers.
* gtk/gtkimcontext.c: Add section documentation which explains how
to add a new input method module to GTK+.  Document the signals and
virtual functions of GtkIMContextClass.
* gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
* docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
GtkIMContextInfo to section GtkIMContext.
* docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
* docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
repository since all the hand-edited content has been migrated to
source file comments.

svn path=/trunk/; revision=21870
2008-12-11 11:38:59 +00:00
Matthias Clasen
2856cd214a Improve GTK_MODULES docs
svn path=/trunk/; revision=21867
2008-12-10 18:00:02 +00:00
Matthias Clasen
70675377c0 Make gtk_builder_get_translation_domain() useful for subparsers.
* gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
        useful for subparsers.

        * gtk/gtkcontainer.c: Make the child property parser support
        translatable child properties.


svn path=/trunk/; revision=21855
2008-12-08 03:57:16 +00:00
Baptiste Mille-Mathias
eed26b2f0d Update all screnshots of reference to have a consistent look.
svn path=/trunk/; revision=21828
2008-11-29 21:19:12 +00:00
Matthias Clasen
d7ad26878c better deprecation notes
svn path=/trunk/; revision=21826
2008-11-29 08:22:00 +00:00
Matthias Clasen
43f8b23208 More deprecation cleanup
svn path=/trunk/; revision=21825
2008-11-29 08:10:22 +00:00
Matthias Clasen
420c35c00a More deprecation cleanup
svn path=/trunk/; revision=21824
2008-11-29 08:02:42 +00:00
Matthias Clasen
10e3a68267 More of the same
svn path=/trunk/; revision=21822
2008-11-29 07:56:32 +00:00
Matthias Clasen
f5aa73e6ae better deprecation annotation
svn path=/trunk/; revision=21821
2008-11-29 07:29:25 +00:00
Matthias Clasen
1be770bc40 improve deprecation annotation
svn path=/trunk/; revision=21819
2008-11-29 07:19:12 +00:00
Matthias Clasen
7d95e01c02 better deprecation annotation
svn path=/trunk/; revision=21817
2008-11-29 07:06:37 +00:00
Matthias Clasen
cf058f80be Improve deprecation annotation
svn path=/trunk/; revision=21816
2008-11-29 07:01:32 +00:00
Matthias Clasen
8032c48344 Improve deprecation annotations
svn path=/trunk/; revision=21815
2008-11-29 06:57:55 +00:00
Christian Dywan
2c83960053 Bug 559009 – gtk_radio_button_get_group documentation needs to say
2008-11-25  Christian Dywan  <christian@imendio.com>

	Bug 559009 – gtk_radio_button_get_group documentation needs
        to say whether to free the returned GSList

	* gtk/tmpl/gtkradiobutton.sgml: Clarify radio_button_get_group docs

svn path=/trunk/; revision=21808
2008-11-25 15:59:05 +00:00
Matthias Clasen
7dfb0b734b Use a new gtk-doc feature to generate much nicer indices.
2008-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
        much nicer indices.

        * gtk/drawing-model.xml: Fix document structure


svn path=/trunk/; revision=21795
2008-11-21 08:21:28 +00:00
Tristan Van Berkom
4858ae47e2 Made buildable and added support for adding children of type "submenu"
* gtk/gtkmenuitem.c: Made buildable and added support for adding children
	of type "submenu"

	* gtk/gtkwindow.c: Added support for custom tag "accel-groups" to add GtkAccelGroups
	to the window.

	* gtk/gtkcontainer.c: Added builder contextual warnings in buildable_add_child()

	* gtk/tests/builder.c: Added tests for buildable menus (test that accelerators are
	properly connected on stock items, test the menu hierarchy, test permission to
	add alien/custom menuitem children).

	* docs/reference/gtk/tmpl/gtkbuilder.sgml, docs/reference/gtk/tmpl/gtkwindow.sgml,
	docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for buildable submenus
	and accel groups.


svn path=/trunk/; revision=21767
2008-11-06 17:34:30 +00:00
Matthias Clasen
d06e67023c Add new statusicon tooltip api
svn path=/trunk/; revision=21754
2008-11-03 19:46:21 +00:00
Matthias Clasen
4f8f288163 Bug 412134 – Add API to query style properties from the style
2008-11-01  Matthias Clasen  <mclasen@redhat.com>

        Bug 412134 – Add API to query style properties from the style

        * gtk/gtk.symbols:
        * gtk/gtkstyle.[hc]: Add getters for style properties to
        avoid the need for ugly workarounds with dummy widget instances.
        Patch by Mariano Suárez-Alvarez

svn path=/trunk/; revision=21744
2008-11-01 04:15:14 +00:00
Marek Kasik
a3b07ac981 Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
2008-10-30  Marek Kasik  <mkasik@redhat.com>

	Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

	* gtk/gtk.symbols
	* gtk/gtkprintsettings.c
	* gtk/gtkprintsettings.h
	* docs/reference/gtk/gtk-sections.txt
	* modules/printbackends/file/gtkprintbackendfile.c
	* modules/printbackends/test/gtkprintbackendtest.c
	* modules/printbackends/cups/gtkprintbackendcups.c
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	Added lpi (lines per inch) setting to GtkPrintSettings and support
	for anamorphic dpi. Surface fallback resolution is set to 2*lpi.

svn path=/trunk/; revision=21733
2008-10-30 16:24:27 +00:00
Federico Mena Quintero
040865e7e8 The GTK+ Drawing Model: new chapter for the documentation
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=21727
2008-10-29 18:59:40 +00:00
Matthias Clasen
fbf5f4b647 Add GtkOrientable
svn path=/trunk/; revision=21720
2008-10-27 04:07:42 +00:00
Matthias Clasen
8e22ae5eba add a short desc
svn path=/trunk/; revision=21719
2008-10-27 04:03:51 +00:00
Matthias Clasen
3ffe40cd5e Add short desc
svn path=/trunk/; revision=21718
2008-10-27 04:02:57 +00:00
Matthias Clasen
6b16a0d092 Add a missing type
svn path=/trunk/; revision=21710
2008-10-24 04:25:14 +00:00
Michael Natterer
7accf50a3a Bug 516425 – Optionally display accelerators in popups
2008-10-09  Michael Natterer  <mitch@imendio.com>

	Bug 516425 – Optionally display accelerators in popups

	* gtk/tmpl/gtkuimanager.sgml: document the enhanced XML syntax and
	the new enum value for popups with accelerators.


svn path=/trunk/; revision=21616
2008-10-09 08:51:02 +00:00
Michael Natterer
776a1d26ab add gtk_box_new.
2008-10-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_box_new.


svn path=/trunk/; revision=21597
2008-10-07 07:46:08 +00:00
Björn Lindqvist
36c545b0a1 Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
2008-10-06  Björn Lindqvist  <bjourne@gmail.com>

	Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView

	* gtk/gtkcellview.c (gtk_cell_view_get_model): Add
	gtk_cell_view_get_model.

svn path=/trunk/; revision=21593
2008-10-06 21:15:45 +00:00
Michael Natterer
7d76b604ac add gtk_ruler_new.
2008-10-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_ruler_new.


svn path=/trunk/; revision=21566
2008-10-02 15:26:05 +00:00
Torsten Schönfeld
0697bb7942 Add gtk_selection_data_get_selection to retrieve the sealed struct field
GtkSelectionData.selection.

svn path=/trunk/; revision=21564
2008-10-01 18:53:49 +00:00
Michael Natterer
dd41692b20 add gtk_separator_new.
2008-09-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_separator_new.


svn path=/trunk/; revision=21554
2008-09-30 14:33:36 +00:00
Matthias Clasen
680c460ff2 Add a getter for the the sealed context_id field.
2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
        Add a getter for the the sealed context_id field.


svn path=/trunk/; revision=21546
2008-09-29 20:55:31 +00:00
Matthias Clasen
859aaf903d Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.

        * gdk/gdk.symbols:
        * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
        a gdk_keymap_get_caps_lock_state function.

        * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
        state-changed when caps lock lockedness changes.

        * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
        changes in the XkbSelectEventDetails call.


svn path=/trunk/; revision=21545
2008-09-29 20:40:45 +00:00
Carlos Garnacho
ee06ce951b Bug 83935 – GtkEntry's default invisible char should be U+25CF
2008-09-19  Carlos Garnacho  <carlos@imendio.com>

        Bug 83935 – GtkEntry's default invisible char should be U+25CF

        * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
        more suitable invisible char than '*' based on the used font.
        (gtk_entry_class_init) (gtk_entry_set_property)
        (gtk_entry_get_property): Add a "invisible-char-set" property.
        (gtk_entry_unset_invisible_char): New function, needed now that the
        default invisible char isn't fixed.
        * gtk/gtkentry.h:
        * gtk/gtk.symbols:
        * docs/reference/gtk/gtk-sections.txt: Add the new function.

svn path=/trunk/; revision=21446
2008-09-19 13:45:07 +00:00
Matthias Clasen
3a6b0693b9 2.14.2
svn path=/trunk/; revision=21420
2008-09-18 04:30:42 +00:00
Sven Herzberg
ad7880a590 Bug 551063 – deprecated marking without a link to what new code should
2008-09-06  Sven Herzberg  <sven@imendio.com>

        Bug 551063 – deprecated marking without a link to what new code should
        use

        * gdk/tmpl/input.sgml: dropped tmpl documentation for gdk_input_add()
        and gdk_input_add_full()
        * gdk/gdkevents.c: added inline documentation for gdk_input_add() and
        gdk_input_add_full(); added replacement hints into the deprecation
        message

svn path=/trunk/; revision=21305
2008-09-06 17:26:33 +00:00
Stefan Kost
9e90452bac Use xi:include instead of entities to ease maintenance and speed up
* gdk-pixbuf/gdk-pixbuf-csource.xml:
	* gdk-pixbuf/gdk-pixbuf-from-drawables.sgml:
	* gdk-pixbuf/gdk-pixbuf-query-loaders.xml:
	* gdk-pixbuf/gdk-pixbuf-rendering.sgml:
	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk-pixbuf/porting-from-imlib.sgml:
	* gdk/gdk-docs.sgml:
	* gdk/multihead.sgml:
	* libgail-util/gail-libgail-util-docs.sgml:
	  Use xi:include instead of entities to ease maintenance and speed up
	  documentation build. Fixes #540967


svn path=/trunk/; revision=21304
2008-09-06 09:47:18 +00:00
Matthias Clasen
21a153f172 2.14.1
svn path=/trunk/; revision=21296
2008-09-05 02:33:53 +00:00
Matthias Clasen
10b98d572c 2.14.0
svn path=/trunk/; revision=21290
2008-09-04 16:56:51 +00:00
Matthias Clasen
45226f9583 Add some missing functions
svn path=/trunk/; revision=21277
2008-09-04 04:22:02 +00:00
Matthias Clasen
4504988e42 Document n-up-layout capability
svn path=/trunk/; revision=21273
2008-09-04 03:46:08 +00:00
Matthias Clasen
9eae7a1d2e Split gtk_selection_data_get_data into gtk_selection_data_get_data and
2008-08-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into
        gtk_selection_data_get_data and gtk_selection_data_get_length.
        Proposed by Owen Taylor.


svn path=/trunk/; revision=21232
2008-08-29 04:16:56 +00:00
Matthias Clasen
7cc3908418 typo fix
svn path=/trunk/; revision=21216
2008-08-28 02:07:30 +00:00
Matthias Clasen
c2a194d3b1 Forgotten file
svn path=/trunk/; revision=21214
2008-08-27 23:09:48 +00:00
Torsten Schönfeld
dea6702955 Move gtk_menu_set_monitor next to gtk_menu_get_monitor. Move
gtk_menu_set_title next to gtk_menu_get_title.

svn path=/trunk/; revision=21159
2008-08-19 20:09:28 +00:00
Matthias Clasen
783a4d99ed 2.13.7
svn path=/trunk/; revision=21151
2008-08-19 01:17:29 +00:00
Torsten Schönfeld
38993e923a Don't mention GdkWindowRedirect in the docs; it's opaque and not used in any
public API.

svn path=/trunk/; revision=21138
2008-08-16 19:57:41 +00:00
Matthias Clasen
8d221c6caa Some doc additions
svn path=/trunk/; revision=21129
2008-08-15 18:01:38 +00:00
Matthias Clasen
81aa21a834 Don't add pointless getters
svn path=/trunk/; revision=21114
2008-08-14 03:37:43 +00:00
Torsten Schönfeld
375e16715c Move gtk_font_selection_dialog_get_apply_button,
gtk_font_selection_dialog_get_cancel_button, and
gtk_font_selection_dialog_get_ok_button to the GtkFontSelectionDialog section.

svn path=/trunk/; revision=21112
2008-08-13 20:59:29 +00:00
Matthias Clasen
c246a4e7b0 2.13.6
svn path=/trunk/; revision=21015
2008-08-05 18:20:35 +00:00
Matthias Clasen
7d85757776 Bug 382291 – Automatically dim the combobox when the model is empty
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

        Bug 382291 – Automatically dim the combobox when the model is empty

        * gtk/gtk.symbols:
        * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
        property with getter and setter to control the sensitity of
        empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
        Christian Dywan and others.

        * README.in: Add a note about automatic combobox sensitivity.


svn path=/trunk/; revision=20997
2008-08-04 23:40:36 +00:00
Matthias Clasen
5fde2609d7 Add new functions
svn path=/trunk/; revision=20941
2008-08-02 05:07:48 +00:00
Matthias Clasen
884d971149 Fix GtkBuilder examples
svn path=/trunk/; revision=20934
2008-08-02 04:37:47 +00:00
Matthias Clasen
ed31e7e8fb Bug 540834 – Insensitive widgets cannot be grabbed
2008-08-02  Matthias Clasen  <mclasen@redhat.com>

        Bug 540834 – Insensitive widgets cannot be grabbed

        * gtk/tmpl/gtkmain.sgml: Explain that insensitive widgets
        cannot be grabbed. Patch by Björn Lindqvist



svn path=/trunk/; revision=20933
2008-08-02 04:35:02 +00:00
Matthias Clasen
5478721aba Bug 65818 – rename gtk_window_set_default() and add getter for it
svn path=/trunk/; revision=20931
2008-08-02 04:29:47 +00:00
Matthias Clasen
ed383758c6 Improve docs
svn path=/trunk/; revision=20929
2008-08-02 04:12:55 +00:00
Cody Russell
4e3c97b3f2 Bug 56070 – Can't click button after setting it sensitive.
2008-07-31  Cody Russell  <bratsche@gnome.org>

        Bug 56070 – Can't click button after setting it sensitive.

        * gtk/gtkwidget.[ch] 
        * gtk/gtkwindow.c
        * gtk/gtkmain.c
        * gtk/gtkbutton.c
        * gtk/gtkprivate.h
        * gdk/gdkevents.h: Synthesize crossing events events where necessary.

        * gtk/tests/crossingevents.c: Add unit tests for crossing events.

        Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
        has worked on and helped out with this.


svn path=/trunk/; revision=20924
2008-08-01 03:30:50 +00:00
Matthias Clasen
47da2900a6 Add new api
svn path=/trunk/; revision=20920
2008-07-31 22:12:41 +00:00
Matthias Clasen
c3e0a4ea74 2.13.5
svn path=/trunk/; revision=20888
2008-07-22 00:39:10 +00:00
Matthias Clasen
66781b84d0 Add tons of new api
svn path=/trunk/; revision=20868
2008-07-20 01:22:37 +00:00
Matthias Clasen
0a3394b70c Improve the docs
svn path=/trunk/; revision=20867
2008-07-20 00:58:11 +00:00
Paolo Borelli
6ee8be8899 Bug 447998 - GtkBuilder does not support building parts of the xml tree
2008-07-15  Paolo Borelli  <pborelli@katamail.com>

	Bug 447998 - GtkBuilder does not support building parts of the xml tree

	* gtk/gtkbuilder.c:
	* gtk/gtkbuilder.h:
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkbuilderparser.c:
	* gtk/gtk.symbols:
	Add two new functions that allow cherry picking and construct
	objects from a ui description file or string.

	* gtk/tests/builder.c: tests for the above.


svn path=/trunk/; revision=20845
2008-07-16 15:36:53 +00:00
Matthias Clasen
1eb96eadfc Bug 384940 – handle rejecting jobs and authentication meaningfully
Patch by Marek Kasik, icons by Mike Langlie:
        * gtk/gtk.symbols:
        * gtk/gtkprintbackend.h:
        * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
        and getters/setters.

        * gtk/gtkstock.h:
        * gtk/gtkiconfactory.c:
        * gtk/Makefile.am:
        * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.

        * modules/printbackends/cups/gtkprintbackendcups.c:
        * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
        printers.


svn path=/trunk/; revision=20838
2008-07-15 17:34:34 +00:00
Matthias Clasen
f9d2ecfb18 fix markup
svn path=/trunk/; revision=20830
2008-07-15 03:05:03 +00:00
Matthias Clasen
29abd7c87c Improve docs
svn path=/trunk/; revision=20819
2008-07-12 00:36:35 +00:00
Stefan Kost
804a06b859 Bug 540967 – docs build slowly because of entities
* gtk/building.sgml:
	* gtk/changes-1.2.sgml:
	* gtk/changes-2.0.sgml:
	* gtk/compiling.sgml:
	* gtk/directfb.sgml:
	* gtk/glossary.xml:
	* gtk/gtk-docs.sgml:
	* gtk/gtk-query-immodules-2.0.xml:
	* gtk/gtk-update-icon-cache.xml:
	* gtk/migrating-GtkAboutDialog.sgml:
	* gtk/migrating-GtkAction.sgml:
	* gtk/migrating-GtkAssistant.sgml:
	* gtk/migrating-GtkBuilder.sgml:
	* gtk/migrating-GtkColorButton.sgml:
	* gtk/migrating-GtkComboBox.sgml:
	* gtk/migrating-GtkFileChooser.sgml:
	* gtk/migrating-GtkIconView.sgml:
	* gtk/migrating-GtkLinkButton.sgml:
	* gtk/migrating-GtkRecentChooser.sgml:
	* gtk/migrating-GtkTooltip.sgml:
	* gtk/migrating-checklist.sgml:
	* gtk/osx.sgml:
	* gtk/other_software.sgml:
	* gtk/question_index.sgml:
	* gtk/resources.sgml:
	* gtk/running.sgml:
	* gtk/text_widget.sgml:
	* gtk/tree_widget.sgml:
	* gtk/visual_index.xml:
	* gtk/windows.sgml:
	* gtk/x11.sgml:
	  Use xi:include to speed up doc-build. Remove some unused entities.


svn path=/trunk/; revision=20812
2008-07-10 03:27:56 +00:00
Matthias Clasen
03fa126663 Fix a typo
svn path=/trunk/; revision=20797
2008-07-06 23:51:56 +00:00
Matthias Clasen
f53a77895b Mention bind_textdomain_codeset in faq
svn path=/trunk/; revision=20795
2008-07-06 23:38:41 +00:00
Matthias Clasen
40a31e283c 2.13.4
svn path=/trunk/; revision=20783
2008-07-05 20:30:16 +00:00
Matthias Clasen
908aba628a Doc updates
svn path=/trunk/; revision=20772
2008-07-04 22:03:37 +00:00
Matthias Clasen
a1b44ad8cf Some GDK doc additions
svn path=/trunk/; revision=20770
2008-07-04 21:52:54 +00:00
Matthias Clasen
efd2dbf026 Add gtk_scale_button_get_popup
svn path=/trunk/; revision=20748
2008-07-03 18:03:13 +00:00
Matthias Clasen
075d84b88a No more mushroom
svn path=/trunk/; revision=20745
2008-07-03 17:29:39 +00:00
Carlos Garnacho
60e1b3ea89 Remove container implementation, which isn't thought for handling
2008-06-24  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
        thought for handling non-direct children. Fixes #539732.
        (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
        doesn't provide enough control to API users (removing, reordering...),
        this is better handled through:
        (gtk_dialog_get_content_area): New function which just returns
        dialog->vbox.
        * gtk/gtk.symbols: Modify accordingly.
        * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
        using gtk_dialog_get_[action|content]_area() instead of accessing
        dialog struct members directly.

svn path=/trunk/; revision=20680
2008-06-24 10:22:40 +00:00
Christian Persch
c9e85e48f8 Add clipboard convenience helpers for URIs. Bug #537639.
svn path=/trunk/; revision=20465
2008-06-19 12:55:57 +00:00
Matthias Clasen
975b1c6ff6 2.13.3
svn path=/trunk/; revision=20385
2008-06-14 01:21:31 +00:00
Matthias Clasen
f393e85f59 2.13.2
svn path=/trunk/; revision=20309
2008-06-03 23:44:33 +00:00
Colin Walters
8ade45013c Bug 535303 – add _get_implementation to GtkStatusIcon
2008-06-03  Colin Walters  <walters@redhat.com>
	
	Bug 535303 – add _get_implementation to GtkStatusIcon

	* gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
	function to retrieve internal X11 window ID, useful for libnotify.
	* gtk/gtkstatusicon.h: Prototype it.
	* docs/reference/gtk/gtk-sections.txt: Add to docs.
	* gtk/gtk.symbols: Export it.


svn path=/trunk/; revision=20304
2008-06-03 17:39:20 +00:00
Matthias Clasen
03e6bf29ab Add GtkPrintOperationPreview
svn path=/trunk/; revision=20292
2008-06-03 01:50:20 +00:00
Matthias Clasen
49a42ac0f0 2.13.1
svn path=/trunk/; revision=20246
2008-05-30 05:08:50 +00:00
Matthias Clasen
f4687eb8e1 Updates
svn path=/trunk/; revision=20243
2008-05-30 02:30:19 +00:00
Michael Natterer
24ac36693b add -UGTK_DISABLE_SINGLE_INCLUDES so the code generated by gtkdoc-scangobj
2008-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/Makefile.am (CPPFLAGS): add -UGTK_DISABLE_SINGLE_INCLUDES so
	the code generated by gtkdoc-scangobj builds.


svn path=/trunk/; revision=20232
2008-05-29 13:25:28 +00:00
Michael Natterer
3b464e901d include <gtk/gtkunixprint.h> instead of individual files.
2008-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk.types: include <gtk/gtkunixprint.h> instead of
	individual files.


svn path=/trunk/; revision=20231
2008-05-29 10:39:52 +00:00
Matthias Clasen
7c45a441d1 Fix for single includes
svn path=/trunk/; revision=20229
2008-05-29 04:50:43 +00:00
Matthias Clasen
f58baf1391 Additions
svn path=/trunk/; revision=20228
2008-05-29 04:19:54 +00:00
Matthias Clasen
bceb3fcc73 Bug 535250 - GtkToolButton reference page says "label" where
it should say "icon", uses underscores

        * gtk/tmpl/gtktoolbutton.sgml: Improve introduction

svn path=/trunk/; revision=20227
2008-05-29 03:07:01 +00:00
Matthias Clasen
58cca43189 Bug 531887 - GtkTooltips is deprecated, but what should I use?
* gtk/tmpl/gtktooltips.sgml: Add a hint for what to use instead

svn path=/trunk/; revision=20193
2008-05-27 20:27:40 +00:00
Matthias Clasen
948fe6242a Additions
svn path=/trunk/; revision=20173
2008-05-26 05:43:00 +00:00
Matthias Clasen
4d734c0e6a Formatting fixes
2008-05-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkshow.[hc]: Formatting fixes

        * gtk/gtkmountoperation.c: Add docs


svn path=/trunk/; revision=20169
2008-05-26 04:05:17 +00:00
Matthias Clasen
64d2764a04 Bug 465144 - gtkprintjob.h is not included with gtk.h
* gtk/gtk-sections.txt: Fix include for gtkprintjob.h, pointed
        out by Étienne Bersac.


svn path=/trunk/; revision=20160
2008-05-25 20:46:03 +00:00
Tristan Van Berkom
7b0ef2095a Added support for parsing required toolkit versions (so that ui
* gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
	Added support for parsing required toolkit versions (so that ui descriptions
	can target specific versions of the backend widget libraries) bug 527612.

	* gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
	for the added xml tags to the ui description.


svn path=/trunk/; revision=20152
2008-05-25 15:12:39 +00:00
Matthias Clasen
c30e303c35 Make the iconfactory buildable implementation less strict
svn path=/trunk/; revision=20141
2008-05-24 23:19:01 +00:00
Matthias Clasen
59ae44d00e RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
was chosen

        Patch by Marek Kasik.

        * gtk/gtk.symbols:
        * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.

        * gtk/gtkprintbackend.[hc]: Add fallback implementation.

        * modules/printbackends/file/gtkprintbackendfile.c:
        * modules/printbackends/cups/gtkprintbackendcups.c: Implement
        get_default_page_size.

        * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
        select its default paper size.

        * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
        use the printer default.

        * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
        if we don't have a default page setup.

svn path=/trunk/; revision=20120
2008-05-21 02:17:30 +00:00
Matthias Clasen
7f260595b2 Fix a typo
svn path=/trunk/; revision=20117
2008-05-20 16:34:38 +00:00
Matthias Clasen
348b66f3e1 Apply a patch by Marek Kasik <mkasik@redhat.com> to display more printer
2008-05-05  Matthias Clasen  <mclasen@redhat.com>

        Apply a patch by Marek Kasik <mkasik@redhat.com> to display
        more printer status information in the print dialog.

        * modules/printbackends/cups/gtkprintbackendcups.c: Translate
        printer-state-reasons into suitable messages and icons.

        * gtk/stock-icons/16/gtk-print-error.{svg,png}:
        * gtk/stock-icons/16/gtk-print-report.{svg,png}:
        * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
        * gtk/Makefile.am:
        * gtk/gtkstock.h: New stock icons to display printer state.


svn path=/trunk/; revision=20076
2008-05-05 23:38:31 +00:00
Tristan Van Berkom
b1542fe913 Chain up in buildable_finish()
* gtk/gtkwindow.c: Chain up in buildable_finish()

	* gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
	cases where g_path_get_dirname() returns "."

	* docs/reference/gtk/tmpl/gtklabel.sgml, 
	docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
	for the <attributes> tags on GtkLabel


svn path=/trunk/; revision=20008
2008-04-16 16:35:17 +00:00
Cody Russell
a011f8c06f Move my documentation changelog entries to the right changelog.
svn path=/trunk/; revision=19993
2008-04-11 13:49:36 +00:00
Cody Russell
a0854db70a Fix to say g_signal_connect_after rather than g_signal_register_after.
2008-04-10  Cody Russell  <bratsche@gnome.org>

        * docs/reference/gdk/tmpl/windows.sgml: Fix to say
        g_signal_connect_after rather than g_signal_register_after.
        (reported by Guillaume Cottenceau)


svn path=/trunk/; revision=19991
2008-04-10 21:10:15 +00:00
Cody Russell
52ac79fe83 Fix a typo in the markup. (reported by kraai -at- ftbfs.org)
2008-04-10  Cody Russell  <bratsche@gnome.org>

        * docs/reference/gtk/tmpl/gtktreeview.sgml: Fix a typo
        in the markup. (reported by kraai -at- ftbfs.org)


svn path=/trunk/; revision=19989
2008-04-10 20:58:50 +00:00
Tor Lillqvist
a5bddf0b27 Use #, not @ in text.
svn path=/trunk/; revision=19948
2008-03-30 02:31:40 +00:00
Tor Lillqvist
c90f048805 Bug 524862 - Using GTK_WIN_POS_CENTER_ALWAYS gives jerky window resizing
2008-03-30  Tor Lillqvist  <tml@novell.com>

	Bug 524862 - Using GTK_WIN_POS_CENTER_ALWAYS gives jerky
	window resizing in Win32

	* gtk/tmpl/gtkenums.sgml: Recommend that GTK_WIN_POS_CENTER_ALWAYS
	is not used.


svn path=/trunk/; revision=19947
2008-03-30 02:29:13 +00:00
Michael Natterer
1edf3234dd gdk/Makefile.am remove remaining linux-fb stuff.
2008-03-11  Michael Natterer  <mitch@imendio.com>

	* gdk/Makefile.am
	* gtk/framebuffer.sgml: remove remaining linux-fb stuff.


svn path=/trunk/; revision=19750
2008-03-11 17:15:59 +00:00
Johan Dahlin
61be2a7127 Implement GtkBuildable on GtkIconFactory, to make it possible to register
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-07 00:08:16 +00:00
Matthias Clasen
7dbb99c297 2.13.0
svn path=/trunk/; revision=19628
2008-02-21 18:03:04 +00:00
Sven Neumann
16530f7908 gtk/Makefile.am (STOCK_ICONS) gtk/stock-icons/16/gtk-page-setup.png added
2008-02-18  Sven Neumann  <sven@gimp.org>

	* gtk/Makefile.am (STOCK_ICONS)
	* gtk/stock-icons/16/gtk-page-setup.png
	* gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
	taken from GNOME icon theme.

	* gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.

svn path=/trunk/; revision=19614
2008-02-18 15:01:04 +00:00
Matthias Clasen
45e33fe9c2 Go back to 2.13.0 as version for now, as there was no consensus to do the
2008-02-15  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Go back to 2.13.0 as version for now,
        as there was no consensus to do the jump.

        * many other places: Update Since: tags.



svn path=/trunk/; revision=19586
2008-02-15 23:42:42 +00:00
Matthias Clasen
9e9fc4eba5 Updates
svn path=/trunk/; revision=19583
2008-02-15 21:55:07 +00:00
Matthias Clasen
66f0e87506 Updates
2008-02-15  Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdk-docs.xml:
        * gdk/gdk-sections.txt: Updates


svn path=/trunk/; revision=19578
2008-02-15 19:01:39 +00:00
Tor Lillqvist
24d682c1db Correct description of the Wintab and max palette size options. Drop
2008-02-13  Tor Lillqvist  <tml@novell.com>

	* gtk/windows.sgml: Correct description of the Wintab and max
	palette size options. Drop obsolete Win9x stuff.


svn path=/trunk/; revision=19558
2008-02-13 14:21:28 +00:00
Benjamin Otte
a25b1ca83b 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
2008-02-11 11:01:59 +00:00
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