1. 27 Feb, 2012 1 commit
  2. 14 Jul, 2010 1 commit
  3. 02 May, 2010 4 commits
  4. 13 Jul, 2009 1 commit
    • Murray Cumming's avatar
      ToolShell: Add ellipsize, text-orientation, text-alignment and size-group. · dad6e734
      Murray Cumming authored
      	* gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation,
      	text-alignment and size-group plus getter/setters to invoke these vfuncs.
      	* gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the
      	parent GtkToolShell. This is in the style of the existing "properties".
      	* gtk/gtktoolbutton.c: Updated to use the extra properties.
      
      	* docs/reference/gtk/gtk-sections.txt
      	* gtk/gtk.symbols: Updated to mention the new functions.
      
      	These new "properties" are used by GtkToolPalette.
      dad6e734
  5. 26 Jan, 2009 1 commit
  6. 20 Jun, 2008 1 commit
  7. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  8. 13 Jan, 2008 1 commit
  9. 12 Jul, 2007 1 commit
    • Matthias Clasen's avatar
      Make parameter naming consistent. · 8fb1dc24
      Matthias Clasen authored
      2007-07-11  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktreeview.c:
              * gtk/gtktoolitem.[hc]: Make parameter naming consistent.
      
      
      
      svn path=/trunk/; revision=18452
      8fb1dc24
  10. 09 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      Replace non-deprecated API using old tooltips API, deprecate old tooltips · c255676e
      Kristian Rietveld authored
      2007-07-09  Kristian Rietveld  <kris@imendio.com>
      
      	Replace non-deprecated API using old tooltips API, deprecate
      	old tooltips API for real. (#451575).
      
      	* gtk/gtk.symbols: updated.
      
      	* gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
      	_gtk_tooltips_toggle_keyboard_mode() anymore.
      
      	* gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
      	deprecated,
      	(gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
      
      	* gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
      	new API,
      	(gtk_tool_item_set_tooltip): deprecated,
      	(gtk_tool_item_set_tooltip_{text,markup): replacements.
      	(GtkToolItemClass:set_tooltip): deprecated.
      
      	* gtk/gtktooltips.[ch]: strip out all unused parts, made
      	gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
      	deprecate all of gtk_tooltips_*.
      
      	* gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
      	TRUE,
      	(GtkToolbar:tooltips): deprecated, renamed.
      
      	* gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
      	set the tooltip text.
      
      	* tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
      	will be removed GtkFileChooserDefault has been converted.
      
      
      svn path=/trunk/; revision=18418
      c255676e
  11. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · b69987f2
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.h (gtk_ui_manager_get_type):
      	* gtk/gtktreeview.h (gtk_tree_view_get_type):
      	* gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type):
      	* gtk/gtktreestore.h (gtk_tree_store_get_type):
      	* gtk/gtktreeselection.h (gtk_tree_selection_get_type):
      	* gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type):
      	* gtk/gtktreemodel.h (gtk_tree_iter_get_type):
      	(gtk_tree_path_get_type):
      	(gtk_tree_row_reference_get_type):
      	* gtk/gtktoolitem.h (gtk_tool_item_get_type):
      	* gtk/gtktoolbutton.h (gtk_tool_button_get_type):
      	* gtk/gtktoggleaction.h (gtk_toggle_action_get_type):
      	* gtk/gtkthemes.h (gtk_theme_engine_get_type):
      	* gtk/gtktextiter.h (gtk_text_iter_get_type):
      	* gtk/gtksettings.h (gtk_settings_get_type):
      	* gtk/gtkselection.h (gtk_selection_data_get_type):
      	* gtk/gtkradioaction.h (gtk_radio_action_get_type):
      	* gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type):
      	* gtk/gtkliststore.h (gtk_list_store_get_type):
      	* gtk/gtkiconview.h (gtk_icon_view_get_type):
      	* gtk/gtkicontheme.h (gtk_icon_info_get_type):
      	* gtk/gtkiconfactory.h (gtk_icon_factory_get_type):
      	(gtk_icon_set_get_type):
      	(gtk_icon_source_get_type):
      	* gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type):
      	* gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type):
      	* gtk/gtkfilesystem.h (gtk_file_folder_get_type):
      	(gtk_file_info_get_type, gtk_file_path_get_type):
      	(gtk_file_system_get_type):
      	* gtk/gtkfilefilter.h (gtk_file_filter_get_type):
      	* gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type):
      	* gtk/gtkfilechooser.h (gtk_file_chooser_get_type):
      	* gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type):
      	* gtk/gtkexpander.h (gtk_expander_get_type):
      	* gtk/gtkentrycompletion.h (gtk_entry_completion_get_type):
      	* gtk/gtkcombobox.h (gtk_combo_box_get_type):
      	* gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type):
      	* gtk/gtkclipboard.h (gtk_clipboard_get_type):
      	* gtk/gtkcellview.h (gtk_cell_view_get_type):
      	* gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type):
      	* gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type):
      	* gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type):
      	* gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type):
      	* gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type):
      	* gtk/gtkcelllayout.h (gtk_cell_layout_get_type):
      	* gtk/gtkactiongroup.h (gtk_action_group_get_type):
      	* gtk/gtkaction.h (gtk_action_get_type):
      	* gtk/gtkaccessible.h (gtk_accessible_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type):
      	* gtk/gtkaccelgroup.h (gtk_accel_group_get_type):
      	* gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const.
      
      	* gtk/gtkicontheme.h:  Don't mark gtk_icon_theme_error_quark()
      	as const, to be consistent with all the other error_quark
      	functions. (technically they are const, but since these are
      	called only in error paths, giving the compiler better
      	optimization opportunities doesn't matter much)
      
      	* gtk/gtk.symbols:
      	* gdk/gdk.symbols: Add attribute annotations.
      
      	* gtk/makegtkalias.pl:
      	* gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE.
      
      	* gtk/Makefile.am (gtk.def):
      	* gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep
      	PRIVATE.
      b69987f2
  12. 14 Sep, 2004 1 commit
    • Søren Sandmann's avatar
      Call gtk_tool_item_rebuild_menu(). · 59207896
      Søren Sandmann authored
      Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkaction.c (connect_proxy): Call
      	gtk_tool_item_rebuild_menu().
      
      	* gtk/gtktoolitem.c (gtk_tool_item_class_init): Update
      	documentation for GtkToolItem::create_menu_proxy.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New
      	API to make the toolbar update itself when the proxy menu item
      	for a tool item changes.
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call
      	gtk_tool_item_rebuild_menu here()
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
      	Remove redundant check for need_label.
      59207896
  13. 22 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #150738, Tomislav Jonjic. · 448f2229
      Matthias Clasen authored
      Sat Aug 21 23:29:54 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix #150738, Tomislav Jonjic.
      
      	* gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS):
      	* gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS):
      	* gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS):
      	* gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS):
      	* gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS):
      	* gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS):
      	* gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS):
      	* gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions.
      448f2229
  14. 29 Dec, 2003 1 commit
    • Anders Carlsson's avatar
      Update my e-mail address. · 90646daf
      Anders Carlsson authored
      2003-12-29  Anders Carlsson  <andersca@gnome.org>
      
      	* gtk/gtkradiotoolbutton.c:
      	* gtk/gtkradiotoolbutton.h:
      	* gtk/gtkseparatortoolitem.c:
      	* gtk/gtkseparatortoolitem.h:
      	* gtk/gtktoggletoolbutton.c:
      	* gtk/gtktoggletoolbutton.h:
      	* gtk/gtktoolbar.c:
      	* gtk/gtktoolbar.h:
      	* gtk/gtktoolbutton.c:
      	* gtk/gtktoolbutton.h:
      	* gtk/gtktoolitem.c:
      	* gtk/gtktoolitem.h:
      	Update my e-mail address.
      90646daf
  15. 25 Oct, 2003 1 commit
    • Soeren Sandmann's avatar
      Make this function take an index and a GtkToolItem. · 356df7f6
      Soeren Sandmann authored
      Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
      	this function take an index and a GtkToolItem.
      
      	* tests/testtoolbar.c (main): Make "Show Arrow" default to
      	true. Make one of the separators !draw and expand.
      	Update for new highlight_drop_location() API.
      
      	* gtk/gtktoolitem.[ch]: Remove "pack_end" property
      
      	* gtk/gtktoolbar.h: Formatting fixes.
      
      	* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
      	separator tool items to expand.
      	(logical_to_physical, physical_to_logical): Fix off-by-one errors
      	(Fix #125472, Marco Pesenti Gritti)
      
      	* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
      	(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
      	return FALSE, not TRUE.
      	(gtk_separator_too_item_{set|get}_property,
      	(gtk_separator_tool_item_{set|get}_draw): new functions
      356df7f6
  16. 11 Oct, 2003 1 commit
    • Matthias Clasen's avatar
      Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351, · c44e5b00
      Matthias Clasen authored
      Sat Oct 11 23:14:36 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.h:
      	* gtk/gtkaction.h:
      	* gtk/gtkradioaction.h:
      	* gtk/gtkradiotoolbutton.h:
      	* gtk/gtkseparatortoolitem.h:
      	* gtk/gtktoggleaction.h:
      	* gtk/gtktoolitem.h:
      	* gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make
      	these usable in C++.  (#124351, Murray Cumming)
      c44e5b00
  17. 30 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Doc formatting tweaks. · dbdc43be
      Matthias Clasen authored
      2003-10-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c: Doc formatting tweaks.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
      
      	* gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
      	Use the same parameter names as in .c file, to pacify gtk-doc.
      
      	* gtk/gtktoggletoolbutton.[hc]:
      	* gtk/gtktoolbutton.[hc]:
      	* gtk/gtktoolitem.[hc]:
      	* gtk/gtktoolbar.[hc]:
      	* gtk/gtkcolorbutton.[hc]:
      	* gtk/gtkfontbutton.[hc]:
      	* gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
      	source, not in the header.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
      	Document these as 2.4 API additions.
      
      	* gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.
      
      	* gtk/gtk-sections.txt: Additions.
      
      	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
      dbdc43be
  18. 04 Aug, 2003 1 commit
    • Soeren Sandmann's avatar
      add new "is_important" property · 6f6d3a22
      Soeren Sandmann authored
      Fri Aug  1 15:26:46 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important"
      	property
      
      	* gtk/gtkradiotoolbutton.c
      	(gtk_radio_tool_button_new_from_widget): Don't take a stock id
      
      	* gtk/gtkradiotoolbutton.c
      	(gtk_radio_tool_button_new_with_stock_from_widget): make this
      	function take a stock_id.
      
      	* gtk/toolbar: documentation
      6f6d3a22
  19. 31 Jul, 2003 1 commit
  20. 30 Jul, 2003 1 commit
  21. 08 Jul, 2003 2 commits
    • Soeren Sandmann's avatar
      remove correction on x when detail is "menuitem". With the new menu look · 7913e63f
      Soeren Sandmann authored
      Tue Jul  8 19:57:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
      	when detail is "menuitem". With the new menu look is isn't needed
      	anymore.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a
      	resize here, so that tool items will get a chance to relayout
      	themselves based on the toolbar configuration.
      
      	change DEFAULT_SPACE_SIZE to 4 instead of 5
      
      	* gtk/gtktoolbar.c
      	Get rid of "!GTK_BIN (item)->child means separator". Separators
      	are widgets in their own right
      
      	change DEFAULT_SPACE_SIZE to 4 instead of 5
      
      	(get_space_size): remove this function
      	(toolbar_item_is_homogeneous): new function
      
      	* gtk/gtkseparatortoolitem.c
      	(gtk_separator_tool_item_size_request): new function.
      
      Tue Jul  8 14:10:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoggletoolbutton.h: use private data, add new
      	internal function _gtk_toggle_tool_button_get_button()
      
      	* gtk/gtktoolbutton.h: move to private data
      
      	* gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new
      	private data.
      7913e63f
    • Soeren Sandmann's avatar
      fix a type check, (#116947, Krasimir Angelov) · b3b16beb
      Soeren Sandmann authored
      Tue Jul  8 12:50:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a
      	type check, (#116947, Krasimir Angelov)
      
      	* gtk/gtktoolbar.c: Use new GtkToolItem accessors.
      
      	* gtk/gtktoolitem.[ch]: Use a private struct to hold the instance
      	data. Not instance private data yet, because of bug 116921.
      
      	* gtk/gtktoolitem.h: new accessors:
      		gtk_tool_item_get_homogeneous ()
      		gtk_tool_item_get_expand ()
      		gtk_tool_item_get_pack_end ()
      		gtk_tool_item_get_use_drag_window ()
      b3b16beb
  22. 29 Jun, 2003 1 commit
    • Soeren Sandmann's avatar
      gtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.c · fa336d28
      Soeren Sandmann authored
      Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkradiotoolbutton.c
      	* gtkradiotoolbutton.h
      	* gtktoggletoolbutton.c
      	* gtktoggletoolbutton.h
      	* gtktoolbutton.c
      	* gtktoolbutton.h
      	* gtktoolitem.c
      	* gtktoolitem.h
      	* gtktoolbar.c
      	* gtktoolbar.h
      	* gtkseparatortoolitem.c
      	* gtkseparatortoolitem.h
      
      	New toolbar.
      fa336d28