* gladeui/glade-design-view.c: Hide workspace and show load progress
while loading so that one cannot access project widgets during the load
(insensitive workspace was problematic and causing some loaded project
windows to be permanently insensitive).
* src/glade-window.c: Avoid any messups during project load, cannot close
projects while they are loading, etc.
* gladeui/glade-command.c: queue selection changes when widgets are added, this
avoids synchrounously poking the model when the selection changes various times
in a command sequence such as changing a menu item's type.
* gladeui/glade-base-editor.c: Dont call glade_command_create/delete() directly
in change-type, keep delegating this work to build-child/delete-child signals.
* gladeui/glade-widget.[ch]: Added glade_widget_is_ancestor()
* gladeui/glade-utils.c: Change glade_util_find_iter_by_widget() to use
glade_widget_is_ancestor() and speed up searches a little this way.
through glade_widget_add_child() and get a proper ref from the parent (fixing
more last minute crahsers).
* gladeui/glade-utils.c: Fixed crasher bug 628233 partially using patch by
ramz <ramanathan.nitt@gmail.com>.
- Added convenience glade_utils_cairo_draw_[line/rectangle] to cover
parts where the gdk drawing api is removed.
- use gdk_pixbuf_new_from_xpm_data()/gdk_pixbuf_render_pixmap_and_mask()
instead of the removed gdk_pixmap_new_from_xpm_d().
tab close buttons.
* src/glade-window.c:
- Added option to disable toolbar in View menu and session data (bug 586194).
- Added option to show notebook tabs for open projects also in the View menu and session data.
* gladeui/glade-palette.c: Made "both" mode use text horizontally again, still get alot of unwanted
ellipsize here.
* gladeui/glade-project.c: Added the targets-changed signal to refresh views with data about
target project versions (notebook tabs).
* gladeui/Makefile.am, gladeui/glade-cell-renderer-icon.[ch]: Added activatable pixbuf renderer
* gladeui/glade-signal-editor.c: Use new activatable pixbuf renderer to render a devhelp icon
and fire signal contextual devhelp searches.
introspected by checking if (widget_class->set_scroll_adjustments_signal) != 0.
* gladeui/glade-utils.[ch]: Added glade_util_check_and_warn_scrollable() to check and warn the
user if they are trying to add a non-scrollable widget to a scrolled window.
* gladeui/glade-app.c, gladeui/glade-popup.c, gladeui/glade-placeholder.c, plugins/gtk+/glade-gtk.c:
Consult glade_util_check_and_warn_scrollable() before executing commands that introduce objects
to the project.
Make GladePlaceholder a scrollable widget (hypothetically) to avoid runtime warnings.
* plugins/gtk+/gtk+.xml.in: Disabled "has-separator" of GtkMessageDialog as it ignores the separator
and the setting is useless (not to mention setting it causes runtime warnings: fixes bug 587288).
* gladeui/glade-project.[ch]: Expose glade_project_get_target_version()
* plugins/gtk+/glade-gtk.c:
- check project target gtk+ version to decide initial state
of GtkEntry::buffer.
- Substitute the old manual evaluation with GPC_VERSION_CHECK()
- Avoid critical warnings when setting GtkColorButton properties to NULL
- Avoid critical warnings when setting GtkComboBoxEntry::text-column < 0
* gladeui/glade-property-class.h: Created convenience macro GPC_VERSION_CHECK
* gladeui/glade-utils.c: Allow loading of libraries installed in optional non-system prefixes;
(so that GtkSourceView catalog is buildable and usable from your jhbuild environment)
assume a path that is: ${prefix}/lib/glade3/modules/../../ and search it after the initial
module search path.
GTK+ 2.19.0 is now the required version
I've used all the GTK+ 2.19.1 api available, still missing:
GTK_WIDGET_UNSET_FLAGS (widget, GTK_TOPLEVEL);
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
GTK_WIDGET_REALIZED ()
GTK_WIDGET_MAPPED ()
https://bugzilla.gnome.org/show_bug.cgi?id=594957
* gladeui/glade-utils.c: Hijack the cntl-n accelerator too now.
* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c, plugins/gtk+/glade-store-editor.c:
Enhanced model editing, now there is completion in type names, and column types are defined inline
with no add or delete keys, model data can be edited and navigated without using the pointer either.
svn path=/trunk/; revision=2048
* plugins/gtk+/glade-attributes.c: Fixed some glitches, now its usable, closing case
for now, we have attributes, they are global for the label but better that way for i18n'ing.
svn path=/trunk/; revision=2011
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
- Reimplemented GtkImage from ground up.
- Reimplemented stock on GtkButton.
- Made toolbutton editables show up in the toolbar editor
* gladeui/glade-base-editor.[ch]: Added glade_base_editor_add_editable()
* plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-tool-bar-editor.c:
Implement new Editable vfunc set_show_name()
* gladeui/glade-editor-table.c, gladeui/glade-editable.c, gladeui/glade-editor.c:
Added new vfunc set_show_name()
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-image-editor.[ch]: New editor
widget for GtkImage
* gladeui/glade-property-class.[ch]: string props can now be "stock" or "stock-icon"
* gladeui/glade-widget-adaptor.c: No more stock enum eprops
* gladeui/glade-editor-property.c: Handle string types with "stock" or "stock-icon"
svn path=/trunk/; revision=2004
* plugins/gtk+/glade-cell-renderer-button.c: Fixed a warning.
* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c,
plugins/gtk+/glade-icon-sources.c: Made sure add/remove works when
deleting unedited icon sources, all add buttons result in focus and
start-editing of an important cell in the underlying treeview.
* gladeui/glade-utils.c: Fixed generic enum types to use enum_class->minimum
as the default value.
svn path=/trunk/; revision=1999
* gladeui/glade-property-class.c: string_from_enum, now returns the nick and not the
name (generally all around nicer menus when no displayable values and also smaller
nicer glade files). Displayable values are now consequently indexed by nick and not name.
* gladeui/glade-displayable-values.[ch]: Added reverse lookup glade_get_value_from_displayable()
* gladeui/glade-utils.[ch]: When doing glade_utils_enum/flag_value_from_string(), allow
displayable values (also added glade_utils_enum/flag_string_from_value_displayable()).
* plugins/gtk+/glade-icon-sources.c: Use all around displayable values for items
in the treeview.
svn path=/trunk/; revision=1993
* plugins/gtk+/glade-model-data.c: Now support editing enum types
* plugins/gtk+/glade-column-types.c: Generate a list of enum and flag column types to select from.
svn path=/trunk/; revision=1979
* gladeui/glade-command.c: Fixed property commands to not unify across separate groups,
and also to unify when they are not lists.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-model-data.c:
- Data properties now have DnD working
- Adding TreeViewColumn support
- Fixing liststore support to work for treestore
svn path=/trunk/; revision=1977
* gladeui/Makefile.am, gladeui/glade-name-context.[ch]: Encapsulated name tracking mechanism
* gladeui/glade-project.c, gladeui/glade-command.c: Now added a naming policy to the project
with prefs and load/save support + a glade command to set it - also revamped the prefs dialog,
it also pops up automatically for new projects.
* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-property-class.c,
gladeui/glade-property.c, gladeui/glade-widget.c: All effected since now
glade_property_class_make_gvalue_from_string () needs a GladeWidget argument to do
hierachic context sensitive searches... that and naming is much cleaner now.
* src/glade-window.c: remember to pass ownership of the project to the app.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
BEWARE: Dangerous and still a work in progress.
svn path=/trunk/; revision=1972
* plugins/gtk+/glade-column-types.[ch]: Exported glade_column_list_copy/free()
* plugins/gtk+/glade-model-data.[ch], plugins/gtk+/Makefile.am: Added model data
pspec, editor not compĺete yet...
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Implemented new pspec as
list/treestore's "data" property with load/save support.
* plugins/gtk+/glade-convert.c: Made combos convert correctly with new modeldata
pspec.
* gladeui/glade-utils.[ch]: Added glade_utils_liststore_from_enum_type()
svn path=/trunk/; revision=1963
* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch],
plugins/gtk+/Makefile.am, plugins/gtk+/gtk+.xml.in: Added load/save/edit
support for GtkTreeStore/GtkListStore basic columns and data definitions
(store data still not translatable...) - Juan Pablo Ugarte
* gladeui/glade-utils.c: Added convenience funcs glade_utils_string_from_value()
and glade_utils_value_from_string(), these actually use glade-property-class api.
svn path=/trunk/; revision=1961
* src/glade-window.c, gladeui/glade-inspector.c, gladeui/glade-utils.c,
gladeui/glade-app.c:
- Made sure that the first toplevel in the project is selected and visible
at load time in both the workspace and inspector
- Sorted objects from widgets in the inspector view.
svn path=/trunk/; revision=1944
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-attributes.[ch]:
New internal pspec type for attributes and new editor widget for them.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
Load/Save/Edit pango attributes on GtkLabel
* gladeui/glade-utils.[ch]: Added enum value <--> string converters.
svn path=/trunk/; revision=1852
* gladeui/glade-editor-property.c: Fixed invisible labels in
the menu editor.
* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-xml-utils.c,
gladeui/glade-utils.c, gladeui/glade-xml-utils.h, gladeui/glade-utils.h,
gladeui/glade-property.c, gladeui/glade-property-class.c,
gladeui/glade-property-class.h, gladeui/glade-project.c, gladeui/glade-project.h:
implemented "factory-stock-id" in the catalog, this allows you to take a resource
image file property formerly hacked as a custom property in libglade, and glade
will generate a hidden icon factory in builder files so that it will be loaded
through the stock system instead, "factory-stock-id" depicts the name of the
stock property of the property-class in question.
svn path=/trunk/; revision=1796
* plugins/gtk+/gtk+.xml.in: Filled in all since, deprecated and
builder-unsupported properties.
* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-widget-adaptor.c,
gladeui/glade-command.c, gladeui/glade-widget-adaptor.h,
gladeui/glade-utils.h, gladeui/glade-catalog.c,
gladeui/glade-catalog.h, gladeui/glade-app.c, gladeui/glade-app.h,
gladeui/glade-property-class.c, gladeui/glade-property-class.h,
gladeui/glade-project.c, gladeui/glade-project.h:
Added versioning support, you can always chose the target version of
your project starting with gtk+ 2.8 - a project preferences dialog has
been added where you can switch your format, switch your target version
and test for incompatabilities. incompatability error dialogs are also
launched on save as. Target versions are saved to the glade file;
TODO: patch GtkBuilder to test the required gtk+ version from
<requires lib="gtk+" version="2.8"> and at least warn, also let
third party widget developers test thier own versions using builder.
* gladeui/glade-xml-utils.h, gladeui/glade-xml-utils.c: routines
for parsing version numbers.
* gladeui/glade-utils.c: glade_util_ui_message() takes a widget to
embed arg now.
svn path=/trunk/; revision=1780
* src/glade-window.c: Reverted the project format menu from edit
* src/glade-utils.c: Add file format option to "save as" dialog,
also added new filters for .ui files.
svn path=/trunk/; revision=1777
* autogen.sh: Run gtkdocize with --flavour=no-tmpl
* configure.ac: Require gtk-doc 1.9 and bump to 3.5.0 dev version.
* doc/gladeui-overrides.txt, doc/children.sgml, doc/tmpl/*: Removed unneeded.
* doc/gladeui-docs.sgml, doc/widgetclasses.sgml,
doc/catalogintro.sgml, doc/Makefile.am: Mega docs update, added new
files and completely rediscribed the catalog in its new form.
* gladeui/glade-design-view.c, gladeui/glade-widget.c,
gladeui/glade-widget-adaptor.c, gladeui/glade-command.c,
gladeui/glade-widget-adaptor.h, gladeui/glade-base-editor.c,
gladeui/glade-widget-action.c, gladeui/glade-xml-utils.c,
gladeui/glade-utils.c, gladeui/glade-catalog.c, gladeui/glade-property.c,
gladeui/glade-project.c: Added some description statements to newly
documented files, fixed some warnings in other sources.
M ChangeLog
M configure.ac
M doc/gladeui-docs.sgml
M doc/widgetclasses.sgml
M doc/catalogintro.sgml
D doc/gladeui-overrides.txt
M doc/Makefile.am
D doc/children.sgml
D doc/tmpl
M doc/gladeui-sections.txt
M doc/gladeui.types
M doc/properties.sgml
M gladeui/glade-design-view.c
M gladeui/glade-widget.c
M gladeui/glade-widget-adaptor.c
M gladeui/glade-command.c
M gladeui/glade-widget-adaptor.h
M gladeui/glade-base-editor.c
M gladeui/glade-widget-action.c
M gladeui/glade-xml-utils.c
M gladeui/glade-utils.c
M gladeui/glade-catalog.c
M gladeui/glade-property.c
M gladeui/glade-project.c
M autogen.sh
svn path=/trunk/; revision=1775
A plugins/gtk+/glade-keysyms.c
M plugins/gtk+/glade-gtk.c
M plugins/gtk+/gtk+.xml.in
A plugins/gtk+/glade-accels.c
M plugins/gtk+/Makefile.am
A plugins/gtk+/glade-accels.h
M ChangeLog
M gladeui/glade-editor.c
M gladeui/glade-editor-property.c
M gladeui/glade-editor-property.h
M gladeui/glade-widget.c
M gladeui/glade-widget.h
M gladeui/glade-widget-adaptor.c
M gladeui/glade-command.c
M gladeui/glade-widget-adaptor.h
M gladeui/glade-parser.c
M gladeui/glade-xml-utils.c
M gladeui/glade-base-editor.c
M gladeui/glade-utils.c
D gladeui/glade-parser.h
M gladeui/glade-signal-editor.c
M gladeui/glade-xml-utils.h
D gladeui/glade-keysyms.c
M gladeui/glade-property.c
M gladeui/glade-property-class.c
M gladeui/glade-property.h
M gladeui/glade-builtins.c
M gladeui/glade-property-class.h
M gladeui/glade-builtins.h
M gladeui/glade-project.c
M gladeui/glade-signal.c
M gladeui/Makefile.am
M gladeui/glade-signal.h
svn path=/trunk/; revision=1764
* doc/tmpl/*.sgml: removed every extra documentation, we keep them empty just
because otherwise the build fails.
* doc/gladeui-docs.sgml, doc/gladeui-sections.txt, doc/gladeui.types: updated
(GladeWidgetClass replaced by GladeWidgetAdaptor)
* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-parameter.c,
gladeui/glade-widget.c, gladeui/glade-fixed.c, gladeui/glade-clipboard.c,
gladeui/glade-inspector.[ch], gladeui/glade-widget-adaptor.[ch], gladeui/glade-command.c,
gladeui/glade-command.h, gladeui/glade-base-editor.[ch], gladeui/glade-palette.[ch],
gladeui/glade-utils.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c,
gladeui/glade-placeholder.c, gladeui/glade-property.c, gladeui/glade-property-class.c,
gladeui/glade-project.c, gladeui/glade-clipboard-view.c:
Added section's short and long description. (moved from tmpl)
svn path=/trunk/; revision=1523
* gladeui/glade-catalog.c: Loop through user defined search paths and load
catalogs from there first.
* gladeui/glade-utils.c: Loop through user defined search paths for modules,
then fallback on the compile time default, then fallback on default system
library paths.
* gladeui/glade-app.h: Define env variables GLADE_MODULE_PATH & GLADE_CATALOG_PATH
svn path=/trunk/; revision=1516
* gladeui/glade-utils.c: Made glade_util_queue_draw_nodes --> glade_util_draw_selection_nodes()
(without the idle timeout now)
* gladeui/glade-widget.c, gladeui/glade-placeholder.c: Use glade_util_draw_selection_nodes(),
(selection wasnt being drawn on some widgets, now it's working and there's less "flicker"
when drag/resizing widgets too).
svn path=/trunk/; revision=1508