glade3 r1325 - in trunk: . gladeui plugins/gtk+



Author: jpu
Date: 2007-05-23 20:38:46 +0100 (Wed, 23 May 2007)
New Revision: 1325
ViewCVS link: http://svn.gnome.org/viewcvs/glade3?rev=1325&view=rev

Added:
   trunk/gladeui/glade-widget-action.c
   trunk/gladeui/glade-widget-action.h
Modified:
   trunk/ChangeLog
   trunk/gladeui/Makefile.am
   trunk/gladeui/glade-popup.c
   trunk/gladeui/glade-popup.h
   trunk/gladeui/glade-widget-adaptor.c
   trunk/gladeui/glade-widget-adaptor.h
   trunk/gladeui/glade-widget.c
   trunk/gladeui/glade-widget.h
   trunk/gladeui/glade-xml-utils.h
   trunk/plugins/gtk+/glade-gtk.c
   trunk/plugins/gtk+/gtk+.xml.in
Log:
* gladeui/Makefile.am: added gladeui/glade-widget-action.[ch]

* gladeui/glade-popup.[ch]:
  - added glade_popup_action_populate_menu()

  - adapted popup code to reflect action changes.

* gladeui/glade-widget-action.[ch]: GladeWidgetAction GObject sources.

* gladeui/glade-widget-adaptor.[ch]:

  - action-activated signal removed

  - added GladeActionActivateFunc

  - added glade_widget_adaptor_action_add() and glade_widget_adaptor_action_remove()

  - glade_widget_adaptor_action_activate() reworked. 

  - load symbol and other catalog stuff in gwa_derived_class_init()

  - added the posibility to override GObject constructor from the catalog.
    This is a good place to add/remove actions, use GWA_GET_OCLASS() to chain up.

* gladeui/glade-widget.[ch]:
  - removed action-activated signal

  - added glade_widget_get_action (), glade_widget_remove_action() and
    glade_widget_create_action_menu()

* gladeui/glade-xml-utils.h: added GLADE_TAG_ACTION_ACTIVATE_FUNCTION and 
  GLADE_TAG_CONSTRUCTOR_FUNCTION tags

* plugins/gtk+/glade-gtk.c:
  - added glade_gtk_menu_shell_action_activate() glade_gtk_menu_item_action_activate()
    and glade_gtk_toolbar_action_activate()

  - removed glade_gtk_menu_post_create() and glade_gtk_menu_launch_editor_action()

* plugins/gtk+/gtk+.xml.in:
  - glade_gtk_menu_post_create() removed

  - added action-activate-function for MenuShell MenuItem and Toolbar.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]