Commit Graph

533 Commits

Author SHA1 Message Date
Matthias Clasen
8d279c6d77 Typo fixes. (#169728, Morten Welinder, Owen Taylor)
2005-03-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkwidget.sgml: Typo fixes. 	(#169728,
	Morten Welinder, Owen Taylor)
2005-03-09 17:47:32 +00:00
Matthias Clasen
6294736800 Fix stack vs heap confusion. (#168690, Torsten Schoenfeld)
2005-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktreemodel.sgml: Fix stack vs heap
	confusion.  (#168690, Torsten Schoenfeld)
2005-02-28 04:51:56 +00:00
Matthias Clasen
bacee14097 Fix links to freedesktop.org specs in the documentation.
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c:
	* gtk/gtkclipboard.c: Fix links to freedesktop.org specs
	in the documentation.
2005-02-21 04:24:48 +00:00
Matthias Clasen
0531a161f7 Add some more info. (#167356, Hubert Sokolowski)
2005-02-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkcalendar.sgml: Add some more
	info.  (#167356, Hubert Sokolowski)
2005-02-16 03:50:06 +00:00
Matthias Clasen
da920e08f8 Accept the "expand" attribute and set a flag in the node if it is set to
2005-02-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (start_element_handler): Accept
	the "expand" attribute and set a flag in the node if it
	is set to "true".
	(update_node): If the expand flag is set, make separator
	toolitems non-drawn and expanding.  (#166489, Christian Persch)
2005-02-08 15:54:09 +00:00
Owen Taylor
93344f6dfe Add gdk_drawable_set_cairo_target().
2005-02-03  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
        gdk_drawable_set_cairo_target().

        * tests/testtreeflow.c (enum): Use grand not rand as a variable
        name because one of the cairo headers is pulling in stdlib.h.

        * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
        example.

        * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.

        * Require libpangocairo for all backends.
2005-02-03 23:29:02 +00:00
Matthias Clasen
3657b05ccc Add note on limited availability. (#164347, Roger Light)
2005-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtksocket.sgml:
	* gtk/tmpl/gtkplug.sgml: Add note on limited
	availability.  (#164347, Roger Light)
2005-01-25 18:46:27 +00:00
Matthias Clasen
a57035d9d1 Replace "effect" by "affect" where appropriate. (#165108, Dan Winship)
2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml:
	* docs/tutorial/gtk_tut.sgml:
	* docs/reference/gtk/tmpl/gtkliststore.sgml:
	* gtk/gtkactiongroup.c:
	* gtk/gtksizegroup.c:
	* gtk/gtksizegroup.h:
	* gtk/gtktogglebutton.c: Replace "effect" by "affect" where
	appropriate.  (#165108, Dan Winship)
2005-01-24 17:42:58 +00:00
James M. Cape
977a557a67 Use default title if NULL is passed.
2005-01-06  James M. Cape  <jcape@ignore-your.tv>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
	(gtk_file_chooser_button_new_with_backend): Use default title if
	NULL is passed.

	* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
	match API.
2005-01-06 06:25:30 +00:00
Jonathan Blandford
c8bad34daf only reorder on button 1, part of #141937
Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
        only reorder on button 1, part of #141937
2005-01-04 22:10:56 +00:00
Matthias Clasen
1fc0fc6991 Typo fix. (#162219, Masao Mutoh)
2004-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
	Typo fix.  (#162219, Masao Mutoh)
2004-12-26 06:28:00 +00:00
Matthias Clasen
8454afe8e6 Don't translate NULL messages. (#161789, Morten Welinder)
2004-12-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
	translate NULL messages.  (#161789, Morten Welinder)
2004-12-20 16:05:25 +00:00
Jonathan Blandford
55e724b087 spell missing stock icons correctly.
Fri Dec 17 13:51:17 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/Makefile.am (HTML_IMAGES): spell missing stock icons
        correctly.
2004-12-17 18:52:09 +00:00
Matthias Clasen
e096376229 Improve wording. (#161484, Christian Biere)
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkfeatures.sgml: Improve wording.  (#161484,
	Christian Biere)
2004-12-17 01:41:05 +00:00
Matthias Clasen
8f5a7d9f73 Add some missing stock icons..
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am (HTML_IMAGES): Add some missing stock
	icons..
2004-12-17 01:00:10 +00:00
Matthias Clasen
203e5edc6f 2.6.0 2004-12-16 18:21:44 +00:00
Matthias Clasen
64e424c31f Add/improve long descriptions.
2004-12-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkcelleditable.sgml:
	* gtk/tmpl/gtkcellview.sgml:
	* gtk/tmpl/gtktreeviewcolumn.sgml:
	* gtk/tmpl/gtktreeview.sgml:
	* gtk/tmpl/gtktreesortable.sgml: Add/improve long
	descriptions.
2004-12-15 17:25:10 +00:00
James M. Cape
b418bf3aa4 Use a GtkComboBox in SELECT_FOLDER mode (#157726).
2004-12-15  James M. Cape  <jcape@ignore-your.tv>

        * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
        (gtk_file_chooser_button_init)
        (gtk_file_chooser_button_file_chooser_iface_init)
        (gtk_file_chooser_button_add_shortcut_folder)
        (gtk_file_chooser_button_remove_shortcut_folder)
        (gtk_file_chooser_button_constructor)
        (gtk_file_chooser_button_set_property)
        (gtk_file_chooser_button_destroy)
        (gtk_file_chooser_button_finalize)
        (get_icon_theme) (get_display_name_for_path) (model_get_type_position)
        (model_free_row_data) (model_add_special) (model_add_other)
        (model_add_volumes) (model_add_bookmarks)
        (model_update_current_folder) (model_remove_rows)
        (filter_model_visible_func) (combo_box_row_separator_func)
        (name_cell_data_func) (update_combo_box) (fs_volumes_changed_cb)
        (fs_bookmarks_changed_cb) (combo_box_changed_cb)
        (change_icon_size): Use a GtkComboBox in SELECT_FOLDER mode (#157726).

        * gtk/gtkfilechooserbutton.c:
        * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_new)
        (gtk_file_chooser_button_new_with_backend): Add @action to constructors
        to match other GtkFileChooser impls. API CHANGE.

        * docs/tools/widgets.c (create_file_button):
        * tests/testfilechooserbutton.c (main): Update callers.

        * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Reflect API
        change.

        * tests/testfilechooserbutton.c: Add LGPL license.
        (main): Added GOption parser for --backend and --right-to-left cmd line
        args.
        (add_pwds_parent_as_shortcut_clicked_cb)
        (del_pwds_parent_as_shortcut_clicked_cb) (tests_button_clicked_cb):
        Add shortcut_folders test.
        (chooser_current_folder_changed_cb) (chooser_selection_changed_cb)
        (chooser_file_activated_cb) (chooser_update_preview_cb): Print URIS,
        not filenames.
2004-12-15 14:58:39 +00:00
Matthias Clasen
f9d9bae64e Add long descriptions. 2004-12-02 21:51:48 +00:00
James M. Cape
1b45c64014 removed "GtkFileChooserButton:active" property and getter/setter.
2004-11-30  James M. Cape  <jcape@ignore-your.tv>

        * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_get_active)
        (gtk_file_chooser_button_set_active):
        * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init)
        (gtk_file_chooser_button_get_active)
        (gtk_file_chooser_button_set_active):
        * docs/reference/gtk/gtk-sections.txt:
        * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
        * gtk/gtk.symbols: removed "GtkFileChooserButton:active" property and
        getter/setter.

        * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
        (button_toggled_cb) (dialog_response_cb) (button_notify_active_cb)
        (gtk_file_chooser_button_init) (button_clicked_cb)
        (gtk_file_chooser_button_show): Use a GtkButton instead of a
        GtkToggleButton.
        (struct _GtkFileChooserButtonPrivate)
        (gtk_file_chooser_button_destroy) (gtk_file_chooser_button_style_set)
        (gtk_file_chooser_button_screen_changed): Don't bother with the
        (remove_settings_signal) (settings_notify_cb) (check_icon_theme):
        Don't use GtkSettings at all, just call change_icon_theme() directly.
        (struct _GtkFileChooserButtonPrivate)
        (gtk_file_chooser_button_init)
        (gtk_file_chooser_button_drag_data_received)
        (gtk_file_chooser_button_mnemonic_activate)
        (gtk_file_chooser_button_set_width_chars)
        (gtk_file_chooser_button_get_width_chars)
        (entry_changed_cb) (update_idler) (update_entry) (update_dialog)
        (dialog_selection_changed_cb) (dialog_response_cb)
        (entry_size_allocate_cb): Remove all references to the now-defunct
        entry, store the old path (to support "Cancel") in an instance member.
        (update_label_and_image) (update_label) (update_image)
        (gtk_file_chooser_button_init) (dialog_response_cb)
        (dialog_selection_changed_cb): Merge label/image updates, only display
        the filename (not the whole path, fixes #157725).
        (struct _GtkFileChooserButtonPrivate)
        (dialog_selection_changed_cb)
        (dialog_selection_changed_proxy_cb): Merge "selection-changed"
        handlers, block while dialog is visible (fixes #158482).

        * tests/testfilechooserbutton.c (delete_event_cb)
        (properties_button_clicked_cb) (print_selected_path_clicked_cb)
        (tests_button_clicked_cb) (main): Add per-chooser "tests" window,
        don't delete on WM close, update properties_button_clicked_cb()
        "delete-event" callback.
2004-11-30 21:06:48 +00:00
Matthias Clasen
63d6202083 Mention subclassing, aliasing and supertypes.
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkfilefilter.sgml: Mention subclassing, aliasing
	and supertypes.
2004-11-29 06:09:33 +00:00
Owen Taylor
438e3e1ca1 Update for GdkPangoRenderer
Sat Nov 20 16:01:51 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk-sections.txt gdk/gdk.types : Update for GdkPangoRenderer
        * gdk/Makefile.am gdk/images/rotated-text.png:

        * gdk/tmpl/pango_interaction.sgml: Add a long
        description and an extensive example (more or less the same as
        demos/gtk-demo/rotated_text.c)
2004-11-21 16:24:58 +00:00
Matthias Clasen
7428dc5c67 Updates 2004-11-12 22:35:30 +00:00
Matthias Clasen
49d0db8197 2.5.5 2004-11-12 17:52:08 +00:00
Matthias Clasen
52a7d49bcb Don't support CREATE_FOLDER and SAVE for now. UI authorities object to it.
2004-11-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
	Don't support CREATE_FOLDER and SAVE for now. UI authorities
	object to it.  (#157384, Seth Nickell)
2004-11-07 04:57:04 +00:00
Matthias Clasen
d882420be6 Markup fixes.
2004-11-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkaboutdialog.sgml:
	* gtk/migrating-GtkColorButton.sgml:
	* gtk/migrating-GtkIconView.sgml:
	* gtk/migrating-GtkAboutDialog.sgml: Markup fixes.
2004-11-05 06:07:44 +00:00
Matthias Clasen
a895440069 Markup fix.
2004-11-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkaboutdialog.sgml: Markup fix.
2004-11-04 15:32:14 +00:00
Matthias Clasen
0419800465 Update 2004-11-04 15:23:48 +00:00
Matthias Clasen
9b039be2d4 Typo fix.
2004-11-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/Makefile.am: Typo fix.

	* gtk/tmpl/gtkstock.sgml: Fix markup.

	* gtk/gtk-docs.sgml:
	* gtk/migrating-GtkAboutDialog.sgml: Add a first version
	of a GnomeAbout --> GtkAboutDialog migration chapter.
2004-11-04 15:23:33 +00:00
Bastien Nocera
29008566b6 Make sure the RTL variants are used for media icons update following the
2004-11-04  Bastien Nocera  <hadess@hadess.net>

	* gtk/gtkiconfactory.c: (get_default_icons): Make sure the RTL
	variants are used for media icons
	* gtk/stock-icons/Makefile.am: update following the addition of
	the 2 Play icon RTL variants
	* gtk/stock-icons/stock_media_play_rtl_16.png: added
	* gtk/stock-icons/stock_media_play_rtl_24.png: added

2004-11-04  Bastien Nocera  <hadess@hadess.net>

	* gtk/tmpl/gtkstock.sgml: add RTL variants for all the media icons
	needing it
2004-11-04 14:49:44 +00:00
Matthias Clasen
be5ee811e6 Doc additions.
2004-11-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init):
	Doc additions.


2004-11-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkcellrenderercombo.sgml:
	* gtk/tmpl/gtkcellrenderertoggle.sgml:
	* gtk/tmpl/gtkcellrenderertext.sgml: Add introductions.

	* gtk/tmpl/gtkcellrenderer.sgml: Additions.
2004-11-02 07:06:02 +00:00
Matthias Clasen
1665ba69de Add an intro.
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkcellrendererpixbuf.sgml: Add an intro.
2004-11-01 20:59:56 +00:00
Matthias Clasen
0b77c1ae76 *** empty log message *** 2004-11-01 20:25:34 +00:00
Matthias Clasen
e9348e53fa Doc update.
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update.
2004-11-01 20:14:15 +00:00
Matthias Clasen
69b1611e59 Add a "ref and sink" question. (#156865, Philip Langdale, text based on a
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/question_index.sgml: Add a "ref and sink" question.
	(#156865, Philip Langdale, text based on a comment by Owen
	Taylor)

	* gtk/tmpl/gtkrc.sgml: Document im_module_file and settings
	assignments as toplevel statements.
2004-11-01 19:19:06 +00:00
Matthias Clasen
f543bef062 Document im_module_file and settings assignments as toplevel statements.
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkrc.sgml: Document im_module_file and settings
	assignments as toplevel statements.
2004-11-01 18:22:33 +00:00
Matthias Clasen
5179863474 Small correction for gtk_tree_path_new_root(). (#156956, Vincent Untz)
2004-10-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktreemodel.sgml: Small correction for
	gtk_tree_path_new_root().  (#156956, Vincent Untz)
2004-10-31 16:40:03 +00:00
Carlos Garnacho Parro
d5ab45944d Fix for #118764, David Bordoley:
2004-10-25  Carlos Garnacho Parro  <carlosg@gnome.org>

	Fix for #118764, David Bordoley:

	* gtk/gtkmessagedialog.[ch]
	(gtk_message_dialog_format_secondary_text),
	(gtk_message_dialog_format_secondary_format): API additions to
	create HIG-like dialogs

	* demos/gtk-demo/dialog.c: Use the new API in the example

	* docs/reference/gtk/gtk-sections.txt:
	* docs/reference/gtk/tmpl/gtkmessagedialog.sgml: documented API
	additions
2004-10-26 05:06:32 +00:00
James M. Cape
ede3c39918 Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390,
2004-10-25  James M. Cape  <jcape@ignore-your.tv>

	Rework of GtkFileChooserButton, some cleanups. Fixes #154388,
	#154390, #154390, #156272.

	* docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton
	below GtkFileChooser.
	* docs/reference/gtk/gtk-sections.txt: Added
	gtk_file_chooser_button_get_width_chars(),
	gtk_file_chooser_button_set_width_chars(),
	gtk_label_set_width_chars(), gtk_label_get_width_chars().
	* docs/reference/gtk/gtk.types: Added
	gtk_cell_renderer_combo_get_type,
	gtk_cell_view_get_type,
	gtk_text_iter_get_type.
	* docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add
	"logo-icon-name" property.
	* docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for
	properties
	(b/c of get_type() inclusion above).
	* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
	* docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars"
	property,
	getters/setters.
	* docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added.
	* gtk/gtkentrycompletion.c:
	(_gtk_entry_completion_popdown): Don't show if the entry isn't
	mapped.
	* gtk/gtkfilechooserbutton.[c,h]: (*): About 45%
	rewritten, adds "width-chars" property, icons, working save
	modes, volume/Home/Desktop friendly-naming support.
	* gtk/gtklabel.[c,h]:
	(gtk_label_class_init), (gtk_label_init),
	(gtk_label_get_property), (gtk_label_set_property),
	(gtk_label_get_width_chars), (gtk_label_set_width_chars),
	(gtk_label_size_request): Add "width-chars" property.
	* tests/testfilechooserbutton.c: Update, use 4 different buttons
	for the different ACTIONs.
	* gtk/.cvsignore: Ignore gtk-update-icon-cache.
	* tests/.cvsignore: Ignore testimage.
2004-10-26 04:29:56 +00:00
Anders Carlsson
64facb3c4b Add new clipboard persistence api.
2004-10-25  Anders Carlsson  <andersca@gnome.org>

	* gdk/gdk-sections.txt:
	* gtk/gtk-sections.txt:
	Add new clipboard persistence api.
2004-10-25 19:23:22 +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
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
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
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
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
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