mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-04 00:03:06 -04:00
24-02-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com> * src/glade-palette.c: change the table with the widgets to a vertical box, where each widget lies in a row (the icon of the widget next to its label). * src/glade-project-window.c: make the palette resizable. * src/glade-widget-class.c: load png files instead of xpm files for the icons of the widgets. * widgets/glade-palette.xml, gtk-base.xml, gtk-additional.xml, gtk-dialogs.xml, gtk-obsolete.xml: Change the layout of the palette. * pixmaps/*.png: 24bpp alpha blended icons for the widgets. Most of them come from the jimmac collection.
2487 lines
92 KiB
Plaintext
2487 lines
92 KiB
Plaintext
2004-02-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-palette.c: change the table with the widgets
|
|
to a vertical box, where each widget lies in a row
|
|
(the icon of the widget next to its label).
|
|
* src/glade-project-window.c: make the palette resizable.
|
|
* src/glade-widget-class.c: load png files instead of xpm
|
|
files for the icons of the widgets.
|
|
* widgets/glade-palette.xml, gtk-base.xml, gtk-additional.xml,
|
|
gtk-dialogs.xml, gtk-obsolete.xml: Change the layout of the
|
|
palette.
|
|
* pixmaps/*.png: 24bpp alpha blended icons for the widgets.
|
|
Most of them come from the jimmac collection.
|
|
|
|
2004-02-01 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.c: use gtk_window_present instead of
|
|
gtk_window_deiconify.
|
|
|
|
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* widgets/gtkwindow.xml: ignore the GetFunction of the property "modal".
|
|
|
|
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-property-class.c (glade_property_class_update_from_node):
|
|
make TagEnums and EnumType non required for enum properties.
|
|
* widgets/gtkwindow.xml: ignore type-hint, as it can't be set
|
|
after the window becames visible.
|
|
|
|
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal-handler.c: remove the editable handler from
|
|
the rows that contain just the class name.
|
|
|
|
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal-handler.c: mark with bold the signals that have
|
|
a handler, along with the widget classes that have at least a signal
|
|
with a handler. Expand these classes by default in the signal editor.
|
|
Also make the signal's handler editable by just double-clicking in
|
|
the row.
|
|
|
|
2004-01-23 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-placeholder.c: make the widget focusable and handle the
|
|
popup-menu signal so that SHIFT+F10 works.
|
|
* src/glade-placeholder.h: remove erroneus LGPL license.
|
|
* src/glade-widget.c: handle popup-menu and minor cleanups.
|
|
* src/glade-popup.[ch]: update for the above changes.
|
|
|
|
2004-01-22 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal-editor.c: fix some bugs in the signal editor. Now it's
|
|
more or less bug free (I hope), but the UI still needs a bit of love.
|
|
* src/glade-widget.[ch]: change the signals from a hash that points
|
|
to a GList, to a hash that points to an GArray. The change it
|
|
also solves some bugs in the old implementation.
|
|
|
|
2004-01-19 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal.c: make the "signal" column non editable in the
|
|
signal editor.
|
|
|
|
2004-01-18 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal.[ch]: add a glade_signal_copy function.
|
|
* src/glade-widget.[ch]: put the signals with a handler on a hash
|
|
indexed by the name of the signal.
|
|
* src/glade-signal-editor.[ch]: rework the UI of the signal editor.
|
|
|
|
2004-01-09 Tommi Komulainen <tommi.komulainen@nokia.com>
|
|
|
|
* src/glade-catalog.c
|
|
* src/glade-widget-class.c
|
|
* widgets/gtk-additional.xml
|
|
* widgets/gtk-base.xml: Instead of playing tricks with the library
|
|
filename, use the given name verbatim and let GModule handle platform
|
|
specifics. Load the library from Glade modules directory, or failing
|
|
that from standard library paths.
|
|
|
|
2004-01-08 Tommi Komulainen <tommi.komulainen@nokia.com>
|
|
|
|
* src/glade-widget-class.c: load the library module before attempting
|
|
to call *_get_type since the function could be located in dependent
|
|
libraries.
|
|
|
|
2003-11-29 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* widgets/gtkmenubar.xml: override fill_empty with ignore.
|
|
* widgets/gtk-base.xml: add gtkmenubar.xml.
|
|
* src/glade-menu-editor.c: gtk_icon_factory_lookup_default may return
|
|
NULL: avoid segfault.
|
|
|
|
2003-11-28 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-palette.[ch]: implement the selector.
|
|
* src/glade-project-window.[ch]: adapt to the above.
|
|
* src/glade-command.c: ditto.
|
|
* src/glade-placeholder.c: ditto.
|
|
|
|
2003-11-28 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* glade3.desktop.in: add Encoding property.
|
|
* src/main.c: set the app name.
|
|
* src/glade-xml-utils.[ch]: remove two unused functions.
|
|
|
|
2003-11-19 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.[ch]: remove get_project and minor cleanups.
|
|
* src/glade-widget-class.c: remove include not needed.
|
|
|
|
2003-11-18 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget-class.c: simplify glade_widget_class_merge.
|
|
* src/glade-property-class.c: fix query->question cloning.
|
|
|
|
2003-11-14 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.c: deiconify a window when double clicking on
|
|
its icon in the project view.
|
|
* src/glade-gtk.c: set/get_size for the toolbar.
|
|
* widgets/gtktoolbar.xml: added.
|
|
* widgets/gtk-base.xml: add toolbar.
|
|
|
|
2003-11-14 Poalo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-command.[ch]: update the MAKE_TYPE macro for GType and
|
|
more janitoring. Move GladeCommand declaration in the header.
|
|
* src/glade-project-window.c: adapt to the changes above.
|
|
* src/glade-palette.h: cut and paste typo in macro.
|
|
* src/glade-utils.c: missing include.
|
|
* src/glade-placeholder: missing include.
|
|
|
|
2004-01-15 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.c: don't crash im the widget doesn't have
|
|
a valid icon.
|
|
|
|
2003-11-13 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-command.c: free the value of the set property command in the
|
|
finalize function, missed it in the prevoius audit. Some cleanups along
|
|
the way.
|
|
|
|
2003-11-10 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-command.c: audit all the GValues and fix leaks: GValues
|
|
should be unset when done with them.
|
|
* src/galde-editor.c: ditto.
|
|
* src/glade-signal-editor.c: ditto.
|
|
* src/glade-property-class.c: ditto.
|
|
* src/glade-property.c: ditto.
|
|
* src/glade-widget.c: ditto.
|
|
|
|
2003-11-09 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-catalogs.[ch]: remove catalog_get_widgets: no more needed.
|
|
* src/glade-palette.[ch]: declare get_type in the header and some minor
|
|
cleanups.
|
|
* src/glade-widget.c: cleanups.
|
|
|
|
2003-11-09 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property.[ch]: turn GladeProperty into a simple struct
|
|
instead of a GObject.
|
|
* src/glade-editor.c: fixup for the above change.
|
|
|
|
2003-11-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* glade-placeholder.c: Unref the placeholder_pixmap in the finalize
|
|
function instead of in the destroy function.
|
|
|
|
2003-11-07 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c: when adding the packing properties get their
|
|
value from gtk. Remove two unused functions.
|
|
* src/glade-command.c: set the packing properties after having
|
|
container_add'ed the widget.
|
|
* src/glade-property.[ch]: remove get_from_widget, no more needed.
|
|
* src/galde-property-class.[ch]: remove class->get_default.
|
|
* src/glade-project.c: check the parameters of some functions.
|
|
|
|
2003-11-06 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* glade-3.png: restore the good png.
|
|
|
|
2003-11-05 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-placeholder.c: restore the cursor change when you can add
|
|
a widget.
|
|
|
|
2003-11-05 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-placeholder.[ch]: move typedefs to glade-types.h to fix
|
|
compilation on linux. Remove add_method_to_class since it's not needed.
|
|
* src/glade-xml-utils.h: move typedefs to glade-types.h
|
|
* src/glade-types.h: add mentioned types.
|
|
* src/glade-widget-class.h: remove forward decls, include glade-types.
|
|
* src/glade-widget.h: ditto.
|
|
|
|
2003-11-02 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-placeholder.[ch]: rewrite it as a GtkWidget. Moved some
|
|
of its functions to glade-utils.c.
|
|
* src/glade-command.c: Adapt the source to the new placeholder.
|
|
* src/glade-packing.c: ditto.
|
|
* src/glade-popup.c: ditto.
|
|
* src/glade-types.h: ditto.
|
|
* src/glade-utils.c: ditto.
|
|
* src/glade-widget.c: Put a variable declaration before any statement.
|
|
* src/glade-widget.h: Add some forward declarations.
|
|
* src/glade-gtk.c: export the functions using __declspec(dllexport) in
|
|
windows and adapt to new placeholder.
|
|
* src/glade-editor.c: Use G_GNUC_FUNCTION instead of the non portable
|
|
__FUNCTION__.
|
|
* src/glade_plugin.def: def file with the exported functions from the
|
|
core of glade. These functions may be used in glade-gtk.c, or in
|
|
* src/glade-plugin.h: include files need by glade-gtk.c.
|
|
any external module. Only need in windows.
|
|
|
|
2003-11-02 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property-class.[ch]: move choice* stuff to glade-choice.c
|
|
and remove dead code.
|
|
* src/glade-choice.[ch]: see above.
|
|
|
|
2003-11-01 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* glade-3.desktop.in: minor updates from glade-2.
|
|
* Makefile.am: remove .dektop file on make clean.
|
|
* src/glade-property.[ch]: ifdef out the ->child member since it's
|
|
unused. Remove glade_property_get_* since they are not needed.
|
|
* src/glade-widget.[ch]: move here the get_property_by_id function and
|
|
simplify the get_property_by_class. Use apply_property_from_node also
|
|
for packing properties.
|
|
* src/glade-gtk.c: fixups for the above changes.
|
|
* src/glade-editor.c: ditto.
|
|
* src/glade-types.h: remove GladePaletteSelection.
|
|
|
|
2003-10-31 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-utils.[ch]: remove unused function.
|
|
* src/glade-widget.c: remove duplicated header include.
|
|
|
|
2003-10-31 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-gtk.c: remove not needed functions.
|
|
* src/glade-property-class.[ch]: get rid of updated_signlas, it was
|
|
unused, broken and glade-2 doesn't work like that anyway.
|
|
* src/glade-widget-class.c: update for the above.
|
|
* src/glade-widget.c: update for the above. Also return FALSE on the
|
|
key_pressed callback so that it is possible to type in a GtkEntry.
|
|
* src/glade.h: update for the above.
|
|
* widgets/gtkentry.xml: remove.
|
|
* widgets/gtktogglebutton.xml: update for the above.
|
|
* widgets/gtkcheckbutton.xml: ditto.
|
|
* widgets/gtk-base.xml: readd the files for toggle and check buttons.
|
|
|
|
2003-10-27 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property.[ch]: janitoring; remove an old prototype and
|
|
consolidate property_new().
|
|
* src/glade-widget.c: fix up the only caller.
|
|
|
|
2003-10-27 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-gtk.c: move internal children creation to the post_create
|
|
method, since it's executed also when loading a .glade file. Implement
|
|
the get_internal_child method for GtkDialog.
|
|
* src/glade-widget-class.[ch]: add the get_internal_child method.
|
|
* src/glade-widget.c: factor out fill_from_node from new_from_node and
|
|
use it for internal children. Add glade_widget_get_internal_child.
|
|
* src/glade.h: define GLADE_TAG_GET_INTERNAL_CHILD_FUNCTION.
|
|
* widgets/gtkdialog.xml: add the get_internal_child function.
|
|
|
|
2003-10-23 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.[ch]: add glade_widget_new_for_internal_child and
|
|
add an internal field to the GladeWidget struct. Handle writing the
|
|
internal-child attribute to the glade file; reading still needs work.
|
|
* src/glade-gtk.c: create the GladeWidgets for the internal children
|
|
in dialog_fill_empty
|
|
* src/glade-placeholder.c: don't walk up the widget hierarchy when
|
|
getting the parent.
|
|
* src/glade-widget-class.h: add comment about internal children.
|
|
* src/glade-command.c: prevent internal children from being deleted.
|
|
* src/glade-utils.[ch]: implement container_get_all_children.
|
|
|
|
2003-10-22 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* widgets/gtk-base.xml: readd hseparator and vseparator since they
|
|
got lost at some point.
|
|
* widgets/gtkseparator.xml: remove since it's not needed.
|
|
|
|
2003-10-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c: refactor GladeWidget creation so that
|
|
glade_widget_new_full is the same of glade_widget_new with the only
|
|
difference that it takes care of creating the GtkWidget. Other
|
|
minor cleanups along the way.
|
|
* src/glade-command.c: call glade_widget_set_contents during the
|
|
create command as we do in the paste command.
|
|
|
|
2003-10-20 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.c (glade_editor_create_input_numeric): restore
|
|
a bit of (erroneusly?) commented out code that prevented to change
|
|
numeric properties.
|
|
|
|
2003-10-20 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.[ch]: move GladeProjectQuery here and
|
|
remove the window_title field since it doesn't make sense, e.g. you
|
|
can query for different properties in the same dialog.
|
|
* src/glade-widget.c: move QueryResult struct here and cleanup the
|
|
query logic a little.
|
|
* src/glade-property.[ch]: delete stuff moved elsewhere.
|
|
* src/glade.h: remove the WindowTitle tag.
|
|
* widgets/gtkbox.xml: remove WindowTitle.
|
|
* widgets/gtktable.xml: ditto.
|
|
* widgets/gtknotebook.xml: ditto.
|
|
|
|
2003-10-20 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c (glade_widget_query_properties): set the query
|
|
dialog title.
|
|
|
|
2003-10-15 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_new): move extend with
|
|
file after merging with parent.
|
|
* src/glade-gtk.c: implement statusbar_get/set_has_resize_grip.
|
|
* widgets/gtk-base.xml: add gtkstatusbar.xml
|
|
* widgets/gtkstatusbar.xml: add.
|
|
|
|
2003-10-15 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property-class.c: fix thinko in last commit.
|
|
|
|
2003-10-13 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade.h: remove GLADE_TAG_PARAM_SPEC. We no longer need it since
|
|
we list in the xml files only the overridden properties.
|
|
* src/glade-property-class.[ch]: add an enum_type field to hold the
|
|
GType of enum properties. glade_property_class_update_from_node: clean
|
|
up and remove the handling of ParamSpec="FALSE" since it's a leftover
|
|
from when we listed all the properties in the xml files.
|
|
glade_property_class_list_add_from_node: moved to glade-widget-class.
|
|
* src/glade-widget-class.c: add update_properties_from_node().
|
|
* widgets/*.xml: remove all the occurrencies of ParamSpec="FALSE" and
|
|
remove some other no longer needed properties.
|
|
|
|
2003-10-06 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade.h: define GLADE_TAG_REPLACE_CHILD_FUNCTION
|
|
* src/glade-widget-class.[ch]: rename the placeholder_replace method
|
|
to replace_child and get it from the xml. add_virtual_methods() is no
|
|
more.
|
|
* src/glade-placholder.[ch]: rename the replace_placeholder* functions
|
|
and move them to glade-gtk.c where they belong. add_method_to_class is
|
|
gone.
|
|
* src/glade-gtk.c: see above.
|
|
* src/glade-widget.c: fixup for the above changes.
|
|
* widgets/gtk-base.xml: extend gtknotebook with file.
|
|
* widgets/gtknotebook.xml: add ReplaceChildFunction.
|
|
* widgets/gtkcontainer.xml: ditto.
|
|
|
|
2003-10-06 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c (glade_widget_new_from_class): apply queried
|
|
properties after fill_empty.
|
|
* widgets/gtkbox.xml: remove the workaround for the bug fixed above.
|
|
|
|
2003-10-05 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade.h: define GLADE_TAG_FILL_EMPTY_FUNCTION
|
|
* src/glade-widget-class.[ch]: add the fill_empty method.
|
|
* src/glade-widget.c: substitute glade_widget_fill_empty with the
|
|
class->fill_empty method.
|
|
* src/glade-gtk.c: implement the fill_empty method for GtkContainer,
|
|
GtkDialog and GtkPaned.
|
|
* widgets/gtkcontainer.xml: added.
|
|
* widgets/gtkpaned.xml: added.
|
|
* widgets/gtkdialog.xml: add fill_empty method
|
|
* widgets/gtkbutton.xml: ditto.
|
|
* widgets/gtkbox.xml: ditto.
|
|
* widgets/gtk-base.xml: add gtkpaned and gtkcontainer.
|
|
|
|
2003-10-04 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-gtk.h: remove this file.
|
|
* widgets/gtkmessagedialog.xml: set the [gs]et functions of the tooltip
|
|
property of GtkMessageDialog to "ignore".
|
|
|
|
2003-10-04 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* TODO: update the TODO list.
|
|
|
|
2003-10-04 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-catalog.c: read the name of the plugin to be used by each
|
|
catalog and pass it to the constructor of glade-widget-class. Also
|
|
if a specific class has a specific plugin name to be used, use it instead
|
|
of the generic of the whole catalog.
|
|
* src/glade-gtk.c: remove the "static" from the functions that should
|
|
be exported, and remove the "temp hack" that was used to load the
|
|
address of the functions, as it's no more needed.
|
|
* src/glade-property-class.c: remove glade_property_class_get_{get,set}_function
|
|
and use g_module_symbol instead.
|
|
* src/glade-widget-class.c: use g_module_symbol instead of the previous {get,set}
|
|
functions. Remove unused functions. Rename glade_widget_class_new_from_name2
|
|
to glade_widget_class_new as it's the only constructor. Use the plugin
|
|
name that glade-widget-class passed to the constructor and load it.
|
|
* src/glade-widget-class.h: add a GModule* by GladeWidgetClass.
|
|
* src/glade-widget.c: remove the #include <glade-gtk.h>
|
|
* widgets/gtk-additional.xml: add the name of the plugin ("gtk") for all the
|
|
widgets on gtk-additional.
|
|
* widgets/gtk-base.xml: ditto
|
|
* widgets/gtkwidget.xml: remove the "name" tag, as it's not need.
|
|
* widgets/gtkwindow.xml: change glade_gtk_widget_{get,set}_tooltip by "ignore",
|
|
as that's what these functions do.
|
|
|
|
2003-09-02 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade.h: add the internal child tag.
|
|
* src/glade-widget.c (glade_widget): remove some g_warning I added
|
|
yesterday since they were bogus and split glade_widget_write_child
|
|
to improve readability.
|
|
(glade_widget_new_child_from_node): warn about the use of the yet not
|
|
supported InternalChild tag.
|
|
* src/glade-project-window.c: fix a segfault.
|
|
|
|
2003-09-01 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade.h: add the <requires> tag.
|
|
* src/glade-widget.c (glade_widget_write),
|
|
(glade_widget_new_from_node_real): don't abort on error, warn and
|
|
continue.
|
|
* src/glade-project.c (glade_project_new_from_node): handle the
|
|
<requires> tag more gracefully, even if it's not supported yet.
|
|
* src/glade-widget-class.c: rename get_from_name to get_by_name and
|
|
comment out the old get_by_name.
|
|
|
|
2003-08-31 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/Makefile.am: define GLADE_ICONDIR
|
|
* src/glade-project-window.c (glade_project_window_create): load the
|
|
icon.
|
|
|
|
2003-08-25 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-widget.c (glade_widget_new_from_node_real): replace call to
|
|
glade_widget_class_get_by_name to glade_widget_class_get_from_name.
|
|
Fixes .glade load bug.
|
|
|
|
2003-08-24 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_remove_duplicated_properties):
|
|
when we had a specialized property on a base widget class, if this property
|
|
was the first one on the list of properties, the whole list was removed.
|
|
|
|
2003-08-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.[ch]: remove the tree structure (GladeWidget->parent
|
|
and GladeWidget->children) from struct GladeWidget: gtk holds that info
|
|
for us.
|
|
* src/glade-project.[ch]: adapt for the above, it allows to simplify
|
|
add_widget and remove_widget.
|
|
* src/glade-command.c: adapt for the above changes.
|
|
* src/glade-project-view.c: ditto.
|
|
* src/glade-popuc.c: ditto.
|
|
* src/glade-editor.c: ditto.
|
|
* src/glade-gtk.c: ditto.
|
|
* src/glade-widget-class.c (glade_widget_class_new_from_name2): load
|
|
child properties.
|
|
|
|
2003-08-20 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.c (glade_project_view_add_columns): new
|
|
function which adds a pixbuf renderer to display an icon next to the
|
|
widget name.
|
|
(glade_project_view_init): use the above.
|
|
* src/glade-clipboard-view.[ch]: swith from TreeStore to ListStore.
|
|
(glade_clipboard_view_populate_model): simplifification.
|
|
(glade_clipboard_view_create_tree_view): dispaly icon.
|
|
|
|
2003-08-18 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* widgets/gtktable.xml (<WindowTitle>): s/New vertical box/table.
|
|
* widgets/gtkbox.xml (<Tooltips>): s/columns/items.
|
|
|
|
2003-08-17 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.c (glade_project_view_populate_model_real):
|
|
do not use GladeWidget->children to populate the model.
|
|
|
|
2003-08-15 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-parameter.c: set 0.01 as the step for float and double parameters.
|
|
* src/glade-widget-class.c: parse the PostCreateFunction value on
|
|
glade_widget_class_extend_with_file.
|
|
* widgets/gtkwindow.xml: put again the PostCreateFunction to set a reasonable
|
|
default size for a window.
|
|
* widgets/gtkmessagedialog.xml: reuse this xml file.
|
|
* widgets/*.xml: remove some unneed tags, as name and generic_name, as now
|
|
there are defined on gtk-base and gtk-additional.xml files.
|
|
|
|
2003-08-14 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget-class.[ch]: reapply minor cleanups after Joaquin's
|
|
merge.
|
|
* src/glade-project.c (glade_project_remove_widget_real):the
|
|
remove_widget signal should pass a GladeWidget as data, not a GtkWidget.
|
|
2003-08-08 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project.c (glade_project_open): set project->changed=FALSE.
|
|
|
|
* src/glade-widget.c (glade_widget_new_child_from_node): minor code
|
|
cleanup.
|
|
|
|
2003-08-07 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-gtk.c (glade_gtk_notebook_set_n_pages): when number of
|
|
pages decrease delete widget and remove from project. Works now.
|
|
|
|
2003-08-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-catalog.[ch], glade-palette.c: Specify the order in which
|
|
the catalogs should appear on the palette (read it from
|
|
widgets/glade-palette.xml). Also changed a bit the format of
|
|
the catalogs.
|
|
* src/glade-parameter.[ch], glade-property-class.[ch], glade-widget-class.[ch],
|
|
glade-widget.c, glade-xml-utils.h: Inherit properties specified on a
|
|
xml file from a base class to an inherited class. It makes possible
|
|
to specify something special for (for instance) GtkWidget, and
|
|
make it inherit for each GtkWidget.
|
|
* widgets/glade-palette.xml: specify the order of the catalogs.
|
|
* widgets/gtkwidget.xml, gtkbox.xml: specify common properties for
|
|
gtkwidgets and gtkboxes. Coupled with the above changes, it
|
|
makes almost every xml file obsolete.
|
|
|
|
2003-08-07 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-utils.[ch]: remove dependency on glade-project-window.h.
|
|
* src/glade-project-window.c: fix for the above.
|
|
* src/glade-widget.c: fix for the above.
|
|
* src/glade-command.c: fix for the above.
|
|
|
|
2003-08-06 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.c: remove dependency on glade-project-window.h.
|
|
|
|
2003-08-05 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-property.c (glade_property_set): when using custom
|
|
set_function, copy the GValue for the property. Fixes a couple of bugs.
|
|
|
|
* src/glade-widget.c (glade_widget_new_from_node_real): set properties
|
|
after setting children.
|
|
|
|
2003-08-05 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget-class.[ch]: use GtkImage for the widget icon.
|
|
* src/galde-palette.c: replace deprecated stuff.
|
|
* src/glade-editor.c: ditto.
|
|
|
|
2003-08-04 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-widget.c (glade_widget_query_properties): have the buttons
|
|
appear in "Cancel" "Ok" order as per HIG.
|
|
|
|
2003-08-03 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project.[ch]: convert from GtkObject to GObject.
|
|
* src/glade-placeholder.c: fix deprecated stuff.
|
|
* src/glade-project-view.c: ditto.
|
|
|
|
2003-08-03 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project.[ch]: turn the list
|
|
of widgets making up a project from a list
|
|
of GladeWidgets to one of GtkWidgets. Also
|
|
cleanup project_write a little.
|
|
* src/glade-project-view.c: update for the
|
|
above change.
|
|
* src/glade-project-window.c: ditto.
|
|
|
|
2003-08-01 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.c: make tooltips work
|
|
on the labels in the editor.
|
|
|
|
2003-07-30 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c: read the widget name
|
|
from the xml file and minor cleanups.
|
|
* src/glade-property-class.[ch]: move
|
|
create_label to editor.c.
|
|
* src/glade-editor.c: see above.
|
|
|
|
2003-07-27 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget-class.[ch]: turn
|
|
post_create_function in a method. Some
|
|
other cleanups.
|
|
* src/glade-widget.c: update for the above
|
|
|
|
2003-07-26 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property.[ch]: generalize
|
|
set_property taking adavantage of GValue.
|
|
* src/glade-widget.c: update for the above
|
|
|
|
2003-07-26 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget-class.[ch]: introduce
|
|
child_properties to get packing properties
|
|
from the GObject system.
|
|
* src/glade-widget.[ch]: separate packing
|
|
properties from normal properties and
|
|
take advantage of the above.
|
|
* src/glade-editor.c: update for the above
|
|
* src/glade-property.c: ditto.
|
|
* src/glade-command.c: ditto.
|
|
* src/glade-catalog.c: ditto.
|
|
* src/main.c: ditto.
|
|
|
|
2003-07-25 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.[ch]: simplify
|
|
replace_with_placeholder api.
|
|
* src/glade-command.c: adapt for the above
|
|
|
|
2003-07-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* main.c: move log stuff to debug.c
|
|
* src/glade-debug.[ch]: see above.
|
|
* src/glade-palette.c: small cleanup.
|
|
|
|
2003-07-17 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c: fix widget_free, it
|
|
should not recurse. Fix logic of property
|
|
query.
|
|
* src/glade-project-window.c: fix close
|
|
properly (hopefully).
|
|
* src/glade-command.c: fix segfault on
|
|
widget creation.
|
|
|
|
2003-07-11 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: fix warning.
|
|
|
|
2003-07-08 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: add the
|
|
WINDOW_TYPE_HINT_UTILITY to the palette, the
|
|
editor and the widget tree.
|
|
* src/glade-clipboard-view.c: ditto for
|
|
the clipboard; GtkObject -> GObject along
|
|
the way.
|
|
|
|
2003-07-07 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade.h: add GLADE_PROPERTY_TYPE_FLAGS.
|
|
* src/glade-editor.c: ditto.
|
|
* src/glade-property.[ch]: ditto.
|
|
* src/glade-property-class: ditto.
|
|
* src/glade-placeholder: remove unused include.
|
|
|
|
2003-07-06 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c: handle the delete event
|
|
in the properties query dialog.
|
|
* src/glade-widget-class.c: fix two of leaks.
|
|
|
|
2003-07-03 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-command.[ch]: simplify set_property
|
|
command, remove gvalue_to_string.
|
|
* src/glade-editor.c: update for the above.
|
|
|
|
2003-07-02 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property.[ch]: move here and semplify
|
|
property_refresh. Move widget property list
|
|
creation to widget.c.
|
|
* src/glade-widget.c: see above.
|
|
* src/glade-property-class.[ch]: factor out
|
|
property_class_new_from_spec and move
|
|
list_properties to widget-class.c.
|
|
* src/glade-widget-class.c: see above.
|
|
* src/glade-editor.c: small cleanup.
|
|
|
|
2003-06-30 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: on close, hide the
|
|
widgets instead of destroying them.
|
|
* src/glade-editor.c: small cleanup
|
|
|
|
2003-06-27 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: make the palette
|
|
unsensitive when there are no projects.
|
|
* src/glade-project-view: remove some dead code.
|
|
|
|
2003-06-25 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget.c: make glade_widget_write handle
|
|
placeholders.
|
|
|
|
2003-06-23 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-placeholder.[ch]: remove some dead code.
|
|
* src/glade-widget.c: minor janitoring.
|
|
|
|
2003-06-22 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-menu-editor.[ch]: misc janitorials, mainly
|
|
moving stuff around to eliminate prototypes.
|
|
|
|
2003-06-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-placeholder.c: fix return values for mouse
|
|
events callbacks.
|
|
* src/glade-project-window.[ch]: when selecting a widget
|
|
of another project the current project change.
|
|
* src/glade-widget.c: remove unused var.
|
|
|
|
2003-06-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-placeholder.c: remove unused function.
|
|
* src/glade-utils.c: fix indentation and such.
|
|
* src/glade-widget.c: remove unused function.
|
|
|
|
2003-06-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/main.c: try to fix the unix build.
|
|
|
|
2003-06-19 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-utils.[ch]: implement {add,remove,has}_nodes,
|
|
to add,remove,test nodes to any GtkWidget (used to
|
|
select or deselect a widget).
|
|
|
|
* src/glade-widget.[ch]: remove the selected flag, use
|
|
glade_util_has_nodes instead. Also remove the handler
|
|
on expose events, use add_nodes instead. The handler has
|
|
been fixed, now it draws on the double buffered window.
|
|
|
|
* src/glade-placeholder.[ch]: remove the selected_placeholder
|
|
flag. Remove the handler on expose events to draw the nodes,
|
|
use add_nodes instead. The handler to draw the border has
|
|
been fixed, as now it returns false instead void (it was
|
|
undetermined if the event was propaged after this handler
|
|
or not).
|
|
|
|
* src/glade-project*, glade-editor.c, glade-packing.c,
|
|
glade-command.c, glade-popup.c: account for the above changes.
|
|
|
|
2003-06-19 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-signal-editor.c: plug my leaks.
|
|
* src/glade-widget.c: remove glade_widget_update_signal.
|
|
* src/glade-signal.c: add signal_compare.
|
|
* src/glade-project: when removing a widget, also remove
|
|
it from its parent's children list.
|
|
|
|
2003-06-18 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-signal.[ch]: implement signal_new_from_node.
|
|
* src/glade-widget.c: use the above: we can read signal
|
|
from saved files.
|
|
|
|
2003-06-18 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.c: set loaded_widget to NULL on clear.
|
|
|
|
2003-06-17 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.[ch]: add signal related functions.
|
|
* src/glade-signal.[ch]: add glade_signal_new.
|
|
* src/glade-signal-editor.[ch]: use the above functions.
|
|
Also some ui love and misc code cleanups.
|
|
|
|
2003-06-15 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-property.[ch]: gtk_object -> g_object cleanup.
|
|
|
|
2003-06-14 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-gtk.c: first step at making the gtknotebook
|
|
work... at list now it displays.
|
|
* src/glade-placeholder: fix an assert related to the
|
|
above change.
|
|
|
|
2003-06-13 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.[ch]: simplify how a widget is loaded
|
|
into the editor.
|
|
* src/glade-project-window.c: update for the above.
|
|
* src/glade-project-view.c: connect to the row-activated
|
|
signal instead of button-press.
|
|
|
|
2003-06-13 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-gtk.c: fix changing the size of a box.
|
|
|
|
2003-06-13 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.c: hide the tree view header in
|
|
the main window.
|
|
|
|
2003-06-12 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-palette.c: hide notebook border.
|
|
|
|
2003-06-11 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-view.[ch]: GObjectified it and made it a
|
|
subclass of a gtkScrolledWindow.
|
|
* src/glade-project-window.c: update for the above.
|
|
|
|
2003-06-09 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-palette.h: remove palette->project_window.
|
|
* src/glade-project-window.c: update for the above.
|
|
|
|
2003-06-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-command.c: Fix the ref/unref of widgets on creation,
|
|
destruction, copy & paste.
|
|
|
|
2003-06-07 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-clipboard.[ch]: (cleanup) moved cut/copy logic to the
|
|
corresponding functions in command.c, as they were only called
|
|
there and since makes code similar to the create/delete commands.
|
|
Renamed clipboard_copy to clipboard_add_copy. Now the API for
|
|
a clipboard are: add, add_copy and remove.
|
|
clipboard->curr was set to null when removing a widget, now it
|
|
is set to the first widget of the clipboard->widgets list.
|
|
|
|
* src/glade-command.c: above explained changes to cut/paste,
|
|
cleanup/fix create/delete in ways similar to the cut/paste commands.
|
|
|
|
* src/glade-placeholder.c: misc cleanups, in particular add
|
|
g_return_of_fail to check the args of the functions we expose as APIs.
|
|
|
|
2003-06-05 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-project-window.c: escape the underscores on the project
|
|
name, to prevent gtk+ from using them as accelerators in the menu.
|
|
(Bug signaled by Bas Driessen.)
|
|
|
|
* src/glade-util.[ch]: create a function to duplicate the underscores
|
|
on a string.
|
|
|
|
2003-05-31 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget.c: free the resources allocated by a GladeWidget
|
|
when the associated GtkWidget is destroyed.
|
|
|
|
2003-05-31 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.[ch]: make refresh_undo_redo function
|
|
take void arg. Reorder some code.
|
|
* src/glade-command.c: update for the above
|
|
* src/glade-command.[ch]: rework the create/delete command; now it
|
|
calls glade_widget_new_from_class instead of being called by it.
|
|
* src/glade-widget.[ch]: cleanup widget creation.
|
|
* src/glade-project-window.c: update for the above.
|
|
* src/glade-property.c: ditto.
|
|
* src/glade-placeholder: remove glade_placeholder_replace_widget,
|
|
use glade_command_create_widget instead.
|
|
|
|
2003-05-23 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-placeholder.c: Make the placeholder work better on any
|
|
container. Still some issues remain with undo/redo.
|
|
|
|
2003-05-23 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-clipboard: get the project from the placeholder parent,
|
|
this way we don't need to include glade-project-window.h.
|
|
|
|
2003-05-18 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-placeholder.c: Made glade_holder_replace independent of
|
|
the exact container type.
|
|
|
|
2003-05-17 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-clipboard-view.[ch]: do not include
|
|
glade-project-window.h and some minor cleanups
|
|
|
|
2003-05-17 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-clipboard.c: no need to call glade_editor_select_widget,
|
|
as it is already called when the selection_changed signal is
|
|
emitted. Move gpw->active_placeholder = NULL in the signal handler
|
|
in glade-project-window.c.
|
|
* src/glade-project.[ch]: decouple the project object from
|
|
glade-project-window.
|
|
* src/palette.[ch]: make the palette emit a signal when the user
|
|
choose a widget class instead of directly messing with the current
|
|
project.
|
|
* src/glade-project-window.[ch]: move here the things removed
|
|
from glade-project. Slightly change some APIs. Connect a handler
|
|
to the above signal. See also changes on glade-clipboard.c
|
|
* src/main.c: update for the above.
|
|
|
|
2003-05-14 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-project-window.[ch]: Make the undo/redo toolbar items
|
|
insensitive when there are no undo/redo actions on the stack.
|
|
* src/main.c: fix a compiler warning.
|
|
|
|
2003-05-14 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget.c: Change the way we load containers. Instead of
|
|
creating the container, then filling it with placeholders, and then
|
|
replace selectively the placeholders by the children we find on the
|
|
xml file, we create the container, add the children we find, and
|
|
we complete with placeholders. At the same time, I changed the
|
|
requeriments on the xml file to remain compatible with glade-2 format.
|
|
* src/glade.h: Added GLADE_XML_TAG_PLACEHOLDER to keep compatibility
|
|
with glade-2 xml's format.
|
|
* src/main.c: register a bunch of transformations from strings to
|
|
various fundamental GTypes, to be able to read from a string to a
|
|
GValue just using g_value_transform.
|
|
* src/glade-transform.[ch]: transformations from string to various
|
|
fundamental GTypes.
|
|
|
|
2003-05-12 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* src/glade-editor.c: Change the packing in the load_*_page functions
|
|
to set expand to FALSE.
|
|
|
|
2003-05-12 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: implement close project.
|
|
* src/glade-project-view.c: fix glade_project_view_set_project () if
|
|
project is NULL.
|
|
|
|
2003-05-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-command.c: fix cut & paste undo commands. We should
|
|
not free the widget cutted when we destroy the cut command, as
|
|
we only destroy it when it's remove from the undo stack, so
|
|
it's undoed, and the widget is still used.
|
|
* src/glade-popup.c: fix the paste command when used from the
|
|
popup menu. It's was putting on the undo stack the widget over
|
|
which we were pasting instead of the widget pasted.
|
|
|
|
2003-05-09 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-popup.c: hoverhowl the popup menu so that code is
|
|
saner and follows the same codepaths of Cut/Copy etc in main
|
|
menu. As a nice side effect item now have icon and mnemonics.
|
|
* src/glade-widget.[ch]: remove remnant of the above work
|
|
* src/glade-placeholder.[ch]: ditto
|
|
* src/glade-gtk.c: update for the above
|
|
* src/glade-project-window.c: update for the above
|
|
|
|
2003-05-08 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project.c: fix glade_project_new_from_node so that it
|
|
actually loads widgets from xml files.
|
|
|
|
2003-05-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-placeholder.c, src/glade-property.c,
|
|
src/glade-utils.[ch], src/glade-widget.c, src/glade-xml-utils.[ch]:
|
|
fix a bunch of memleaks on error conditions, change the name
|
|
of the properties from '_' to '-' when read from the xml file
|
|
(and when we write it to a xml file), remove the need of a packing
|
|
property on each child node.
|
|
|
|
2003-05-04 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.[ch]: gtk_object -> g_object conversion
|
|
* src/glade-project.[ch]: remove glade_project_get_active
|
|
* src/glade-editor.c: ditto
|
|
* src/glade-palette.c: update for the above & remove deprecated function
|
|
* src/glade-project-window.c: update for the above
|
|
* src/glade-menu-editor.c: on delete event hide the keys dialog
|
|
instad of destroying it
|
|
|
|
2003-05-01 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-keys-dialog.[ch]: init of the keys dialog.
|
|
* src/glade-menu-editor.c: idem.
|
|
|
|
2003-05-01 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-editor.[ch]: changes to undo & redo on changes to the widget
|
|
name.
|
|
* src/glade-command.[ch]: Idem.
|
|
* src/glade-project-window.c: Idem.
|
|
* src/glade-property.c: Idem.
|
|
|
|
2003-05-01 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget.c: put glade_command_create after
|
|
glade_widget_new_from_class_full, so that glade_command_create still
|
|
does gtk_widget_show, and we have no assert on window creation.
|
|
|
|
2003-05-01 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-palette.[ch]: fix GLADE_PALETTE macro and misc cleanups.
|
|
* src/glade-project-window.c: cleanups.
|
|
* src/glade-placeholder.c: add missing include and some cleanups.
|
|
|
|
2003-04-25 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-clipboard-view.c (glade_clipboard_view_remove): remove
|
|
widget based on the pointer, not selection.
|
|
|
|
* src/glade-clipboard.c (glade_clipboard_add): set clipboard->curr
|
|
to the widget added.
|
|
(glade_clipboard_cut): return placeholder.
|
|
(glade_clipboard_paste): set active_placeholder = NULL. Stops crashes
|
|
when undo/redo-ing cut/paste.
|
|
|
|
* src/glade-command.c (glade_command_create_execute): show all widgets.
|
|
Previously forgot to show the contents.
|
|
|
|
2003-04-22 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/main.c: remove the command line that you usually get on a
|
|
windows build.
|
|
* src/glade-editor.c: cosmetic change.
|
|
|
|
2003-04-22 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-command.c: fix the assert you get each time you add a
|
|
new toplevel window.
|
|
* src/glade-editor.c: remove glade_editor_hide_on_delete.
|
|
|
|
2003-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-editor.c: fix a crash when you remove a item from a window.
|
|
The crash was introduced by me when doing the menu bar editor.
|
|
|
|
2003-04-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.[ch]: previous patch to add scrollbars was broken,
|
|
do things properly.
|
|
|
|
2003-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-property-class.c: kill some compiler warnings.
|
|
* src/glade-parameter.c: ditto.
|
|
* src/glade-project-view.c: ditto.
|
|
* src/glade-widget.c: ditto.
|
|
|
|
2003-04-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-widget.c: move here the query_property functions
|
|
* src/glade-project-window.[ch]: removed the above, those functione
|
|
belong to glade-widget.c
|
|
|
|
2003-04-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-editor.[ch]: remove glade_editor_create().
|
|
* src/glade-utils.[ch]: remove glade_util_hide_window_on_delete(),
|
|
reimplemented glade_util_hide_window() so that it does not use
|
|
deprecated functions; it now returns void.
|
|
* src/glade-project-window.c: updated the callers.
|
|
* src/glade-menu-editor.c: updated the callers.
|
|
|
|
2003-04-17 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-project-window.c: modify the confirmation dialog on quit
|
|
to fit better the HIG.
|
|
|
|
2003-04-16 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-placeholder.c: fix an assertion.
|
|
* src/glade-editor.c: Add scrollbars to the properties editor.
|
|
* src/glade-project.[ch]: properly clear the changed flag on save; make
|
|
open/save functions return TRUE on success.
|
|
* src/glade-project-window.c: implement a confirmation dialog to be
|
|
displayed on quit if any open project need saving.
|
|
|
|
2003-04-16 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-catalog.c: Ported to win32.
|
|
* src/glade-palette.c: Ported to win32.
|
|
* src/glade-placeholder.c: Ported to win32.
|
|
* src/glade-property-class.c: Ported to win32.
|
|
* src/glade-widget-class.c: Ported to win32.
|
|
* src/glade-xml-utils.c: Ported to win32.
|
|
* src/glade-main.c: Ported to win32.
|
|
* config.h.win: config file for win32. Rename it to config.h before
|
|
trying to compile on windows.
|
|
|
|
2003-04-04 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project-window.c (gpw_cut_cb): use glade_command_cut().
|
|
(gpw_paste_cb): use glade_command_paste().
|
|
* src/glade-placeholder.c (glade_placeholder_paste_cb): likewise.
|
|
* src/glade-widget.c (glade_widget_cut): likewise.
|
|
|
|
2002-05-26 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-command.c (glade_command_cut_paste_*): cut/paste through
|
|
the undo/redo system.
|
|
|
|
2003-04-02 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-menu-editor.c: Fix the segfault when adding a new menu item.
|
|
|
|
2003-04-02 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-utils.[ch]: implement glade_util_flash_message()
|
|
* src/glade-project.[ch]: use the above to display "Project Saved"
|
|
in the statusbar.
|
|
|
|
2003-04-02 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-utils.[ch]: iplement glade_util_file_selection_new()
|
|
* src/glade-project-window.[ch]: use the above Open, Save, Save as.
|
|
* src/glade-project.[ch]: file selection moved to glade-project-window,
|
|
clean-ups and fixes.
|
|
* src/glade-project-ui.[ch]: is no more.
|
|
* src/glade-menu-editor.[ch]: adapt the icon file selector.
|
|
|
|
2003-04-02 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-menu-editor.c: Several changes to the menu editor. Now it
|
|
even segfaults on the creation of a new menu item :-)
|
|
|
|
2003-03-29 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-editor.c: Now we don't create a new "Edit Menus..." button
|
|
each time we try to edit a menu bar.
|
|
* src/glade-gtk.[ch]: idem
|
|
* src/glade-menu-editor.[ch]: idem
|
|
|
|
2003-03-27 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project.[ch]: make glade_project_open_from_file() static
|
|
and fix the callers. This fixes the (unlikely) case of passing the
|
|
same file more than once on the command line.
|
|
|
|
2003-03-25 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-gtk.c: create a "Edit Menus..." button that... surprise!
|
|
pops up the menu editor.
|
|
* src/glade-editor.c: append the "Edit Menus..." button to the widget
|
|
table when the class of the widget is "GtkMenuBar".
|
|
|
|
2003-03-21 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: show menu tips in the statusbar
|
|
* src/glade-project-window.c: add undo/redo to the toolbar
|
|
|
|
2003-03-20 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-keys-dialog.[ch]: Dialog box that appears when the user
|
|
wants to select a shortcut key for a menu item. Copied from glade-2
|
|
and commentted parts that offended the compiler :-)
|
|
* src/glade-menu-editor.[ch]: Menu editor copied from glade-2.
|
|
Big chunks are #if 0'ed. That's just a first version. I don't even
|
|
know if it will show on the screen without crashing.
|
|
|
|
2003-03-15 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project.c: don't warn on save file selector "cancel"
|
|
|
|
2003-03-14 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: remove gpw_keypress_widget_tree_cb
|
|
* src/glade-project-window.c: use proper stock icon for "save as"
|
|
|
|
2003-03-13 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: turn also the "Show Clipboard" menu item
|
|
into a toggle item.
|
|
* src/glade-clipboard.[ch]: removed glade_clipboard_create() and
|
|
glade_clipboard_show_view(), replaced by equivalent static functions
|
|
in glade-project-window.c where they belong.
|
|
|
|
2003-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-property-class.c: fix a memory leak, and remove yet another
|
|
spurious warning.
|
|
|
|
2003-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-project-view.c: remove spurious warning.
|
|
* src/glade-project.c: fix a crash and several asserts when creating
|
|
a window, and undoing & redoing the operation.
|
|
|
|
2003-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-property-class.c: remove spurious warnings.
|
|
|
|
2003-03-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-gtk.c: rename glade_gtk_adjustment_set_* to
|
|
glade_gtk_spin_button_set_*, as these functions will only
|
|
be useful for GtkSpinButton's
|
|
* widgets/gtkspinbutton.xml: expose directly the properties
|
|
that were before available only through the inner adjustment.
|
|
|
|
2003-03-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-project.c: remove the use of glade_util_path_is_writable.
|
|
* src/glade-utils.[ch]: remove glade_util_path_is_writable.
|
|
|
|
2003-03-10 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window: turned items in the "View" menu
|
|
(except "Show Clipboard") into toggle items. Some code cleanups
|
|
along the way.
|
|
|
|
2003-03-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-command.c: if we create a non GtkWidget (as a GtkAlignment)
|
|
we should not call gtk_widget_show on it.
|
|
* src/glade-property.c: handle the case where the text passed to
|
|
glade_property_set_string is NULL.
|
|
* src/glade-property-class.c: fix a typo.
|
|
|
|
2003-03-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-projects.c: fix an assertion due to the double insertion
|
|
of new widgets on the selected list.
|
|
|
|
2003-03-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal-editor.[ch]: inform glade-editor when a new
|
|
signal has been added.
|
|
* src/glade-editor.[ch]: broadcast a new "add_signal" signal
|
|
when the user creates a new signal for the selected widget.
|
|
* src/main.c: add a #include <locale.h> for the setlocale function.
|
|
|
|
2003-03-06 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-palette.[ch]: convert the palette to a "non window"
|
|
widget.
|
|
* src/glade-editor.[ch]: likewise for the properties dialog box.
|
|
* src/glade-project-window.c: little changes to wrap the palette
|
|
and the properties on a toplevel window.
|
|
* src/glade-project-view.h: fix a typo on a comment
|
|
|
|
2002-04-29 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project-window.c
|
|
(glade_project_window_selection_changed_cb): set gpw->active_widget.
|
|
|
|
2002-04-28 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project-window.c (gpw_copy_cb): implemented.
|
|
(gpw_cut_cb, gpw_paste_cb): likewise.
|
|
(gpw_save_cb): don't refresh title, on error.
|
|
(gpw_save_as_cb): likewise.
|
|
|
|
* src/glade-utils.c (glade_util_ui_warn): new function.
|
|
|
|
* src/glade-clipboard.c (glade_clipboard_paste): support pasting of
|
|
toplevel widgets.
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_on_button_press_event):
|
|
set active placeholder.
|
|
(glade_placeholder_draw_selection_nodes): new function.
|
|
|
|
2002-04-27 Carlos Perello Marin <carlos@gnome-db.org>
|
|
|
|
* configure.in: Fixed the pixmap location.
|
|
|
|
2002-04-27 Carlos Perello Marin <carlos@gnome-db.org>
|
|
|
|
* Makefile.am, configure.in, src/glade-packing.c,
|
|
src/glade-project-window.c, src/glade-widget-class.c,
|
|
src/main.c: Changed all references from glade2 to glade3
|
|
* glade-2.desktop.in: Renamed to glade-3.desktop.in
|
|
* glade-2.png: Renamed to glade-3.png
|
|
* configure.in: Changed all references from glade2 to glade3 and added
|
|
version number to the directory where all data is stored.
|
|
Updated the version to 2.1.90
|
|
|
|
2002-04-16 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project.c (glade_project_check_previously_loaded): new.
|
|
(glade_project_open): call above.
|
|
|
|
2002-04-14 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project.c (glade_project_update_menu_path): new function.
|
|
(glade_project_refresh_menu_item): likewise.
|
|
(glade_project_new, glade_project_open): update the menu item.
|
|
(glade_project_save, glade_project_save_as): likewise.
|
|
|
|
2002-04-13 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project.c (glade_project_save): update project->name.
|
|
(glade_project_save_as): likewise.
|
|
(glade_project_open_from_file): likewise.
|
|
|
|
* src/glade-project-window.c (glade_project_window_refresh_title): new.
|
|
(gpw_save_cb): update title.
|
|
(gpw_save_as_cb): likewise.
|
|
|
|
* src/glade-clipboard.c (glade_clipboard_paste): removed call to
|
|
glade_widget_create_gtk_widget ().
|
|
|
|
2002-04-12 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-project.c (glade_project_save_as): new function.
|
|
|
|
* src/glade-project-window.c (gpw_save_as_cb): implemented.
|
|
|
|
2002-04-11 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-clipboard-view.c (glade_clipboard_view_populate_model):
|
|
don't add children.
|
|
|
|
2002-04-11 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* src/glade-widget.c: hack to hide the "nodes not drawing at the
|
|
right time" problem. The bug is still visible sometimes, but much
|
|
less now.
|
|
|
|
2002-04-08 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-clipboard-view.c (glade_clipboard_view_populate_model):
|
|
changed GtkTreeStore to hold pointers, not strings, as earlier.
|
|
|
|
2002-04-06 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-widget.c (glade_widget_clone): new function.
|
|
|
|
2002-04-03 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-widget.c (glade_widget_replace_with_placeholder): return
|
|
the created Placeholder, for callers to use. Toned it down a bit too.
|
|
Changed all callers.
|
|
|
|
* src/glade-clipboard.c (glade_clipboard_paste): changed call to
|
|
gtk_widget_show to gtk_widget_show_all to show all the children too.
|
|
Also load the "Paste"d widget in the editor.
|
|
|
|
* src/glade-project.c (glade_project_remove_widget_real): unset pointer
|
|
to project in the GladeWidget.
|
|
(glade_project_add_widget_real): new function.
|
|
(glade_project_add_widget): call above.
|
|
|
|
|
|
2002-04-01 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* src/glade-editor.c, glade-command.[ch],
|
|
glade-property-class.[ch], glade-property.[ch],
|
|
glade-widget-class.[ch]: Implementation of set & get of unichar
|
|
values + fixes loading and saving + unicode bugfixes + random
|
|
bugfixes.
|
|
|
|
2002-03-28 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* src/glade-command.[ch]: Now the undo/redo system also takes in
|
|
account creation and destruction of widgets. Also undo of
|
|
setting a text property now works.
|
|
* src/glade-widget.[ch]: ditto.
|
|
* src/glade-project-window.c: The undo/redo menu items are
|
|
inactive and showing the text "Undo: Nothing" at startup.
|
|
|
|
2002-03-27 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* src/glade-command.[ch]: if you push several undo items, and they
|
|
can "unify", they will "unify" (or "collapse"). For instance, if
|
|
you change the value of a number with a spinbutton from 0.1 to 0.5
|
|
(0.1, 0.2, 0.3, 0.4, 0.5), the undo item will be "set this property
|
|
to 0.1", instead of having 4 undo items. When you
|
|
undo/redo/push_undo the GUI will be notified.
|
|
* src/glade-project-window.[ch]: The undo/redo menu item are
|
|
enabled only if there is something to undo/redo, and the menu
|
|
items will show a description about the action.
|
|
|
|
2002-03-27 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* src/glade-command.[ch]: infinite undo-redo system.
|
|
* src/glade-editor.c: ditto.
|
|
* src/glade-project-window.c: ditto.
|
|
* src/glade-project.[ch]: ditto.
|
|
* src/glade-property.[ch]: cosmetic changes + const fixes.
|
|
* src/glade-types.h: prevent multiple includes of this file.
|
|
* src/glade-debug.h: little macro g_debug to print debug messages
|
|
only if DEBUG is defined.
|
|
|
|
2002-03-25 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* src/glade-xml-utils.c: use xmlDocGetRootElement(doc) instead of
|
|
just doc->children to get the root of the document. This way, the
|
|
files will be read right event if it has comments or pi before the
|
|
root element itself.
|
|
|
|
* src/glade-project-window.c: Added "Delete" keybinding to delete
|
|
action.
|
|
|
|
2002-03-22 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-widget.c (glade_widget_replace_with_placeholder): new
|
|
function. This piece if code was badly needed as a seperate function.
|
|
Changed all callers.
|
|
(glade_widget_delete): call above.
|
|
|
|
2002-03-20 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-widget.c: fixed a small bug. Thanks Justin Zaun.
|
|
|
|
2002-03-12 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-clipboard-view.c (glade_clipboard_view_remove): check for
|
|
return value of gtk_tree_selection_get_selected. Fixed nasty bug.
|
|
|
|
2002-03-04 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* glade-placeholder.c: includes to fix warnings, and implementation
|
|
of the popup menu of the placeholder.
|
|
* glade-popup.[ch]: popup menu for the placeholder plus a little
|
|
reorganisation of the code to share implementation of the general
|
|
popup menu and the placeholder one.
|
|
* glade-property.c: silent g_print.
|
|
* glade-widget.c: defined g_debug to g_print if DEBUG is defined,
|
|
defined to void otherwise. I was tracking the "can not select GtkLabels"
|
|
bug when I did this change, and now I'm not able to reproduce anymore
|
|
the bug. Dunno what's going on...
|
|
|
|
2002-03-02 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* glade-choice.c (glade_choice_list_new_from_node): Now you don't need
|
|
to tweak glade_enum_from_string just to be able to use a new item
|
|
in an enum. Glade will automatically assign a new value to each item.
|
|
* glade-choice.c (glade_enum_from_string): Commented out the cases glade-none,
|
|
gtk-ok & gtk-cancel, not needed any more due to the precedent fix.
|
|
* glade-property-class.c (glade_property_class_update_from_node): Fixed
|
|
the Enum properties that used a custom set or get function (the custom
|
|
set function was never being used). It fixes, for instance, the gtk-button
|
|
stock property.
|
|
* gtkbutton.xml: Added access to two other stock buttons (apply & close).
|
|
|
|
2002-02-28 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* glade-widget.c (glade_widget_key_press): Fixed segfault when
|
|
deleting two or more object in a row.
|
|
|
|
2002-02-28 Joaquín Cuenca Abela <cuenca@pacaterie.u-psud.fr>
|
|
|
|
* glade-widget.c: Delete key deletes selected widgets. I've also
|
|
fixed the selection in Selectors (File/Font/Color/...).
|
|
* glade-widget.c (glade_widget_create_gtk_widget): Commentted out
|
|
the timeouts in this function. With 1.3.12 everything is drawed ok,
|
|
and these timeouts where producing a segfault if you tried to delete
|
|
an item before 1 sec has ellapsed since the creation of the widget.
|
|
* glade-gtk.c: Removed redundancies in the "functions" array.
|
|
* glade-placeholder.c: Added missing include.
|
|
* glade-project-view.c (glade_project_view_selection_changed_cb):
|
|
Fixed segfault when deleting a window that was also selected in
|
|
the glade-project-view.
|
|
|
|
2002-01-29 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* Makefile.am: Install .desktop file into the proper location for
|
|
GNOME2 (PREFIX/share/applications).
|
|
* glade-2.desktop.in: Renamed from glade2.desktop.in to use the same
|
|
standar as glade1 port.
|
|
Added a Categories field for GNOME 2 panel.
|
|
Tweak the Name to follow the HIG.
|
|
All those changes are a copy of the changes by Seth at glade1 port.
|
|
* glade-2.png: Added.
|
|
|
|
2002-01-13 Hasbullah Bin Pit <sebol@ikhlas.com>
|
|
|
|
* configure.in Added ms (Malay/B.Melayu) to ALL_LINGUAS.
|
|
|
|
2001-12-24 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_on_button_press_event):
|
|
on right-click, do PASTE.
|
|
|
|
* src/glade-widget.c (glade_widget_cut): implemented.
|
|
(glade_widget_copy): likewise.
|
|
|
|
* src/glade-clipboard.[ch]: new files added.
|
|
|
|
* src/glade-clipboard-view.[ch]: new files added.
|
|
|
|
2002-01-07 Zbigniew Chyla <cyba@gnome.pl>
|
|
|
|
* configure.in (ALL_LINGUAS): Added pl.
|
|
|
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
|
|
|
* configure.in: Added portuguese to ALL_LINGUAS
|
|
|
|
2001-12-07 James Willcox <jwillcox@cs.indiana.edu>
|
|
* src/glade-project-view.c (glade_project_view_widget_name_changed):
|
|
The project view tree is updated correctly now.
|
|
|
|
2001-12-06 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_dump_param_specs): Added
|
|
an option to display if a property is writable or readonly.
|
|
* widgets/gtkaccellabel.xml: properties sort && small fixes.
|
|
|
|
2001-12-03 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade.h: Added GLADE_TAG_DISABLED.
|
|
* src/glade-property-class.c (glade_property_class_update_from_node):
|
|
Added a check for properties that are disabled at .xml files.
|
|
|
|
2001-12-03 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* configure.in: Reverted my change about GETTEXT_PACKAGE. We should
|
|
use the "standar" name (glade-2.0 instead of glade-2).
|
|
* acconfig.h, configure.in, src/glade-catalog.c, widgets/Makefile.am:
|
|
/s/catalog/catalogs/ && /s/CATALOG/CATALOGS/ when we are talking about
|
|
the dir name where we store all catalogs files.
|
|
|
|
2001-12-02 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-catalog.c (glade_catalog_load): keep a list of all the
|
|
GladeWidgetClass that we loaded
|
|
|
|
* src/main.c (glade_init): s/catalog/catalogs
|
|
* src/glade-project-window.h (struct _GladeProjectWindow): ditto
|
|
* src/glade-project-window.c (glade_project_window_new): ditto
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_get_from_properties):
|
|
return GTK_BIN (parent->widget)->child if we have a GtkWindow
|
|
|
|
* src/glade-catalog.c (glade_catalog_load): constify
|
|
(glade_catalog_load_all): check if we where able to open the directory
|
|
|
|
2001-12-02 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* acconfig.h, configure.in: Added CATALOG_DIR to store catalogs
|
|
* src/glade-catalog.* (glade_catalog_load_all): Added to load
|
|
several catalogs from $prefix/share/glade/catalog/*.xml. It calls
|
|
the old glade_catalog_load with a new arg which is the catalog
|
|
file name.
|
|
* src/glade-catalog.h: Added the title gchar* to store the title
|
|
for this catalog.
|
|
* src/glade-palette.h: Added a notebook at GladePalette object.
|
|
* src/glade-palette.c (glade_palette_init): We create a notebook
|
|
to store several catalogs.
|
|
* src/glade-palette.c (glade_palette_create): Really ugly hack that
|
|
needs to be FIXED when we finish glade2 functionality. Sorry, it's a
|
|
fast hack that works.
|
|
* src/glade-palette.c (on_palette_button_toggled): Implemented, we
|
|
change the notebook page.
|
|
* src/glade-project-window.*:
|
|
* src/main.c: Instead of GladeCatalog we have now a list (GList) of
|
|
GladeCatalog.
|
|
* widgets/gtkmenubar.xml: Added some default values.
|
|
* widgets/gtk-base.xml: Added. It has the catalog for gtk2 base.
|
|
* widgets/gtk-additional.xml: Added. It has the catalog for gtk2
|
|
additional.
|
|
* widgets/catalog.xml: Removed, now we have several catalogs.
|
|
|
|
2001-12-02 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* widgets/gtkinputdialog.xml: It does not need placeholder.
|
|
|
|
2001-12-02 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* src/glade-signal-editor.c (glade_signal_editor_list_select_cb):
|
|
Updated to reflect GTK+ api changes.
|
|
* src/glade-signal-editor.c (glade_signal_editor_dialog_list_select_cb):
|
|
Updated to reflect GTK+ api changes.
|
|
|
|
2001-12-01 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-gtk.c (glade_gtk_message_dialog_post_create): Added to
|
|
resize the gtkmessagedialog widget.
|
|
* src/glade-xml-utils.c: Added the TRUE && FALSE values that libglade
|
|
use (yes/no).
|
|
* widgets/gtkfileselection.xml: Fixed. It's a top level widget.
|
|
* widgets/gtkmessagedialog.xml: Updated with defaults.
|
|
|
|
2001-11-28 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-gtk.c (glade_gtk_dialog_post_create): Added to resize
|
|
the gtkdialog widget.
|
|
* src/glade-placeholder.c: Added full support for GtkDialog.
|
|
* widgets/gtkdialog.xml: Default preferences.
|
|
|
|
2001-11-28 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add): Implemented.
|
|
* src/glade-placeholder.c (glade_placeholder_add_with_result): Now
|
|
calls to glade_placeholder_add to share some code.
|
|
* src/glade-widget.c (glade_widget_new_from_node_real): Fixed a bug
|
|
that didn't add a placeholder when we load a top level widget from a
|
|
.glade file without a child inside it.
|
|
|
|
2001-11-28 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-property-class.c
|
|
(glade_property_class_make_gvalue_from_string): Implemented the
|
|
GLADE_PROPERTY_TYPE_ENUM.
|
|
* src/glade-property.c (glade_property_set): ditto.
|
|
* Now it seems that loads/saves all data ;-)
|
|
|
|
2001-11-26 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_create_pixmap): Fixed
|
|
the warning about floating references. We free the GtkButton with
|
|
gtk_object_sink and not with gtk_widget_unref because this widget
|
|
is never inserted into a container widget.
|
|
|
|
2001-11-24 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-property-class.c: The answer is... My patch sucks!!!
|
|
I think that now it's solved. I get a new warning, but I hope I will
|
|
fix it tomorrow.
|
|
|
|
2001-11-23 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
|
|
Fixed the API change, G_PARAM_SPEC_TYPE (spec) can not be used in
|
|
a switch any more, so we change it to if (...) {} else {}...
|
|
This fix the compile problem, but I think that we have to search for
|
|
other change that mades glade2 unuseful :-( (or that this patch is
|
|
not a good patch...).
|
|
|
|
2001-11-21 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* configure.in: We need now latest gtk2 version.
|
|
|
|
2001-11-21 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* configure.in: Changed GETTEXT_PACKAGE from glade-2.0 to glade-2
|
|
|
|
2001-11-21 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
|
|
Ignored the ParamSpec "name". We should solve this problem with a
|
|
better solution. The problem is that at .xml file we don't have
|
|
a property "name" we have it outside the Property section.
|
|
|
|
2001-11-20 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-property-class.*
|
|
(glade_property_class_make_string_from_gvalue): Implemented the ENUM
|
|
type. We have change the first arg to get a GladePropertyClass instead
|
|
a GladePropertyType to do it.
|
|
(glade_property_class_make_gvalue_from_string): ditto.
|
|
|
|
2001-11-16 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-project-view.c (glade_project_view_button_press_cb): Fixed
|
|
the gtk_tree_view_get_path_at_pos API change.
|
|
* src/glade-property-class.c: /s/g_param_get_nick/g_param_spec_get_nick/
|
|
/s/g_param_get_blurb/g_param_spec_get_blurb/ to fix an API change.
|
|
* pixmaps/*.xpm: Added lot of pixmaps from glade1
|
|
* src/glade-gtk.c, src/glade-placeholder.c: Started the GtkDialog
|
|
support.
|
|
|
|
2001-11-11 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-property-class.* (glade_property_class_list_properties):
|
|
Added this function, it returns a GList of properties from GParamSpec.
|
|
* src/glade-property-class.* (glade_property_class_list_new_from_node):
|
|
Renamed to glade_property_class_list_add_from_node. It gets a GList like
|
|
the glade_property_class_list_properties one and add the defaults &&
|
|
new properties from .xml files.
|
|
* src/glade-widget-clas.* (glade_widget_class_get_specs): Changed as a
|
|
public function, we need it at glade-property-class.c
|
|
|
|
2001-11-07 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* pixmaps/custom.xpm: Added the custom pixmap to put it as the default
|
|
one if a widget has not a pixmap.
|
|
* src/glade-widget-class.c (glade_widget_class_create_pixmap): If we
|
|
don't find the pixmap for one widget, we use the default one.
|
|
* widgets/*.xml: Added all the remain gtk widgets but the deprecated
|
|
ones, we should start adding support for all those widgets.
|
|
|
|
2001-11-04 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/main.c: Added a call to bind_textdomain_codeset to
|
|
fix the encoding always as UTF-8. This fix all UTF-8 warnings
|
|
|
|
2001-11-04 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* configure.in:
|
|
* Makefile.am: Migrated to intltool
|
|
|
|
2001-11-01 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* configure.in: drop the 2 from the package name, and set
|
|
GETTEXT_PACKAGE
|
|
* acconfig.h: add GETTEXT_PACKAGE
|
|
* src/main.c: modified the gettext args to use GETTEXT_PACKAGE
|
|
|
|
2001-10-31 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* src/glade-placeholder.[ch] (glade_placeholder_remove_all):
|
|
* src/glade-placeholder.[ch] (glade_placeholder_fill_empty): Added
|
|
those new functions to remove/fill all widget's placeholders.
|
|
* src/glade-gtk.c (glade_gtk_table_set_n_common):
|
|
* src/glade-gtk.c (glade_gtk_box_set_size): Modified to remove all
|
|
placeholders, modify the widget and then fill all the empty childs
|
|
with placeholders using glade_placeholder_remove_all &&
|
|
glade_placeholder_fill_empty.
|
|
* src/glade-packing.[ch] (glade_packing_table_get_child_at): We need it
|
|
as no static function for the glade_placeholder_fill_empty function
|
|
|
|
2001-10-06 Michael Meeks <michael@ximian.com>
|
|
|
|
* src/glade-project-view.c (glade_project_view_create_widget):
|
|
use cell_render_text, text_pixbuf seems to have vanished.
|
|
(glade_project_view_cell_function): don't set a pixbuf on the
|
|
items, sadly.
|
|
|
|
* src/glade-property-class.c
|
|
(glade_property_class_load_from_param_spec): upd. for new
|
|
g_param_ accessors.
|
|
|
|
2001-09-24 Fatih Demir <kabalak@gtranslator.org>
|
|
|
|
* configure.in: Added "ta" to the languages list.
|
|
|
|
2001-09-23 Pablo Saratxaga <pablo@mandrakesoft.com>
|
|
|
|
* configure.in: Added Azeri (az) to ALL_LINGUAS.
|
|
|
|
2001-09-10 Christian Rose <menthos@menthos.com>
|
|
|
|
* configure.in: Added sv to ALL_LINGUAS.
|
|
|
|
2001-09-03 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-project-view.c (glade_project_view_create_widget):
|
|
|
|
2001-09-03 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade.h: add new xml tags
|
|
|
|
* src/glade-xml-utils.h: standarize a lot of the calls to xml-utils and rename all the
|
|
calling funcitions to the new names
|
|
|
|
* src/glade-widget.c (glade_widget_new): add a project parameter needed for loading
|
|
objects.
|
|
(glade_widget_create_gtk_widget): only call the widget resize when the object is an
|
|
actual widget (v.s. beeing an object like a gtkadjustment)
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_set_type): call get_type_from_name
|
|
and move the code to get the type there
|
|
(glade_widget_class_load_packing_properties_from_node): impl.
|
|
(glade_widget_class_load_packing_properties): impl.
|
|
|
|
* src/glade-utils.c (glade_util_get_type_from_name): move here
|
|
|
|
* src/glade-property.c (glade_property_new_from_class): set property->child for
|
|
type = _TYPE_OBJECT
|
|
(glade_property_set_enum): s/choice/enum
|
|
|
|
* src/glade-packing.c (glade_packing_add_properties_from_list): add packing
|
|
properties too
|
|
(glade_packing_property_get_from_class): impl.
|
|
|
|
* src/glade-gtk.c (glade_gtk_button_set_stock): implement stock buttons
|
|
|
|
* src/glade-editor.c (glade_editor_property_changed_enum): s/choice/enum
|
|
|
|
* src/glade-choice.c (glade_enum_from_string): add a temp entry
|
|
for gtk-ok, glade-none and gtk-cancel.
|
|
(glade_choice_list_new_from_node): change the XML tag name to ENUMS
|
|
from CHOICE
|
|
|
|
* src/glade-catalog.h: add prototype for glade_catalog_get
|
|
|
|
* src/glade-catalog.c (glade_catalog_get): impl.
|
|
(glade_catalog_load): after loading all the widgets load the
|
|
packing properties.
|
|
|
|
2001-08-29 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget-class.c (glade_util_get_type_from_name):
|
|
|
|
* src/glade-property-class.c (glade_property_class_create_label): Try to
|
|
add a tooltip for the editor labels, not working yet.
|
|
|
|
|
|
2001-08-29 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* autogen.sh:
|
|
* configure.in:
|
|
* Makefile.am: Modified to use the new GNOME 2.0 config stuff.
|
|
* src/glade.h: Removed a dup "#include <libintl.h>"
|
|
* src/main.c: Moved the NLS stuff to be the first at main()
|
|
and added setlocale (LC_ALL, ""); before the bindtextdomain call
|
|
Now the l10n works!!!! Thanks Martin for your comments ;-)
|
|
* src/Makefile.am: popt is checked at configure.in
|
|
|
|
2001-08-28 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add_with_result): rewrite
|
|
(glade_placeholder_is): impl.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_is): impl.
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_new): set the parent
|
|
as a data (not user) member. Also set True so that we can use :
|
|
|
|
* src/glade-packing.c (glade_packing_table_get_child_at): implement.
|
|
(glade_packing_table_child_has_span): impl.
|
|
(glade_packing_table_cell_common_set): impl.
|
|
(glade_packing_table_cell_x_set): impl.
|
|
(glade_packing_table_cell_y_set): impl.
|
|
(glade_packing_table_span_common_set): impl.
|
|
(glade_packing_table_span_x_set): impl.
|
|
(glade_packing_table_span_y_set): impl.
|
|
|
|
* src/glade-gtk.c (glade_gtk_table_get_n_rows): disable
|
|
(glade_gtk_table_get_n_columns): ditto
|
|
(glade_gtk_table_set_n_common): use for both x & y. Add
|
|
support for childs that have spans.
|
|
(glade_gtk_table_set_n_rows): call _n_common
|
|
(glade_gtk_table_set_n_columns): call _n_common
|
|
(glade_gtk_table_post_create): implement
|
|
|
|
2001-08-26 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-editor.c (glade_editor_create_input_numeric): connect to the
|
|
value_changed signal of the spin button, not the changed signal of the
|
|
entry.
|
|
|
|
2001-08-24 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-gtk.c (glade_gtk_table_get_n_rows):
|
|
(glade_gtk_table_get_n_columns):
|
|
(glade_gtk_table_set_n_rows):
|
|
(glade_gtk_table_set_n_columns): implement.
|
|
|
|
2001-08-22 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-packing.c (glade_packing_table_get_child): impl.
|
|
(glade_packing_table_cell_x_get):
|
|
(glade_packing_table_cell_y_get):
|
|
(glade_packing_table_span_x_get):
|
|
(glade_packing_table_span_y_get):
|
|
(glade_packing_table_span_y_get):
|
|
(glade_packing_table_padding_h_set):
|
|
(glade_packing_table_padding_v_set):
|
|
(glade_packing_table_padding_h_get): ditto
|
|
|
|
* src/glade-gtk.c (glade_widget_ugly_hack): implement.
|
|
(glade_gtk_box_set_size): implement size reduction
|
|
|
|
2001-08-21 Chema Celorio Foo <chema@celorio.com>
|
|
|
|
* src/glade-catalog.c: add config.h. I am not sure i agree with Kjartan about
|
|
the config.h think though
|
|
* src/glade-placeholder.c: ditto. kmaraas didn't tested his fix i guess.
|
|
|
|
* src/glade-property.h (GLADE_PROPERTY_OBJECT_CLASS): Fix the define to
|
|
pass the GladePropertyObjectClass structure to the macro.
|
|
|
|
2001-08-20 Kjartan Maraas <kmaraas@gnome.org>
|
|
|
|
* configure.in: Added "nn" and "no" to ALL_LINGUAS.
|
|
|
|
2001-08-19 Kjartan Maraas <kmaraas@gnome.org>
|
|
|
|
* src/Makefile.am: Added -DGLADE_LOCALE_DIR def.
|
|
* src/*.c: Include <config.h> and remove the include from
|
|
glade.h. This is the standard way of doing things.
|
|
|
|
2001-08-19 Joe Shaw <joe@ximian.com>
|
|
|
|
* src/glade-property.h: Change the #define of GLADE_PROPERTY_CLASS
|
|
to GLADE_PROPERTY_OBJECT_CLASS to match up with the rest of the
|
|
file.
|
|
|
|
* src/glade-utils.c (glade_util_path_is_writable): Change the call to
|
|
the glade_implement_me() macro to include no parameters.
|
|
|
|
* src/glade-utils.h (glade_implement_me): Get rid of the argument.
|
|
It's not used and is called with an argument only once (and makes my
|
|
preprocessor barf).
|
|
|
|
2001-08-17 Archit Baweja <bighead@crosswinds.net>
|
|
|
|
* src/glade-palette.c (glade_palette_attach_pixmap): set tooltips.
|
|
|
|
* src/glade-utils.c (glade_util_widget_set_tooltip): new function.
|
|
|
|
* src/glade-editor.c (glade_editor_property_load): set tooltips.
|
|
(glade_editor_property_set_tooltips): new function.
|
|
|
|
2001-08-13 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget.h: remove the packing memebers, we where not using them.
|
|
|
|
* src/glade-widget.c (glade_widget_button_press): if the widget is not
|
|
selected, stop the emision of the button clicked event.
|
|
(glade_widget_set_default_options_real): remove the code for handling
|
|
->apply_first_time.
|
|
(glade_widget_ugly_hack): add an ugly hack till i figure out the real
|
|
problem of the placeholders not beeing drawn inside containers.
|
|
(glade_widget_clear_draw_selection): function used when we unselect an
|
|
item so that it gets redrawn and the selection nodes cleared.
|
|
(glade_widget_properties_hash_from_node): impl.
|
|
(glade_widget_apply_property_from_hash_item): impl.
|
|
(glade_widget_new_child_from_node): impl.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_new_from_node): load
|
|
postcreatefunction
|
|
(glade_widget_class_is): implement.
|
|
|
|
* src/glade-property.c (glade_property_set): implement.
|
|
|
|
* src/glade-property-class.h: remove ->apply_first_time
|
|
|
|
* src/glade-project-window.c (glade_project_window_add_project): add
|
|
two g_return_val_if_fail
|
|
|
|
* src/glade-project-view.c (glade_project_view_widget_name_changed): if
|
|
view->is_list and the widget is not a toplevel, return.
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add_methods_to_class):
|
|
make all methods static. implement.
|
|
(glade_placeholder_add): take a rows & cols argument and not a
|
|
GladePropertyQueryResult.
|
|
:use glade_widget_class_is and not a strcmp
|
|
(glade_placeholder_add_with_result): impl.
|
|
(glade_placeholder_replace): impl.
|
|
(glade_placeholder_get_from_properties): impl.
|
|
|
|
* src/glade-packing.c (glade_packing_box_position_set): remove a
|
|
warning
|
|
|
|
* src/glade-gtk.c (glade_gtk_window_post_create): impl.
|
|
(glade_gtk_check_button_post_create): impl.
|
|
|
|
2001-08-11 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade.h: try to fix gettext support. Duno why translations are not
|
|
working. Feel free to fix it ;-).
|
|
|
|
* src/glade-widget.c (glade_property_refresh): implement
|
|
(glade_widget_new): clean widget creation
|
|
(glade_widget_new_full): ditto
|
|
(glade_widget_get_from_gtk_widget): ditto
|
|
(glade_widget_apply_property_from_node): impl.
|
|
(glade_widget_new_from_node): impl.
|
|
|
|
* src/glade-property.c : port to GValue
|
|
* src/glade-property.h: ditto
|
|
|
|
* src/glade-property-class.c : port to GValue
|
|
* src/glade-property-class.h : ditto
|
|
|
|
* src/glade-project.c (glade_project_new_from_node): implement.
|
|
(glade_project_open_from_file): implement.
|
|
(glade_project_open): implemnt.
|
|
|
|
* src/glade-project-view.h (struct _GladeProjectViewClass): add a
|
|
selection_update signal.
|
|
|
|
* src/glade-project-view.c (glade_project_view_populate_model_real): add a
|
|
add_childs parameter
|
|
(glade_project_view_selection_update): implment (not yet working)
|
|
|
|
* src/glade-parameter.c (glade_parameter_adjustment_new): port to GValue
|
|
|
|
* src/glade-palette.c (glade_palette_clear): impl.
|
|
|
|
* src/glade-gtk.c: port to GValue from string
|
|
(glade_gtk_box_set_size): impl.
|
|
|
|
* src/glade-editor.c (glade_editor_property_changed_*): use g_property_set_foo
|
|
rather than g_property_changed_foo.
|
|
port to GValues from string
|
|
|
|
* src/glade-choice.c (glade_choice_list_new_from_node): use _TAG_ENUM and
|
|
not _CHOICES
|
|
|
|
* src/glade-catalog.c: remove <config.h>
|
|
|
|
* src/Makefile.am (SUBDIRS): remove tests
|
|
|
|
2001-08-07 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget.c (glade_widget_property_changed_cb): add a temp hack to set
|
|
the properties.
|
|
(glade_property_get): ditto to get the properties from a widget.
|
|
(glade_widget_toplevel_delete_event_cb): handle the delete event for toplevels
|
|
(glade_widget_connect_other_signals): impl.
|
|
|
|
* src/glade-property.c (glade_property_get_type): glade property is now an object
|
|
and emits a changed signal.
|
|
|
|
* src/glade-property-class.c (glade_property_class_new_from_node): load before
|
|
deciding if this prop will be loading with paramspec
|
|
|
|
* src/glade-project-view.c (glade_project_view_button_press_cb): implement.
|
|
Double clicking on a widget on the list gtk_widget_show's it.
|
|
|
|
* src/glade-gtk.c (glade_gtk_entry_set_text): preserve the cursor position.
|
|
|
|
* src/glade-editor.c (glade_editor_property_connect_signals): impl.
|
|
(glade_editor_property_changed_cb): impl.
|
|
|
|
* src/glade-property.h: add -> loading
|
|
|
|
* src/glade-editor.h (struct _GladeEditorTable): remove ->loading
|
|
|
|
* src/glade-editor.c (glade_editor_property_load_text): when loading text
|
|
preserve the cursor position.
|
|
* src/glade-editor.c : use property->loading and not property->property->loading
|
|
|
|
2001-08-06 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget.c (glade_widget_set_default_options_real): handle the case
|
|
where the property is queried from the gtkwidget v.s. setting a default one.
|
|
(glade_widget_free): implement.
|
|
(glade_widget_delete): add content.
|
|
(glade_widget_write): when saving a widget, add the packing properties too.
|
|
|
|
* src/glade-signal.c (glade_signal_free): impl.
|
|
|
|
* src/glade-signal-editor.c (glade_signal_editor_load_widget): handle a
|
|
widget->class = NULL for clearing the signal editor.
|
|
|
|
* src/glade-property.c (glade_property_new_from_class): handle properties
|
|
that the default is fetched from the gtkwidget itself, not set.
|
|
(glade_property_free): implement.
|
|
|
|
* src/glade-project.c (glade_project_selection_changed): implement.
|
|
(glade_project_remove_widget_real): impl.
|
|
(glade_project_remove_widget): impl.
|
|
|
|
* src/glade-project-window.c (gpw_delete_cb): implement.
|
|
|
|
* src/glade-project-view.h (struct _GladeProjectView): add the remove
|
|
signal id to the struct.
|
|
|
|
* src/glade-project-view.c (glade_project_view_remove_item): implement
|
|
for "Delete"
|
|
(glade_project_view_remove_widget_cb): ditto
|
|
(glade_project_view_set_project): connect and disconnect ->remove_item
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_replace_$x): where
|
|
x are all the containers. Modify this functions so that we can
|
|
use them to replace a placeholder with a widget and the other
|
|
way arround. We need this when we delete a widget and want to
|
|
put a placeholder where the widget was.
|
|
|
|
* src/glade-packing.c (glade_packing_container_set_flag): impl.
|
|
(glade_packing_container_set_integer): impl.
|
|
(glade_packing_container_set_boolean): impl.
|
|
(glade_packing_table_set_flag): impl.
|
|
(glade_packing_table_set_integer): impl.
|
|
(glade_packing_box_set_boolean): impl.
|
|
(glade_packing_box_set_integer): impl.
|
|
(glade_packing_box_position_get): impl.
|
|
(glade_packing_box_position_set): when setting the pos of a child update the
|
|
property->value of the rest, cause it has (most likely) changed.
|
|
(table_props): add the rest of the properties
|
|
(box_props): ditto
|
|
|
|
* src/glade-editor.c (glade_editor_load_widget_page): handle a NULL class to
|
|
clear the page
|
|
(glade_editor_load_common_page): ditto
|
|
(glade_editor_load_item): ditto
|
|
(glade_editor_select_item_real): ditto
|
|
|
|
2001-08-05 Fatih Demir <kabalak@gtranslator.org>
|
|
|
|
* configure.in: Added "tr" to the languages list.
|
|
|
|
2001-08-04 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget.c (glade_widget_set_default_options_real): add a packing
|
|
argument.
|
|
(glade_widget_set_default_options): we now set the default options in two
|
|
steps. Firts the object properties and
|
|
(glade_widget_set_default_packing_options): secondly the packing properties.
|
|
The packing properties are applied after the widget is appended to the container
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_default_from_spec):
|
|
default is now a member of GladePropertyClass not a GladeParameter.
|
|
|
|
* src/glade-parameter.c (glade_parameter_adjustment_new): get the default
|
|
from the parameters only if def was not specified. Added a default variable
|
|
to the function.
|
|
|
|
* src/glade-packing.c: add file. Takes care of container packing related
|
|
stuff.
|
|
|
|
* src/glade-gtk.c (glade_gtk_vbox_get_size): add the prototype, still
|
|
no content
|
|
(glade_gtk_vbox_set_size): ditto.
|
|
|
|
* src/glade-editor.c (glade_editor_load_packing_page): impl. Adds
|
|
the packing page.
|
|
|
|
* src/Makefile.am: add packging.[ch]
|
|
|
|
* src/glade-popup.c (glade_popup_create_menu): make the popup-menu
|
|
work. Select now works.
|
|
|
|
* src/glade-widget.h: remove ->popup. destroy it right away.
|
|
|
|
2001-08-03 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_list_signals): plug a memleak
|
|
(glade_widget_class_compose_get_type_func): plug a memleak
|
|
|
|
2001-08-01 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/main.c: add <popt.h>.
|
|
implement : ./glade2 --dump {widget} to dump to the console the
|
|
properties of a widget.
|
|
|
|
* src/glade.h: add _TAG_COMMON
|
|
|
|
* src/glade-xml-utils.c (glade_xml_get_boolean): take a default value
|
|
that should be used if the node is not found
|
|
(glade_xml_property_get_boolean): ditto for properties.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_dump_param_specs):
|
|
improve. dump the type and the object the property belongs to.
|
|
|
|
* src/glade-property-class.c (glade_widget_property_class_free):
|
|
implement.
|
|
(glade_property_class_load_from_param_spec): don't create the
|
|
PropertyClass in here
|
|
(glade_property_class_new_from_node): the query should be read
|
|
before the ParamSpec, if we are loading with ParamSpec we want
|
|
to be able to specify a query.
|
|
|
|
* src/glade-project-window.c (glade_project_window_create): do not
|
|
_show_all when creating a project_window
|
|
(glade_project_window_show_all): implement
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add): the properites
|
|
for the GtkTable are n-rows and n-columns not rows-columns
|
|
|
|
* src/glade-palette.c (glade_palette_create): implement.
|
|
|
|
* src/glade-editor.h: add ->common for the common tab of the editor
|
|
|
|
* src/glade-editor.c (glade_editor_table_append_items): add a common
|
|
parameter for the common tab of the editor.
|
|
(glade_editor_get_table_from_class): add a common parameter, when
|
|
getting a table verify that common = table->common
|
|
(glade_editor_load_common_page): implement.
|
|
(glade_editor_load_class): load the common page too
|
|
(glade_editor_create): do not show the editor when it is created
|
|
|
|
* src/Makefile.am: remove empty variables.
|
|
Add -lpopt. We are NOT checking in configure.in for popt yet.
|
|
|
|
2001-07-23 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-xml-utils.c (glade_xml_doc_save): when saving a .xml file indent
|
|
it as libxml did by calling SaveFormatFile and xmlKeepBlanksDefault.
|
|
|
|
* src/glade-xml-utils.h: hide the libxml internals (remove headers from the
|
|
.h file and into the .c file. Update all the code to not deal with libxml
|
|
structs directly. Changed the while loops that generated libxml nodes to for
|
|
loops. remove the skip_text macro and add glade_xml_node_is_comment so that
|
|
we can test the node for a node we should ignore (in the for loops).
|
|
|
|
2001-07-22 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-utils.c (glade_util_path_is_writable): implement, new file.
|
|
|
|
* src/glade-property.c (glade_property_write): implement.
|
|
|
|
* src/glade-widget.c (glade_widget_write): add content.
|
|
|
|
* src/glade-xml-utils.c (glade_xml_set_value): fix a lot of the broken issues.
|
|
Don't confuse properties for node content. Use GladeXmlNode as API entry.
|
|
Lots of small new functions, lots of cleanup.
|
|
|
|
2001-07-21 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-project.c (glade_project_save): impl.
|
|
|
|
* src/glade-project-window.c (gpw_save_cb): add contents
|
|
(glade_project_window_get_project): impl.
|
|
|
|
* src/glade-project-ui.c (glade_project_ui_save_get_name): new file that
|
|
holds the ui that interacts with the user.
|
|
|
|
2001-07-16 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget.c (glade_widget_connect_edit_signals_with_class): impl.
|
|
(glade_widget_connect_edit_signals): impl.
|
|
|
|
* src/glade-property-class.h: add ->update_signals and ->get_function
|
|
|
|
* src/glade-property-class.c (glade_xml_read_list): implement. Keep here for now
|
|
but should go into xml utils.
|
|
|
|
* src/glade-gtk.c (glade_gtk_get_set_function_hack): implement.
|
|
|
|
2001-07-15 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_new_from_node): init_function is
|
|
not required in the xml files.
|
|
(glade_widget_class_new_from_node): make non-static cause a property can now have
|
|
a child like a spin button has a gtk_adjustment
|
|
|
|
* src/glade-property.h: a property can have a ->child.
|
|
|
|
* src/glade-property.c (glade_property_new_from_string): handl type _OBJECT
|
|
|
|
* src/glade-property-class.h: we can only have one child per property. Rename
|
|
children to child
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_type_from_spec): handle
|
|
_OBJECT
|
|
(glade_property_class_new_from_node): if we have child object, load it.
|
|
|
|
* src/glade-gtk.c (glade_gtk_option_menu_set_items): rename _append to _shell_append
|
|
to remove warning.
|
|
(glade_gtk_adjustment_set_max): impl.
|
|
(glade_gtk_adjustment_set_min): impl.
|
|
|
|
* src/glade-editor.h (struct _GladeEditorTable): add tabel->editor, this cleans
|
|
up the fucntion prototypes cause we have one less argument to pass.
|
|
|
|
* src/glade-editor.c (glade_editor_append_item_real): rename and change
|
|
arguments to that we can recurse
|
|
(glade_editor_table_append_items): ditto
|
|
(glade_editor_property_load_object): impl.
|
|
(glade_editor_property_load): change so that we can recurse
|
|
|
|
* src/glade-property-class.h: add ->child for property type == OBJECT
|
|
|
|
* src/glade-editor.c (glade_editor_create_input_object): implement
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_new_from_node): make non
|
|
static and add to headers since we are recursing for type object
|
|
|
|
2001-07-14 Archit Baweja <bighead@crosswinds.net>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_compose_get_type_func):
|
|
changed to negate use of <GetTypeFunction> in the XML files.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_new_from_node): check
|
|
if get_type function is provided in GetTypeFunction tag. Else use above
|
|
function.
|
|
|
|
2001-07-15 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-property.c (glade_property_changed_choice): set the property
|
|
|
|
* src/glade-widget.c (glade_widget_new_from_class_name): implement
|
|
(glade_widget_new_from_class): no need to pass the project. We know
|
|
it from parent->project. Update all the calls to this function
|
|
(glade_widget_new_toplevel): impl.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_get_by_name): implement
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_replace_notebook): implement
|
|
|
|
* widgets/gtknotebook.xml: add properties
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add): handle notebook
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_add_virtual_methods): handle
|
|
gtk_notebook.
|
|
|
|
2001-07-10 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-gtk.c (glade_gtk_entry_set_text): implement.
|
|
(glade_gtk_option_menu_set_items): impl.
|
|
(glade_gtk_progress_bar_set_format): impl.
|
|
|
|
* src/glade-editor.c (glade_editor_property_changed_text_view): implement.
|
|
We can now use entries or GtkTextView for text properties
|
|
|
|
2001-07-09 Chema Celorio <chema@celorio.com>
|
|
|
|
* widgets/*.xml: add props to several widgets
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add): handle GtkHandleBox too
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_add_virtual_methods): handle
|
|
GtkFrame too
|
|
|
|
* src/glade-editor.c (glade_editor_property_changed_numeric): remove
|
|
g_print's
|
|
|
|
* src/glade-property-class.c (glade_property_get_parameters_text): imlement
|
|
(glade_property_class_get_parameters_from_spec): and use here. We now load
|
|
default text values.
|
|
|
|
* widgets/gtkprogressbar.xml: add "text" which is the format
|
|
|
|
* src/glade-project-window.c (glade_project_window_query_properties): set
|
|
the default response
|
|
|
|
2001-07-09 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/main.c (glade_init): check if g_module_supported is TRUE
|
|
in here, if it isn't there is no point in running glade2
|
|
|
|
* src/glade.h (GLADE_TAG_SET_FUNCTION): add the new tags beeing
|
|
used in the .xml files
|
|
|
|
* src/glade-xml-utils.c (glade_xml_get_boolean): accept
|
|
"TRUE" and "FALSE" as valid (before only "True" & "False")
|
|
|
|
* src/glade-widget.c (glade_widget_button_press): return FLASE
|
|
so that the emision continues (fixes clicking over items)
|
|
(glade_widget_button_release): ditto
|
|
|
|
* src/glade-widget-class.h: add the spec function prototypes
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_get_specs): move
|
|
here from glade_propery_class.
|
|
(glade_widget_class_find_spec): ditto
|
|
(glade_widget_class_dump_param_specs): implement
|
|
|
|
* src/glade-property.h: add the headers for the _double functions
|
|
|
|
* src/glade-property.c (glade_property_new_from_string): handle
|
|
double type
|
|
(glade_property_changed_double): implement
|
|
(glade_property_get_double): impl.
|
|
|
|
* src/glade-property-class.h: add _TYPE_DOUBLE and _TYPE_OBJECT
|
|
remove class->gtk_arg add class->id. Fixed the code all over
|
|
to use ->id and ->name correctly.
|
|
- add children for child objects and set_function to set properties
|
|
that gtk is not exposing
|
|
|
|
* src/glade-property-class.c: add frames for handling _TYPE_OBJECT
|
|
no content tho
|
|
(glade_property_get_parameter_numeric_default):
|
|
(glade_property_get_parameter_numeric_min):
|
|
(glade_property_get_parameter_numeric_max): impl.
|
|
(glade_property_get_parameters_numeric): clean
|
|
(glade_property_class_get_set_function): implement but not use yet
|
|
cause I could not get it to work. Use glade_gtk_get_set_function_hack
|
|
for now.
|
|
(glade_property_class_new_from_node): change to reflect new changes
|
|
in .xml format
|
|
|
|
* src/glade-project-window.c (glade_project_window_query_properties):
|
|
use ->id and not ->name
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_add): s/Size/size
|
|
s/Rows/rows since we use class->id and not class->name
|
|
|
|
* src/glade-parameter.c (glade_parameter_adjustment_new): make
|
|
the increment 1 so that integers can be changed if the increment
|
|
is not specified
|
|
|
|
* src/glade-palette.c (glade_palette_init): set the policy of the
|
|
pallete (which is a gtkwindow)
|
|
|
|
* src/glade-editor.h: add GladeEditorNumericType to share functions
|
|
that interact with numbers
|
|
|
|
* src/glade-editor.c (glade_editor_property_changed_numeric): handle
|
|
integers, floats and doubles. rename from _changed_integer
|
|
(glade_editor_create_input): handle double
|
|
(glade_editor_property_load_double): impl.
|
|
|
|
* src/Makefile.am: add glade-gtk.[ch]
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_set_function):
|
|
implement
|
|
|
|
* widgets/gtk*.xml: clean lots of files, changed the format it is now
|
|
a lot better.
|
|
|
|
* src/glade-gtk.c (glade_gtk_entry_set_text): implement
|
|
(glade_gtk_get_set_function_hack): implement a temp hack to find
|
|
function pointers at run time, i could not make gmodule work.
|
|
|
|
2001-07-07 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget.c (glade_widget_button_release): return FALSE so that
|
|
the propagation continues.
|
|
|
|
2001-07-05 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-property-class.c (glade_property_get_parameters_integer):
|
|
G_IS_PARAM_SPEC_UINT is also valid
|
|
(glade_property_class_get_type_from_spec): add UINT to the case
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_create_pixmap): use
|
|
->generic_name now
|
|
|
|
* src/glade-widget-class.h: remove ->icon it was redundant with
|
|
->generic_name, use ->generic_name to load icons
|
|
|
|
2001-07-04 Chema Celorio <chema@celorio.com>
|
|
|
|
* widgets/gtk*.xml: a lot of cleaning, added new files and converted old .xml
|
|
files to use ParamSpec.
|
|
|
|
* src/glade-property-class.c (glade_property_class_find_spec): dump the specs (temp)
|
|
|
|
2001-07-02 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-project-window.c (gpw_copy_cb): add function names buts still with no content
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_replace_widget): when adding a widget
|
|
set the selection to that widget.
|
|
|
|
2001-07-01 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_list_signals): use
|
|
class->type to avoid duplication etc
|
|
* src/glade-signals-editor.[ch]: moved lots of functionality into smaller
|
|
functions, fixed bugs etc.
|
|
|
|
2001-06-28 Ravi Pratap <ravi@che.iitm.ac.in>
|
|
|
|
* src/glade-project.c : Include string.h
|
|
|
|
* src/glade-parameter.c : Ditto
|
|
|
|
* src/glade-widget-class.c : Ditto
|
|
|
|
* src/glade-placeholder.c : Ditto
|
|
|
|
* src/glade-property.c : Ditto
|
|
|
|
* src/glade-xml-utils.c : Ditto
|
|
|
|
* src/glade-editor.c : Ditto
|
|
|
|
* src/glade-choice.c : Ditto
|
|
|
|
2001-06-28 Archit Baweja <bighead@crosswinds.net>
|
|
|
|
* src/glade.h (GLADE_TAB_GET_TYPE_FUNCTION): new #define.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_new_from_node): added
|
|
code to search for _get_type () function and initialize the GType.
|
|
(glade_widget_class_compose_get_type_func): new function.
|
|
(glade_widget_class_get_type): new function.
|
|
|
|
2001-06-27 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-widget-class.[ch], src/glade-widget.[ch]: Store signals
|
|
available to a widget in the GladeWidgetClass and instances and their
|
|
handlers in GladeWidget.
|
|
* src/glade-editor.[ch], src/glade-signal-editor.[ch]: Add new signal editor
|
|
and add provsions for GladeEditor to use.
|
|
* src/glade-types.h: Add typedefs for GladeSignalEditor, GladeWidgetSignal
|
|
and GladeWidgetClassSignal.
|
|
|
|
2001-06-27 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_specs):
|
|
|
|
2001-06-27 Carlos Perelló Marín <carlos@gnome-db.org>
|
|
|
|
* missing, mkinstalldirs: Removed, are generated files.
|
|
* ChangeLog: Changed the previous date entry to the Gnome's standar one.
|
|
|
|
2001-06-21 Jonathan Blandford <jrb@webwynk.net>
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_specs):
|
|
make compile with new glib. include <string.h>
|
|
|
|
2001-06-19 Chema Celorio <chema@celorio.com>
|
|
|
|
* src/glade-property-class.c: start using the GParamSpec stuff
|
|
|
|
2001-06-17 Chema Celorio <chema@celorio.com>
|
|
|
|
* 0.0.12 : GtkTreeView now works.
|
|
|
|
2001-06-16 Chema Celorio <chema@celorio.com>
|
|
|
|
* 0.0.11 : Multiple projects support
|
|
|