Commit Graph

684 Commits

Author SHA1 Message Date
Matthias Clasen
8ab4fd4526 Add a public setting for button ordering (#74669, Owen Taylor)
2004-10-25  Matthias Clasen  <mclasen@redhat.com>

	Add a public setting for button ordering (#74669, Owen Taylor)

	* gtk/gtksettings.c (gtk_settings_class_init): Add a
	gtk-alternative-button-order setting.

	* gtk/gtkdialog.h:
	* gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A
	getter for the alternative button order setting.
	* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order):
	New function to install an alternative button order for a
	dialog.

	* gtk/gtkfilesel.c (gtk_file_selection_init):
	* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
	* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons):
	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
	* gtk/gtkfilechooserdefault.c (location_popup_handler):
	Set up an alternative button order.
2004-10-25 05:43:29 +00:00
Matthias Clasen
b63431c82a Add a new type GTK_IMAGE_ICON_NAME for named icons, update the size and
2004-10-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.h:
	* gtk/gtkimage.c (gtk_image_new_from_icon_name)
	(gtk_image_set_from_icon_name, gtk_image_get_icon_name)
	(gtk_image_set_pixel_size, gtk_image_get_pixel_size):  Add a
	new type GTK_IMAGE_ICON_NAME for named icons, update the size
	and content of stock, icon set and named icon images upon style
	changes, and allow to set a fixed pixel size for named icon
	images.  (#155688, James Henstridge)

	* tests/testimage.c: Test application for theming behaviour of
	different image types and for image dnd.
2004-10-25 04:36:39 +00:00
Jonathan Blandford
4614cffc73 Add GtkAboutDialog and GtkFileChooserButton
Sun Oct 24 02:54:36 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtk.types: Add GtkAboutDialog and GtkFileChooserButton

        * gtk/tmpl/GtkFileChooserButton.sgml: Write docs

        * gtk/tmpl/GtkListStore.sgml: Update performance comment now that
        we use GSequence.

        * gtk/visual_index.xml: Fix up a couple of errors.

        * gtk/images/*png: update

Sun Oct 24 02:56:43 2004  Jonathan Blandford  <jrb@redhat.com>

        * docs/tools/widgets.c: Update GtkFileChooserButton doc shot.
2004-10-24 07:05:00 +00:00
Matthias Clasen
7ef78cbb8a Add new DND functions.
2004-10-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add new DND functions.
2004-10-22 22:53:09 +00:00
Owen Taylor
e0ad07e0b4 #155952
Thu Oct 21 15:01:09 2004  Owen Taylor  <otaylor@redhat.com>

        #155952

        * gtk/gtkentry.c: Fix checking the wrong position for
        the backspace_deletes_character PangoLogAttr.

        * gtk/gtktextbuffer.[ch] gtk/gtk.symbols (gtk_text_buffer_backspace):
        Move backspace logic from GtkTextView to here, check
        backspace_deletes_char.

        * gtk/gtktextview.c: Use gtk_text_buffer_backspace().
2004-10-21 19:13:17 +00:00
Matthias Clasen
6fc2b8118a Implement icon theme caching. (#154034, Martijn Vernooij, caching schema
2004-10-19  Matthias Clasen  <mclasen@redhat.com>

	Implement icon theme caching.  (#154034, Martijn Vernooij,
	caching schema proposed by Owen Taylor, initial implementation
	by Anders Carlsson)

	* gtk/gtkdebug.h:
	* gtk/gtkmain.c: Add a "icontheme" debug flag.

	* gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c
	(gtk_private_h_sources): Add gtkiconcache.h
	(bin_PROGRAMS): Add gtk-update-icon-cache

	* gtk/gtkicontheme.c: Use icon caches if they are available.
	Currently, GTK+ uses the cache to get information about the
	available sizes, image file formats and .icon files. The
	actual image data, and the .icon file contents are not
	cached yet.

	* gtk/updateiconcache.c: A cmdline utility for generating
	icon cache files.

	* gtk/gtkiconcache.h:
	* gtk/gtkiconcache.c: The glue code to mmap an icon cache
	file and manage the information it contains.
2004-10-19 18:45:41 +00:00
Matthias Clasen
357ab76a9a Additions. 2004-10-16 04:46:50 +00:00
Matthias Clasen
b73124d45f More short description unification.
2004-10-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkaboutdialog.sgml: More short description
	unification.
2004-10-16 02:55:23 +00:00
Matthias Clasen
b6df51bc27 Note that GTK_RESIZE_IMMEDIATE is deprecated.
2004-10-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkenums.sgml: Note that GTK_RESIZE_IMMEDIATE
	is deprecated.
2004-10-15 05:30:29 +00:00
Matthias Clasen
091d8e28ea Some more additions.
2004-10-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/glossary.xml: Some more additions.
2004-10-14 20:15:15 +00:00
Matthias Clasen
416cdab35a Some more additions. 2004-10-13 20:58:17 +00:00
Owen Taylor
6e2f9d6bfb Fix SGML errors.
Tue Oct 12 11:04:47 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/glossary.xml: Fix SGML errors.
2004-10-12 15:11:19 +00:00
Matthias Clasen
5734be8843 Add some terms. 2004-10-11 21:09:19 +00:00
Matthias Clasen
342f4b505e Add missing short descriptions 2004-10-11 20:15:30 +00:00
Matthias Clasen
cd28d2d7a1 More short description unification. 2004-10-11 20:10:52 +00:00
Matthias Clasen
aad21bceee Make short descriptions a bit more consistent. 2004-10-11 18:08:35 +00:00
Matthias Clasen
9a3f410ecc More widget gallery. 2004-10-11 16:07:34 +00:00
Matthias Clasen
b22707fde6 Add more widget gallery images. 2004-10-11 15:14:27 +00:00
Matthias Clasen
7dd9eb5f93 Remove chapterinfo. 2004-10-11 06:11:06 +00:00
Matthias Clasen
0df1d9c705 Document GtkDialogFlags and GtkResponseType.
2004-10-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkdialog.sgml: Document GtkDialogFlags and GtkResponseType.
2004-10-11 05:56:28 +00:00
Matthias Clasen
17c26dbbc1 Document GtkTreeIterCompareFunc (#154943)
2004-10-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktreesortable.sgml: Document GtkTreeIterCompareFunc
	(#154943)
2004-10-11 05:38:47 +00:00
Matthias Clasen
5a44b7ca15 Add some more images for the widget gallery. 2004-10-10 20:35:16 +00:00
Matthias Clasen
c4b20573b2 Correct some linkends.
2004-10-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/visual_index.xml: Correct some linkends.

	* gtk/tmpl/gtkfontbutton.sgml: Remove test image.
2004-10-09 06:00:18 +00:00
Matthias Clasen
1f2ac30c90 (HTML_IMAGES): Remove a duplicate entry. 2004-10-09 05:17:05 +00:00
Matthias Clasen
f79afe443c Remove some no longer private headers.
2004-10-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am (IGNORE_HFILES): Remove some no longer
	private headers.
2004-10-09 04:37:47 +00:00
Matthias Clasen
eabb63be3b Add a new debug flag, geometry, to debug size allocation.
2004-10-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdebug.h:
	* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
	flag, geometry, to debug size allocation.
2004-10-08 15:26:02 +00:00
Matthias Clasen
73e7b0838c Clarify documentation for selection modes. (#154188, Jonathan Blandford,
2004-10-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection
	modes.  (#154188, Jonathan Blandford, new wording proposed by
	Owen Taylor)
2004-10-06 04:28:42 +00:00
Paolo Borelli
1ea4933f3f rename the activate-menu signal to show-menu as discussed in bug #153873.
2004-10-05  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
	show-menu as discussed in bug #153873.
2004-10-05 14:19:54 +00:00
Matthias Clasen
fd32201210 Add gtk_accelerator_get_label().
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_accelerator_get_label().
2004-10-05 05:18:16 +00:00
Paolo Borelli
c7777d8acc add the GtkMenuToolButton widget discussed in bug #151441.
2004-09-27  Paolo Borelli  <pborelli@katamail.com>

	* gtk/Makefile.am:
	* gtk/gtk.h:
	* gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
	discussed in bug #151441.

	* docs/reference/gtk/gtk-docs.sgml:
	* docs/reference/gtk/gtk-sections.txt:
	* docs/reference/gtk/gtk.types:
	* docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
	new widget.
2004-09-27 18:37:33 +00:00
Jonathan Blandford
3be528f2db add missing structures.
Sun Sep 26 02:06:43 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.h (struct _GtkPathBar): add missing structures.
2004-09-26 06:14:55 +00:00
Jonathan Blandford
4e7e404938 Add an example to the docs.
Fri Sep 17 11:20:03 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
        docs.
2004-09-17 15:20:31 +00:00
Jonathan Blandford
fa3293eb5e load images at normal size.
Thu Sep 16 02:07:56 2004  Jonathan Blandford  <jrb@gnome.org>

        * docs/tools/widgets.c (create_icon_view): load images at normal
        size.

        * docs/reference/gtk/images/*png: Update shots.
2004-09-16 06:16:38 +00:00
Matthias Clasen
04f5b48b7d Add accel label, file button and icon view.
Wed Sep 15 01:01:11 2004  Matthias Clasen  <maclas@gmx.de>

	* docs/reference/gtk/images/accel-label.png:
	* docs/reference/gtk/images/file-button.png:
	* docs/reference/gtk/images/icon-view.png:
	* gtk/visual_index.xml:
	* gtk/Makefile.am (HTML_IMAGES): Add accel label, file button
	and icon view.
2004-09-15 05:03:24 +00:00
Matthias Clasen
6d0d070ca3 Document --disable-visibility.
Tue Sep 14 22:13:51 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/building.sgml: Document --disable-visibility.
2004-09-15 02:14:20 +00:00
Matthias Clasen
2f965d22f7 Mention that modules can also be specified in a setting.
2004-09-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/running.sgml: Mention that modules can also
	be specified in a setting.
2004-09-01 20:41:46 +00:00
Matthias Clasen
17cf070553 2.5.2 2004-08-25 16:21:15 +00:00
Matthias Clasen
684aaa4b71 Include visual index.
Tue Aug 24 02:28:21 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml: Include visual index.

	* gtk/visual_index.xml: New file listing images for
	visual index.
2004-08-24 06:29:25 +00:00
Matthias Clasen
f699e38fdd Add visual index images.
Tue Aug 24 02:26:25 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (HTML_IMAGES): Add visual index images.
2004-08-24 06:27:05 +00:00
Jonathan Blandford
945bcadee7 add images to the doc build.
Mon Aug 23 16:56:15 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/Makefile.am: add images to the doc build.
2004-08-23 20:57:03 +00:00
Matthias Clasen
3a76d4848b ADd GtkFileChooserButton docs. 2004-08-17 16:21:46 +00:00
Matthias Clasen
4b54dcf649 Updates. 2004-08-16 05:44:52 +00:00
Matthias Clasen
001e629969 Link to information about allowed action names. (#149620, David Malcolm)
Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaction.c (gtk_action_new): Link to information about
	allowed action names.  (#149620, David Malcolm)
2004-08-12 04:03:54 +00:00
Matthias Clasen
e6fdcff1fb Add setters for the ::sensitive and ::visible properties of GtkAction.
Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk.symbols:
	* gtk/gtkaction.h:
	* gtk/gtkaction.c (gtk_action_set_sensitive):
	(gtk_action_set_visible): Add setters for the ::sensitive
	and ::visible properties of GtkAction.  (#149622, David Malcolm)
2004-08-12 03:25:49 +00:00
Matthias Clasen
4a465af574 *** empty log message *** 2004-08-10 22:58:59 +00:00
Matthias Clasen
b94a8883ac Add gtk_entry_layout_index_to_text_index() and its inverse. The have
Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index()
	and its inverse. The have always been exported and are meant
	to be public.
2004-08-09 15:09:10 +00:00
Matthias Clasen
6c021548e4 Fix a typo 2004-08-07 13:16:55 +00:00
Matthias Clasen
a2ae16ad30 Add setter and getter for the ::show-hidden property. (#145610, Jeff
2004-08-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooser.[hc]: Add setter and getter for the
	::show-hidden property.  (#145610, Jeff Franks)
2004-08-04 20:45:23 +00:00
Matthias Clasen
0a96abc6da Add hover-expand setter and getter.
2004-08-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add hover-expand setter and getter.
2004-08-02 19:12:17 +00:00
Matthias Clasen
fc3d7dec8f 2.5.1 2004-08-01 05:55:01 +00:00