* doc/tmpl/*: updated
* src/glade-fixed.[ch], src/glade-widget.[ch]:
Improved, now made replace_child a vfunc... fixed some
event related bugs.
* src/glade-gtk.c, widgets/gtk+.xml.in: Added free-form placement
for GtkTable widget.
* src/glade-utils.c: added glade_util_deep_fixed_event(), used to
propagate events down to fixed containers that dont have windows.
you wish, the cursor updates properly in regard to the rules:
- Add sign with class selected on the palette
- Only direct children may be used for drag/resize, or thier direct child
placeholders in turn, cursor will display correctly in those cases.
* src/glade-widget.c:
o Use event widget and not signal widget to use with
gtk_widget_translate_coordinates(), this fixes the imfamous bug 327379
o Recurse through non-project objects when looking for widget at mouse event;
this fixes the internal widget selection bug (bug 338894).
* src/glade-placeholder.c: Placeholders dont ever get selection anymore, its
only confusing for no reason, adds extra clicks to select relevent widgets
(note that every second click was going to the parent; making the parent
fight with the placeholder for selection... since its pointless, its gone).
* TODO: Updated
* src/glade-fixed.c:
o Fixed "paste at mouse position"
o Fixed cursors a bit... event handling a bit too
* src/glade-placeholder.c: Special case fixed stuff for now,
so that drag/resize works at least from deep placeholders.
* src/glade-widget.c: Touched the event handling code.
* src/Makefile.am, po/POTFILES.in: Made changes for changed files.
* src/glade-fixed.[ch]: The new GladeWidget derived free form placement
support object.
* src/glade-fixed-manager.[ch]: Removed.
* doc/catalogintro.sgml: made mention of new 'fixed' property on
'glade-widget-class' tag
* doc/gladeui-sections.txt, doc/Makefile.am,
doc/tmpl/*, doc/gladeui.types: Updated for file changes.
* src/glade-app.c, src/glade-command.c, src/glade-gnome.c, src/glade.h:
Changed for new apis in glade-widget and glade-fixed.
* src/glade-gtk.c:
o Changed for new apis in glade-widget and glade-fixed.
o Restructured, now *all* class supports are listed class
by class
* src/glade-property-class.h: Fixed docs.
* src/glade-widget-class.[ch]:
o Added glade_widget_class_query ()
o Added glade_widget_class_create_widget ()
o Added glade_widget_class_create_internal ()
* src/glade-widget.[ch]: API is stablizing now... lots of cleanup done,
added construct properties used in the constructor to create properties and
runtime instances.
* widgets/gtk+.xml.in:
o Toolbars expand=False by default in GtkVBoxes
o GtkPaned now works a little stabler
o GtkFixed/GtkLayout marked 'fixed'.
* src/glade-fixed-manager.c: Temporary evil externing untill GladeWidget
migration is complete.
* src/glade-widget.[ch]: Completely reworked file structure and changed
a few things:
o button_press_event() vfunc now available to be called on mouse clicks
of the said widget.
o added container api abstraction provided by fixed manager and reffitted
for my anticipated integration
* src/glade-gtk.c, widgets/gtk+.xml.in:
o Reverting the simplification of gtkbox, the regression was that the box
placeholders were not adjusting properly on undo/redo of create/delete/cut/paste
commands.
o Fixing GtkFixed/GtkLayout to not call glade_gtk_container_add/remove_child for
its children.
* src/glade-command.c: Slight simplifications made.
* src/glade-command.c: fixed double free in glade_command_add_signal_finalize()
* src/glade-signal-editor: Fixed signal editor to truely delete handler/userdata
when it previously only appeared to.
* src/glade-gtk.c, widgets/gtk+.xml.in:
o Fixed segfaults on color-button
o Fixed color-button & font-button (dropped unused properties)
o Fixed initial label text on buttons (and subclass defaults)
* widgets/gtk+.xml.in: Added GtkToolItem child support to GtkToolbar and
new widgets classes GtkToolItem, GtkSeparatorToolItem, GtkToolButton,
GtkMenuToolButton, GtkToggleToolButton and GtkRadioToolButton.
* src/glade-gtk.c:
o added GtkToolbar support functions.
o cleanup glade_gtk_menu_shell_get_child_property() and
glade_gtk_menu_shell_set_child_property() functions.
o tried to make Menu editor UI prettier separating a bit
name/type from properties.
* src/Makefile.am, src/glade-keysyms.c: Added autogenerated keysyms
(but not autogenerating them at the moment).
* src/glade-builtins.[ch]: Added GLADE_TYPE_ACCEL_GLIST, GLADE_PARAM_SPEC_ACCEL
and some convenience funcs.
* src/glade-editor-property.c: Added GladeEpropAccel.
* src/glade-editor.c: take accel props into account
* src/glade-parser.c: Make strings for GdkModifierType in dump_widget.
* src/glade-property-class.c, src/glade-widget-class.c:
o Now you can get the GladeWidgetClass from the GladePropertyClass
o Added string conversion from GladeParamSpecAccel properties
(but vise versa)
o GladeWidgetClassSignal --> GladeSignalClass, not GSignalQuery struct
is included too.
* src/glade-property.c, src/glade-widget.c: Load/save support for accel properties.
* src/glade-editor-property.c, src/glade-editor.c:
o Now bookless classes' info buttons are show insensitive.
o No info buttons on query dialogs.
* Many files: changed "== TRUE" to be "!= FALSE"
2006-06-02 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.c: Fixed segfault on widget copying.
2006-06-02 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c, widgets/gtk+.xml.in: removed support functions from
GtkBox... it all still works.
* src/Makefile.am: Added -mwindows to glade3_LDFLAGS in win32 compile mode
* src/glade-xml-utils.c: Fallback on default namespace when searching
funcs from the catalog (this seems to only be needed in windows builds)
* src/glade-utils.c: glade_util_have_devhelp() fixed with better warning messages
and the function was returning -1 (TRUE) when there was no devhelp in the
program path (*doh*).
* src/Makefile.am, widgets/Makefile.am: Installed unwanted garbage
to pass distcheck.
* src/glade-devhelp.c: Navigational buttons insensitive at startup.
* src/glade-catalog.c: Unexposed a private function.
* src/glade-xml-utils.c: made alloc_string glade_xml_alloc_string,
alloc_propname: ditto.
* src/glade-property.c, src/glade-signal.c:
Adjustemtnts made for glade-xml api above
* src/glade-widget.c:
o Adjustemtnts made for glade-xml api above
o Properties applied to new objects in two steps now,
code around build_object cleaned up... now build_object
used also in load code.
* src/glade.h, src/glade-catalog.c, src/glade-widget-class.[ch]:
catalog book specifications now on widget classes
* src/glade-editor.c, src/glade-editor-property.c: Now get the
book name directly from the widget class.
* doc/catalogintro.sgml: documented added "book" property.
* widgets/bonobo.xml.in: added gnome catalog dependancy
* widgets/gnome.xml.in, widgets/gtk+.xml.in: Added book specifications.
* configure.in: added check for GnomeUI libs (PKG_CHECK_MODULES)
* widgets/Makefile.am: New catalogs added (bonobo.xml gnome.xml)
* widgets/bonobo.xml.in: Created new catalog for libbonoboui.
* widgets/gnome.xml.in: Created new catalog for libgnomeui.
* widgets/canvas.xml.in: empty file just to declare the module.
GnomeCanvas is declared in gnome catalog.
* widgets/gtk+.xml.in: added GtkMenuItem "stock-item" property.
o added glade_gtk_box_get_internal_child()
o disabled GtkLayout's hadjustment and vadjustment properties.
* src/Makefile.am: added gladegnome conditional build.
* src/glade-builtins.[ch]: added glade_standard_pixbuf_spec(),
glade_standard_gdkcolor_spec() and glade_standard_uint_spec().
Fixed stock order in glade_standard_stock_get_type()
* src/glade-editor-property.c: added G_PARAM_SPEC_VALUE_ARRAY
support to GladeEPropText.
* src/glade-gnome.c: New support file for gnome/bonobo catalogs.
* src/glade-gtk.h: Created to include it in others plugings.
* src/glade-gtk.c:
o added GtkMenuItem stock-item property.
o Moved GladeGtkImageType and GladeGtkButtonType to glade-gtk.h
o Moved GLADE_CREATE_USER block from idle function to
glade_gtk_button_post_create()
* src/glade-project.c: fixed bug in glade_project_resource_fullpath()
project->path could be NULL.
* src/glade-property-class.c: added G_PARAM_SPEC_VALUE_ARRAY
support in glade_property_class_make_string_from_gvalue() and
glade_property_class_make_gvalue_from_string()
* src/glade-editor-property.c: Make label inside eventbox visible
by default, and dont show the info button by default.
* src/glade-gtk.c: Root out the evil calls to gtk_widget_show_all ()
(for contextual devhelpish bugs). and plugged a leaked GladeEditorProperty.
* doc/Makefile.am: Applied patch for bug 340692
* src/glade-command.c: glade_command_set_property (), return if
the command doesnt change the property.
* src/glade-editor-property.c: GladeEPropText, if string property is NULL
and we recieve "" from the entry, set the property to NULL, if we get
NULL from the entry and the property is "", then set the property to
"", otherwise set the property to the entry text. (this fixes 339832)
* src/glade-property.[ch]: constified GValue argument to
glade_property_equals_value ().
* src/glade-gtk.c: Fixed up GtkTable to not refresh placehlolders when
doing a glade_gtk_table_replace_child() replacing a placeholder with
a GladeWidget (only the other way around), this way placeholders are
preserved during the operation of pasting multiple widgets to a GtkTable
(and each pasted widget has its own seperate place in the table).
* src/glade-command.c: Fixed "props recorded" marker to be marked on a per
widget basis, this was causing only one widget in a list of pasted widgets
to have its newly introspected packing props recorded (now they are all
recorded)
* src/glade-popup.c: Create insensitive 'paste' items when the clipboard
has no selection.
* src/glade-editor.[ch]: Insensitive "Documentation" and "Reset" buttons when
no widget is loaded.