* gladeui/glade-utils.c: Fixed broken statement in
glade_util_url_show_win32().
* gladeui/glade-app.c: Fixed names of global vars in
win32 code.
svn path=/trunk/; revision=1213
* gladeui/glade.h, gladeui/glade-app.[ch]:
- Added a private initialisation function `glade_init_check()' for
libgladeui.
- Removed the 'bad' public variables that defined various installation
paths. These paths can now be obtained from static class methods on
GladeApp (static as in the Java and C++ sense).
* src/main.c, src/glade-project-window.c, gladeui/glade-catalog.c,
gladeui/glade-binding.c, gladeui/glade-cursor.c,
gladeui/glade-palette.c gladeui/glade-widget-adaptor.c,
gladeui/glade-utils.c, bindings/python/glade-python.c: Use the new
GladeApp methods for obtaining installation paths.
* gladeui/glade-palette-box.[ch]: Use G_DEFINE_TYPE() and
g_type_class_add_private().
svn path=/trunk/; revision=1090
* gladeui/glade-widget.[ch]:
o Removed search algorythm for child widgets, removed glade_widget_event_widget (),
removed popup-menu signal handler, removed call to gtk_window_set_decorated()
on toplevel project widgets, removed widget->setup_events(), removed hide_on_delete()
o Added glade_widget_event() to feed events directly to widgets from the design layout.
o Call glade_app_hierarchy_changed() upon add/remove/replace operations
* gladeui/glade-utils.c: Removed glade_utils_deep_fixed_event() and the
hacky widget grab that went with it.
* gladeui/glade-app.[ch]: Added glade_app_hierarchy_changed() and added
"hierarchy-changed" signal.
* gladeui/glade-design-layout.c:
o Make sure event window is always on top by trapping GladeApp's "hierarchy-changed"
signal
o Feed events directly to the proper GladeWidget, if its not handled then pass it
on to the underlying widgets (using gtk_widget_event() directly).
* gladeui/glade-cursor.c: Removed the recursive cursor setting routine.
* gladeui/glade-fixed.c: Simplified immensely by removing redundant code,
now there is only one GladeWidget to deal with, no searching and gropeing
for the appropriate widget to operate on.
svn path=/trunk/; revision=1065
* gladeui/glade-command.c: Set project properly in glade_command_remove()
(this fixes undo/redo of add/remove commands in the menueditor... along
with the following fixes).
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h:
Added GWA_USE_PLACEHOLDERS(), a boolean on the GWA that is loaded
from the catalog.
* gladeui/glade-utils.[ch]: Removed glade_util_[any_]container_relation.
* gladeui/glade-widget.[ch]: Added glade_widget_placeholder_relation
* gladeui/glade-app.c, gladeui/glade-fixed.c: Adjusted callers for new
glade-widget api.
* gladeui/glade-fixed.[ch]: Removed the "use-placehodlers" property
since it is now redundant with the new GWA_USE_PLACEHOLDERS (this
simplifies things a little).
* gladeui/glade-binding.c: Fixed obnoxious startup errors (bug 399178),
glade_binding_get_all(), use g_list_prepend()/g_list_reverse() instead
of g_list_append() to build a list.
* gladeui/glade-base-editor.c: Use the right adaptor for gwa_get_children
in glade_base_editor_change_type () (was using adaptor for the destination
type).
* plugins/gtk/glade-gtk.c: Remove use of "use-placeholders" property
on GladeFixed objects.
* plugins/gtk/gtk+.xml.in: Setup the "use-placeholders" attribute properly
(TRUE on GtkContainer, FALSE on GtkMenuShell, GtkMenuItem, GtkToolBar,
GtkFixed, GtkLayout).
svn path=/trunk/; revision=1057
* Reorganised package structure, moved a lot of files
and directories. Modified the Makefile.am in most directories.
* po/POTFILES.in, po/POTFILES.skip: Update for reorganisation.
* configure.ac: Add files to AC_CONFIG_FILES. Change AC_CONFIG_SRCDIR.
svn path=/trunk/; revision=1050