Commit Graph

1275 Commits

Author SHA1 Message Date
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
Matthias Clasen
56e0ee04fc Add a function to obtain the last user interaction time. (#163119, Elijah
2005-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk.symbols:
	* gdk/x11/gdkx.h:
	* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
	Add a function to obtain the last user interaction
	time.  (#163119, Elijah Newren)
2005-01-19 14:37:56 +00:00
Matthias Clasen
b6828c4312 Add an index for 2.8 symbols.
2005-01-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-docs.sgml: Add an index for 2.8 symbols.
2005-01-18 21:05:36 +00:00
Matthias Clasen
7647ecb4dd Add an index for 2.8 symbols.
2005-01-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk-docs.sgml: Add an index for 2.8 symbols.

	* gdk/gdk-sections.txt: Add gdk_display_warp_pointer.
2005-01-18 21:02:00 +00:00
Matthias Clasen
c223c876c2 Some updates 2005-01-16 04:12:43 +00:00
Matthias Clasen
65d7ef8ff4 2.6.1 2005-01-08 07:50:46 +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
9ae083638f Improve the threads examples. (#161618, Stefan Kost)
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/threads.sgml: Improve the threads
	examples.  (#161618, Stefan Kost)
2005-01-03 19:35:20 +00:00
Matthias Clasen
44ec61dd97 Re-extract.
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* examples/*: Re-extract.

	* docs/tutorial/gtk-tut.sgml: Small corrections.
2005-01-03 19:26:36 +00:00
Matthias Clasen
6803d93d38 Some updates for the drawing section. (#161414, Robert Ancell)
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Some updates for the drawing
	section.  (#161414, Robert Ancell)
2005-01-03 19:16:20 +00:00
Matthias Clasen
600e5b4721 Make it build.
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Make it build.
2005-01-03 17:51:38 +00:00
Matthias Clasen
af77a6b707 Clarify section on g_signal_connect_swapped. (#120543, David Bourguignon)
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Clarify section on
	g_signal_connect_swapped.   (#120543, David Bourguignon)
2005-01-03 17:07: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
Matthias Clasen
ca8b2eb993 Remove a no longer needed note. (#161544, Tommi Komulainen)
2004-12-17  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/x_interaction.sgml: Remove a no longer needed
	note.  (#161544, Tommi Komulainen)
2004-12-18 03:55:53 +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
ab84f262c8 Document GdkTrapezoid.
2004-12-15  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/drawing.sgml: Document GdkTrapezoid.
2004-12-15 17:34:54 +00:00
Matthias Clasen
00c5af0a9e Remove a dangling link.
* gtk/glossary.xml: Remove a dangling link.
2004-12-15 17:25:25 +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
5c19d9e4e6 Add new symbols.
2004-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: Add new symbols.

	* gtk/gtkiconview.[hc]: Make the icon view lay out its
	items in a grid, allocating multiple grid cells to oversized
	items. Also convert hardwired spacing constants into
	properties.  (#152483)
2004-12-14 06:39:45 +00:00
Matthias Clasen
50cbd51d26 Add a max-width-chars property, which can be used to specify the width of
2004-12-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.[hc]: Add a max-width-chars property, which can
	be used to specify the width of the label in characters, while
	still allowing it to fall short of this length if the text
	is shorter.  (#155944, Christian Persch)

	* gtk/gtk.symbols: Add new symbols.
2004-12-13 06:34:54 +00:00
Matthias Clasen
788bec8384 Fix #145463, reported by Michael Natterer.
2004-12-09  Matthias Clasen  <mclasen@redhat.com>

	Fix #145463, reported by Michael Natterer.

	* gtk/gtkcellrenderer.h (struct _GtkCellRenderer): Add an
	editing flag to keep track of when editing is done.

	* gtk/gtkcellrenderer.h:
	* gtk/gtkcellrenderer.c (gtk_cell_renderer_stop_editing): New
	function to replace gtk_cell_renderer_editing_canceled().
	Deprecate gtk_cell_renderer_editing_canceled().

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done):
	* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_editing_done):
	* gtk/gtktreeview.c (gtk_tree_view_stop_editing):
	Use gtk_cell_renderer_stop_editing().
2004-12-09 17:55:58 +00:00
Matthias Clasen
fa136147ff Add functions which allow faster insertion of rows in sorted list stores.
2004-12-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkliststore.h:
	* gtk/gtkliststore.c (gtk_list_store_insert_with_values):
	(gtk_list_store_insert_with_valuesv): Add functions which allow
	faster insertion of rows in sorted list stores.  (#160063)
2004-12-09 06:21:39 +00:00
Matthias Clasen
057ab5a4df Fix #111031, reported by Padraig O'Briain:
2004-12-08  Matthias Clasen  <mclasen@redhat.com>

	Fix #111031, reported by Padraig O'Briain:

	* gtk/gtktextlayout.h:
	* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_position):
	Add a variant of gtk_text_layout_get_iter_at_pixel() which
	returns the character at the position, not the closest
	cursor position.

	* gtk/gtktextview.h:
	* gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
	Add a variant of gtk_text_view_get_iter_at_location() which
	returns the character at the position, not the closest
	cursor position.
2004-12-08 21:25:08 +00:00
Matthias Clasen
750e4ae0cf Add complex dialogs to gallery. 2004-12-07 06:22:19 +00:00
Matthias Clasen
00c069f2b6 2.5.6 2004-12-03 06:32:17 +00:00
Matthias Clasen
f9d9bae64e Add long descriptions. 2004-12-02 21:51:48 +00:00
Matthias Clasen
6139841dad Document all window types. (#160149, Billy Biggs)
2004-12-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/windows.sgml: Document all window types.  (#160149,
	Billy Biggs)
2004-12-02 03:22:18 +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
ec6454bf02 Don't call gtk_cell_view_set_cell_data() from here.
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call
	gtk_cell_view_set_cell_data() from here.

	* gtk/gtk.symbols: Remove gtk_cell_view_set_cell_data()

	* gtk/gtkcellview.c (gtk_cell_view_get_cell_renderers): Call
	gtk_cell_view_set_cell_data() from here.
	(gtk_cell_view_set_cell_data): Make static.

	* gtk/gtkcombobox.c (gtk_combo_box_menu_popup): Make menu mode
	work better when resizing the combo box.
2004-11-29 18:43:41 +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
Matthias Clasen
5e3426947f New image
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/images/combo-box.png: New image

	* gtk/visual_index.xml:
	* gtk/Makefile.am (HTML_IMAGES): Add combo-box.png
2004-11-28 05:09:55 +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
d1031c8503 Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()
2004-11-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkdialog.h:
	* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order_from_array):
	Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()
	for language bindings.  (#158798, John Finlay)
2004-11-21 04:57:23 +00:00
Matthias Clasen
c5fcea6628 Re-add the #include 2004-11-19 04:23:08 +00:00
Matthias Clasen
3e47284d01 Sort alphabetically, add gtk_clipboard_get_type
2004-11-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.types: Sort alphabetically, add gtk_clipboard_get_type
2004-11-19 02:04:46 +00:00
Jonathan Blandford
f0265b018e Update so that toplevel windows accomodate for the titlebar when sizing.
Tue Nov 16 00:08:07 2004  Jonathan Blandford  <jrb@redhat.com>

        * docs/tools/widgets.c: Update so that toplevel windows accomodate
        for the titlebar when sizing.  Also clean up statusbar

        * docs/reference/gtk/images/*png: update
2004-11-16 05:10:18 +00:00
Matthias Clasen
ecb19f0949 Sort alphabetically.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/visual_index.xml: Sort alphabetically.
2004-11-16 04:08:28 +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
cb918cdb02 Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
	Colin Walters):

	* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
	GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
	is threadsafe.

	* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
	Use a lock to make initialization of global data structures
	threadsafe.
	* gdk-pixbuf-private.h:
	* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
	Auxiliary functions which use another lock to protect
	threadunsafe image loaders.

	* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
	(save_to_callback_with_tmp_file):
	(gdk_pixbuf_real_save_to_callback):
	(gdk_pixbuf_new_from_xpm_data):
	(_gdk_pixbuf_generic_image_load):
	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
	(gdk_pixbuf_loader_close):
	(gdk_pixbuf_loader_finalize):
	Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().

	* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
	* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
	* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
	* io-xpm.c: Mark as threadsafe.

	* io-tiff.c: Remove pointless locking, mark as
	threadunsafe.
2004-11-12 05:34:31 +00:00
Matthias Clasen
56c3d75c8f Don't try to build doc-shooter on Windows. (#157979, J. Ali Harlow)
2004-11-11  Matthias Clasen  <mclasen@redhat.com>

	* docs/tools/Makefile.am: Don't try to build doc-shooter on
	Windows.  (#157979, J. Ali Harlow)
2004-11-12 03:44:01 +00:00
Matthias Clasen
cd5fb14a41 Add gtk_action_get_accel_path.
2004-11-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_action_get_accel_path.
2004-11-09 19:16:45 +00:00
Matthias Clasen
3cfb6ff8e2 Explain how to migrate non-stock icons.
2004-11-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/migrating-GtkAction.sgml: Explain how to migrate
	non-stock icons.
2004-11-09 13:59:31 +00:00
Matthias Clasen
b87307b918 Avoid resizing GtkStatusbar if the text of the label changes (#90955, He
2004-11-09  Matthias Clasen  <mclasen@redhat.com>

	Avoid resizing GtkStatusbar if the text of the label
	changes  (#90955, He Qiangqiang, fix proposed by
	Owen Taylor, patch by Christian Persch)

	* gtk/gtklabel.[hc]: Add a boolean single-line-mode property
	which causes the label height not to depend on the actual
	text, but only on the font.

	* gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on
	single-line-mode for the label.
2004-11-09 05:04:41 +00:00