1. 31 Mar, 2005 1 commit
  2. 17 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Typo fix in the docs. · 7049dbf1
      Matthias Clasen authored
      2005-03-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize):
      	Typo fix in the docs.
      
      	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip):
      	Typo fix in the docs.
      
      	* gtk/gtkiconview.c (gtk_icon_view_get_columns)
      	(gtk_icon_view_set_columns, gtk_icon_view_set_item_width)
      	(gtk_icon_view_get_item_width, gtk_icon_view_set_spacing)
      	(gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing)
      	(gtk_icon_view_set_column_spacing, gtk_icon_view_get_row_spacing)
      	(gtk_icon_view_get_column_spacing, gtk_icon_view_set_margin)
      	(gtk_icon_view_get_margin): Add docs.
      
      	* gtk/gtkcellview.c (gtk_cell_view_get_displayed_row):
      	Add docs.
      7049dbf1
  3. 11 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      Support vertical menubars (#166632): · 812e0cfd
      Matthias Clasen authored
      
      2005-02-11  Matthias Clasen  <mclasen@redhat.com>
      
      	Support vertical menubars  (#166632):
      
      	* gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
      	directions, with values for left-to-right, right-to-left,
      	top-to-bottom and bottom-to-top.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkmenubar.h:
      	* gtk/gtkmenubar.c: Add two properties, pack-direction and
      	child-pack-direction, which specify how children and
      	grandchildren of a menubar are packed, with getters and setters.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_set_property):
      	(gtk_menu_bar_get_property): Implement set_property and get_property.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_size_request):
      	(gtk_menu_bar_size_allocate): Take pack direction into account.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
      	move_current here move all the menubar-specific direction
      	tweaking from the generic menushell implementation here.
      
      	* gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific
      	direction tweaking from the generic menushell implementation here.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_size_request):
      	(gtk_menu_bar_size_allocate): Take pack direction into account.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
      	(gtk_image_menu_item_size_allocate):
      	(gtk_image_menu_item_toggle_size_request): Take child pack
      	direction into account and pack the image vertically if
      	necessary.
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
      	Set the submenu direction to left-right for menuitems in
      	vertical menubars.
      	(gtk_real_menu_shell_move_current): Simplify by moving
      	direction tweaking to menu- and menubar-specific
      	implementations. Take pack direction into account when
      	doing fallbacks.
      
      	* tests/testmenubars.c: Test menubars in various packing
      	direction combinations.
      
      	* tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
      812e0cfd
  4. 03 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      New function which allows to change the function used for translation · 45c38b44
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkstock.h:
      	* gtk/gtkstock.c (gtk_stock_set_translate_func):
      	New function which allows to change the function used for
      	translation stock labels, on a per-domain basis. Use this
      	functionality to switch the GTK+ stock items to use Q_()
      	prefixed msgids.  (#166179, Funda Wang)
      45c38b44
  5. 14 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Add new symbols. · 5c19d9e4
      Matthias Clasen authored
      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)
      5c19d9e4
  6. 13 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Add a max-width-chars property, which can be used to specify the width of · 50cbd51d
      Matthias Clasen authored
      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.
      50cbd51d
  7. 09 Dec, 2004 2 commits
    • Matthias Clasen's avatar
      Fix #145463, reported by Michael Natterer. · 788bec83
      Matthias Clasen authored
      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().
      788bec83
    • Matthias Clasen's avatar
      Add functions which allow faster insertion of rows in sorted list stores. · fa136147
      Matthias Clasen authored
      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)
      fa136147
  8. 08 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #111031, reported by Padraig O'Briain: · 057ab5a4
      Matthias Clasen authored
      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.
      057ab5a4
  9. 30 Nov, 2004 1 commit
    • James M. Cape's avatar
      removed "GtkFileChooserButton:active" property and getter/setter. · 1b45c640
      James M. Cape authored
      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.
      1b45c640
  10. 29 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Don't call gtk_cell_view_set_cell_data() from here. · ec6454bf
      Matthias Clasen authored
      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.
      ec6454bf
  11. 21 Nov, 2004 2 commits
    • Owen Taylor's avatar
      Update for GdkPangoRenderer · 438e3e1c
      Owen Taylor authored
      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)
      438e3e1c
    • Matthias Clasen's avatar
      Provide a non-varargs variant of gtk_dialog_set_alternative_button_order() · d1031c85
      Matthias Clasen authored
      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)
      d1031c85
  12. 09 Nov, 2004 2 commits
    • Matthias Clasen's avatar
      Add gtk_action_get_accel_path. · cd5fb14a
      Matthias Clasen authored
      2004-11-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk-sections.txt: Add gtk_action_get_accel_path.
      cd5fb14a
    • Matthias Clasen's avatar
      Avoid resizing GtkStatusbar if the text of the label changes (#90955, He · b87307b9
      Matthias Clasen authored
      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.
      b87307b9
  13. 07 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      New convenience function to add a filter for image files which can be · 7a08ab25
      Matthias Clasen authored
      2004-11-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilefilter.h:
      	* gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats):
      	New convenience function to add a filter for image files
      	which can be loaded by GdkPixbuf. (#145388, Anders Carlsson)
      
      	* tests/testfilechooser.c: Test the image filter.
      7a08ab25
  14. 02 Nov, 2004 1 commit
  15. 31 Oct, 2004 2 commits
    • Matthias Clasen's avatar
      Add api for image transfer via copy-and-paste (#156408) · 1c8e6a0e
      Matthias Clasen authored
      2004-10-31  Matthias Clasen  <mclasen@redhat.com>
      
      	Add api for image transfer via copy-and-paste (#156408)
      
      	* gtk/gtkclipboard.c (gtk_clipboard_set_image)
      	(gtk_clipboard_request_image, gtk_clipboard_wait_for_image)
      	(gtk_clipboard_wait_is_image_available): New functions for image
      	transfer.
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_selection_data_targets_include_image):
      	New function, similar to gtk_selection_data_targets_include_text().
      1c8e6a0e
    • Matthias Clasen's avatar
      Additions. · 20d47e6c
      Matthias Clasen authored
      2004-10-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk-sections.txt: Additions.
      20d47e6c
  16. 28 Oct, 2004 1 commit
  17. 26 Oct, 2004 2 commits
    • Carlos Garnacho's avatar
      Fix for #118764, David Bordoley: · d5ab4594
      Carlos Garnacho authored
      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
      d5ab4594
    • James M. Cape's avatar
      Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390, · ede3c399
      James M. Cape authored
      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.
      ede3c399
  18. 25 Oct, 2004 3 commits
    • Anders Carlsson's avatar
      Add new clipboard persistence api. · 64facb3c
      Anders Carlsson authored
      2004-10-25  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk-sections.txt:
      	* gtk/gtk-sections.txt:
      	Add new clipboard persistence api.
      64facb3c
    • Matthias Clasen's avatar
      Add a public setting for button ordering (#74669, Owen Taylor) · 8ab4fd45
      Matthias Clasen authored
      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.
      8ab4fd45
    • Matthias Clasen's avatar
      Add a new type GTK_IMAGE_ICON_NAME for named icons, update the size and · b63431c8
      Matthias Clasen authored
      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.
      b63431c8
  19. 22 Oct, 2004 1 commit
  20. 21 Oct, 2004 1 commit
    • Owen Taylor's avatar
      #155952 · e0ad07e0
      Owen Taylor authored
      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().
      e0ad07e0
  21. 05 Oct, 2004 1 commit
  22. 27 Sep, 2004 1 commit
    • Paolo Borelli's avatar
      add the GtkMenuToolButton widget discussed in bug #151441. · c7777d8a
      Paolo Borelli authored
      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.
      c7777d8a
  23. 17 Aug, 2004 1 commit
  24. 16 Aug, 2004 1 commit
  25. 12 Aug, 2004 1 commit
  26. 09 Aug, 2004 1 commit
  27. 04 Aug, 2004 1 commit
  28. 02 Aug, 2004 1 commit
  29. 31 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Add some forgotten functions. · 7c4e554f
      Matthias Clasen authored
      Sat Jul 31 17:20:22 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk-sections.txt: Add some forgotten functions.
      
      Sat Jul 31 17:18:57 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/framebuffer.sgml:
      	* gtk/windows.sgml:
      	* gtk/x11.sgml:
      	* gtk/running.sgml: Reorganize backend-specific cmdline
      	arguments and environment variables, fill the Windows
      	sections, add XDG_DATA_HOME, XDG_DATA_DIRS.
      7c4e554f
  30. 30 Jul, 2004 1 commit
  31. 27 Jul, 2004 1 commit
  32. 22 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Require Pango 1.5.1 (for ellipsisation). · ccb1f08e
      Matthias Clasen authored
      Thu Jul 22 01:05:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* configure.in: Require Pango 1.5.1 (for ellipsisation).
      
      	* gtk/gtklabel.h:
      	* gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsise
      	property which controls ellipsisation of the label.  (#125250,
      	Tim Van Wassenhove, patch by James M. Cape)
      
      	* tests/testellipsise.c: Simple test for ellipsisation.
      ccb1f08e
  33. 19 Jul, 2004 1 commit