Commit Graph

2017 Commits

Author SHA1 Message Date
Stef Walter
eab02f697a GtkEntryBuffer holds text for GtkEntry
Adds a 'model' type buffer for GtkEntry in which the actual
textual data is stored. GtkEntryBuffer can be subclassed.

Among other things, this allows GtkEntry to be used for secrets
that need to be stored in non-pageable memory. It also allows
buffers to be shared by entries.

See bug #576801.
2009-07-08 20:41:53 -05:00
Matthias Clasen
b3969a3d75 2.17.3 2009-07-07 01:05:29 -04:00
Matthias Clasen
91701d685a Fix a typo 2009-07-06 21:37:42 -04:00
Matthias Clasen
91868f5e76 Fix the doc build 2009-07-06 01:20:35 -04:00
Matthias Clasen
44bb1fb30e Small documentation fixes 2009-07-05 20:56:44 -04:00
Matthias Clasen
837e16789f Add new symbols 2009-07-03 15:22:02 -04:00
Alexander Larsson
0111030586 Merge branch 'client-side-windows' 2009-07-01 16:15:03 +02:00
Matthias Clasen
724ab58244 Add a way to turn off toggle spacing in menus
Reserving toggle space is nice for consistency in main menus
and context menus, but it gets in the way in special situations,
such as combo boxes, tabular menus, etc.
2009-06-24 01:01:51 -04:00
Matthias Clasen
0e04566d54 Update some links in the tutorial
This fixes bug 585953.
2009-06-20 20:51:37 -04:00
Matthias Clasen
374aa04954 Add a title property to GtkStatusIcon
This can be used to give ATs a string to display for tray icons.
See bug 585802.
2009-06-20 13:53:32 -04:00
Alexander Larsson
7303f3c9fd Merge branch 'master' into client-side-windows
This updates client-side-windows to the the latest soname
change for easier testing.

Conflicts:
	gdk/x11/gdkwindow-x11.c
	tests/Makefile.am
2009-06-17 12:56:05 +02:00
Matthias Clasen
b645bb9e02 2.17.2 2009-06-15 21:46:07 -04:00
Matthias Clasen
6810564f42 Add missing GtkInfoBar functions to the docs 2009-06-15 20:07:37 -04:00
Matthias Clasen
cf0ab196fe Add a long description for GtkSettings
Among other things, the description mentions the problem in
bug 585024, that some settings may not be available before the
widget class has been realized.
2009-06-11 01:28:39 -04:00
Marek Kasik
a12a583c99 Add ability to print selection
Add a new radio button "Selection" to the print dialog. Its presence
depends on calling of functions gtk_print_operation_set_support_selection()
and gtk_print_dialog_unix_set_support_selection().
Sensitivity of the radio depends on calling of
functions gtk_print_operation_set_has_selection() and
gtk_print_dialog_unix_set_has_selection().
There are new properties GtkPrintUnixDialog::support-selection,
GtkPrintUnixDialog::has-selection, GtkPrintOperation::support-selection
and GtkPrintOperation::has-selection. Corresponding getters are
gtk_print_dialog_unix_get_support_selection(),
gtk_print_dialog_unix_get_has_selection(),
gtk_print_operation_get_support_selection() and
gtk_print_operation_get_has_selection().
Application has to set number of pages to which the selection will be formated
in GtkPrintOperation::begin-print's callback by the
gtk_print_operation_set_n_pages() function (bug #344519).
There is also new property GtkPrintUnixDialog::manual-capabilities controled by
gtk_print_unix_dialog_set_manual_capabilities() and
gtk_print_unix_dialog_get_manual_capabilities().
2009-06-08 15:37:32 +02:00
Matthias Clasen
a85fac7145 Add a message area widget
It is called GtkInfoBar. See bug 555344.
2009-06-05 18:00:26 -04:00
Alexander Larsson
287b821705 Rename gdk_window_set_has_native to gdk_window_ensure_native
This also removes the (unimplemented) possibility to change a window to
non-native. This seems generally not very useful, and there are some problems
with it, for instance if two "users" need a window to be native and then
one of the "users" doesn't need it anymore it can't change it back, because
it is unaware of the other reason the window is native.
2009-06-01 11:57:59 +02:00
Matthias Clasen
597a24edf6 Improve GtkMenuPositionFunc docs
Add a note about gtk_menu_set_monitor().
2009-05-30 23:26:37 -04:00
Matthias Clasen
44690f17c8 2.17.1 2009-05-29 19:29:49 -04:00
Matthias Clasen
478cc88f8d Fix a formatting error in the docs
Need to replace % by %amp; in examples. This was noticed in
bug 583522.
2009-05-24 00:17:49 -04:00
Stefan Kost
e07d8adcca docs: document the GtkUpdateType enum.
Add documentation based on the description from gtk_range_set_update_policy()
2009-05-20 14:27:36 +03:00
Davyd Madeley
a746df7d37 Fix broken SGML in gtk reference.
Introduced in commit 9dbb30482b
2009-05-19 15:29:53 +08:00
Matthias Clasen
ae94c371d1 Add a separate keybinding signal for activating links
Keeping the keybinding signal and the regular signal separate is
cleaner and allows us to pass the uri as a parameter to the
activate-link signal.
2009-05-11 02:44:12 -04:00
Matthias Clasen
2f60e18c70 Add a migration chapter for label links 2009-05-11 02:08:32 -04:00
Matthias Clasen
9dbb30482b Add link support to GtkLabel
This patch is based on SexyUrlLabel, but with significantly enhanced
functionality: keynav, tooltips, context menu, theming.
2009-05-11 01:23:13 -04:00
Behdad Esfahbod
a398c840be Add git.mk to generate .gitignore files
Add four new doc templates that were not in repository.
2009-05-04 14:29:21 -04:00
Matthias Clasen
cc4cf97d62 GTK+ 2.17.0 2009-05-04 01:54:06 -04:00
Matthias Clasen
dc8f36e254 Support scale marks in builder markup 2009-05-03 12:15:28 -04:00
Christian Persch
4059557491 Add default URL and Email hooks to GtkAboutDialog
Adds default URL and Email hooks which use gtk_show_uri(). It is still
possible to provide one's own hooks, and one can disable the default
hooks by setting NULL hooks. Bug #577793.
2009-04-20 14:55:13 +02:00
Claudio Saavedra
3c9e7c73bf Allow GdkPixbufSimpleAnim to loop
Add a GdkPixbufSimpleAnim:loop boolean property and its accessors.
Based on a patch by Tim Evans. (#561139)
2009-04-18 15:16:22 +03:00
Matthias Clasen
cedc4415b4 Add a GtkBuildable implementation to GtkAssistant
Expose the action area as internal child, and support child
properties.
2009-04-18 01:23:20 -04:00
Stefan Kost
663bf3db0e build: fix the build when not making man-pages 2009-04-15 18:13:20 +03:00
Matthias Clasen
035be761f4 Release 2.16.1 2009-04-11 18:05:34 -04:00
Matthias Clasen
33857adc7d Remove generated files 2009-04-11 15:54:33 -04:00
Matthias Clasen
2c6db0bae2 Remove generated files 2009-04-11 11:40:30 -04:00
Bruce Cowan
7b2bda7c84 Add GtkHSV in gtk.types to fix documentation 2009-04-11 01:44:35 -04:00
Christian Dywan
e5af8c67a1 Correct tutorial url in faq 2009-04-11 01:42:07 -04:00
Matthias Clasen
1f1db4f288 Expand GtkBuilder migration guide 2009-04-09 23:42:44 -04:00
Matthias Clasen
af56f63561 Update release instructions for git 2009-04-09 19:38:55 -04:00
Matthias Clasen
1a312bfa3e Improve GtkBuilder error reporting
Make GtkBuilder report an error when it encounters a duplicate id,
instead of segfaulting later on
2009-04-06 20:13:35 -04:00
Matthias Clasen
1ad8bfb69a Better i18n support in GtkBuilder
Let descriptions of accessible actions be translated, by specifying
the description as content of the <action> element, and allowing
"translatable", "context" and "comment" as attributes. (#518642)
2009-04-06 12:12:08 -04:00
Matthias Clasen
0dd7155f79 Update README files to refer to git
Update various README files to refer to git instead of svn.
Also discontinue ChangeLog files.
2009-03-31 18:49:48 -04:00
Paul Bolle
d7f5c0de0e Bug 562863 - GtkVscrollbar is hardly documented
2009-03-25   Paul Bolle <pebolle@tiscali.nl>

	Bug 562863 - GtkVscrollbar is hardly documented

	* gtk/tmpl/gtkvscrollbar.sgml:
	* gtk/tmpl/gtkhscrollbar.sgml: Minor tweaks.


svn path=/trunk/; revision=22587
2009-03-25 20:21:30 +00:00
Matthias Clasen
b6cba0b542 Remove a misleading sentence
svn path=/trunk/; revision=22585
2009-03-25 03:47:15 +00:00
Claudio Saavedra
e0045d59c7 Fix typos and document the GdkPixbufSimpleAnim structure.
2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>

	* gdk-pixbuf/tmpl/animation.sgml: Fix typos and document the
	GdkPixbufSimpleAnim structure.


svn path=/trunk/; revision=22581
2009-03-23 08:57:30 +00:00
Hiroyuki Ikezoe
cd96bd0209 Bug 576254 - <object> requires attribute "id"
2009-03-23  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	Bug 576254 - <object> requires attribute "id"

	* docs/reference/gtk/tmpl/gtkdialog.sgml: Add id attribute to 
	GtkBuilder UI sample.


svn path=/trunk/; revision=22580
2009-03-22 23:09:54 +00:00
Matthias Clasen
ba150f5ecc 2.16.0
svn path=/trunk/; revision=22530
2009-03-13 15:06:47 +00:00
Matthias Clasen
013cd9bbda Bug 574561 – gtk_style_get "shadows" g_object_get
* gtk/gtk.symbols:
        * gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
        gtk_style_get_style_property to avoid problems for language
        bindings. Pointed out by Torsten Schoenfeld.


svn path=/trunk/; revision=22502
2009-03-10 18:58:23 +00:00
Matthias Clasen
fb5722ca96 2.15.5
svn path=/trunk/; revision=22448
2009-03-02 20:42:08 +00:00
Matthias Clasen
2739a92c76 Remove deprecated API
svn path=/trunk/; revision=22431
2009-03-01 07:28:35 +00:00
Matthias Clasen
f3f4fec8db Set the program-name property of the about dialog.
* demos/gtk-demo/appwindow.c: Set the program-name property
        of the about dialog.

        * docs/tools/widgets.c: Add GtkAboutDialog


svn path=/trunk/; revision=22427
2009-03-01 05:19:42 +00:00
Matthias Clasen
e6f6ee193d Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,
* gtk/gtk.symbols:
        * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
        gtk_activatable_sync_action_properties, since the previous name
        was deemed too generic. Update all implementations.


svn path=/trunk/; revision=22389
2009-02-22 05:20:14 +00:00
Matthias Clasen
632a4f6a7e Add a function to get the default window icon name
svn path=/trunk/; revision=22387
2009-02-20 05:54:53 +00:00
Matthias Clasen
a0f8f37c37 2.15.4
svn path=/trunk/; revision=22350
2009-02-17 22:25:41 +00:00
Richard Hughes
3c3d64c832 Fix the enumerated name in the migration document.
2009-02-09  Richard Hughes  <richard@hughsie.com>

* docs/reference/gtk/migrating-GtkEntry-icons.sgml:
Fix the enumerated name in the migration document.

svn path=/trunk/; revision=22298
2009-02-09 14:53:29 +00:00
Stefan Kost
379f6e03a5 Add online urls for library.gnome.org. This allows other docs to do
* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk/gdk-docs.sgml:
	* gtk/gtk-docs.sgml:
	* libgail-util/gail-libgail-util-docs.sgml:
	  Add online urls for library.gnome.org. This allows other docs to do
          gtkdoc-rebase --online --html-dir=html
          before publishing docs and have working xrefs.
          Whitespece cleanup for gdk/gdk-docs.sgml.


svn path=/trunk/; revision=22287
2009-02-06 08:16:22 +00:00
Matthias Clasen
ebb342a246 2.15.3
svn path=/trunk/; revision=22273
2009-02-03 01:55:28 +00:00
Matthias Clasen
b447ac1be4 2.15.2
svn path=/trunk/; revision=22231
2009-01-27 05:51:23 +00:00
Matthias Clasen
9e86472a65 Bug 322932 – Always show icons on panel menus
* gtk/gtk.symbols:
        * gtk/gtkimagemenuitem.[hc]: Add a property to override the
        show-menu-images setting for individual menuitems. Patch by
        William Jon McCann.


svn path=/trunk/; revision=22230
2009-01-27 03:56:03 +00:00
Matthias Clasen
3bb7c153f8 2.15.1
svn path=/trunk/; revision=22202
2009-01-23 23:03:59 +00:00
Matthias Clasen
dbb8e55c7d Add GtkActivatableIface, too
svn path=/trunk/; revision=22200
2009-01-23 17:48:08 +00:00
Matthias Clasen
bb72b647f6 i Bug 560228 – Add "action-controller" property to GtkWidgetClass
Rework the way actions and proxies interact, to make the
        interaction less ad hoc, more extensible, and better suited
        for support in GUI builders like glade.

        To be used as a proxy, a widget must now implement the
        GtkActivatable interface, and GtkActivatable implementations
        are responsible for syncing their appearance with the action
        and for activating the action.

        All the widgets that are commonly used as proxies implement
        GtkActivatable now.

        Patch by Tristan van Berkom.

        * gtk/gtkactivatable.[hc]: The GtkActivatable interface.

        * gtk/gtkbutton.c:
        * gtk/gtktogglebutton.c:
        * gtk/gtktoolitem.c:
        * gtk/gtktoolbutton.c:
        * gtk/gtktoggletoolbutton.c:
        * gtk/gtkmenuitem.c:
        * gtk/gtkcheckmenuitem.c:
        * gtk/gtkimagemenuitem.c:
        * gtk/gtkradiomenuitem.c:
        * gtk/gtkrecentchooserprivate.h:
        * gtk/gtkrecentchooser.c:
        * gtk/gtkrecentchooserdefault.c:
        * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
        * gtk/gtkaction.[hc]: Move appearance synchronization to
        GtkActivatable implementations.

        * gtk/gtkradioaction.c:
        * gtk/gtkrecentaction.c:
        * gtk/gtktoggleaction.c:
        * gtk/gtkactiongroup.c: Adapt.

        * gtk/gtk.h: Include gtkactivatable.h
        * gtk/gtk.symbols: Add new functions


svn path=/trunk/; revision=22195
2009-01-23 15:15:28 +00:00
Matthias Clasen
acd40c45f7 Additions
svn path=/trunk/; revision=22194
2009-01-23 06:07:03 +00:00
Matthias Clasen
5c317ec762 Bug 567761 – Spellfixes in GTK+ documentation
* gdk/x11/gdkselection-x11.c:
        * gtk/gtktestutils.c: Fix typos in the docs.


svn path=/trunk/; revision=22189
2009-01-23 05:51:25 +00:00
Matthias Clasen
3f18507222 Add setters and getters for GtkAction properties, in preparation for bug
* gtk/gtk.symbols:
        * gtk/gtkaction.[hc]: Add setters and getters for GtkAction
        properties, in preparation for bug 560228.


svn path=/trunk/; revision=22153
2009-01-21 02:53:45 +00:00
Matthias Clasen
26490a2dd7 Bug 565656 – Add marks to scales
Bug 565656 – Add marks to scales

        * gtk/gtkrange.[hc]: Add internal api to define 'stop values'
        that have a little resistance when dragging the slider over it.

        * gtk/gtk.symbols:
        * gtk/gtkscale.[hc] (gtk_scale_add_mark): New function to add
        a 'mark' to a scale, which will draws a tick, plus optionally
        some text, and makes the value a stop value.
        (gtk_scale_clear_values): Removes all marks.

        * tests/testscale.c: Test for marks on scales
        * tests/Makefile.am: Integrate it


svn path=/trunk/; revision=22149
2009-01-20 05:10:27 +00:00
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