1. 21 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Changes to make cross-process merging feasible: · d381967d
      Matthias Clasen authored
      2003-09-21  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to make cross-process merging feasible:
      
      	* gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
      	merged UI definition. Remove the "changed" signal, since its role
      	is now filled by "notify::ui". Instead add a "actions-changed" signal
      	which gets emitted when the set of actions changes.
      
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
      	Add a "draw_as_radio" property to toggle actions so that they can be
      	used as proxies for radio actions much like the "draw_as_radio"
      	property on check menu items enables them to operate as proxies for
      	radio actions.
      
      	Prevent the "show_all" trap for action-based menus (see
      	http://mail.gnome.org/archives/gtk-devel-list/2003-September/
      	msg00260.html):
      
      	* gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
      	calls from static functions.
      
      	* gtk/gtkuimanager.c (update_node):
      	* gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
      	widgets whose visibility is externally controlled.
      
      	* gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean
      	"no_show_all" property with setter and getter. When TRUE, it keeps
      	gtk_widget_{hide,show}_all() from modifying the visibility of the
      	widget and its children.
      d381967d
  2. 17 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Install accelerators on actions, not on proxies, support accelerator-only · 0ceb0db0
      Matthias Clasen authored
      2003-09-18  Matthias Clasen  <maclas@gmx.de>
      
      	Install accelerators on actions, not on proxies, support
      	accelerator-only actions:
      
      	* gtk/gtkmenu.c (get_accel_path): New function to get the accel path
      	and its lock status either via _gtk_widget_get_accel_path() or by
      	looking at the accel_path stored in the menu item itself and determining
      	its lock status by peeking into the contained accel label. This was
      	already (accidentally) committed a week ago.
      
      	* gtk/gtkaction.h (gtk_action_set_accel_group):
      	(gtk_action_[dis]connect_accelerator): New functions.
      
      	* gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group,
      	accel_closure and accel_count. We must have a reference to the accel_group,
      	since we need it in connect_proxy. The count is necessary to ensure
      	that the accelerator isn't removed before the last proxy requesting
      	it has been unmerged.
      	(connect_proxy): Connect the accelerator to the
      	action now, only set the accel_path on the menuitem.
      	(remove_proxy): Disconnect the accelerator from the action, not from
      	the menuitem.
      	(gtk_action_set_accel_group): Set the accel group.
      	(gtk_action_[dis]connect_accelerator): Count the number of times
      	this functions have been called and install/remove the accelerator if
      	the count leaves/reaches zero.
      
      	* gtk/gtkuimanager.h (GtkUIManagerItemType): Add
      	GTK_UI_MANAGER_ACCELERATOR.
      
      	* gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR.
      	(start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from
      	<accelerator> elements.
      	(gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when
      	type is GTK_UI_MANAGER_ACCELERATOR.
      	(update_node): Set the accel group on actions before creating their
      	proxies. Don't set the accel group on created menus. For
      	NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator.
      	(print_node): Also emit <accelerator> elements.
      
      	* tests/testmerge.c (dump_accels): Add a "Dump Accels" button.
      0ceb0db0
  3. 15 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Add value parameter to allow setting the currently selected group member · caf380c7
      Matthias Clasen authored
      2003-09-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
      	(gtk_action_group_add_radio_actions_full): Add value parameter to allow
      	setting the currently selected group member before connecting signals.
      	(GtkToggleActionEntry): Separate struct for constructing toggle actions,
      	including a boolean to initialize the action state before connecting
      	signals.
      	(gtk_action_group_add_toggle_actions):
      	(gtk_action_group_add_toggle_actions_full): New functions to construct
      	toggle actions from an array of GtkToggleActionEntries.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c: Adjust to new action group API.
      
      	* gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
      caf380c7
  4. 01 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Shorten the names of some static functions. · cbbe97ab
      Matthias Clasen authored
      2003-09-02  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Shorten the names of some static
      	functions.
      
      	Support adding and removing merge nodes dynamically (#120647,
      	Anders Carlsson):
      
      	* gtk/gtkuimanager.[ch] (gtk_ui_manager_new_merge_id): Renamed
      	gtk_ui_manager_next_merge_id to gtk_ui_manager_new_merge_id
      	and made it public.
      	(gtk_ui_manager_add_ui): New function to add UI elements
      	without juggling XML fragments, currently restricted to menuitems,
      	toolitems and separators. Actions still come from registered
      	action groups.
      cbbe97ab
  5. 31 Aug, 2003 3 commits
    • Matthias Clasen's avatar
      Make this public again, since it's occasionally useful. (#121128, Marco · 7cddc693
      Matthias Clasen authored
      2003-09-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
      	this public again, since it's occasionally useful.  (#121128,
      	Marco Pesenti Gritti)
      
      	* gtk/gtkaction.c: Add an "is_important" property and propagate
      	it to toolitem proxies.  (#121058, Marco Pesenti Gritti)
      7cddc693
    • Matthias Clasen's avatar
      Add gtktoggleactionprivate.h · 2c41fc09
      Matthias Clasen authored
      2003-08-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/Makefile.am (IGNORE_HFILES): Add gtktoggleactionprivate.h
      
      	* gtk/tmpl/gtkuimanager.sgml:
      	* gtk/gtk-sections.txt: Replace gtk_ui_manager_activate by
      	gtk_ui_manager_get_action.
      
      	* gtk/gtkuimanager.[ch] (gtk_ui_manager_get_action): New function,
      	replaces gtk_ui_manager_activate().  (#120658)
      
      	* tests/testmerge.c: Use gtk_ui_manager_get_action() instead of
      	gtk_ui_manager_activate().
      2c41fc09
    • Matthias Clasen's avatar
      Additions. · 320bba9f
      Matthias Clasen authored
      2003-08-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkuimanager.sgml:
      	* gtk/tmpl/gtkactiongroup.sgml:
      	* gtk/tmpl/gtkaction.sgml:
      	* gtk/tmpl/gtktoggleaction.sgml:
      	* gtk/tmpl/gtkradioaction.sgml: Additions.
      
      	* gtk/gtk-sections.txt: Updates.
      
      	* gtk/gtk.types: Add GtkAction, GtkActionGroup, GtkToggleAction,
      	GtkRadioAction and GtkUIManager.
      
      	* gtk/gtkaction.c:
      	* gtk/gtkactiongroup.c: Some doc tweaks.
      
      	* gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
      	wasn't emitted anyway. Some doc tweaks.
      320bba9f
  6. 25 Aug, 2003 1 commit
  7. 24 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      New templates. · 20667ea7
      Matthias Clasen authored
      2003-08-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkmenumerge.sgml:
      	* gtk/tmpl/gtkaction.sgml:
      	* gtk/tmpl/gtkactiongroup.sgml:
      	* gtk/tmpl/gtkradioaction.sgml:
      	* gtk/tmpl/gtktoggleaction.sgml: New templates.
      
      	* gtk/gtk-docs.sgml:
      	* gtk/gtk-sections.txt: Add GtkMenuMerge, GtkAction, GtkActionGroup,
      	GtkRadioAction, GtkToggleAction.
      20667ea7
  8. 10 Aug, 2003 1 commit
  9. 30 Jul, 2003 1 commit
  10. 18 Jul, 2003 3 commits
    • Matthias Clasen's avatar
      Add authentication icon. · a314e4c2
      Matthias Clasen authored
      a314e4c2
    • Matthias Clasen's avatar
      New function. (#64562) · 1fd4cd2f
      Matthias Clasen authored
      2003-07-19  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkbbox.h:
      	* gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)
      1fd4cd2f
    • Matthias Clasen's avatar
      Add a new keybinding signal, move_viewport. (gtk_text_view_move_viewport): · eaae0a6b
      Matthias Clasen authored
      2003-07-18  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport.
      	(gtk_text_view_move_viewport): New function which implements the move_viewport functionality.
      	(gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669)
      
      	* gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property.  (#111779)
      
      	* gtk/gtkwindow.h:
      	* gtk/gtkwindow.c (gtk_window_set_default_icon): New method.  (#95816)
      
      	* gtk/gtkmessagedialog.h:
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.
      	(#65501, Sebastian Rittau)
      eaae0a6b
  11. 14 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      New templates. · 225b8cce
      Matthias Clasen authored
      2003-07-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkseparatortoolitem.sgml:
      	* gtk/tmpl/gtkradiotoolbutton.sgml:
      	* gtk/tmpl/gtktoggletoolbutton.sgml: New templates.
      
      	* gtk/gtk-docs.sgml: Include gtkseparatortoolitem.xml, gtkradiotoolbutton.xml and
      	gtktoggletoolbutton.xml.
      
      	* gtk/gtk.types: Add gtk_separator_tool_item_get_type, gtk_radio_tool_button_get_type and
      	gtk_toggle_tool_button_get_type.
      
      	* gtk/gtk-sections.txt: Add GtkSeparatorToolItem, GtkRadioToolButton and GtkToggleToolButton
      	sections.
      225b8cce
  12. 13 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      Add gtk_tool_button_get_type and gtk_tool_item_get_type. · 36121795
      Matthias Clasen authored
      2003-07-13  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk.types: Add gtk_tool_button_get_type and gtk_tool_item_get_type.
      
      	* gtk/tmpl/gtktoolbutton.sgml:
      	* gtk/tmpl/gtktoolitem.sgml:
      	* gtk/gtk-docs.sgml:
      	* gtk/gtk-sections.txt: Add new toolbar api.
      
      	* gtk/tmpl/gtkdnd.sgml: Remove docs for gtk_drag_begin(), which are now inline.
      36121795
  13. 02 Jul, 2003 1 commit
    • Owen Taylor's avatar
      Document named icon system. · 9e3f0c6f
      Owen Taylor authored
      Wed Jul  2 18:15:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am gtk/gtk-docs.sgml gtk/gtksections.txt
              gtk/tmpl/gtkicontheme.sgml: Document named icon system.
      
              * gtk/tmpl/gtkrc.sgml: Mention specifying named icons
              as @"icon-name".
      
              * gtk/tmpl/gtkimage.sgml: Add a cross-reference to stock
              icons.
      9e3f0c6f
  14. 01 Jul, 2003 1 commit
  15. 09 Jun, 2003 1 commit
  16. 31 May, 2003 1 commit
  17. 08 May, 2003 1 commit
  18. 01 May, 2003 1 commit
  19. 12 Apr, 2003 1 commit
  20. 14 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Skip invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and · 740f871a
      Matthias Clasen authored
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
      	invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
      	GTK_MOVEMENT_WORDS.
      
      	* gtk/gtktextiter.c,
      	gtk/gtktextiter.h: Add some variant movement functions which
      	skip invisible chars, and do some cleanups.
      
      	* gtk/gtk-sections.txt: Add new GtkTextIter functions.
      740f871a
  21. 05 Dec, 2002 1 commit
  22. 27 Nov, 2002 1 commit
  23. 10 Nov, 2002 1 commit
  24. 14 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Update. · ff469548
      Owen Taylor authored
      Mon Oct 14 19:16:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk-sections.txt: Update.
      
              * gdk/tmpl/images.sgml gtk/tmpl/gtkmain.sgml
              gtk/tmpl/gtkselection.sgml: Remove docs that were moved
              the the C files.
      ff469548
  25. 10 Oct, 2002 1 commit
  26. 23 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Privatize gtk_selection_request, gtk_selection_incr_event · b33ec36d
      Owen Taylor authored
      Mon Sep 23 19:49:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c:
              Privatize gtk_selection_request, gtk_selection_incr_event
              gtk_selection_notify, gtk_selection_property_notify.
              Add doc note about future deprecation of gtk_selection_clear()
              which. (#85683)
      
              * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear):
              Chain up, rather than calling gtk_selection_clear().
      b33ec36d
  27. 07 Aug, 2002 1 commit
  28. 05 May, 2002 1 commit
    • Matthias Clasen's avatar
      Bump version to 2.1.0, binary, interface age 0. · c272baf6
      Matthias Clasen authored
      	* configure.in: Bump version to 2.1.0, binary, interface age 0.
      
      	* gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
      	(gtk_container_class_find_child_property): Document.
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
      	and gtk_widget_class_find_child_property.  (#80652)
      c272baf6
  29. 30 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Update for multihead. · 4f13adf9
      Owen Taylor authored
      Tue Apr 30 14:16:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk-sections.txt: Update for multihead.
      4f13adf9
  30. 24 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      Remove GTK_OBJECT_CONNECTED. · b56a5521
      Matthias Clasen authored
      	* gtk/gtk-sections.txt: Remove GTK_OBJECT_CONNECTED.
      
      	* gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc
      	comment markers on freeform comments.
      b56a5521
  31. 20 Apr, 2002 1 commit
  32. 12 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Document GdkScreen. · 7788a6a7
      Matthias Clasen authored
      	* gdk/tmpl/windows.sgml: Document GdkScreen.
      
      	* gtk/gtk-sections.txt: Move a few Class structs to Standard sections.
      
      	* gtk/tmpl/gtktreemodel.sgml, gtk/tmpl/gtkprogress.sgml,
      	gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: Generate proper
      	markup for format strings in examples, also fix an oversight in
      	the GtkTreeModel example.  (#74213)
      7788a6a7
  33. 05 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Fix docs. · 981574a9
      Matthias Clasen authored
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.
      
      	* gtk/gtkwindow.c (gtk_window_remove_mnemonic):
      	(gtk_window_add_mnemonic):
      	(gtk_window_mnemonic_activate): Add docs.
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
      	typo in docs.
      
      	* test-loaders.c, test-images.h: More random tests.
      
      	* io-bmp.c (DecodeHeader): Fail gracefully on OOM here.
      
      	* gtk/gtk-sections.txt: Remove gtk_win32_get_installation_directory.
      981574a9
  34. 02 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Default to --disable-gtk-doc (avoid Jade breakage) and --disable-static · dfe57247
      Owen Taylor authored
      Sat Mar  2 14:32:50 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Default to --disable-gtk-doc (avoid Jade
              breakage) and --disable-static (static linking causes
              problems with Xft changes.)
      
              * autogen.sh: Add --enable-gtk-doc by default.
      
              * Makefile.am: Add a 'mydistcheck' rule that passes
              --enable-gtk-doc to the configure since that is needed
              for 'make dist'.
      
              * docs/tutorial/Makefile.am (dist-hook): Don't distribute
              the PDF file. (Rule doesn't work on my system, plus it's
              big.)
      
              * gtk/Makefile.am: 'make dist' fixes.
      dfe57247
  35. 26 Feb, 2002 1 commit
    • Matthias Clasen's avatar
      Fix typos in pkg-config invokations. (#72476) · 14a2eb78
      Matthias Clasen authored
      
      	* docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config
      	invokations.  (#72476)
      
      	Fixes for #72478:
      
      	* gtk/tmpl/gtkprogressbar.sgml: Add note about new GtkProgressBar
      	API to introduction.
      
      	* gtk/gtk-sections.txt: Reorder GtkProgressBar functions to move
      	undeprecated API to top.
      14a2eb78
  36. 24 Feb, 2002 1 commit