mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-09-08 00:02:20 -04:00
* doc/tmpl/*: updated * src/glade-fixed.[ch], src/glade-widget.[ch]: Improved, now made replace_child a vfunc... fixed some event related bugs. * src/glade-gtk.c, widgets/gtk+.xml.in: Added free-form placement for GtkTable widget. * src/glade-utils.c: added glade_util_deep_fixed_event(), used to propagate events down to fixed containers that dont have windows.
6502 lines
241 KiB
Plaintext
6502 lines
241 KiB
Plaintext
2006-06-11 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/tmpl/*: updated
|
|
|
|
* src/glade-fixed.[ch], src/glade-widget.[ch]:
|
|
Improved, now made replace_child a vfunc... fixed some
|
|
event related bugs.
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml.in: Added free-form placement
|
|
for GtkTable widget.
|
|
|
|
* src/glade-utils.c: added glade_util_deep_fixed_event(), used to
|
|
propagate events down to fixed containers that dont have windows.
|
|
|
|
2006-06-10 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-fixed.c:
|
|
o Fixed bug that was using uninitialized data to configure children at load time.
|
|
o Fixed that we were not disconnecting signals from removed children (doh)
|
|
o Now you can have a GladeFixed inside a GladeFixed, in any hierarchical order
|
|
you wish, the cursor updates properly in regard to the rules:
|
|
- Add sign with class selected on the palette
|
|
- Only direct children may be used for drag/resize, or thier direct child
|
|
placeholders in turn, cursor will display correctly in those cases.
|
|
o Changed the way we retrieve the mouse position in child events, so that
|
|
we dont rely on the nature of the properties.
|
|
|
|
* src/glade-widget.c:
|
|
o Use event widget and not signal widget to use with
|
|
gtk_widget_translate_coordinates(), this fixes the imfamous bug 327379
|
|
o Recurse through non-project objects when looking for widget at mouse event;
|
|
this fixes the internal widget selection bug (bug 338894).
|
|
|
|
* src/glade-placeholder.c: Placeholders dont ever get selection anymore, its
|
|
only confusing for no reason, adds extra clicks to select relevent widgets
|
|
(note that every second click was going to the parent; making the parent
|
|
fight with the placeholder for selection... since its pointless, its gone).
|
|
|
|
* src/glade-catalog.c: Removed g_debug()
|
|
|
|
* TODO: Updated
|
|
|
|
2006-06-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-fixed.c:
|
|
o Fixed "paste at mouse position"
|
|
o Fixed cursors a bit... event handling a bit too
|
|
|
|
* src/glade-placeholder.c: Special case fixed stuff for now,
|
|
so that drag/resize works at least from deep placeholders.
|
|
|
|
* src/glade-widget.c: Touched the event handling code.
|
|
|
|
2006-06-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am, po/POTFILES.in: Made changes for changed files.
|
|
|
|
* src/glade-fixed.[ch]: The new GladeWidget derived free form placement
|
|
support object.
|
|
|
|
* src/glade-fixed-manager.[ch]: Removed.
|
|
|
|
* doc/catalogintro.sgml: made mention of new 'fixed' property on
|
|
'glade-widget-class' tag
|
|
|
|
* doc/gladeui-sections.txt, doc/Makefile.am,
|
|
doc/tmpl/*, doc/gladeui.types: Updated for file changes.
|
|
|
|
* src/glade-app.c, src/glade-command.c, src/glade-gnome.c, src/glade.h:
|
|
Changed for new apis in glade-widget and glade-fixed.
|
|
|
|
* src/glade-gtk.c:
|
|
o Changed for new apis in glade-widget and glade-fixed.
|
|
o Restructured, now *all* class supports are listed class
|
|
by class
|
|
|
|
* src/glade-property-class.h: Fixed docs.
|
|
|
|
* src/glade-widget-class.[ch]:
|
|
o Added glade_widget_class_query ()
|
|
o Added glade_widget_class_create_widget ()
|
|
o Added glade_widget_class_create_internal ()
|
|
|
|
* src/glade-widget.[ch]: API is stablizing now... lots of cleanup done,
|
|
added construct properties used in the constructor to create properties and
|
|
runtime instances.
|
|
|
|
* widgets/gtk+.xml.in:
|
|
o Toolbars expand=False by default in GtkVBoxes
|
|
o GtkPaned now works a little stabler
|
|
o GtkFixed/GtkLayout marked 'fixed'.
|
|
|
|
2006-06-07 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml.in:
|
|
o Reverting the simplification of gtkbox, the regression was that the box
|
|
placeholders were not adjusting properly on undo/redo of create/delete/cut/paste
|
|
commands.
|
|
o Fixing GtkFixed/GtkLayout to not call glade_gtk_container_add/remove_child for
|
|
its children.
|
|
|
|
* src/glade-command.c: Slight simplifications made.
|
|
|
|
* src/glade-fixed-manager.c: Temporary evil externing untill GladeWidget
|
|
migration is complete.
|
|
|
|
* src/glade-widget.[ch]: Completely reworked file structure and changed
|
|
a few things:
|
|
o button_press_event() vfunc now available to be called on mouse clicks
|
|
of the said widget.
|
|
o added container api abstraction provided by fixed manager and reffitted
|
|
for my anticipated integration
|
|
|
|
2006-06-06 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c: fixed double free in glade_command_add_signal_finalize()
|
|
|
|
* src/glade-signal-editor: Fixed signal editor to truely delete handler/userdata
|
|
when it previously only appeared to.
|
|
|
|
2006-06-06 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml.in:
|
|
o Fixed segfaults on color-button
|
|
o Fixed color-button & font-button (dropped unused properties)
|
|
o Fixed initial label text on buttons (and subclass defaults)
|
|
|
|
* src/glade-widget-class.c: Only GtkWidgetClass descendants have
|
|
accelerators.
|
|
|
|
* TODO: Updated for 3.0 blockers.
|
|
|
|
2006-06-05 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c, src/glade-builtins.h, src/glade-keysyms.c:
|
|
o Added submenues to the accel key combo.
|
|
o Make accel dialog cell-renderer-combo have an entry
|
|
o avoided segfaults in strcmp
|
|
o a little easier to remove accelerators.
|
|
o use g_utf8_collate() to compare translated strings.
|
|
|
|
2006-06-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* widgets/gtk+.xml.in: Added GtkToolItem child support to GtkToolbar and
|
|
new widgets classes GtkToolItem, GtkSeparatorToolItem, GtkToolButton,
|
|
GtkMenuToolButton, GtkToggleToolButton and GtkRadioToolButton.
|
|
|
|
* src/glade-gtk.c:
|
|
o added GtkToolbar support functions.
|
|
o cleanup glade_gtk_menu_shell_get_child_property() and
|
|
glade_gtk_menu_shell_set_child_property() functions.
|
|
o tried to make Menu editor UI prettier separating a bit
|
|
name/type from properties.
|
|
|
|
2006-06-05 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Updated
|
|
|
|
* src/Makefile.am, src/glade-keysyms.c: Added autogenerated keysyms
|
|
(but not autogenerating them at the moment).
|
|
|
|
* src/glade-builtins.[ch]: Added GLADE_TYPE_ACCEL_GLIST, GLADE_PARAM_SPEC_ACCEL
|
|
and some convenience funcs.
|
|
|
|
* src/glade-editor-property.c: Added GladeEpropAccel.
|
|
|
|
* src/glade-editor.c: take accel props into account
|
|
|
|
* src/glade-parser.c: Make strings for GdkModifierType in dump_widget.
|
|
|
|
* src/glade-property-class.c, src/glade-widget-class.c:
|
|
o Now you can get the GladeWidgetClass from the GladePropertyClass
|
|
o Added string conversion from GladeParamSpecAccel properties
|
|
(but vise versa)
|
|
o GladeWidgetClassSignal --> GladeSignalClass, not GSignalQuery struct
|
|
is included too.
|
|
|
|
* src/glade-property.c, src/glade-widget.c: Load/save support for accel properties.
|
|
|
|
2006-06-03 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* src/glade-project-window.c, src/glade-app.[ch],
|
|
src/glade-utils.[ch]:
|
|
o Fix for bug 337959.
|
|
o Application menus now marked for translation
|
|
|
|
* src/main.c, glade-editor-property.c:
|
|
o Fixed memory leaks.
|
|
o stdlib.h now included on all platforms
|
|
|
|
2006-06-03 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c, src/glade-editor.c:
|
|
o Now bookless classes' info buttons are shown insensitive.
|
|
o No info buttons on query dialogs.
|
|
|
|
* Many files: changed "== TRUE" to be "!= FALSE"
|
|
|
|
* src/glade-project-window.c: Action groups now assigned a
|
|
translation domain for application menus.
|
|
|
|
2006-06-02 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-widget.c: Fixed segfault on widget copying.
|
|
|
|
2006-06-02 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml.in: removed support functions from
|
|
GtkBox... it all still works.
|
|
|
|
2006-06-02 Thierry Moisan <thierryn@videotron.ca>
|
|
|
|
* Fixed spelling mistakes in alot of sources (bugs 342972 & 343087)
|
|
|
|
2006-05-28 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am: Added -mwindows to glade3_LDFLAGS in win32 compile mode
|
|
|
|
* src/glade-xml-utils.c: Fallback on default namespace when searching
|
|
funcs from the catalog (this seems to only be needed in windows builds)
|
|
|
|
* src/glade-utils.c: glade_util_have_devhelp() fixed with better warning messages
|
|
and the function was returning -1 (TRUE) when there was no devhelp in the
|
|
program path (*doh*).
|
|
|
|
2006-05-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* po/POTFILES.in: Added gnome catalog relevent files for translation.
|
|
|
|
* src/glade-devhelp.[ch]: Removed.
|
|
|
|
* configure.in, src/Makefile.am: shuffled, devhelp removed
|
|
|
|
* src/glade-project-window.c, src/glade-utils.[ch]: implement
|
|
devhelp search as `devhelp -s \"search string\"`. (spawn it)
|
|
|
|
2006-05-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am, widgets/Makefile.am: Installed unwanted garbage
|
|
to pass distcheck.
|
|
|
|
* src/glade-devhelp.c: Navigational buttons insensitive at startup.
|
|
|
|
* src/glade-catalog.c: Unexposed a private function.
|
|
|
|
* src/glade-xml-utils.c: made alloc_string glade_xml_alloc_string,
|
|
alloc_propname: ditto.
|
|
|
|
* src/glade-property.c, src/glade-signal.c:
|
|
Adjustemtnts made for glade-xml api above
|
|
|
|
* src/glade-widget.c:
|
|
o Adjustemtnts made for glade-xml api above
|
|
o Properties applied to new objects in two steps now,
|
|
code around build_object cleaned up... now build_object
|
|
used also in load code.
|
|
|
|
2006-05-18 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade.h, src/glade-catalog.c, src/glade-widget-class.[ch]:
|
|
catalog book specifications now on widget classes
|
|
|
|
* src/glade-editor.c, src/glade-editor-property.c: Now get the
|
|
book name directly from the widget class.
|
|
|
|
* doc/catalogintro.sgml: documented added "book" property.
|
|
|
|
* widgets/bonobo.xml.in: added gnome catalog dependancy
|
|
|
|
* widgets/gnome.xml.in, widgets/gtk+.xml.in: Added book specifications.
|
|
|
|
2006-05-17 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* configure.in: added check for GnomeUI libs (PKG_CHECK_MODULES)
|
|
|
|
* widgets/Makefile.am: New catalogs added (bonobo.xml gnome.xml)
|
|
|
|
* widgets/bonobo.xml.in: Created new catalog for libbonoboui.
|
|
|
|
* widgets/gnome.xml.in: Created new catalog for libgnomeui.
|
|
|
|
* widgets/canvas.xml.in: empty file just to declare the module.
|
|
GnomeCanvas is declared in gnome catalog.
|
|
|
|
* widgets/gtk+.xml.in: added GtkMenuItem "stock-item" property.
|
|
o added glade_gtk_box_get_internal_child()
|
|
o disabled GtkLayout's hadjustment and vadjustment properties.
|
|
|
|
* src/Makefile.am: added gladegnome conditional build.
|
|
|
|
* src/glade-builtins.[ch]: added glade_standard_pixbuf_spec(),
|
|
glade_standard_gdkcolor_spec() and glade_standard_uint_spec().
|
|
Fixed stock order in glade_standard_stock_get_type()
|
|
|
|
* src/glade-editor-property.c: added G_PARAM_SPEC_VALUE_ARRAY
|
|
support to GladeEPropText.
|
|
|
|
* src/glade-gnome.c: New support file for gnome/bonobo catalogs.
|
|
|
|
* src/glade-gtk.h: Created to include it in others plugings.
|
|
|
|
* src/glade-gtk.c:
|
|
o added GtkMenuItem stock-item property.
|
|
o Moved GladeGtkImageType and GladeGtkButtonType to glade-gtk.h
|
|
o Moved GLADE_CREATE_USER block from idle function to
|
|
glade_gtk_button_post_create()
|
|
|
|
* src/glade-project.c: fixed bug in glade_project_resource_fullpath()
|
|
project->path could be NULL.
|
|
|
|
* src/glade-property-class.c: added G_PARAM_SPEC_VALUE_ARRAY
|
|
support in glade_property_class_make_string_from_gvalue() and
|
|
glade_property_class_make_gvalue_from_string()
|
|
|
|
2006-05-15 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in:
|
|
o Bumping required devhelp version to 0.12 (current devhelp cvs)
|
|
o Removed unused var HAVE_DEVHELP (since WITH_DEVHELP is what is actually used)
|
|
o Bumped version to 2.91.3 (for anjuta to get the devhelp 0.12 requirement
|
|
correctly).
|
|
|
|
2006-05-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: bullet-proofed glade_util_read_prop_name().
|
|
|
|
* src/glade-editor-property.c: Make label inside eventbox visible
|
|
by default, and dont show the info button by default.
|
|
|
|
* src/glade-gtk.c: Root out the evil calls to gtk_widget_show_all ()
|
|
(for contextual devhelpish bugs). and plugged a leaked GladeEditorProperty.
|
|
|
|
2006-05-05 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/Makefile.am: Applied patch for bug 340692
|
|
|
|
* src/glade-command.c: glade_command_set_property (), return if
|
|
the command doesnt change the property.
|
|
|
|
* src/glade-editor-property.c: GladeEPropText, if string property is NULL
|
|
and we recieve "" from the entry, set the property to NULL, if we get
|
|
NULL from the entry and the property is "", then set the property to
|
|
"", otherwise set the property to the entry text. (this fixes 339832)
|
|
|
|
* src/glade-property.[ch]: constified GValue argument to
|
|
glade_property_equals_value ().
|
|
|
|
2006-05-05 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Fixed up GtkTable to not refresh placehlolders when
|
|
doing a glade_gtk_table_replace_child() replacing a placeholder with
|
|
a GladeWidget (only the other way around), this way placeholders are
|
|
preserved during the operation of pasting multiple widgets to a GtkTable
|
|
(and each pasted widget has its own seperate place in the table).
|
|
|
|
* src/glade-command.c: Fixed "props recorded" marker to be marked on a per
|
|
widget basis, this was causing only one widget in a list of pasted widgets
|
|
to have its newly introspected packing props recorded (now they are all
|
|
recorded)
|
|
|
|
* src/glade-popup.c: Create insensitive 'paste' items when the clipboard
|
|
has no selection.
|
|
|
|
* src/glade-editor.[ch]: Insensitive "Documentation" and "Reset" buttons when
|
|
no widget is loaded.
|
|
|
|
2006-05-03 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/gladeui-sections.txt: updated.
|
|
|
|
* doc/Makefile.am: Ignome glade-devhelp.h
|
|
|
|
* src/glade-devhelp.c: Fixed glitch with radio button notebook
|
|
tab emulator.
|
|
|
|
* src/glade-editor-property.c: Fixed invisible check buttons for
|
|
optional properties
|
|
|
|
* src/glade-project-window.c: Moved the devhelp creating code into
|
|
glade_project_window_create() where it belongs, now devhelp is
|
|
invisible by default.
|
|
|
|
* src/glade-utils.c:
|
|
glade_util_get_hbuttons --> glade_util_get_devhelp_hbuttons.
|
|
|
|
2006-05-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/gladeui-docs.sgml: actually add the "abstract" section.
|
|
|
|
* src/glade-devhelp.c: Improved ui, put navigational buttons on top since
|
|
I seem to intuitively always look there for them.
|
|
|
|
* src/glade-utils.c:
|
|
o Fixed return without value warnings
|
|
o Print the error from GModule when it fails.
|
|
|
|
2006-05-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/gladeui-docs.sgml: put me as an author, removed the introductory
|
|
chapter and added its content as the "abstract".
|
|
|
|
* src/glade-editor.c: Fixed a visibility bug on the class & name entries.
|
|
|
|
* src/glade-devhelp.[ch], src/glade-utils.c:
|
|
o Added navigational buttons (forward, back)
|
|
o Gained realestate by hiding the notebook tabs and putting search &
|
|
document buttons along side the navigational buttons.
|
|
o Added api to return a list of buttons in the hbox
|
|
|
|
* src/glade-project-window.c:
|
|
o Get the buttons and put them in a size group with the expand/collapse
|
|
buttons (to align the plugin buttons in the project window).
|
|
o Now default on the gtk+ reference manual and put a "documentation"
|
|
help menu item pointing to the glade builder documentaiton.
|
|
|
|
2006-04-30 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* Glade now installs theme friendly icons (GNOME Goal #2)
|
|
|
|
2006-04-30 Yevgen Muntyan <muntyan@tamu.edu>
|
|
|
|
* src/glade-project-window.c: fixed bug 339855
|
|
(recent project ordering) and bug 339249.
|
|
|
|
2006-04-30 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in, src/Makefile.am, src/glade-paths.sh.in:
|
|
o Cleanup build in src/Makefile.am
|
|
o Now build and install a devhelp module if a usable version
|
|
of libdevhelp is available
|
|
|
|
* src/glade-devhelp.[ch]: A loadable devhelp dockable widgets
|
|
built into a plugin module.
|
|
|
|
* src/glade-app.c, src/glade.h: Added a global for glade_plugins_dir.
|
|
|
|
* src/glade-project-window.c, src/glade-utils.[ch]:
|
|
o Detect if there is a devhelp plugin installed and load the
|
|
devhelp window into the project window in a paned window
|
|
with the project view
|
|
o Added an option to completely hide the devhelp window (but it comes
|
|
back in full window if a devhelp button is pressed.
|
|
|
|
* src/glade-editor.c: Beautified the editor (added alignments and
|
|
a gtk-clear icon for the reset button
|
|
|
|
2006-04-28 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c:
|
|
o Put "Documentation" button on the right
|
|
o Now searches should end up at the page index instead
|
|
of the "struct GtkWidget;" index (for example).
|
|
o Fixed bug in show/hide_context_info()
|
|
|
|
* src/glade-project-window.c:
|
|
Added "View->Context Help" Option
|
|
|
|
2006-04-27 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.[ch]: Added info buttons and
|
|
apis to enable/disable them + signals emitted to say what
|
|
doc book, page and searchstring should be used
|
|
|
|
* src/glade-editor.[ch]: Same as glade-editor-property
|
|
|
|
* src/glade-utils.c: Added functions for detecting and launching devhelp
|
|
|
|
* src/glade-project-window.c: Check if we have devhelp installed; if we do
|
|
then show help buttons and launch devhelp upon "gtk-doc-search" signals
|
|
|
|
* pixmaps/devhelp.png, pixmaps/Makefile.am: Added devhelp book icon
|
|
|
|
* src/glade-app.c: Replace a gtk_widget_show_all with a gtk_widget_show
|
|
on the editor (to avoid needlessly showing hidden buttons).
|
|
|
|
* src/glade-project.c: translated property nicks and blurbs.
|
|
|
|
* src/glade-property-class.[ch]: Added 'virtual' member and resolve
|
|
it at initialization.
|
|
|
|
* src/glade-widget-class.c: use g_build_filename instead of
|
|
g_strdup_printf for icon loading.
|
|
|
|
2006-04-26 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Relesed 2.91.1, now we are working on 2.91.2
|
|
|
|
2006-04-26 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* NEWS: Updated for snapshot release
|
|
|
|
2006-04-25 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am: added atk.xpm to $(libgladeuiinclude_HEADERS)
|
|
|
|
* doc/gladeui-sections.txt: Updated with new apis.
|
|
|
|
* widgets/gtk+.xml.in: Listed all atk action properties needed for the gtk
|
|
catalog.
|
|
|
|
* src/glade-property-class.c, src/glade.h:
|
|
o Added GLADE_TAG_ATK_ACTION & GLADE_TAG_ATK_PROPERTY tag support and
|
|
stripped out introspection on atk properties.
|
|
o Synonymous '-' and '_' in property names at catalog load time.
|
|
|
|
* src/main.c: backed out the "GTK_MODULES=$GTK_MODULES:gail" module loading thing.
|
|
|
|
* src/glade-widget.c: Synonymous '-' and '_' in glade_widget_get_[packing_]property().
|
|
|
|
2006-04-25 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am: added atk.xpm to $(libgladeuiinclude_HEADERS)
|
|
|
|
* doc/gladeui-sections.txt: Updated with new apis.
|
|
|
|
* widgets/gtk+.xml.in: Listed all atk action properties needed for the gtk
|
|
catalog.
|
|
|
|
* src/glade-property-class.c, src/glade.h: Added GLADE_TAG_ATK_ACTION &
|
|
GLADE_TAG_ATK_PROPERTY tag support and stripped out introspection on atk
|
|
properties.
|
|
|
|
* src/main.c: backed out the "GTK_MODULES=$GTK_MODULES:gail" module loading thing.
|
|
|
|
2006-04-25 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-builtins.c: Allowed negative custom integer specs.
|
|
|
|
* src/glade-palette.c: Removed notion of class->in_palette
|
|
|
|
* src/glade-widget-class.[ch]: Removed notion of class->in_palette and
|
|
cleaned up the parsing of generic_name and widget titles.
|
|
(modifies muntyan's patch on bug 336594).
|
|
|
|
2006-04-25 Johannes Schmid <jhs@cvs.gnome.org>
|
|
|
|
* src/glade-project.c: Fixed crasher because of read-only check where
|
|
project could be NULL.
|
|
|
|
2006-04-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Fixed load & save of internal buttons
|
|
|
|
* src/glade-property.[ch]: Added glade_property_load()
|
|
(to introspect property values on internal children of composite
|
|
widgets at creation time).
|
|
|
|
* src/glade-widget.c: introspect property values on internal children of composite
|
|
widgets at creation time
|
|
|
|
2006-04-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Updated
|
|
|
|
* doc/gladeui-sections.txt updated
|
|
|
|
* src/glade-app.[ch]: Majorly reduced the api, now GladeApp is a
|
|
singleton. Added "active-project" signal.
|
|
|
|
* src/glade-builtins.[ch]: Removed unused variable. Enhanced objects
|
|
pspec type to recognize interfaces. Added glade_param_spec_objects_get_type()
|
|
|
|
* src/glade-clipboard-view.c: Trying a cute border.
|
|
|
|
* src/glade-command.c, src/glade-fixed-manager.c,
|
|
src/glade-placehodler.c, src/glade-popup.c, src/glade-project-view.c,
|
|
src/glade-project-window.c:
|
|
Updated for glade-app changes
|
|
|
|
* src/glade-editor-property.c: Implemented objects pspec
|
|
|
|
* src/glade-editor.[ch]: Added atk tab, added cuteness.
|
|
|
|
* src/glade-gtk.c:
|
|
o Translated image type names
|
|
o Added button types (translated)
|
|
o Support for button label & use-underline properties
|
|
|
|
* src/glade-parser.c:
|
|
o Updated for glade-app changes
|
|
o Added save support for atk actions and relations.
|
|
|
|
* src/glade-project.c:
|
|
o Updated for glade-app changes
|
|
o Fixed glade_project_fix_object_props for object lists
|
|
|
|
* src/glade-property-class.[ch]:
|
|
o Hardcoded atk relations and action names
|
|
o Added glade_property_class_make_gvalue(),
|
|
glade_property_class_get_from_gvalue(),
|
|
glade_property_class_new_atk_action(),
|
|
glade_property_class_list_atk_relations(),
|
|
glade_property_class_atk_realname()
|
|
o Fixed glade_property_class_is_object()
|
|
(object lists qualify)
|
|
|
|
* src/glade-property.[ch]:
|
|
o Integrated property load proceedure into glade-property,
|
|
loading code much cleaner and less redundant.
|
|
(Added glade_property_read())
|
|
o Implemented atk properties (save/load)
|
|
|
|
* src/glade-utils.[ch]: Added glade_util_read_prop_name(),
|
|
glade_util_added_in_list(), glade_util_removed_from_list(),
|
|
glade_util_class_implements_interface()
|
|
|
|
* src/glade-widget-class.c: Introspect atk properties
|
|
|
|
* src/glade-widget.c: Simplified load code, moved property load
|
|
code to glade-property, save atk props properly.
|
|
|
|
* src/glade.h: Removed the unused atk-relation tag.
|
|
|
|
* src/main.c: Load gail (for atk action introspection)
|
|
|
|
* src/atk.xpm: New atk icon
|
|
|
|
* widgets/gtk+.xml.in:
|
|
o GtkLabel label property --> translatable
|
|
o GtkButton label property --> translatable, multi-line
|
|
o Added GtkButton "type" property and GtkButton remove-child-function
|
|
|
|
2006-04-19 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-editor-property.c: Simplified code and added comments
|
|
|
|
* src/glade-property-class.c: Fixed possible deadlock in
|
|
glade_property_class_make_string_from_flags
|
|
|
|
* src/glade-widget.c: Enhanced trace output
|
|
|
|
* widgets/gtk+.xml.in: Disabled some pointless/obsolete properties.
|
|
|
|
2006-04-18 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Open file in "a+" mode and not "w", which was
|
|
truncating the file only to check if it was writable ( ! doh ! )
|
|
|
|
* src/glade-widget.[ch]:
|
|
o Added GladeCreateReason argument to glade_widget_new_for_internal_child(),
|
|
now internal children get post create functions called for them.
|
|
o Fixed bug 336581 (apply internal widget names at load time).
|
|
|
|
* src/glade-gtk.c:
|
|
o Added per dialog support for dialog buttons (get_children(),
|
|
get_internal_child() && create internals in post_create()) (Fixing bug 337196)
|
|
o Added #include "config.h" for GETTEXT_PACKAGE, now glade-gtk shares the same
|
|
domain as libgladeui-1.
|
|
|
|
* widgets/gtk+.xml.in: Removed redundant declaration of glade_gtk_dialog_post_create()
|
|
in the GtkMessageDialog, added "get-children-function" support to GtkDialog.
|
|
|
|
* doc/Makefile.am: Added webdocs target to tailor docs for the web (to cross-link
|
|
to the developer.g.o api docs properly).
|
|
|
|
* doc/gladeui-sections.txt, doc/tmpl/*: Updated sections for new apis
|
|
|
|
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
|
|
|
|
* configure.in: Remove obsolete entry for no_NO.
|
|
* po/no.po: And the translation.
|
|
|
|
2006-04-11 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Fixed broken build (I commited with an error
|
|
of undefined W_OK for g_access), now we actually try to open the
|
|
file for writing to see if its writable.
|
|
|
|
* doc/catalogintro.sgml: Added a bit about the new init-function by Juan.
|
|
|
|
2006-04-10 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* src/glade-project-window.c:
|
|
o Manage the sensitivities of all the ui actions.
|
|
o Fix some issues with the Undo & Redo actions.
|
|
|
|
* src/glade-project.[ch]:
|
|
o Detect if project file is read-only. New property "read-only"
|
|
o Detect if project has a selection. New property "has-selection"
|
|
|
|
* src/glade-clipboard.[ch]:
|
|
o Detect if clipboard has selected items to paste.
|
|
New property "has-selection"
|
|
|
|
* src/glade-utils.h: New function: glade_util_file_is_writeable ().
|
|
|
|
* src/main.c:
|
|
o Use glib instead of libpopt for command-line parsing.
|
|
o Added '--version' option.
|
|
o Do not try to open non-existent files supplied
|
|
on command-line.
|
|
|
|
* configure.in: Remove libpopt dependency.
|
|
|
|
2006-04-04 Yevgen Muntyan <muntyan@tamu.edu>
|
|
|
|
* src/glade-project-window.c: Removed GDK_WINDOW_TYPE_HINT_UTILITY hint from
|
|
palette, as this does weird things like remove it from the tab list on
|
|
some window managers.
|
|
|
|
* src/glade-catalog.c: Fixed possible segfault by assigning GError * to NULL.
|
|
|
|
2006-04-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-editor-property.c: new GladeEditorProperty class
|
|
GladeEPropAdjustment.
|
|
|
|
* src/glade-gtk.c: removed old GtkSpinButton adjustment support.
|
|
added glade_gtk_spin_button_set_adjustment ().
|
|
|
|
* src/glade-property-class.c: added support for GtkAdjustment
|
|
properties.
|
|
|
|
* widgets/gtk+.xml.in: added default adjustment values for
|
|
GtkSpinButton and GtkRange. Disabled GtkViewport and
|
|
GtkScrolledWindow adjustment properties.
|
|
|
|
2006-04-04 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/catalogintro.sgml: Updated docs to reflect the recently implemented
|
|
installation method.
|
|
|
|
* src/glade-project-window.c: Refitted Yevgen Muntyan's patch on bug 336579
|
|
to apply for "Save" as well and applied (also enhanced saving untitled projects
|
|
when prompted at close time).
|
|
|
|
* src/glade-widget.[ch]: Added glade_widget_is_dupping()
|
|
|
|
* src/glade-property.c: Dont call verify functions if the project is
|
|
loading or there is a widget recursive dup happening.
|
|
|
|
* src/glade-property-class.h: Clarified docs
|
|
|
|
* src/glade-gtk.c: Removed obsolete call to glade_project_is_loading() in
|
|
a verify function.
|
|
|
|
2006-04-04 Yevgen Muntyan <muntyan@tamu.edu>
|
|
|
|
* configure.in, src/Makefile.am, src/glade-3.pc.in:
|
|
New pc file for extention libraries to find where to install there catalogs,
|
|
pixmaps and library.
|
|
|
|
* src/glade-widget.[ch]: Added a "parent_name" argument to
|
|
glade_widget_new_for_internal_child(), create internal widget names
|
|
accordingly.
|
|
|
|
* src/glade-gtk.c: Adjusted callers to glade_widget_new_for_internal_child().
|
|
|
|
2006-04-03 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-catalog.c: Added GladeCatalogInitFunc so you could define a function
|
|
to be executed before instantiating any catalog's object.
|
|
|
|
* src/glade-project-view.c: glade_project_view_populate_model now shows toplevels
|
|
in the right order.
|
|
|
|
* src/glade-property.c: fixed a bug in glade_property_write_impl which prevented
|
|
properties with an empty string as value being saved.
|
|
|
|
* src/glade-utils.[c/h]: new function glade_util_load_library() moved from
|
|
glade_widget_class_load_library()
|
|
|
|
* src/glade-widget-class.c: glade_widget_class_load_library() replaced with
|
|
glade_util_load_library()
|
|
|
|
* src/glade.h: added tag GLADE_TAG_INIT_FUNCTION.
|
|
|
|
2006-03-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Removed idle handler hack that has
|
|
been obsoleted by Vincent's smarter one-line patch.
|
|
|
|
* src/glade_project.c: glade_project_open() fixed segfault
|
|
on open faiure.
|
|
|
|
* src/glade-property-class.[ch]: Added glade_property_class_void_value()
|
|
|
|
* src/glade-widget.c: when creating new objects; ignore voided defaults
|
|
using glade_property_class_void_value() (and finally added myself as
|
|
an author).
|
|
|
|
* src/glade-editor-property.c: Fixed segfaults & assertions when dealing
|
|
with NULL colors in GladeEPropColor.
|
|
|
|
* widgets/gtk+.xml.in: Dont save virtual "pages" property on notebook,
|
|
if we dont need it in glade-2 files we dont need it period.
|
|
|
|
2006-03-29 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* src/glade_project.c: glade_project_changed() should not set
|
|
project->changed if project is still in process of being loaded.
|
|
|
|
2006-03-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Call gtk_container_set_focus_[vh]adjustment()
|
|
to fix keynav in the editor.
|
|
|
|
2006-03-21 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Made file chooser ENTER activate the open/save
|
|
button (using gtk_dialog_set_default_response).
|
|
|
|
2006-03-20 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/children.sgml: Added a bit about anarchist children
|
|
|
|
* doc/widgetclasses.sgml: Removed the notion of get_anarchist_children()
|
|
|
|
* doc/gladeui-sections.txt: removed undefined symbols
|
|
|
|
* doc/tmpl/*: auto-updates templates.
|
|
|
|
* src/glade-gtk.c: Updated to use the new glade_widget_new_for_internal_child
|
|
API
|
|
|
|
* src/glade-widget-class.[ch], src/glade.h: Removed notion of anarchist children
|
|
|
|
* src/glade-widget.[ch]: Added "anarchist" property and "anarchist" argument
|
|
to glade_widget_new_for_internal_child() (only internal children can be
|
|
anarchists).
|
|
|
|
* src/glade-project-view.[ch]: Dramaticly reworked, now each project has its
|
|
own metadata struct where signal ids and project view state is stored,
|
|
project signals now are only disconnected at project close time.
|
|
The open treeview leafs and scrollbar positions are now saved/restored
|
|
when switching active projects.
|
|
|
|
* src/glade-project-window.c:
|
|
o Translated window title
|
|
o Fixed a bug where the loaded project title apears as
|
|
unsaved.
|
|
|
|
* src/glade-utils.c: Added comments, changed 'char' --> 'gchar'
|
|
|
|
* widgets/gtk+.xml.in: Removed mention of the get_anarchist_children func,
|
|
override the get_children func for GtkCombo to additionally return the
|
|
combo->list member (which is an anarchist child).
|
|
Also added a gtk_container_remove remove-function for GtkListItem since
|
|
it seemed to be empty and causing errors.
|
|
|
|
* src/glade-project.c:
|
|
o Fixed glade_project_write() to count the required libs in the GList
|
|
before freeing the GList (was SEGFAULT on save of any projects useing
|
|
extra libs).
|
|
o Made glade_project_display_name() take a "mnemonic" arg... to escape
|
|
any underscores when setting the display name in a mnemonic label.
|
|
o Fixed a bug where projects with required added libs where segfaulting
|
|
at save time.
|
|
|
|
2006-03-15 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* src/glade-project.c: Improved name generation for new empty projects.
|
|
|
|
* src/glade-utils.c: Enable overwrite confirmation in FileChooser dialog
|
|
|
|
2006-03-15 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c, src/glade-project.[ch]: Tweaked the
|
|
project list to look more aligned with unsaved changes indicated
|
|
(using tab charachters); also reverted to print the project path
|
|
in the status bar as a tooltip (as this is the only indication as
|
|
to which project is which).
|
|
|
|
* src/glade-widget-class.[ch], src/glade.h: Removed glade_widget_class_get_all_children,
|
|
now glade_widget_class_get_children returns all desired children, including
|
|
orphan ararchist internal children.
|
|
|
|
* src/glade-editor-property.c, src/glade-project-view.c, src/glade-project.c,
|
|
src/glade-widget.c, src/glade-utils.c: Adjusted callers for
|
|
glade_widget_class_get_children.
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml.in: Adjusted backend, removed obsolete
|
|
get_internal_children funcs and added the appropriate get_anarchist_children.
|
|
|
|
* doc/tmpl/*, doc/gladeui-sections.txt: Added new symbols... removed old ones.
|
|
|
|
* doc/widgetclasses.sgml: added a bit about
|
|
get-anarchist-children-function
|
|
|
|
2006-03-15 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* src/glade-project-window.c:
|
|
o Reimplemented code for management of projects list menu.
|
|
o Projects with unsaved changes have a '*' prepended to their names.
|
|
o Refresh window title when all projects have been closed.
|
|
|
|
* src/glade-project.c: New GObject property 'has-unsaved-changes'.
|
|
glade_project_changed() will now emit notify signal for this property.
|
|
|
|
* src/glade-app.c: change order in which projects are added to list of
|
|
open projects in glade_app_add_project().
|
|
|
|
2006-03-14 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property-class.c: Removed a ridiculous line of
|
|
code that was making all container class properties recognized
|
|
as packing properties (overlooked from my previous rework in
|
|
that area).
|
|
|
|
2006-03-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property.[ch], src/glade-widget.[ch]: Added
|
|
"catalog_default" arg to glade_property_new() and adjusted callers.
|
|
|
|
* src/glade-property-class.[ch]: Ensure that there are always
|
|
->def and ->orig_def members resolved.
|
|
|
|
2006-03-01 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-gtk.c:
|
|
o GtkBox loading issues fixed.
|
|
o Removed unused code from: glade_gtk_table_has_child and
|
|
glade_gtk_table_refresh_placeholders.
|
|
|
|
* src/glade-widget.c:
|
|
o Ignore properties properly when creating the object.
|
|
(glade_widget_params_from_widget_info and
|
|
glade_widget_build_object functions)
|
|
o Use the introspected default value for properties when
|
|
loading a project. glade_widget_properties_from_widget_info
|
|
|
|
* widgets/gtk+.xml.in: Avoid warnings.
|
|
o Ignore GtkWidget has-default property.
|
|
o Ignore GtkComboBox active, column-span-column and row-span-column properties.
|
|
|
|
2006-02-27 Vincent Geddes <vgeddes@metroweb.co.za>
|
|
|
|
* src/glade-utils.c: Added file filters "All Files" and "Glade Files"
|
|
to FileChooser Dialog.
|
|
|
|
* src/glade-project-window.c: FileChooser save dialog uses 'project->name'
|
|
or 'project->path' as initial selected filename so that dialog is more
|
|
intuitive to user.
|
|
|
|
2006-02-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c:
|
|
o Added packing property recording mechianism to create/delete
|
|
commands (was only there for Cut/Paste).
|
|
o Call glade_widget_create_packing_properties after calling
|
|
glade_widget_class_container_add()
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml.in:
|
|
o Removed unused code from glade_gtk_table_add_child()
|
|
o Added support funcs glade_gtk_container_add/remove_child()
|
|
|
|
* src/glade-property-class.c: Removed unused function: gpc_load_function
|
|
(now uses glade-xml-utils implementation)
|
|
|
|
* src/glade-widget.[ch]: exposed glade_widget_create_packing_properties()
|
|
|
|
|
|
2006-02-23 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Updated list
|
|
|
|
* doc/glade-sections.txt: Updated list
|
|
|
|
* doc/tmpl/*: updated templates from source
|
|
|
|
* src/glade-builtins.[ch]: Implemented GladeParamSpecObjects and
|
|
GLADE_TYPE_GLIST boxed type (intended use for AtkRelation properties).
|
|
|
|
* src/glade-command.c, src/glade-gtk.c: Fixed refcounting for placeholders.
|
|
(updated code for glade_widget_new () also)
|
|
|
|
* src/glade-project-window.c: Fixed parenthesis in complex statement.
|
|
|
|
* src/glade-property-class.[ch]:
|
|
o Added support for atk property detection & GladeParamSpecObjects.
|
|
o Added some more logic that belonged here and was in glade-widget-class.c
|
|
o Fixed "make gvalue from object" logic to not leak a reference to a pixbuf
|
|
(it doesnt crash with pixbuf manipulation... not sure if we dont leak pixbufs
|
|
though).
|
|
|
|
* src/glade-property.c: Simplified code (and fixed limitation of optional properties
|
|
to integer inputs... now any property can be optional).
|
|
Added implicit case to ignore atk_properties
|
|
|
|
* src/glade-widget-class.c: Deffered some logic to glade-property-class and simplified
|
|
code; also added support for atk properties.
|
|
ATK: Disabled for now, not completely implemented... needs save support in glade-property
|
|
and edit support in GladeEditorProperty... just needed to sync CVS for all the other
|
|
relevent work.
|
|
|
|
* src/glade-widget.[ch]: glade_widget_new () takes a boolean query arg now
|
|
|
|
* src/glade-xml-utils.[ch]: now has glade_xml_load_sym_from_node()
|
|
(it makes sence here because we have access to the xml node structs; so we
|
|
can debug around here a little easier).
|
|
|
|
* src/glade-editor-property.c: Added prelimenary support for GladeParamSpecObjects
|
|
(readonly view of glade_widget_class_make_string_from_gvalue() ).
|
|
|
|
* src/glade-fixed-manager.c: Adjusted caller to glade_widget_new().
|
|
|
|
* src/glade.h: added "atk-relation" tag definition.
|
|
|
|
2006-02-21 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Packing GladeEditorProperties were being loaded
|
|
with "use-command" = FALSE, fixed.
|
|
|
|
2006-02-21 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-gtk.c: fixed bug 325791.
|
|
Various GtkTable and GtkBox support fixes.
|
|
(added glade_gtk_table_verify_*_attach, glade_gtk_box_set_child_property
|
|
and glade_gtk_box_remove_child functions)
|
|
|
|
* src/glade-command.c: fixed bug 330305.
|
|
Added glade_command_placeholder_destroyed() destroy handler.
|
|
|
|
* src/glade-project.[ch]: added loading state to projects,
|
|
glade_project_is_loading()
|
|
|
|
* widgets/gtk+.xml.in: added GtkTable child-set-property-function,
|
|
replace-child-function and attach child properties.
|
|
Added GtkBox remove-child-function and child-set-property-function.
|
|
|
|
2006-02-15 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Emergency commit for broken cvs.
|
|
|
|
2006-02-14 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Updated the list.
|
|
|
|
* src/glade-widget.c: Fixed bug in glade_widget_dup_internal ()
|
|
(stupid typo of mine when fixing 320077)
|
|
|
|
* src/glade-utils.[ch]: Removed all the Cut/Copy/Paste/Delete
|
|
stuff, now all in GladeApp.
|
|
|
|
* src/glade-app.c:
|
|
- Moved the bulk of code from glade-utils to
|
|
glade-app (cut/copy/paste/delete) since it was confusing to
|
|
see the chain of events, it should be simpler overall now.
|
|
- Revamped glade_app_config_save() to report errors smoothly
|
|
(fixes bug 310141)
|
|
|
|
* doc/glade-sections.txt, doc/tmpl/*: Adjusted doc structure
|
|
for new apis and removed old apis.
|
|
|
|
* src/glade-project-window.c: Now the statusbar message shows the
|
|
correct project name after "Save As...".
|
|
|
|
2006-02-13 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c: No more glade_util_ui_message(), deffer that
|
|
to callers, g_critical() messages added where inapropriate states
|
|
are detected.
|
|
|
|
* src/glade-utils.c: Take some responsability when calling glade_command
|
|
for Cut/Copy/Paste/Delete.
|
|
|
|
* src/glade-widget.c: Documented some functions, special-cased GtkWindow
|
|
in glade_widget_dup_internal(), replicating copied GtkWindow "run-time"
|
|
sizes (bug 320077).
|
|
Removed useless special-cased call to gtk_widget_show_all() also in
|
|
glade_widget_dup_internal(); showing widgets is taken care of in
|
|
glade_widget_show().
|
|
|
|
2006-02-10 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/*.sgml, doc/tmpl/*.sgml: Finished writing up short and long
|
|
descriptions for all generated docs, also fixed up main page a bit.
|
|
|
|
2006-02-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Glade 3.0 --> Glade-3
|
|
|
|
* doc/tmpl/*.sgml, doc/*.sgml, src/*.c: Massive doc updates,
|
|
migrated some doc from sgml into source files.
|
|
|
|
2006-02-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Require gtkdocize 1.4
|
|
|
|
* doc/Makefile.am: Ignore glade-popup.h
|
|
|
|
* doc/children.sgml, doc/gladeui-docs.sgml, doc/tmpl/glade-app.sgml,
|
|
doc/tmpl/glade-project.sgml, doc/tmpl/glade-widget.sgml: Doc updates.
|
|
|
|
* src/glade-project.c: Made project signals have object type args for
|
|
GladeWidgets (of type GLADE_TYPE_WIDGET).
|
|
|
|
* src/glade-widget.c: GladeWidget GType is now registered as "GladeWidget"
|
|
and not "Gladewidget".
|
|
|
|
2006-02-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* doc/Makefile.am,
|
|
Added Files: doc/gladeui-docs.sgml, doc/gladeui-overrides.txt,
|
|
doc/gladeui-sections.txt, doc/gladeui.types,
|
|
Removed Files: doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types:
|
|
Making doc module called "gladeui" instead of "glade" to represent the
|
|
libgladeui library, mostly just to make sure we have namespace wherever
|
|
we install (since "glade" docs could concievably come from libglade, glade-2
|
|
or whatever), these are the initial revisions of these files anyway, so
|
|
no need to surgically move the cvs history.
|
|
|
|
2006-02-07 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property.c: Fixed up blurbs on installed properties
|
|
|
|
* src/glade-editor-property.c: Added tooltips on i18n dialog.
|
|
|
|
* configure.in: Now really bumping the required GTK+ to 2.8
|
|
|
|
2006-02-07 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* autogen.sh: require automake 1.9
|
|
|
|
* Makefile.am, doc/Makefile.am, doc/.cvsignore, configure.in:
|
|
Added environment for gtk-doc generation.
|
|
|
|
* doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types,
|
|
doc/version.xml.in, doc/tmpl/*: Added initial documentation
|
|
metadata.
|
|
|
|
* src/*.h: Line break LIBGLADEUI_API everywhere so that documentation
|
|
generation works (wierd trade, I know).
|
|
|
|
* po/POTFILES.in: Added glade-custom.c
|
|
|
|
2006-02-06 Clytie Siddall <clytie@riverland.net.au>
|
|
|
|
* configure.in Added vi in ALL_LINGUAS line.
|
|
|
|
2006-02-03 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Updated (removed bugs 317949, 329514 and 324389 from list).
|
|
|
|
* src/Makefile.am: Added glade-custom.[ch] to the libgladeui library.
|
|
|
|
* src/glade-fixed-manager.c: Fixed comment
|
|
|
|
* src/glade-placeholder.c: Removed redundant code
|
|
|
|
* src/glade-property.c: Added myself as an author since I rewrote this
|
|
file as an object.
|
|
|
|
* src/glade-custom.[ch]: New files, custom widget derivatives to emulate
|
|
custom widgets as provided by glade 2 (fixes bug 317949)
|
|
|
|
* widgets/gtk+.xml.in: added Custom widgets to the obsolete group.
|
|
|
|
* src/glade-editor-property.c:
|
|
- Added glade_editor_property_commit which fixes bug 329514.
|
|
- Fixed conflict in sensitivity and enabled for optional properties
|
|
(noticably, now optionaly defaulted to disabled properties show
|
|
up insensitive untill you check them).
|
|
- Enhanced title of object selection dialog.
|
|
|
|
* src/glade-project-window.c: Filtered out cut/copy/paste accelerators
|
|
from the editor window (fixing bug 324389).
|
|
|
|
2006-02-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Added bug 329514 to blockers.
|
|
|
|
* widgets/adding-widgets.txt: Added technical notes for get-function and
|
|
verify-function
|
|
|
|
2006-01-31 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-gtk.c:
|
|
o glade_gtk_menu_editor_reorder () fixed, so you can move a
|
|
submenu item into the menubar.
|
|
o glade_gtk_menu_bar_append_new_item () now sets "stock"
|
|
property.
|
|
o glade_gtk_menu_editor_is_child () item has to be a
|
|
GtkMenuItem. (this prevents treeview to be refresh when adding
|
|
an image to an item :)
|
|
|
|
* widgets/gtk+.xml.in: added new GtkMenuBar displayable values
|
|
for properties child-pack-direction and pack-direction.
|
|
|
|
2006-01-30 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project.c: Fixed a stupid segfault typicly
|
|
in strcmp().
|
|
|
|
* TODO: first go at blockers for glade-3 beta release.
|
|
|
|
2006-01-28 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c: GladeEPropFlags now shows
|
|
treeview directly in editor - Mikael Hermansson
|
|
|
|
* src/glade-project.[ch]: Removed "resource-updated" signal,
|
|
added "resource-added" signal, now resource signals seem to
|
|
be working more logicly (but there will be no signal fired when
|
|
a resource's contents is overwritten from a different source).
|
|
|
|
2006-01-26 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Relesed 2.91.0, now we are working on 2.91.1
|
|
|
|
2006-01-26 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
Applied spelling/grammer fixes by Adam Weinberger.
|
|
|
|
2006-01-25 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* glade-app.c: undo/redo buttons cleanup.
|
|
Use of "destroy" signal instead of week pointers and
|
|
use update-ui default handler to update buttons.
|
|
|
|
* glade-project-window.c: glade_project_window_update_ui() chain up
|
|
with GLADE_APP_CLASS update-ui handler.
|
|
|
|
2006-01-25 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Bumping required gtk version to 2.8
|
|
|
|
2006-01-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: use glade_project_display_name (),
|
|
reverted transientness for glade-3 application
|
|
|
|
* src/glade-command.c: Dont spam the stack with fake name
|
|
changes.
|
|
|
|
* src/glade-editor-property.c: Added return check
|
|
|
|
* src/glade-gtk.c: Use glade_widget_copy_properties to
|
|
transfer prop values on type-changing menu items,
|
|
menu-editor --> modal window.
|
|
|
|
* src/glade-project.[ch]: Added glade_project_display_name ()
|
|
|
|
* src/glade-property-class.[ch]: Assign pspec->owner_type when
|
|
parsing pspecs, added glade_property_class_match ()
|
|
|
|
* src/glade-widget.[ch]: Made glade_widget_copy_props exposed to
|
|
glade_widget_copy_properties and rewrote it (also redistributed
|
|
some g_critical()s ).
|
|
|
|
2006-01-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* glade-app.[ch]: glade_app_[undo/redo]_button_new()
|
|
new functions to create undo/redo buttons which are updated
|
|
automatically.
|
|
|
|
* glade-gtk.c: glade_gtk_table_has_child() improved
|
|
(bug 325791 still open, now the glade file loads right
|
|
but editing packing properties of GtkTable children still
|
|
does not remove/add placeholders accordingly)
|
|
undo/redo buttons added to MenuBarEditor
|
|
|
|
2006-01-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
Reverted last change by Lluis since it introduced a bug in
|
|
copy/paste/create/delete undo/redo items.
|
|
|
|
2006-01-24 Lluis Sanchez Gual <lluis@novell.com>
|
|
|
|
* glade-utils.c: Created glade_util_is_toplevel, which replaces
|
|
calls to GTK_WIDGET_TOPLEVEL and works for embedded windows.
|
|
|
|
* src/glade-command.c, src/glade-popup.c, src/glade-widget.c:
|
|
Use glade_util_is_toplevel instead of GTK_WIDGET_TOPLEVEL.
|
|
|
|
2006-01-24 Raphael Higino <raphaelh@cvs.gnome.org>
|
|
|
|
* configure.in: Added pt_BR to ALL_LINGUAS.
|
|
|
|
2006-01-23 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project.c: Fixed broken resource pool & wrote some doc.
|
|
Now save the "<required lib="..."/> catalog requirements to the
|
|
glade file and complain when loading glade files that demand
|
|
unavailable catalogs.
|
|
|
|
* src/glade-widget-class.[ch]: Added widget_class->catalog
|
|
|
|
* src/glade-catalog.[ch]: Added glade_catalog_is_loaded (), call
|
|
gwc_new with catname arg.
|
|
|
|
* src/glade-parser.c: Added glade_util_ui_message error messaging
|
|
when having errors loading glade files.
|
|
|
|
* src/glade-project-window.c: Removed redundant error message.
|
|
|
|
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c: Fixed nasty segfault when
|
|
property signal connections get leeked (no more leeks).
|
|
|
|
* src/glade-gtk.c: Added comments
|
|
|
|
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property-class.c: Fixed broken pixbuf properties :)
|
|
|
|
* src/glade-widget.[ch]: Added glade_widget_has_launcher &
|
|
glade_widget_launch_editor.
|
|
|
|
* src/glade-parser.c: Fixed segfault (oops).
|
|
|
|
* src/glade-editor.c: Use glade_widget_has_launcher &
|
|
glade_widget_launch_editor (now "Edit..." button comes up
|
|
for custom editors in the ancestry).
|
|
|
|
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-parser.[ch]: Implemented load/save of "translatable",
|
|
"context" and "comments" attributes on properties (atk or not)
|
|
|
|
* src/glade-property.c, src/glade-widget.c: Doing our part to load
|
|
and save i18n information (fixing bug 325628)
|
|
|
|
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-signal.c: Load userdata/object field from parser
|
|
info onto the GladeSignal object properly (fixed bug 326715).
|
|
|
|
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c: Removed chdir code
|
|
|
|
* src/glade-command.c: Remember original project in paste commands
|
|
|
|
* src/glade-editor-property.c: GladeEPropPixbuf becomes GladeEPropResource, now
|
|
it interfaces with the glade-project resource control stuff.
|
|
|
|
* src/glade-gtk.c, src/glade-property.c:
|
|
fixed for new syntax of glade_project_add_object()
|
|
|
|
* src/glade-project-window.c:
|
|
o Manage project menuitems and "merge-id" outside of glade-project.
|
|
o New api glade_util_ui_message
|
|
|
|
* src/glade-project.[ch]:
|
|
Added "resource-update"/"resource-removed" signals and functions:
|
|
o glade_project_set_resource ()
|
|
o glade_project_list_resources ()
|
|
o glade_project_resource_fullpath ()
|
|
Removed:
|
|
o glade_project_get_menuitem ()
|
|
o glade_project_get_menuitem_merge_id ()
|
|
Now a new "old_project" parameter to glade_project_add_object ()
|
|
|
|
* src/glade-property-class.[ch], src/glade.h:
|
|
o Added support for "resource" tag in catalogs
|
|
o Resource file path substituting when generating gvalues
|
|
(modified glade_property_class_make_gvalue_from_string API).
|
|
|
|
* src/glade-utils.[ch]:
|
|
o Enhanced version of glade_util_ui_message
|
|
o glade_util_copy_file () added
|
|
|
|
* src/glade-widget.c: Adjusted for new version of
|
|
glade_property_class_make_gvalue_from_string
|
|
|
|
* widgets/adding-widgets.txt: Updated manual for resource tag.
|
|
|
|
2006-01-20 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Added glade_util_canonical_path ()
|
|
|
|
* src/glade-project-window.c: Use project->path instead of user
|
|
provided path in recent files.
|
|
|
|
* src/glade-project.[ch]: Use glade_util_canonical_path () for
|
|
a clean project full path.
|
|
|
|
2006-01-17 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c: Fixed bug where widgets weren't selectable
|
|
if multiple projects were loaded (also removed G_END_DECLS from
|
|
the end of this C file).
|
|
|
|
2006-01-17 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.[ch]:
|
|
o Revert changes "free all GladeEditorTable"
|
|
from Juans last patch; editor tables are *not to be freed*,
|
|
instead they are instantiated once per class and juggled
|
|
throughout the application (my bad for not noticing this in
|
|
advance).
|
|
o Catch GladeProjects "close" signal and clear the editor.
|
|
|
|
* src/glade-gtk.c: Shut up a compiler warning
|
|
|
|
* src/glade-project-view.[ch]: Catch GladeProjects "close" signal and
|
|
detatch the GladeProjectView.
|
|
|
|
* src/glade-editor-property.[ch]: Catch GladeProjects "close"
|
|
signal and drop the loaded GladeProperty.
|
|
|
|
* src/glade-app.c: in glade_app_remove_project(), now simply
|
|
g_object_unref() the removed project and let the universe
|
|
adjust itself.
|
|
|
|
2006-01-17 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-parser.[ch], src/glade-project.c:
|
|
Integrated patch from Lluis Sanchez to simplify GladeInterface
|
|
creation.
|
|
|
|
* src/glade-widget.c: enhanced some documentation.
|
|
|
|
2006-01-15 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Reverted latest change on GtkTable
|
|
|
|
2006-01-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-project.[ch]: New project signal "close".
|
|
|
|
* src/glade-app.c: glade_app_remove_project() unrefs project
|
|
resulting in "close" signal being fired for cleanup purposes.
|
|
glade_project_new_from_interface() now set the project status
|
|
(changed flag) in a low priority idle function, this makes
|
|
safe to use idle functions (normal priority) in plugins.
|
|
glade_project_set_accel_group() removes old accel group.
|
|
(bug 316104)
|
|
|
|
* src/glade-widget.c: glade_widget_build_object() skip object
|
|
properties with NULL values.
|
|
glade_widget_params_from_widget_info() skip properties
|
|
that should be ignored.
|
|
|
|
* src/glade-editor.[ch]: free all GladeEditorTable (widget,
|
|
packing and common) when loading page.
|
|
(ie in glade_editor_load_widget_page)
|
|
|
|
* src/glade-gtk.c: RadioMenuItem support.
|
|
GtkMenuEditor reorder bug fixed.
|
|
MenuEditor is not modal anymore. (to access to undo/redo)
|
|
glade_gtk_table_has_child() fix, widgets in a table can occupy
|
|
more than one row/column. (bug 325791)
|
|
Fixed label "use-underline" property at load time. (bug 325801)
|
|
|
|
* src/glade-widget-class.c: segfault fixed when merging
|
|
RadioMenuItem class in glade_widget_class_merge_properties()
|
|
|
|
* widgets/gtk+.xml: new GtkMenuShell packing property "position".
|
|
Set GtkWidgetClass's "sensitive" property to be ignored.
|
|
|
|
2006-01-13 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* widgets/adding-widgets.txt: Updating document phase two.
|
|
|
|
2006-01-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* widgets/adding-widgets.txt: Updating document phase one.
|
|
|
|
2006-01-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* po/POTFILES.in: Made widgets/gtk+.xml --> widgets/gtk+.xml.in (doh).
|
|
|
|
2005-12-27 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c: glade_command_cut_copy_paste_common(); fixed
|
|
"project" source in case of `type == GLADE_PASTE'
|
|
|
|
* src/glade-editor-property.c: Clean up compiler warnings, removed useless
|
|
mnemonic label.
|
|
|
|
* src/glade-project.[ch], src/glade-property.c, src/glade-widget.[ch]:
|
|
Implemented references on widgets from object properties, object properties
|
|
are automaticly set to NULL when the target object is removed from its
|
|
project, an undo will result in the object being re-added to the project;
|
|
and its reffered properties to be reset to thier previous value.
|
|
|
|
2005-12-27 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c: Added GLADE_TYPE_EPROP_OBJECT (object properties)
|
|
|
|
* src/glade-parser.[ch]:
|
|
o Exported new function: glade_parser_pvalue_from_winfo()
|
|
o Removed duplicate implementation of alloc_string & alloc_propname
|
|
|
|
* src/glade-project-view.c: Will display toplevel widgets which are not
|
|
nescisarily GtkWidgets.
|
|
|
|
* src/glade-project.c, src/glade-widget.c: Implemented a kick-start so
|
|
that object properties are loaded/looked up after the whole project
|
|
is finished loading.
|
|
(glade-widget.c: Added glade_widget_has_decendant)
|
|
|
|
* src/glade-property-class.[ch]:
|
|
o Added object support to glade_property_class_make_gvalue_from_string &
|
|
glade_property_class_make_string_from_gvalue
|
|
o Added glade_property_class_is_object, glade_property_class_make_gvalue_from_vl &
|
|
glade_property_class_set_vl_from_gvalue.
|
|
|
|
* src/glade-property.[ch]:
|
|
o Added documentation
|
|
o Added glade_property_equals_value, glade_property_equals_va_list & glade_property_equals
|
|
|
|
|
|
* src/glade-gtk.c: Removed unneeded radio button "group" property support
|
|
(handled genericly as an object property)
|
|
|
|
* widgets/gtk+.xml.in: Disabled alot of irrelevent object type properties,
|
|
removed the custom "group" property on radio buttons.
|
|
|
|
2005-12-16 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.[ch]: Implemented command grouping and
|
|
nested command grouping.
|
|
Added glade_command_next_undo_item, glade_command_next_redo_item,
|
|
glade_command_push_group and glade_command_pop_group.
|
|
|
|
* src/glade-project-window.c: GladeCommand description in undo/redo toolbar
|
|
buttons, use glade_command_next_undo_item, glade_command_next_redo_item
|
|
|
|
2005-12-15 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-widget-class.c: Made some code simplifications and
|
|
fixed a possible segfault.
|
|
|
|
2005-12-14 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-app.c: glade_app_set_project() Sets the
|
|
current/working directory to the project's directory.
|
|
|
|
* src/glade-builtins.c: Added glade_standard_boolean_spec().
|
|
|
|
* src/glade-editor-property.c: New Glade Editor Property Class
|
|
GladeEPropPixbuf. (GdkPixbuf properties)
|
|
|
|
* src/glade-gtk.c: GtkMenuBar Load/Save Support + editor.
|
|
GtkImage loading fixes. glade_gtk_image_set_icon_name().
|
|
GtkLabel added glade_gtk_label_set_label().
|
|
|
|
* src/glade-project-window.c: Added About icon.
|
|
|
|
* src/glade-project.c: glade_project_new_from_interface() make
|
|
project's path always absolute.
|
|
|
|
* src/glade-property-class.c: Added pixbuf property support in
|
|
glade_property_class_make_string_from_gvalue() and
|
|
glade_property_class_make_gvalue_from_string().
|
|
|
|
* src/glade-property.c: Added pixbuf property support in
|
|
glade_property_set_va_list() and glade_property_get_va_list().
|
|
|
|
* widgets/gtk+.xml: New classes. GtkMenuItem GtkCheckMenuItem
|
|
GtkImageMenuItem and GtkSeparatorMenuItem.
|
|
|
|
2005-12-14 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-keys-dialog.[ch], src/glade-menu-editor.[ch], src/Makefile.am:
|
|
obsolete old menu-editing attempt removed.
|
|
|
|
2005-12-14 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Added da, fr, nb and sk to ALL_LINGUAS
|
|
|
|
* po/[da, fr, nb, sk].po: updated po files
|
|
|
|
2005-12-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-xml-utils.c: glade_xml_get_value() now checks for
|
|
underscore varients of tag names since they are not stripped
|
|
from widget catalogs.
|
|
glade_xml_get_value_string() Now fixed to not call claim_string()
|
|
since this is already done by glade_xml_get_value().
|
|
|
|
* src/glade-property-class.c: Removed special case code that
|
|
is now handled for all tag names in glade-xml-utils
|
|
|
|
2005-12-11 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* po/POTFILES.in: Added missing sources & added gtk+.xml
|
|
|
|
* src/glade-builtins.c: Fixed a stooopid bug.
|
|
|
|
* src/glade-catalog.c: Translated widget groups
|
|
|
|
* src/glade-gtk.c: Removed useless property support.
|
|
|
|
* src/glade-project-window.c: Fixed compiler warning (miscast)
|
|
|
|
* src/glade-property-class.c: Translated disaplayable-values
|
|
and property class names
|
|
|
|
* src/glade-widget-class.c: Translated widget class names
|
|
|
|
* widgets/.cvsignore: Added generated file gtk+.xml
|
|
|
|
* widgets/Makefile.am: Added @INTLTOOL_XML_NOMERGE_RULE@ and
|
|
CLEANFILES = gtk+.xml
|
|
|
|
* widgets/gtk+.xml (to be renamed to gtk+.xml after surgery):
|
|
marked tooltips, displayable values, property names, widget titles
|
|
and widget group titles for translations.
|
|
|
|
* po/*.po: Updated po files with new strings to translate.
|
|
|
|
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c: Now multi-line text inputs scroll automaticly
|
|
(bugzilla 316232)
|
|
|
|
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Implemented a hack to hijack key-press-event on
|
|
the editor window in order to avoid deleting widgets when deleting charachters
|
|
in the property editor.
|
|
|
|
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Fixed crashes when pressing Save with
|
|
no open projects.
|
|
|
|
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* widgets/gtk+.xml: Defaulting GtkCurve curve-type to type spline, due
|
|
to a GTK+ bug where setting the property before realization causes
|
|
a crash.
|
|
|
|
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-builtins.[ch]: Added glade_standard_strv_spec
|
|
|
|
* src/glade-gtk.c: Added Combo Box support
|
|
|
|
* widgets/gtk+.xml: Added Combo Box & Combo Box Entry support,
|
|
also added tooltips on some virtual properties.
|
|
|
|
2005-12-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml: Added support for GtkCombo, GtkList, GtkCList
|
|
Also added support for the new "get_internal_children" backend function
|
|
|
|
* src/glade-popup.c: Adjusted to make the "Add" submenu available
|
|
for any special container relationships (not just non-widgets).
|
|
|
|
* src/glade-utils.[ch]: Added glade_util_purify_list()
|
|
|
|
* src/glade-widget-class.[ch], src/glade.h: Added GladeGetInternalChildrenFunc and changed
|
|
glade_widget_class_contains_non_widgets for glade_widget_class_contains_extra
|
|
|
|
2005-12-07 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.[ch]: Added glade_util_selected_placeholder ()
|
|
|
|
* src/glade-app.c: in glade_app_command_paste (), check for
|
|
the currently selected placeholder to paste into
|
|
(this enables pasting to a placeholder via keyboard shortcuts).
|
|
|
|
2005-12-07 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Now project menu item glitch is
|
|
visually gone (you dont get "no selected projects" anymore).
|
|
Note that this is still a hack using toggle items to portray
|
|
a radio menu since we've been unable to get radio items to
|
|
work at this time.
|
|
|
|
2005-12-07 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project.[ch]: added glade_project_reset_path()
|
|
|
|
* src/glade-project-window.c: Now we reset the path of a project if we
|
|
fail to save it for some reason, this way we prompt a filechooser
|
|
the next time we try to save. (This makes most sence when initially
|
|
chosing an unsavable file path).
|
|
|
|
2005-12-06 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.[ch], src/glade-project-window.c:
|
|
Added glade_app_update_instance_count to keep track of
|
|
(and differentiate between) multiple projects with the same name.
|
|
|
|
* src/glade-project.[ch]: Added instance count member to project
|
|
object, also ensured that project->path is always a full path.
|
|
|
|
* src/main.c: fix leak of list of initial projects to load.
|
|
|
|
2005-12-06 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po po/nn.po
|
|
po/no.po po/pl.po po/pt.po po/ru.po po/sv.po po/ta.po po/tr.po
|
|
po/uk.po po/zh_CN.po src/glade-app.c src/glade-app.h
|
|
src/glade-catalog.c src/glade-catalog.h src/glade-command.c
|
|
src/glade-cursor.c src/glade-debug.c
|
|
src/glade-editor-property.c src/glade-editor.c src/glade-gtk.c
|
|
src/glade-id-allocator.c src/glade-palette.c
|
|
src/glade-parameter.c src/glade-placeholder.c
|
|
src/glade-popup.c src/glade-project-view.c
|
|
src/glade-project-window.c src/glade-project.c
|
|
src/glade-property-class.c src/glade-property.c
|
|
src/glade-signal-editor.c src/glade-signal.c src/glade-utils.c
|
|
src/glade-widget-class.c src/glade-widget.c src/main.c:
|
|
Updated land address for the Free Software Foundation in Boston.
|
|
|
|
2005-12-03 Adam Weinberger <adamw@gnome.org>
|
|
|
|
* configure.in: Added en_CA to ALL_LINGUAS.
|
|
|
|
2005-11-26 Funda Wang <fundawang@linux.net.cn>
|
|
|
|
* configure.in: Added Simplified Chinese translation.
|
|
|
|
2005-10-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c: Fixed property sensitivity at load time.
|
|
|
|
2005-10-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor-property.c: Removed unneeded include statements.
|
|
|
|
* src/glade-project-view.c: Added indication for internal widgets &
|
|
special child type widgets in project view.
|
|
|
|
2005-10-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.[ch], src/glade-editor-property.[ch], src/Makefile.am:
|
|
Revamping of the glade-editor, wrenched out the GladeEditorProperty code
|
|
from glade-editor.[ch] and created glade-editor-property.[ch], lots of
|
|
code cleanup all around and now GladeEditorProperty is a GtkWidget with
|
|
a smooth encapsulation, transperent derivitives for different pspec types
|
|
and can now be used standalone inside custom editors.
|
|
|
|
* src/glade-property.[ch]: clarified recursion protection with "syncing" var.
|
|
|
|
* src/glade-property-class.c: Now consults glade_editor_property_supported instead
|
|
of the old glade_editor_editable_property.
|
|
|
|
2005-10-06 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c, src/glade-editor.c:
|
|
Fixed code to startup without an "Edit..." button in the editor.
|
|
|
|
2005-10-04 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Follow up commit, was segfaulting when
|
|
setting editor empty.
|
|
|
|
2005-10-04 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-widget-class.[ch], src/glade-gtk.c, src/glade.h,
|
|
widgets/gtk+:
|
|
- Removed child_property_applies concept, as I feel that
|
|
the approach for response-id is a hack and very specific
|
|
(also unused), we'll fix it properly and think it out...
|
|
for now its cleanup.
|
|
- Added custom editor entry point and added dialog in plugin
|
|
just as an example editor entry point.
|
|
|
|
* src/glade-editor.c: Added button/logic for custom editor entrypoints.
|
|
|
|
2005-10-04 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Fixed use of uninitialized variable.
|
|
|
|
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: post release bumping to work on version 2.91.0
|
|
|
|
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* NEWS Added first ever news entry.
|
|
|
|
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* configure.in: Initial dev snapshot 2.90.0
|
|
|
|
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c:
|
|
- Fixed glade_gtk_box_set_size in regards to internal children.
|
|
- Enhanced dialog post_creation (fixed GtkBox sizes etc, handle message dialog
|
|
differently).
|
|
|
|
* src/glade-widget-class.h: Added create reasong GLADE_CREATE_REBUILD.
|
|
|
|
* src/glade-widget.c: Fixed glade_widget_rebuild() to work with composite
|
|
widgets and internal children, now glade_widget_transport_children will
|
|
recurse and transport and children of internal child containers.
|
|
|
|
2005-09-21 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c, src/glade-project.c, src/glade-command.c,
|
|
src/glade-widget.c:
|
|
Balanced out reference counts on GladeWidgets and their objects
|
|
so that closing a project doesnt leek objects.
|
|
|
|
* src/glade-utils.c: Fixed pasting of toplevel widgets.
|
|
|
|
* src/glade-gtk.c, src/glade-widget.[ch], src/glade-widget-class.[ch],
|
|
widgets/gtk+.xml:
|
|
- Removed concept of fill_empty functions, everything is done through
|
|
post_create.
|
|
- post_create now has a context specific arg `reason' (whether we are
|
|
creating from USER/COPY/LOAD); when reason is USER (i.e. the first
|
|
time it was created); then its time to do fill-empty work.
|
|
|
|
* src/glade-editor.c: Reset dialog now doesnt use packing props (cause
|
|
it just doesn't make sence to), and now they dont show editor invisible
|
|
properties (that was a bug).
|
|
|
|
2005-09-14 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-parse.h: Added CAST_BAD macro (BAD_CAST opposite).
|
|
|
|
* src/glade-parse.c: Changed strcmp() to xmlStrcmp() and use of macros
|
|
to avoid signedness warnings.
|
|
|
|
* src/glade-xml-utils.[ch]: Removed signedness warnings.
|
|
|
|
* src/glade-widget.c: Removed signedness warning.
|
|
|
|
* src/glade-widget-class.c: Removed signedness warnings.
|
|
|
|
2005-09-14 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* widgets/gtk+.xml: Added GtkAccelLabel.
|
|
|
|
2005-09-14 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c, src/glade-property-class.c: Implemented
|
|
GParamSpecBoxed types G_TYPE_STRV & GDK_TYPE_COLOR.
|
|
|
|
* src/glade-gtk.c: Made the color selection dialog from GtkColorButton
|
|
set the current color through glade-command api (like GtkFontButton).
|
|
|
|
* widgets/gtk+.xml: ignore "title" property on GtkWindow & set "Black"
|
|
default for "color" prop on GtkColorButton (avoid segfault from setting
|
|
the property to the default NULL).
|
|
|
|
2005-09-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml: Fixed GtkFontButton implementation;
|
|
Now the font-name property is properly updated in the glade editor
|
|
through the glade-command API (undoable/redoable).
|
|
|
|
2005-09-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Renamed "Defaults..." to "Reset..."
|
|
Fixed up reset dialog a little.
|
|
|
|
2005-09-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Added clause to create correct label value
|
|
for aspect frame.
|
|
|
|
* src/glade-editor.c: Fixed segfault in regards to packing-properties
|
|
(which are rebuilt dynamicly for each class) & the weak pointer
|
|
used for property object signals.
|
|
|
|
* src/glade-widget.c: Call glade_widget_set_default_packing_properties
|
|
at the right time.
|
|
|
|
* src/glade-project-window.c: Dont call glade_project_set_accel_group()
|
|
if there is no accel group set.
|
|
|
|
* src/glade-app.c: Loop over open projects when calling
|
|
glade_app_set_accel_group() incase this is done after any projects
|
|
are open.
|
|
|
|
2005-09-12 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-app.[ch]: Added accel_group member in GladeAppPriv.
|
|
glade_app_set_accel_group() to handle shortcuts in every window.
|
|
|
|
* src/glade-project.[ch]: glade_project_set_accel_group().
|
|
|
|
* src/glade-project-window.c: Added UIManager's acceleration group to every
|
|
window.
|
|
|
|
* src/glade-widget.c: Removed manual "key-press-event" handling.
|
|
|
|
2005-09-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c: Added comment & use glade_widget_show/hide api.
|
|
|
|
* src/glade-editor.c: Fixed defaults dialog a bit.
|
|
|
|
* src/glade-gtk.c: Added backend support for GtkFontButton, GtkExpander,
|
|
GtkColorButton, Fixed possible segfaults.
|
|
|
|
* src/glade-widget-class.[ch]: Added glade_widget_class_container_has_child()
|
|
|
|
* src/glade-widget.c: Fixed "special-child-type" handleing (transfering) in
|
|
glade_widget_dup(), now placeholders are also dupped.
|
|
|
|
* widgets/gtk+.xml:
|
|
- ignore "decorated" property on GtkWindowClass
|
|
- Added GtkFileChooserButton, GtkColorButton, GtkFontButton, GtkAlignment,
|
|
GtkAspectFrame, GtkEventBox, GtkExpander and GtkAboutDialog.
|
|
|
|
2005-08-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* widgets/gtk+.xml: ignore "resizable" property on GtkWindow
|
|
|
|
2005-08-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.[ch]: Now the glade editor is a GtkVBox, allowing it
|
|
greater configurability, now added a hbutton box to it with the "defaults..."
|
|
button.
|
|
|
|
* src/glade-project-window.c: Made property editor a little bigger by default.
|
|
|
|
2005-08-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.[ch]: Added glade_command_set_properties_list().
|
|
|
|
* src/glade-editor.[ch]: Added reset dialog, used property_class->visible_lines
|
|
instead of GladeParams
|
|
|
|
* src/glade-project-window.c: Minor GUI touchups.
|
|
|
|
* src/glade-property-class.[ch], src/glade.h: Implemented visible_lines tag loading,
|
|
touched up comments.
|
|
|
|
* src/glade-property.[ch]: Added glade_property_get_default()
|
|
|
|
* src/glade-signal-editor.c: Removed the search box from the non-searchable treeview.
|
|
|
|
* src/glade-xml-utils.c: fixed up allocator confusions a bit.
|
|
|
|
* widgets/gtk+.xml: Made GtkLabel's label property multi-lined.
|
|
|
|
2005-08-31 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* TODO: Added note about TODO list not being maintained, please
|
|
refer to bugzilla for evertything :)
|
|
|
|
* src/glade-project-window.c: Now uses GtkAboutDialog instead of that
|
|
lengthly dialog building code.
|
|
|
|
2005-08-30 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property.c: Fixed bug in glade_property_write_impl()
|
|
Custom string properties were being dropped, now only NULL custom
|
|
string properties are ommited from the glade file.
|
|
|
|
2005-08-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Made widget name property work like other properties
|
|
(i.e. only commit on "activate" and "focus-out-event" signals, not on every
|
|
char change).
|
|
|
|
2005-08-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property-class.[ch]: Now all native properties (obtained through
|
|
g_object_class_list_properties) have "orig_def" fields (which can still
|
|
be overridden by the "default" tag in the catalog), custom properties have
|
|
no original defaults.
|
|
|
|
* src/glade-property.c: Adjusted glade_property_write accordingly.
|
|
|
|
2005-08-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Fixed g_return_if_fail which should be
|
|
g_return_val_if_fail in idle function.
|
|
|
|
2005-08-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c: glade_default_app_selection_clear() Add call
|
|
to glade_util_clear_selection () so that placeholders selection
|
|
also gets cleared.
|
|
|
|
* src/glade-editor.c: Make ((GladeEditorProperty *)prop)->signal_prop a
|
|
weak pointer to the said property, this way we avoid crashed when
|
|
leaving dangleing pointers from canceled query dialogs.
|
|
|
|
* src/glade-project-view.c: Added GTK_IS_WIDGET() clause avoiding
|
|
dumb warnings.
|
|
|
|
* src/glade-property-class.c: Fixed "name" on custom properties to
|
|
be retrieved from there pspecs, also gave "default" and "name"
|
|
tags precedence to those found on the pspec.
|
|
|
|
* src/glade-widget-class.c: Fixed a hidden segfault waiting to happen.
|
|
fixed order of derived custom properties (used g_list_append, not
|
|
prepend for this special case where the order matters and we cant
|
|
just g_list_reverse).
|
|
|
|
* src/glade-widget.c: Added GTK_IS_WIDGET() clause avoiding
|
|
dumb warnings.
|
|
|
|
* widgets/gtk+.xml: Removed unused glade-parameter stuff.
|
|
|
|
2005-08-18 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-view.c: Use glade_widget_show/hide for toplevels.
|
|
|
|
* src/glade-project-window.c: Place the "Close without saving" dialog in the center of
|
|
the screen.
|
|
|
|
* src/glade-project.[ch]: Added assertions, glade_project_changed().
|
|
|
|
* src/glade-property.c: Call glade_project_changed() when properties change.
|
|
|
|
* src/glade-widget.[ch]: Added glade_widget_show/hide, shows & hides toplevels
|
|
and saves there position.
|
|
|
|
2005-08-18 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Fixed dumb G_IS_OBJECT() assertion failure.
|
|
|
|
* src/glade-command.c: Fixed glade_command_create() to use glade_default_app_selection_clear()
|
|
instead of glade_util_selection_clear() (Fixing bug 312634).
|
|
|
|
2005-08-17 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Fixed use of uninitialized variable
|
|
(resulting in all text entries being multiple line type).
|
|
|
|
* src/glade-gtk.c: Fixed glade_gtk_image_post_create_idle
|
|
(was not returning anything, now returns FALSE, somehow
|
|
I had `0' sitting magicly on the stack so I didnt get the
|
|
bug untill recently)
|
|
|
|
2005-08-12 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Fixed text properties, when text properties were NULL
|
|
by default, the property editor wasn't flushing the previous value
|
|
(bug 313201).
|
|
|
|
* src/glade-property.c: As properties can only be created with a pspec (regardless
|
|
if they are custom or not) they *always* have a default (change code accordingly
|
|
to avoid confusion).
|
|
|
|
2005-08-11 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c: Now when pasting widgets into a container, after the
|
|
actual paste, the newly initialized packing properties are saved on the command
|
|
(I had already done this for CUT, but now realized the need in PASTE).
|
|
|
|
2005-08-11 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.[ch]: added glade_app_set/get_transient_parent &
|
|
glade_default_app_set/get_transient_parent.
|
|
|
|
* src/glade-project-window.c:
|
|
- set the project-window as transient parent of all glade dialogs
|
|
(includeing the editor, clipboard & palette).
|
|
- removed widget tree popup as all the functionality is present embedded
|
|
in the project window.
|
|
|
|
* src/glade-project.c: Set newly added toplevels transient for the transient
|
|
parent window of the glade-app.
|
|
|
|
2005-08-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-widget.c: Dont present top-levels upon load.
|
|
|
|
2005-08-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.c: Fixed a forgotten piece of code that had to change for
|
|
fixed-manager to work properly with paste.
|
|
|
|
2005-08-09 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am, src/glade-accumulators.[ch], glade-fixed-manager.[ch]:
|
|
Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a
|
|
sexier fashion (and in a way that allows any GtkContainer to subscribe
|
|
to this service through the plugin).
|
|
|
|
* src/glade-builtins.c: Fixed date typo
|
|
|
|
* src/glade-command.[ch]:
|
|
- glade_command_set_properties () added to set multiple properties at
|
|
the same time plus allowing to specify the old value that it changed
|
|
from (this is usefull for drag & resize undo events).
|
|
|
|
- Added a g_object_ref to the properties in set property commands
|
|
|
|
- Create/Delete/Cut/Paste code to now use GladeFixedManager where appropriate
|
|
|
|
- Now when we "Cut" a widget, we save a copy of its packing properties for
|
|
future undo's (if it was pasted in another container and "undo" a couple
|
|
times, this becomes nescisary).
|
|
|
|
* src/glade-cursor.[ch]: Added all the new cursor types needed
|
|
for drag/resize events.
|
|
|
|
* src/glade-editor.[ch]: Handle property signals better, added
|
|
signal handler for "value-changed" & "notify::enabled" signals to reload
|
|
& update property values, removed alot of redundant property reloading code.
|
|
|
|
* src/glade-gtk.c: Remove the old clunky GtkFixed handling code and replaced
|
|
it with a call to glade_fixed_manager_new () (also implemented fixed manager
|
|
for GtkLayout).
|
|
|
|
* src/glade-marshallers.list: Added new marshallers
|
|
|
|
* src/glade-project-window.c, main.c: Removed all those includes and
|
|
replaced with #include "glade.h".
|
|
|
|
* src/glade-property.[ch]: Fixed broken types from when I played with headers,
|
|
now the forward declarations are back. (also changed CINFO for the more popular
|
|
alternative; KLASS).
|
|
|
|
* src/glade-utils.c: glade_util_paste_clipboard () now is GladeFixedManager aware.
|
|
|
|
* src/glade-widget.[ch]:
|
|
- use glade-fixed-manager to add children when loading glade files
|
|
- notify manager of handled mouse events (this is a hack that should
|
|
go, once we handle the streamlining of button-press-events on GladeWidget's
|
|
properly).
|
|
- fixed broken types.
|
|
- Added glade_widget[_pack]_property_set_enabled()
|
|
- Added some doc.
|
|
- Made glade_widget_retrieve_from_position() public.
|
|
|
|
* src/glade.h: Added headers.
|
|
|
|
* widgets/gtk+.xml: GladeFixedManager on GtkFixed & GtkLayout.
|
|
|
|
2005-08-01 Naba Kumar <naba@gnome.org>
|
|
|
|
* src/Makefile.am: Fixed a typo where it should be glade-builtins.h instead
|
|
of glade-builtins.c in _HEADERS macro.
|
|
|
|
2005-07-31 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-types.h, src/glade-plugin.h: Removed
|
|
|
|
* src/Makefile.am src/glade-app.h src/glade-builtins.h
|
|
src/glade-catalog.h src/glade-clipboard.h src/glade-command.c
|
|
src/glade-command.h src/glade-cursor.h src/glade-editor.c
|
|
src/glade-editor.h src/glade-gtk.c src/glade-palette.h
|
|
src/glade-parameter.h src/glade-parser.h
|
|
src/glade-placeholder.c src/glade-placeholder.h
|
|
src/glade-project-view.h src/glade-project-window.h
|
|
src/glade-project.c src/glade-project.h
|
|
src/glade-property-class.c src/glade-property-class.h
|
|
src/glade-property.c src/glade-property.h
|
|
src/glade-signal-editor.c src/glade-signal-editor.h
|
|
src/glade-signal.h src/glade-utils.h src/glade-widget-class.c
|
|
src/glade-widget-class.h src/glade-widget.c src/glade-widget.h
|
|
src/glade-xml-utils.h src/glade.h:
|
|
Now "glade.h" is the libgladeui API include for both the plugin and
|
|
the application side (Fixed sources in consequence to a few broken types).
|
|
|
|
|
|
2005-07-31 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-editor.c: Cleared up property->class references, Added comments,
|
|
Made spin button adjustments from the class, not from Glade Parameters.
|
|
|
|
* src/glade-parameter.[ch]: Removed convenience create_adjustement function,
|
|
Certain data found in the xml file is parsed directly onto the class data and
|
|
others are dynamicly added through glade params, for this reason I'm
|
|
depricating use of glade-parameters in the core code, glade-parameters can
|
|
be kept around as a usefull configuration mechanism for plugin writers.
|
|
|
|
* src/glade-gtk.c:
|
|
- Added special enum type & pspec for GtkImage
|
|
- Now GtkImage uses one of three methods to save
|
|
o Filename
|
|
o Stock
|
|
o Icon Theme
|
|
the appropriate controls are disabled & enabled
|
|
accordingly and survive a save/load with no custom
|
|
property help.
|
|
- Icon Size is disabled if a Pixel Size is specified
|
|
(as pixel size takes precedence on this object).
|
|
- Removed pointless unfinished API doc headers, the core
|
|
(i.e. libgladeui) could well be documented for use by
|
|
plugin writers and application writers (like anjuta for
|
|
instance) but in the plugin its pretty pointless.
|
|
|
|
* src/glade-property-class.[ch]:
|
|
- Fiddled with g_critical outputs
|
|
- Added glade_property_class_make_adjustment
|
|
- Added LIBGLADEUI_API to func headers.
|
|
|
|
* src/glade-property.[ch]: Added glade_property_reset()/glade_property_default()
|
|
* src/glade-widget.[ch]: Added glade_widget_property_reset(),
|
|
glade_widget_pack_property_reset(), glade_widget_property_default(),
|
|
glade_widget_pack_property_default().
|
|
|
|
* src/glade.h: Added definitions for defaults in editor adjustments.
|
|
|
|
* widgets/gtk+.xml: Added information for GtkImage properties.
|
|
|
|
2005-07-30 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml:
|
|
- Added comment about why we dont automaticly remove a widget from a button
|
|
when making it stock (tried to fixed that, and realized the complexity).
|
|
- Fixed GtkBox loading mechinism, now we dont save "size" property to the
|
|
glade file are are backwards compatible with glade-2.
|
|
|
|
2005-07-30 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-builtins.c: stock spec name fixed and removed construct only.
|
|
|
|
* src/glade-property.c:
|
|
- Fixed glade_property_dup () to use properties.
|
|
- Fixed double free in glade_property_finalize (thankyou valgrind)
|
|
|
|
* src/main.c: Removed workaround for an old fixed bug in gtk+, no reason to have
|
|
obscure code like that when we are targeting a recent version of gtk+.
|
|
|
|
* widgets/gtk+.xml: Ignore selectable changes & implement ignore property
|
|
|
|
* src/glade-property-class.c, src/glade-property.[ch]: implement ignore
|
|
|
|
2005-07-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/Makefile.am, src/glade-plugin.h, src/glade-buildtins.[ch], widgets/gtk+.xml:
|
|
Added glade builtin pspec types for general purpose use in the plugin.
|
|
This also features a "stock" enum type which is generated with gtk_stock_list_ids.
|
|
|
|
* src/glade-editor.[ch]: Implemented "stock item" menus (works with GLADE_TYPE_STOCK)
|
|
|
|
* src/glade-gtk.c: Removed all the custom pspec (in favor of the builtins) and implemented
|
|
stock buttons properly (they rock by the way :-p )
|
|
|
|
* src/glade-property-class.[ch]: "visible" xml tag is simply a boolean describing
|
|
if it is visible or not in the editor (visible properties now will also be written
|
|
in the editor if they are not default, custom or disable with the "save" xml tag).
|
|
|
|
|
|
2005-07-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c: Simplified code with convenience functions
|
|
|
|
* src/glade-editor.[ch]: Fixed visual state of labels in insensitive state.
|
|
|
|
* src/glade-property.[ch]: Added glade_property_get/set_va_list
|
|
|
|
* src/glade-widget.[ch]:
|
|
Added convenienve functions:
|
|
- glade_widget_property_get/set
|
|
- glade_widget_pack_property_get/set
|
|
- glade_widget_property_set_sensitive
|
|
- glade_widget_pack_property_set_sensitive
|
|
|
|
2005-07-29 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-property.[ch]:
|
|
- made some members properties
|
|
- added glade_property_set (property, ...) convenience function
|
|
- Added set_tooltip & tooltip changed signal
|
|
- Added insensitive property.
|
|
|
|
* src/glade-property-class.h: Clarified comment
|
|
|
|
* src/glade-property-class.c: Properties that are native to GtkWidget go in
|
|
the "common" tab by default (unless overridden by the xml file).
|
|
|
|
* src/glade-editor.[ch]: Now we watch property sensitivity and tooltip status
|
|
|
|
* src/glade-gtk.c: The beginnings of stock buttons.
|
|
|
|
2005-07-28 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c: Fixed a few compile warnings and fixed signal emmission to
|
|
use g_signal_emit().
|
|
|
|
* src/glade-property.[ch]: glade_property_set to use a va_list for convenience,
|
|
added glade_property_set_value for setting properties with GValues.
|
|
Also added emission of value-changed signal.
|
|
|
|
* src/glade-command.c, src/glade-editor.c, src/glade-gtk.c, src/glade-widget.c:
|
|
Changed callers.
|
|
|
|
2005-07-28 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-catalog.c: Fixed bug in catalog_find_by_name (Luc Simard)
|
|
|
|
* src/glade-editor.c: Played around with how properties are dealt with.
|
|
|
|
* src/glade-property-class.[ch], src/glade.h: Added "save" and "editable"
|
|
tags to properties through xml catalog.
|
|
|
|
* src/glade-property.[ch], src/glade-types.h:
|
|
Major revamping of glade-property, now it is a full fledged GObject with
|
|
class method access & the new "value-changed" signal.
|
|
|
|
* src/glade-widget.c: Now g_object_unref the properties instead of
|
|
glade_property_free, also adjusted arguments for glade_property_write.
|
|
|
|
2005-07-28 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-gtk.c:
|
|
- Removed original notebook tab_label stuff
|
|
- Add placeholders to notebook tabs (ultimately they
|
|
should be glade-widget labels)
|
|
- Add GladeWidgetafied GtkLabels to GtkFrame "label-item"
|
|
- Add GladeWidgetafied GtkLabels to GtkButton child
|
|
|
|
* src/glade-widget.c: Made "parent" property pspec spec_object.
|
|
|
|
* widgets/gtk+.xml: Added hooks for GtkFrame & GtkButton creation.
|
|
|
|
2005-07-26 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-transform.[ch], src/Makefile.am, src/glade_plugin.def:
|
|
Removed glade-transform as its not used, this is taken care of by
|
|
glade_property_class_make_gvalue_from_string &
|
|
glade_property_class_make_string_from_gvalue.
|
|
|
|
2005-07-26 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-catalog.c, src/glade.h:
|
|
Implemented catalog dependancies, i.e. if a catalog declares a widget
|
|
that derives from a widget in another catalog; they need to be loaded
|
|
in the right order for the inheritence of metadata to work properly.
|
|
|
|
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.[ch]: Added show_properties method to app_class, this way
|
|
the implementing application can provide an implementation for show_properties.
|
|
|
|
* src/glade-project-window.c:
|
|
- Implemented show_properties method
|
|
- Linked the update_ui_cb directly to app_class->update_ui_signal
|
|
- Removed ugly reference to editor->project_window
|
|
|
|
* src/glade-popup.c: Call show_properties upon "properties" popup click.
|
|
|
|
* src/glade-editor.h: Removed project_window from instance struct (useless and a PITA
|
|
to set).
|
|
|
|
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Applied (and slightly adapted) Andy Somerville's
|
|
patch for bug 303681 (Dock widget tree in project window).
|
|
|
|
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-widget-class.c: Fixed bug in glade_widget_class_merge_properties(),
|
|
Now if a property in a parent class is disabled, it will be disabled in the
|
|
children (also removed useless special case code for "name" property).
|
|
|
|
* widgets/gtk+.xml: Disabled widget name property (since glade-3 handles this
|
|
implicitly for all objects).
|
|
|
|
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.c: Fixed compiler warning
|
|
|
|
* src/glade-editor.c: removed useless include
|
|
|
|
* src/glade-gtk.c, widgets/gtk+.xml: Implemented special-child-type for
|
|
GtkFrame & GtkNotebook
|
|
|
|
* src/glade-parser.c: Implemented support for "placeholder" tags and allow
|
|
placeholders to have packing properties.
|
|
|
|
* src/glade-placeholder.[ch]: Added minimum placeholder size
|
|
|
|
* src/glade-project.c: Removed #if 0 code
|
|
|
|
* src/glade-widget-class.[ch], src/glade.h: Added support for special_child_type
|
|
|
|
* src/glade-widget.c: Added support for special_child_type and placeholders in
|
|
glade files.
|
|
|
|
All the "special-child-type" related work is based on an old patch by Ivan Wong.
|
|
|
|
2005-07-22 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Disallow multiple projects with the same name.
|
|
|
|
* src/glade-utils.[ch], src/glade-app.c: Added glade_util_basenames_match() and
|
|
adjusted callers.
|
|
|
|
* src/glade-app.c: Made glade_app_config_save() more robust.
|
|
|
|
2005-07-12 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-project-window.c: RECENT_PROJECTS_MAX_ENTRIES replaced with
|
|
CONFIG_RECENT_PROJECTS_MAX key in configuration file.
|
|
|
|
2005-06-24 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-utils.[ch]: removed glade_util_str_replace_char(),
|
|
glade_util_replace() already exists.
|
|
|
|
* src/glade-project-window.c: Added clause to save recent files after opening and
|
|
saving projects and when clearing recent queue (i.e. save it when it changes, not
|
|
at quit time).
|
|
also fixed cosmetic bug: changed "Recents" to "Recent" in "Recent projects".
|
|
|
|
* src/glade-app.c, src/glade-project-window.c: Dont allow more than one project
|
|
with the same name to be opened simultainiously (where the project name is
|
|
the basename of the project_path).
|
|
|
|
2005-06-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-app.[ch]: Added GKeyfile handleing
|
|
|
|
* src/glade-parser.c: glade_interface_dump_full modified to use
|
|
GIOChannel, this helps to keep portability issues in the glib domain.
|
|
|
|
* src/glade-utils.[ch], src/glade-project.[ch], src/glade-project-window.c:
|
|
Now uses GtkUIManager instead of GtkItemFactory, Also added recent projects submenu.
|
|
|
|
* widgets/gtk+.xml: Fixed a few cosmetic strings in regards to displayable values.
|
|
|
|
2005-06-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade.h, widgets/gtk+.xml: Changed tag "displayable_values" to
|
|
"displayable-values" for consistancy with the standard.
|
|
|
|
2005-06-08 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* widgets/gtk+.xml: Beautified editor by assigning displayable-values
|
|
to enums & flags values.
|
|
|
|
2005-06-08 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* widgets/gtkbutton.xml, widgets/gtk-dialogs.xml, widgets/gtk-obsolete.xml:
|
|
Removed obsolete xml files.
|
|
|
|
2005-05-31 Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
|
|
* src/glade-editor.c: Fixed. So we can show the displayable values where
|
|
correspond. (enumerations & flags)
|
|
|
|
* src/glade-property-class.c: added the ability to parse the new
|
|
property tag in the catalog. ("displayable_values")
|
|
Added a new function glade_property_class_get_displayable_value().
|
|
rewrite of glade_property_class_make_string_from_flags()
|
|
|
|
* src/glade-property-class.h: new GladePropertyClass member,
|
|
displayable_values.
|
|
|
|
* src/glade.h: new tags, GLADE_TAG_DISPLAYABLE_VALUES & GLADE_TAG_NICK.
|
|
|
|
2005-05-31 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* glade-app.c: Code no longer assumes that GLADE_WIDGET (gwidget)->object
|
|
is a GtkWidget.
|
|
|
|
2005-05-22 Takeshi AIHANA <aihana@gnome.gr.jp>
|
|
|
|
* configure.in: Added 'ja' (Japanese) to ALL_LINGUAS.
|
|
|
|
2005-05-17 Philip Van Hoof <pvanhoof@gnome.org>
|
|
|
|
* src/libgladeui-1.0.pc.in: Fixed this file. The directory isn't
|
|
${libdir}/glade but rather ${libdir}. The name of the library isn't
|
|
gladeui but gladeui-1.
|
|
|
|
2005-05-02 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-popup.c:
|
|
glade_command_create () now asserts "project" argument, fixed
|
|
this in the add-child popup selection.
|
|
|
|
2005-04-20 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* Cleaned up i18n/gettext stuff, Now glade-3 uses <glib/gi18n.h> and
|
|
<glib/gi18n-lib.h> for gettext (using the GETTEXT_PACKAGE in config.h)
|
|
|
|
* removed g_ok_print (this should be g_debug in glib >= 2.6 but we dont
|
|
have very much of that ATM)
|
|
|
|
* lots of ".po" files consiquently updated.
|
|
|
|
2005-04-10 Ivan, Wong Yat Cheung <email@ivanwong.info>
|
|
|
|
* configure.in: Version number should start from 0:0:0 before
|
|
a public release.
|
|
|
|
* src/glade-clipboard-view.c (glade_clipboard_view_button_press_cb):
|
|
* src/glade-editor.c (glade_editor_table_append_items):
|
|
* src/glade-signal-editor.c (glade_signal_editor_load_widget):
|
|
* src/glade-project-view.c:
|
|
* src/glade-widget.c:
|
|
* src/main.c: Get rid of some compilation warnings, correct some
|
|
inconsistent coding style, plus some silly things.
|
|
|
|
* src/glade-project.c: Correct some project loading behaviours. Use
|
|
glade_widget_class_container_get_all_children instead of
|
|
glade_widget_class_container_get_children.
|
|
|
|
* src/glade-utils.c (glade_util_container_get_all_children):
|
|
glade_widget_class_container_get_all_children should use
|
|
gtk_container_forall instead of gtk_container_foreach.
|
|
|
|
* src/glade-widget-class.c: Fix some class inhertance bugs.
|
|
|
|
* src/glade-widget.[ch] (glade_widget_get_pack_property): New.
|
|
|
|
* widgets/gtk+.xml:
|
|
* src/glade-gtk.c: Add some custom add-functons that know how to
|
|
handle placeholder. Handlers for "special child type" are there,
|
|
we just need to wait and re-enable them once placeholder has
|
|
GladeWidget.
|
|
|
|
2005-04-03 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-window.c: Fixed radio project menu
|
|
|
|
2005-04-03 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c: fixed selection bug, modified multiple
|
|
paste behaviour; now when pasting multiple widgets to a placeholder,
|
|
the immediate parent of the placeholder is used as the target.
|
|
|
|
* src/glade-project-window.c:
|
|
do_close () fixed segfault when closing last project.
|
|
|
|
2005-04-02 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-command.c:
|
|
glade_command_paste() now searches for placeholders for
|
|
multi-paste circumstances.
|
|
|
|
* src/glade-project-view.c:
|
|
Added code to adjust selection on project radio item
|
|
on project closure (radio list still doesn't work
|
|
properly).
|
|
|
|
* src/glade-utils.[ch]: glade_util_count_placeholders added
|
|
paste code now considers multiple paste on gtkwidget containers.
|
|
|
|
2005-04-02 Ivan, Wong Yat Cheung <email@ivanwong.info>
|
|
|
|
* configure.in:
|
|
pixmaps/Makefile.am, src/Makefile.am, widgets/Makefile.am,
|
|
src/glade-app.c, src/glade-widget.c, src/glade-paths.sh.in:
|
|
Use a more proper way to detect paths.
|
|
|
|
* src/glade-app.h, src/glade-command.c, src/glade-command.h,
|
|
src/glade-debug.h, src/glade-editor.h, src/glade-gtk.c,
|
|
src/glade-palette.h, src/glade-placeholder.c, src/glade-placeholder.h,
|
|
src/glade-project-view.h, src/glade-project.h, src/glade-property.h,
|
|
src/glade-utils.h, src/glade-widget-class.h, src/glade-widget.h,
|
|
src/glade.h:
|
|
Introduce LIBGLADEUI_API, remove *.def.
|
|
|
|
* src/main.c: some global variables should be freed by libgladeui.
|
|
|
|
2005-04-01 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-app.[ch]: Added global selection API which takes multiple
|
|
projects into account.
|
|
|
|
* src/glade-command.c, src/glade-project-view.c,
|
|
src/glade-utils.c, src/glade-widget.c:
|
|
Use new selection API / Support paste on top-levels
|
|
which change projects.
|
|
|
|
* src/glade-project.[ch]: Added glade_project_has_object ()
|
|
|
|
* src/glade-project-window.c: Made project menu items radio.
|
|
|
|
2005-03-31 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* src/glade-project-view.c: fixed dialog behavior in list mode.
|
|
|
|
* src/glade-app.c, src/glade-command.c,
|
|
src/glade-utils.[ch], src/glade-popup.[ch]:
|
|
Support for paste without selection (for toplevels only).
|
|
|
|
* src/glade-clipboard-view.c: Added context menu with Delete & Paste
|
|
|
|
2005-03-31 Tristan Van Berkom <tvb@gnome.org>
|
|
|
|
* Added MAINTAINERS file.
|
|
|
|
* AUTHORS: Added me to authors list
|
|
|
|
* src/glade-popup.c: Fixed selection bug (placeholders
|
|
werent loosing selection when selection changes through
|
|
the popup).
|
|
|
|
* src/glade-project-window.c: Added "Expand all"/"Collapse all" in
|
|
the widget tree veiw (bug 164740)
|
|
|
|
* src/glade-widget.c: Remove redundant paranoia code.
|
|
|
|
2005-03-14 Naba Kumar <naba@gnome.org>
|
|
|
|
* pixmaps/Makefile.am,
|
|
(added) pixmaps/filechooserdialog.png,
|
|
(added) pixmaps/filechooserdialog.xpm,
|
|
(added) pixmaps/fixed.png,
|
|
(added) pixmaps/hscale.png,
|
|
(added) pixmaps/layout.png,
|
|
(added) pixmaps/menu.png,
|
|
(added) pixmaps/menu.xpm,
|
|
(added) pixmaps/progressbar.png,
|
|
(added) pixmaps/statusbar.png,
|
|
(added) pixmaps/viewport.png,
|
|
(added) pixmaps/vscale.png: Added missing pixmaps.
|
|
|
|
2005-03-10 Naba Kumar <naba@gnome.org>
|
|
|
|
* src/glade-editor.c, src/glade-project-window.c: Aligned editor
|
|
labels. Removed size request on editor widget and set default
|
|
window size for editor window.
|
|
|
|
2005-02-28 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/Makefile.am: Added glade-plugin.h & fixed_bg.xpm to
|
|
header list (for `make dist' purposes)
|
|
|
|
* src/glade-gtk.c: includes fixed_bg.xpm from new location
|
|
(moved fixed_bg.xpm from pixmaps --> src)
|
|
|
|
* src/glade-plugin.h: include glade-palette.h for compiler
|
|
warnings.
|
|
|
|
2005-02-28 Naba Kumar <naba@gnome.org>
|
|
|
|
* configure.in, src/Makefile.am, src/glade-types.h,
|
|
src/libgladeui-1.0.pc.in: Removed libglade dependency.
|
|
|
|
* (new) src/glade-parser.[ch]: Saving and loading code from
|
|
libglade (duplication).
|
|
|
|
2005-02-04 Naba Kumar <naba@gnome.org>
|
|
|
|
* src/.cvsignore: Updated.
|
|
* src/libgladeui-1.0.pc.in: Added libglade as requirement.
|
|
|
|
2005-02-04 Naba Kumar <naba@gnome.org>
|
|
|
|
* configure.in, src/Makefile.am, (new) src/glade-app.c,
|
|
(new) src/glade-app.h, (new) src/glade-command.c,
|
|
(new) src/libgladeui-1.0.pc.in,
|
|
src/glade-gtk.c, src/glade-placeholder.c, src/glade-popup.c,
|
|
src/glade-project-window.c, src/glade-project-window.h,
|
|
src/glade-project.c, src/glade-utils.c, src/glade-widget.c,
|
|
src/main.c:
|
|
- Segregated UI and application engine.
|
|
- Created a library for the engine (libgladeui).
|
|
- glade application specific UI in glade-3 executable.
|
|
- GladeApp class representing glade.
|
|
- GladeProjectWindow class (subclass of GladeApp) implements
|
|
UI for glade3 application.
|
|
- Fixed other files to use glade_default_app_* API to
|
|
retrieve various engine elements.
|
|
|
|
2005-01-16 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-gtk.c: (glade_gtk_menu_bar_post_create):
|
|
- Removed temporary hack
|
|
* src/glade-widget-class.[ch]:
|
|
(glade_widget_class_free):
|
|
- Free default packing list
|
|
(glade_widget_class_set_packing_defaults_from_node):
|
|
- Read default child packings from catalog file.
|
|
(glade_widget_class_get_child_packing):
|
|
(glade_widget_class_get_packing_default_internal):
|
|
- Added
|
|
(glade_widget_class_get_packing_default):
|
|
- Added, used to get the default child packing when packing a widget
|
|
into a specific container.
|
|
* src/glade-widget.c: (glade_widget_copy_packing_props),
|
|
(glade_widget_set_default_packing_properties):
|
|
- Added, sets the default packing properties.
|
|
(glade_widget_set_packing_properties):
|
|
- Call set_default_packing_properties.
|
|
* widgets/gtk+.xml:
|
|
- Added default packings for some widgets. Should be added to a lot
|
|
more of them.
|
|
|
|
2005-01-13 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-gtk.c: (glade_gtk_menu_bar_post_create):
|
|
* src/glade-types.h:
|
|
* src/glade-widget-class.c:
|
|
(glade_widget_class_packing_default_free),
|
|
(glade_widget_class_child_packing_free), (glade_widget_class_free),
|
|
(glade_widget_class_set_packing_defaults_from_node),
|
|
(glade_widget_class_extend_with_node),
|
|
(glade_widget_class_get_packing_defaults):
|
|
* src/glade-widget-class.h:
|
|
- Parsing part of getting packing defaults working. Now the information
|
|
needs to be used when packing.
|
|
* src/glade.h:
|
|
* widgets/glade-catalog.dtd:
|
|
- Added packing-defaults with sub nodes
|
|
* widgets/gtk+.xml:
|
|
- Added packing defaults for menu bar in GtkBox.
|
|
|
|
2005-01-12 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* configure.in: Bumped GTK+ requirements to 2.4
|
|
* src/glade-menu-editor.c: (on_icon_button_clicked):
|
|
* src/glade-project-window.c: (gpw_open_cb), (gpw_save_as),
|
|
(gpw_save_cb), (gpw_save_as_cb), (gpw_confirm_close_project):
|
|
- Updated to use GtkFileChooser API directly.
|
|
- Cleaned up and reuse the save as code for both save and save as.
|
|
- Append .glade on filename if it lacks suffix.
|
|
* src/glade-utils.c: (glade_util_file_dialog_new):
|
|
- Remove the support for GtkFileSelection since we require 2.4.
|
|
|
|
2005-01-12 Richard Hult <richard@imendio.com>
|
|
|
|
* widgets/gtk+.xml: Change the min value for GtkBox size to 1 from
|
|
2. Fixes #163813.
|
|
|
|
2005-01-12 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-property-class.c:
|
|
(glade_property_class_new_from_spec):
|
|
- Added parameter check on spec.
|
|
(glade_property_class_update_from_node):
|
|
- Handle properties not found by introspection and that don't
|
|
specify a spec-function in the catalog file as disabled properties.
|
|
Fixes a crash when loading the catalog file that has GTK+ 2.6
|
|
properties overridden in GTK+ 2.4.
|
|
|
|
2005-01-12 Richard Hult <richard@imendio.com>
|
|
|
|
* widgets/adding-widgets.txt: Add first cut at documentation for
|
|
adding widgets.
|
|
|
|
* widgets/glade-catalog.dtd: Add translatable property.
|
|
|
|
* widgets/gtk+.xml: Change name from tooltip to Tooltip.
|
|
|
|
2005-01-12 Richard Hult <richard@imendio.com>
|
|
|
|
* src/glade-parameter.h:
|
|
* widgets/gtk+.xml: Fix typos in the XML.
|
|
|
|
2005-01-11 Richard Hult <richard@imendio.com>
|
|
|
|
* src/glade-editor.c: (glade_editor_create_input_text),
|
|
(glade_editor_append_item_real),
|
|
(glade_editor_property_load_text),
|
|
(glade_editor_property_load): Merge the translatable and
|
|
non-translatable input widgets.
|
|
|
|
* src/glade-property.c: (glade_property_write),
|
|
(glade_property_i18n_set_comment): Remove debug spew.
|
|
|
|
* widgets/gtk+.xml: Mark the appropriate properties
|
|
non-translatable.
|
|
|
|
2005-01-11 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-catalog.c: (catalog_load), (catalog_load_group):
|
|
- Hide some debug printouts
|
|
* src/glade.h:
|
|
* widgets/glade-catalog.dtd:
|
|
* widgets/gtk+.xml:
|
|
- child-property-applies to child-property-applies-function
|
|
All other functions are named like that.
|
|
|
|
2005-01-07 Richard Hult <richard@imendio.com>
|
|
|
|
* src/glade-editor.c: (glade_editor_property_show_i18n_dialog),
|
|
(glade_editor_create_input_text),
|
|
(glade_editor_create_input_translatable_text),
|
|
(glade_editor_append_item_real),
|
|
(glade_editor_property_load_text),
|
|
(glade_editor_property_load_translatable_text),
|
|
(glade_editor_property_load): Add i18n string handling.
|
|
|
|
* src/glade-property.h:
|
|
* src/glade-property.c: (glade_property_new), (glade_property_dup),
|
|
(glade_property_free), (glade_property_write),
|
|
(glade_property_i18n_*): Add i18n handling.
|
|
|
|
* src/glade-widget.c: (glade_widget_value_from_prop_info),
|
|
(glade_widget_apply_property_from_prop_info),
|
|
(glade_widget_get_property_from_widget_info),
|
|
(glade_widget_properties_from_widget_info),
|
|
(glade_widget_params_from_widget_info): Read i18n metadata
|
|
(doesn't read anything yet, we need to sort out libglade first).
|
|
|
|
2005-01-06 Richard Hult <richard@imendio.com>
|
|
|
|
* src/glade-property-class.h (struct _GladePropertyClass): Add
|
|
translatable value.
|
|
|
|
* src/glade-property-class.c (glade_property_class_new): Init
|
|
translatable value.
|
|
(glade_property_class_update_from_node): Use defines for visible
|
|
and optional tags and parse translatable.
|
|
|
|
* src/glade.h: Add tags for visible and translatable.
|
|
|
|
2005-01-06 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-catalog.c: (catalog_load), (catalog_load_classes),
|
|
(catalog_load_group):
|
|
* src/glade.h:
|
|
* widgets/gtk+.xml:
|
|
- More work on the catalog format.
|
|
- Replaced glade-widgets with glade-widget-classes
|
|
- Replaced glade-widget-class in groups to glade-widget-class-ref to
|
|
be more DTD friendly. Also makes more sense since it's a reference
|
|
to a widget class rather than another widget class definition.
|
|
|
|
2005-01-06 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-catalog.c: (catalog_load), (catalog_load_group):
|
|
* src/glade-widget-class.c: (glade_widget_class_new):
|
|
- Make sure to use the GLADE_TAG defines instead of hardcoding strings.
|
|
- Makes it easier to update the format.
|
|
* src/glade.h:
|
|
- Updated to use new format.
|
|
- Needs some more work, unsure of which tags/attributes are used in
|
|
the catalogs and which are for something else.
|
|
* widgets/Makefile.am:
|
|
* widgets/gtk+.xml:
|
|
- Update the catalog format to be more .glade like.
|
|
|
|
2005-01-05 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-catalog.c: (catalog_load_widgets),
|
|
(glade_catalog_load_all):
|
|
* widgets/Makefile.am:
|
|
* widgets/gtk+.catalog: Removed
|
|
* widgets/gtk+.xml: Added
|
|
- Revert and continue to call catalog files .xml
|
|
|
|
2005-01-05 Mikael Hallendal <micke@imendio.com>
|
|
|
|
* src/glade-catalog.[ch]:
|
|
- Removed need for the palette file, loads all .catalog files in
|
|
catalog directory.
|
|
- New catalog format where a catalog is one per library, for example
|
|
gtk+.catalog. Each catalog contains one or more widget groups.
|
|
Widget class definitions has been separated from the grouping which
|
|
means that you can have a widget in two different groups.
|
|
* src/glade-palette.c:
|
|
- Updated to add widget groups rather than catalogs to the option
|
|
menu.
|
|
(glade_palette_widget_table_create),
|
|
(glade_palette_append_widget_group):
|
|
- Renamed from glade_palette_append_catalog.
|
|
(glade_palette_new):
|
|
* src/glade-palette.h:
|
|
- Made glade_palette_append_widget_group internal.
|
|
* src/glade-types.h:
|
|
- Added GladeWidgetGroup.
|
|
* src/glade-widget-class.c:
|
|
(glade_widget_class_new):
|
|
- Reimplemented to instead take an GladeXmlNode node and load the
|
|
widget class from there.
|
|
* src/glade-widget-class.h:
|
|
- Removed glade_widget_class_new_from_node for which the implementation
|
|
was removed over a year ago.
|
|
* src/glade.h:
|
|
- Moved some GladeCatalog specific XML tags to glade-catalog.c instead.
|
|
* src/main.c: (glade_init):
|
|
- Give a warning if no catalog files where found instead of silently
|
|
exit.
|
|
* widgets/Makefile.am:
|
|
* widgets/gtk+.catalog:
|
|
- Added gtk+.catalog
|
|
|
|
2005-01-05 Richard Hult <richard@imendio.com>
|
|
|
|
* src/glade-project-view.c (gpv_find_preceeding_sibling): Fix
|
|
crash when there are no rows.
|
|
|
|
2005-01-02 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-clipboard-view.c, src/glade-palette.c,
|
|
src/glade-project-view.c, src/glade-widget-class.[ch], src/main.c:
|
|
- Changed GladeWidgetClass (class)->icon from GtkImage --> GdkPixbuf
|
|
- Now unavailable images showup properly on the project-view and the
|
|
clipboard.
|
|
- Needed to implement a little hack to provoke gtk+ to work properly
|
|
(See main.c `gtk_icon_factory_lookup_default ("");')
|
|
|
|
* src/glade-placeholder.c, src/glade-utils.c:
|
|
Fixed flicker on button-click (No need to clear the project and the
|
|
selection and then reselect if you are already selected).
|
|
|
|
2005-01-01 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-command.c: g_list_prepend in loops and
|
|
glade_project_window_get_active_project to get the active project.
|
|
|
|
* src/glade-placeholder.c: Fixed selection in placeholders and now create
|
|
previously selected widget class objects with SHIFT->leftclick.
|
|
|
|
* src/glade-popup.c: glade_project_window_get_active_project to get the
|
|
active project, fixed paste in clipboard.
|
|
|
|
* src/glade-project-window.[ch]: Fixed bug 162102, (no error messages
|
|
when save fails) mostly in the patch to libglade sitting on bug 161903
|
|
which now offers fine grained error detection on save. Also implemented
|
|
alt_class which is available to create widgets with SHIFT->leftclick.
|
|
|
|
* src/glade-project.[ch]: Adaptation to upgraded glade-utils selection
|
|
scheme plus some modifications pertaining to bug 162102.
|
|
|
|
* src/glade-utils.[ch]: Upgraded selection scheme, fixed some bugs in the
|
|
"cut/copy/paste/delete"-"selection/clipboard" helpers.
|
|
|
|
* src/glade-palette.[ch]: Implemented "catalog-changed" signal so that
|
|
glade-project-window can refresh add_class/alt_class when the currently
|
|
selected catalog changes.
|
|
|
|
* src/glade-gtk.c: Implemented alt_class and fixed brokenness that had went
|
|
unnoticed (segfaults on child properties).
|
|
|
|
* src/glade-project-view.[ch]: Fixed sorting for toplevels.
|
|
|
|
2004-12-31 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-project-view.c: Now treestore items are inserted sorted
|
|
|
|
* src/glade-utils.c: Fixed a bug in glade_util_find_iter.
|
|
|
|
2004-12-31 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-clipboard-view.c, src/glade-clipboard.[ch]:
|
|
- Added emacs c-basic-offset: 8.
|
|
- Implemented multiple selection on the clipboard
|
|
|
|
* src/glade-command.c: Adjusted to multiple selection on clipboard,
|
|
allow glade_command_paste with multiple widgets if
|
|
a.) They are not being pasted to a placeholder (i.e. widget tree)
|
|
b.) They are not parented through the GtkContainer --> GtkWidget
|
|
parenting pipeline (see glade-widget-class.[ch] for the container
|
|
abstraction interface and see glade_util_gtkcontainer_relation).
|
|
|
|
* src/glade-popup.c: Added comment and removed unused variables.
|
|
|
|
* src/glade-project-view.c: Moved glade_project_view_find_iter_by_widget
|
|
to now be a generic glade_util_find_iter_by_widget
|
|
(also plugged leaks with gtk_tree_iter_free (iter))
|
|
|
|
* src/glade-utils.[ch]: Added glade_util_find_iter_by_widget () and
|
|
glade_util_any_gtkcontainer_relation ().
|
|
|
|
2004-12-29 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-command.[ch]: Multiple widgets in Cut/Copy/Paste/Delete commands
|
|
|
|
* src/glade-placeholder.c: Changed callers.
|
|
|
|
* src/glade-popup.c, src/glade-project-window.c: Use glade-utils for
|
|
Cut/Copy/Paste/Delete
|
|
|
|
* src/glade-project-view.[ch]: Implemented multiple selection.
|
|
|
|
* src/glade-project.[ch]: Implemented glade_project_is_selected.
|
|
|
|
* src/glade-utils.[ch]: Implemented: glade_util_paste_clipboard (),
|
|
glade_util_cut_selection (), glade_util_copy_selection () and
|
|
glade_util_delete_selection ().
|
|
|
|
* src/glade-widget.c: Implemented multiple selection.
|
|
|
|
2004-12-29 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-project-view.c: Selection on treeview now follows
|
|
project->selection.
|
|
|
|
* src/glade-project.c: glade_util_add_selection is now a side effect,
|
|
glade_util_has_selection is dropped in favor of
|
|
g_list_find (project, object) != NULL.
|
|
|
|
2004-12-28 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-command.[ch]:
|
|
- Fixed placeholder refcount management in cut/copy/paste
|
|
- Implemented glade_command_change_signal
|
|
|
|
* src/glade-editor.[ch]:
|
|
- Removed dead code (glade_editor_add_signal stuff)
|
|
- Implemented glade_editor_refresh
|
|
|
|
* src/glade-signal-editor.c:
|
|
Changed callers for glade_command_change_signal
|
|
|
|
* src/glade-project-window.c:
|
|
Refresh the property editor on undo/redo :)
|
|
|
|
* src/glade-debug.h, src/glade-menu-editor.c, src/glade-command.c
|
|
Removed g_debug() macro and all references (gtk+-2.6 now offers this).
|
|
|
|
2004-12-24 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-widget.c:
|
|
- No need to free property lists in dispose if we do that in finalize.
|
|
- Fixed leak where widget creation is canceled by the query popup
|
|
(Verified that widget is not in a container or in the project at
|
|
unref time, safe).
|
|
|
|
2004-12-22 Gustavo Noronha Silva <kov@debian.org>
|
|
|
|
* src/glade-palette.c, src/glade-project-window.c
|
|
Allow palette to get smaller.
|
|
|
|
2004-12-22 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-palette.c (glade_palette_widget_table_create): cleanup
|
|
and use glade_palette_create_widget_class_button.
|
|
(glade_palette_create_widget_class_button): new function
|
|
(glade_palette_init): use a GtkComboBox for catalog names instead of
|
|
individual radio buttons. All callbacks and callers changed.
|
|
|
|
2004-12-18 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-editor.c (glade_editor_table_append_item): Added
|
|
gboolean from_query_dialog parameter to function definition.
|
|
All callers changed.
|
|
(glade_editor_property_changed_text_common): added from_query_dialog
|
|
parameter.
|
|
|
|
* src/glade-editor.c: removed prototypes for glade_editor_init()
|
|
and glade_editor_class_init() and moved definition of
|
|
glade_editor_get_type lower().
|
|
|
|
* src/glade-command.c (glade_command_set_name): push action onto undo
|
|
stack only if execute is successfully.
|
|
|
|
* src/glade-editor.c (glade_editor_query_dialog): renamed from
|
|
glade_editor_query_popup(). I feel a *_popup() is mis-named (atleast
|
|
from a Gtk+ point of view, since a popup in Gtk+ is a right click menu)
|
|
All callers changed.
|
|
|
|
2004-12-17 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-command.c (glade_command_create_delete_common): there
|
|
was a semi-colon immediately after the if-statement on the same line.
|
|
So glade_command_push_undo go called no matter what. Fixed.
|
|
|
|
* src/glade-project.c (glade_project_selection_set): no need to get
|
|
GladeProjectWindow ptr.
|
|
(glade_project_selection_add): likewise.
|
|
|
|
* src/glade-editor.c (glade_editor_query_popup): don't set a default
|
|
size for query popup dialogs.
|
|
Show a "Cancel" button to cancel operation.
|
|
Also, if "Cancel" button pressed, return FALSE to stop "create" command
|
|
(glade_editor_table_append_items): we're not using this recursively.
|
|
Remove prototype.
|
|
* src/glade-widget.c (glade_widget_new): if glade_editor_query_popup
|
|
returns FALSE, stop "create" command.
|
|
|
|
* src/glade-clipboard-view.c (glade_clipboard_view_construct): use
|
|
named constants instead of "magic numbers" for the height and width of
|
|
the clipboard view window.
|
|
* src/glade-project-window.c (gpw_create_widget_tree): don't use magic
|
|
numbers for gtk_window_set_default_size(). Use named constants.
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_button_press): since
|
|
we can, why not extract the GladeProject for calling
|
|
glade_command_create instead of leave it to glade_command_create to get
|
|
project.
|
|
(glade_placeholder_button_press): reset palette here. No need to do it
|
|
in glade_command_create.
|
|
|
|
* src/glade-command.c (glade_command_cut): notify the user if user
|
|
tries to cut a widget which is internal to a composite widget.
|
|
(glade_command_copy): likewise.
|
|
(glade_command_delete): likewise.
|
|
|
|
2004-12-16 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* widgets/gtk-obsolete.xml: added entry for GtkFileSelection
|
|
* widgets/gtk-dialogs.xml: added entry for GtkFileChooserDialog
|
|
removed entry for GtkFileSelection.
|
|
|
|
* src/glade-project-window.c (gpw_refresh_title): small gui fix. Use
|
|
Glade-3 GUI Builder as window title.
|
|
|
|
2004-12-15 Tristan Van Berkom <tvb@cvs.gnome.org>
|
|
|
|
* src/glade-catalog.c: pallet_name is no longer "required" in the catalog,
|
|
if it is present, then the widget goes in the pallet, if there is a generic
|
|
name, it will be used in the case of non-widgets.
|
|
|
|
* src/glade-command.c: glade_command_create no longer nescesitates a placeholder
|
|
and now has a "parent" argument for the case of (!toplevel && non-widget)
|
|
(surrounding code adjusted to work with non-widgets, glade_command_delete
|
|
stuff included).
|
|
|
|
* src/glade-editor.c:
|
|
- Widget page is now called General page
|
|
- Name field not appended to non-widgets
|
|
- Adjusted text inputs to only set properties on TAB or ENTER
|
|
(or focus changes in the case of multi line entries)
|
|
This heavily reduces spamming of the property system as properties
|
|
dont get synchronized for every single charachter change.
|
|
|
|
* src/glade-signal-editor.c: Implemented "object" and "lookup" fields.
|
|
|
|
* src/glade-signal.c: Implemented "object" and "lookup" fields.
|
|
|
|
* src/glade-gtk.c: GtkFixed code fixed to not needlessly create placeholders
|
|
at child create time (go directly to glade_command_create() without passing
|
|
go or collecting 200 dollars).
|
|
(Also fixed name of enum type glade_gtk_stock_get_type)
|
|
|
|
* src/glade-placeholder.c: Use new glade_command_create ()
|
|
|
|
* src/glade-popup.c:
|
|
- Added code needed for addition of non-widgets.
|
|
- Added "add_children" arg to glade_popup_widget_pop ()
|
|
|
|
* src/glade-project-view.c:
|
|
- fixed bug 145299.
|
|
- Added popup code to treeview.
|
|
- Sort widgets in treeview alphabeticly
|
|
- Window is now scrollable.
|
|
|
|
* src/glade-project-window.c: Fixed some error messages, used new
|
|
glade_command_create()
|
|
|
|
* src/glade-property.c: Fixed a bug in rebuilding of widgets
|
|
(project list needs to be searched to find out if the widget is
|
|
actualy in the project).
|
|
|
|
* src/glade-property-class.c: Made custom props load tooltips from pspec
|
|
blurbs as well as the xml file.
|
|
|
|
* src/glade-utils.c:
|
|
- glade_utils_draw_nodes_idle(), dont try to draw nodes on non-widgets.
|
|
- added glade_util_widget_pastable()
|
|
- added glade_util_gtkcontainer_relation()
|
|
|
|
* src/glade-widget-class.[ch]:
|
|
- added glade_widget_class_get_by_type ()
|
|
- added glade_widget_class_get_derived_types ()
|
|
|
|
* src/glade-widget.c:
|
|
- added glade_widget_sync_packing_props ()
|
|
- added glade_widget_set_parent ().
|
|
- Made widgets parent a property of widget
|
|
- glade_widget_new() now takes a "parent" argument.
|
|
- removed glade_widget_update_parent() which was more confusing
|
|
than anything else.
|
|
- glade_widget_dup() now duplicates widget names as well.
|
|
|
|
|
|
2004-11-16 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* Replaced `GtkWidget *' with `GObject *' throughout the code
|
|
|
|
* Removed glade_util_get_parent and replaced with
|
|
glade_placeholder_get_parent or glade_widget_get_parent where
|
|
appropriate.
|
|
|
|
* Implemented a container abstraction layer which allows any object to
|
|
be a container through the xml catalog interface (GtkContainer is
|
|
handled implicitly).
|
|
|
|
* Straightened out a few crooked header files.
|
|
|
|
* Reworked loading a bit so that GladeProperties are loaded with the
|
|
values found in the xml file and that g_object_newv is called with
|
|
those values as well.
|
|
|
|
* Deprecated / Removed useless pre_create functions, anything that was
|
|
a pre_create is now done in post create without any regression.
|
|
|
|
* glade_gtk_container_fill_empty now checks if there are existing
|
|
children before adding one.
|
|
|
|
* Added comment on how to fix glade-project-view
|
|
|
|
* Half implemented addition of non-widget children in glade-popup.c
|
|
|
|
* glade-utils "nodes" code now also serves as a selection marker for
|
|
any non-widget objects (widgets are still handled by drawing
|
|
selections). Also reverted my change to queue_draw_nodes... seems to
|
|
work for now.
|
|
|
|
* For now I removed the unused notion of "grand-child" packing
|
|
properties (that will have to be inspected and implemented properly
|
|
if need be).
|
|
|
|
* updated XML files accordingly.
|
|
|
|
2004-11-17 Ivan Wong <email@ivanwong.info>
|
|
|
|
* configure.in:
|
|
- clean up a little bit.
|
|
- drop acconfig.h, use the third arg of AC_DEFINE instead.
|
|
- allow user to specify what version (dynamic/static) of
|
|
libpopt is to be used (win32 only).
|
|
|
|
* acconfig.h, config.h.win: removed
|
|
|
|
* src/Makefile.am: drop flags that are never used, and probably
|
|
won't be used.
|
|
|
|
* src/glade-catalog.c, src/glade-palette.c,
|
|
src/glade-project-window.c, src/glade-widget-class.c,
|
|
src/glade.h, src/main.c:
|
|
use global variables instead of preprocessor definitions for
|
|
data/locale/pixmaps/widgets/catalogs directory names.
|
|
|
|
2004-11-08 Ivan Wong <email@ivanwong.info>
|
|
|
|
* configure.in: add dependency of libglade-2.0 >= 2.4.0
|
|
|
|
* src/glade-project.c:
|
|
- fill GladeInterface of libglade: glade_project_save(),
|
|
glade_project_write()
|
|
- parse GladeInterface of libglade: glade_project_open(),
|
|
glade_project_new_from_interface()
|
|
|
|
* src/glade-property.[ch]: glade_property_write() now fills
|
|
libglade's GladePropInfo
|
|
|
|
* src/glade-signal.[ch]: glade_signal_write()/glade_signal_new_from_signal_info()
|
|
now fills/parses GladeSignalInfo of libglade.
|
|
|
|
* src/glade-types.h: include header of libglade-parser.
|
|
|
|
* src/glade-widget.[ch]:
|
|
- glade_widget_write_signals(), glade_widget_write(),
|
|
glade_widget_write_child(): use libglade to save.
|
|
- glade_widget_read(), glade_widget_new_from_widget_info(),
|
|
glade_widget_new_child_from_child_info(),
|
|
glade_widget_apply_property_from_prop_info(): use libglade to load.
|
|
|
|
* src/glade-xml-utils.h: dups of alloc_string() and alloc_propname()
|
|
from libglade, will be removed.
|
|
|
|
* widgets/gtkwidget.xml: set "Tooltip" default to empty string.
|
|
|
|
2004-11-13 Ivan Wong <email@ivanwong.info>
|
|
|
|
* main.c, src/glade.h:
|
|
- add option "--verbose".
|
|
- add POPT_AUTOHELP.
|
|
- use dynamic version of popt on win32.
|
|
|
|
* src/glade-editor.c: Some compilers don't know __FUNCTION__,
|
|
G_GNUC_FUNCTION is better.
|
|
|
|
* src/glade-gtk.c:
|
|
- GLADEGTK_API should precede return type.
|
|
- glade_gtk_button_set_stock() now checks "use-underline" when "stock"
|
|
is restored to glade-none.
|
|
|
|
* src/glade-menu-editor.c: MSVC doesn't know #warning,
|
|
use #pragma message for that.
|
|
|
|
* src/glade-property-class.[ch]:
|
|
- MSVCRT.dll hasn't got strtoll(), use _atoi64() for that.
|
|
- add orig_def for storing the orginal default value that
|
|
is overridden by a custom default.
|
|
|
|
* src/glade_plugin.def: added glade_editor_load_widget.
|
|
|
|
* src/glade-editor.c, src/glade-gtk.c, src/glade-parameter.c,
|
|
src/glade-property-class.c, src/glade-transform.c, src/glade-widget.c:
|
|
fixed some signed/unsigned mismatch and truncation warnings that only
|
|
appears in MSVC.
|
|
|
|
2004-11-08 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* src/glade-gtk.c: bug 157289 fixed in regard with boxes and notebooks.
|
|
|
|
2004-11-08 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* src/glade-gtk.c (glade_gtk_notebook_get_tab_label_text,
|
|
glade_gtk_notebook_set_tab_label_text): New functions to handle setting the tab
|
|
label text on the GtkNotebook child widget. (glade_gtk_notebook_replace_child):
|
|
Make it so the label is handled correctly and the correct notebook page is
|
|
still selected.
|
|
* widgets/gtknotebook.xml: Updated with tab label hook functions.
|
|
* src/glade-widget.c: Choose the mapped widget rather than just the last child
|
|
widget in the list.
|
|
* src/main.c (glade_init): Spelling mistake reported by Andrew Burton <adb@iinet.net.au>.
|
|
|
|
2004-11-05 David Hoover <karma@deadmoose.com>
|
|
|
|
* src/glade-project-view.c: when double-clicking on a window in the
|
|
project view, hide if if it's show, show it if it's hidden.
|
|
Fixes 156736
|
|
|
|
2004-11-03 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* src/glade-command.[ch], glade-popup.c, glade-project-window.c:
|
|
Implemented glade_command_copy () (undo/redo works like a charm :-)
|
|
|
|
* src/glade-widget.c: Simplified / Improved code respecting custom properties.
|
|
|
|
* src/glade-project.c: Simplified some code around selection, project management
|
|
(improved fixes for bugs 156515 and 155892).
|
|
|
|
|
|
2004-11-02 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* src/glade-utils.[ch] (glade_util_file_dialog_new): rewrote function to create a GtkFileSelector or GtkFileChooser depending on the GTK+ version.
|
|
(glade_util_file_dialog_get_filename, glade_util_file_dialog_set_filename): Metods to retrieve and set the filename of whichever file selector type is supported.
|
|
* src/glade-project-window.c (gpw_open_cb, gpw_save_cb, gpw_save_as_cb, gpw_confirm_close_project): Update to use new functions (above).
|
|
* src/glade-menu-editor.c (on_icon_button_clicked): Update to new functions.
|
|
* configure.in: Revert back to requiring GTK+ 2.2 or above.
|
|
|
|
2004-11-02 Ivan Wong <email@ivanwong.info>
|
|
|
|
* src/Makefile.am: Fix a few glitches that only show up on win32
|
|
|
|
2004-11-02 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* Removed GladePropertyType completely from the source in favor of
|
|
GParamSpec.
|
|
* Removed GladeChoice code, and replaced all references thereof
|
|
* Custom types must now provide a function to retrieve a GParamSpec for
|
|
that type (xml files and glade-gtk backend updated accordingly).
|
|
* Removed "child" member from GladePropertyType in order to avoid
|
|
confusion (Note, I will add support for non-widget types + all types
|
|
allowed to have children, in a more flexable way, for now I got rid
|
|
of all mention of "child" since it wasn't implemented and mostly
|
|
`#if 0'd out anyway)
|
|
* Implemented <VerifyFunction> in xml files and in the glade-gtk
|
|
backend.
|
|
* Added support for numerical types long/ulong/int64/uint64 to the
|
|
editor.
|
|
* src/glade-project.c: glade_project_remove_widget() Now removes nodes
|
|
on widget to remove, this fixes bug 156515.
|
|
* src/glade-editor.c: Fixed popup name to
|
|
g_strdup_printf(_("Create a %s"), type);
|
|
|
|
2004-11-02 David Hoover <karma@deadmoose.com>
|
|
|
|
* src/Makefile.am: fix up CLEANFILES problem
|
|
|
|
2004-11-02 Ivan Wong <email@ivanwong.info>
|
|
|
|
* acconfig.h, autogen.sh, config.h.win, configure.in, src/Makefile.am,
|
|
src/glade-catalog.c, src/glade-palette.c, src/glade-project-window.c,
|
|
src/glade-widget-class.c, src/glade_plugin.def, src/main.c: Win32
|
|
related fixes (bug 154927)
|
|
|
|
2004-10-28 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* src/glade-editor.[ch]: Implemented glade_editor_query_popup(), also obsoleted
|
|
common & packing booleans for a more convenient GladeEditorTableType field.
|
|
|
|
* src/glade-gtk.c:
|
|
- Refitted and integrated Mickael Cornet's patch to bug 153823
|
|
- glade_gtk_table_set_n_common() now refuses to shrink when it involves
|
|
orhpaning widgets, Its also been improved to fill in all the blanks.
|
|
- Removed all dialogs.
|
|
- Fixed children are now born with size-request properties enabled.
|
|
- Removed some `#if 0' code that I trust we dont need.
|
|
- glade_gtk_box_set_size() Adjusted to match gtk_table behaviour
|
|
|
|
* src/glade-plugin.h:
|
|
- Added a header to the batch.
|
|
|
|
* src/glade-popup.c: glade_popup_copy_cb() now duplicates the
|
|
widget in question with glade_widget_dup().
|
|
|
|
* src/glade-property-class.[ch]: glade_property_class_update_from_node() now
|
|
flags properties that need a pupop dialog at creation time.
|
|
|
|
* src/glade-property.[ch]: Implemented glade_property_sync() (Sychronizes
|
|
the object with its glade_property), glade_property_set() now calls
|
|
glade_property_sync().
|
|
|
|
* src/glade-widget.[ch]:
|
|
- Implemented glade_widget_dup().
|
|
- Added call to glade_property_sync on appropriate properties that
|
|
need to be synchronized after a glade_widget_rebuild().
|
|
- Added a call to glade_editor_query_popup() in the appropriate situation.
|
|
- glade_widget_build_object() now takes into account property_class default values
|
|
- glade_widget_new() now calls new function glade_widget_sync_query_props() in
|
|
popup cases (If properties dont change from there default, a synchronization is
|
|
needed at this point).
|
|
|
|
* widgets/gtkbox.xml:
|
|
- Removed reference to obsoleted post_create function.
|
|
- Changed `ignore' to `empty' for the fill_empty funciton.
|
|
- Tagged "Size" property as type "Query".
|
|
- Added Default size 3
|
|
- Changed Minimum size to 2
|
|
|
|
* widgets/gtknotebook.xml:
|
|
- Tagged "pages" property as type "Query".
|
|
- Removed obsolete (or never implemented) Query section.
|
|
|
|
* widgets/gtktable.xml:
|
|
- Tagged "n-rows" and "n-columns" properties as type "Query".
|
|
- Removed obsolete (or never implemented) Query section.
|
|
|
|
* widgets/gtklabel.xml: Added default "" value for pattern property, this
|
|
works around gtk+ bug 156720 which was causing us segfaults.
|
|
|
|
2004-10-27 David Hoover <karma@deadmoose.com>
|
|
|
|
* src/Makefile.am: Fix up dependency issues with automatically generated
|
|
marshallers files.
|
|
|
|
2004-10-26 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* src/Makefile.am: CFLAGS was `-O2 -g', for now just `-g'. (Mixing
|
|
these two compiler options can cause really bad indigestion, i.e.
|
|
untracable bugs).
|
|
|
|
* src/glade-gtk.c:
|
|
- empty(): now serves as a standard noop for fill-empty functions
|
|
(as ignore() noop serves for get/set property).
|
|
- glade_gtk_fixed_post_create(): Removed useless
|
|
gtk_widget_add_events() line.
|
|
- glade_gtk_message_dialog_post_create: Fixed 155849, Message
|
|
dialog children
|
|
are now selectable usable through the UI.
|
|
- glade_gtk_fixed_fill_empty(): Obsoleted by `empty()'
|
|
|
|
* src/glade-project.c: glade_project_selection_add()/
|
|
glade_project_selection_set():
|
|
Functions no longer prematurly returns if the editor has no widget
|
|
loaded. (This is bug 155892)
|
|
|
|
* src/glade-property.c: glade_property_set() Function now takes care of
|
|
removing widgets from and adding widgets to the project if that
|
|
widget belongs to a project in the case of construct_only, also, if
|
|
that widget is in the selection list, the selection list is handled
|
|
here too.
|
|
|
|
* src/glade-widget.c:
|
|
- glade_widget_rebuild() Removed logic that handles
|
|
project/selection lists in favor of code in glade-property.c
|
|
- Added roboustness around glade_widget_set_widget() and
|
|
glade_widget_transport_children().
|
|
|
|
* widgets/gtkfixed.xml: Replaced fill-empty reference in favor of
|
|
`empty()'.
|
|
|
|
2004-10-26 David Hoover <karma@deadmoose.com>
|
|
|
|
* src/Makefile.am,src/glade-editor.c,src/glade-marshallers.list,
|
|
src/glade-widget.c: Dynamically generate a marshaller that was in
|
|
glade-editor.c, shorten the marshallers' prefix.
|
|
|
|
2004-10-25 David Hoover <karma@deadmoose.com>
|
|
|
|
* configure.in, src/.cvsignore, src/Makefile.am,
|
|
src/glade-marshallers.list: Add support to automatically generate
|
|
the marshallers files rather than checking in generated versions.
|
|
|
|
* src/glade-marshallers.c, src/glade-marshallers.h: Removed, since they
|
|
are now automatically generated.
|
|
|
|
2004-10-22 Tristan Van Berkom <tristan.van.berkom@gmail.com>
|
|
|
|
* src/glade-gtk.c: Added functionality for GtkFixed (also replaced some
|
|
ints with gints and chopped down some lines).
|
|
|
|
* src/glade-plugin.h: Added some headers for the plugin (needed for
|
|
GtkFixed)
|
|
|
|
* src/glade-popup.c,src/glade-project.c: Replaced reference to
|
|
GLADE_WIDGET_IS_TOPLEVEL (support for deprication of flags on
|
|
GladeWidgetClass).
|
|
|
|
* src/glade-project-view.c: Replaced reference to
|
|
GLADE_WIDGET_IS_TOPLEVEL (support for deprication of flags on
|
|
GladeWidgetClass).
|
|
|
|
* src/glade-project-window.[ch]: Replace gpw->project with
|
|
gpw->active_project and added
|
|
glade_project_window_get_active_project() for clarity's sake.
|
|
|
|
* src/glade-property-class.h: Added construct_only as a quick reference
|
|
(to G_PARAM_CONSTRUCT_ONLY).
|
|
|
|
* src/glade-property.c: glade_property_set() will now check for
|
|
construct_only and call glade_widget_rebuild_instance() if needed.
|
|
|
|
* src/glade-utils.c: fixed the queue_nodes code to add a reference on
|
|
the GladeWidget pertaining to the expose event, since the code
|
|
depends on the existance of the GladeWidget, the GtkWidget and the
|
|
GdkWindow as opposed to only the GdkWindow
|
|
|
|
* src/glade-widget-class.c: Update construct_only tab upon construction
|
|
of GladePropertyClass structs. Removed set of depricated flags on
|
|
GladeWidgetClass.
|
|
|
|
* src/glade-widget-class.h: Removed depricated flag macro definitions
|
|
(and removed the flags)
|
|
|
|
* src/glade-widget.c:
|
|
- Fixed Segfaults (Removed glade_widget_class_free() in finalize)
|
|
- Objects are now built with thier properties as paramaters of
|
|
g_object_newv
|
|
- Added glade_widget_rebuild_instance for the purpose of changing
|
|
properties that are flagged as G_PARAM_CONSTRUCT_ONLY.
|
|
|
|
* pixmaps/fixed_bg.xpm: New picture for background of GtkFixed.
|
|
|
|
* widgets/gtkfixed.xml,widgets/Makefile.am: Add definition of GtkFixed.
|
|
|
|
2004-10-06 Morten Welinder <terra@gnome.org>
|
|
|
|
* widgets/gtkradiobutton.xml: Define the group property.
|
|
|
|
* widgets/gtk-base.xml: Load gtkradiobutton.xml
|
|
|
|
* src/glade-widget.c (glade_widget_new_child_from_node): Bullet
|
|
proof.
|
|
|
|
* src/glade-property-class.c
|
|
(glade_property_class_make_gvalue_from_string): Bullet proof.
|
|
|
|
* src/glade-gtk.c (glade_gtk_radio_button_set_group,
|
|
glade_gtk_radio_button_get_group): New functions.
|
|
|
|
2004-10-06 Morten Welinder <terra@gnome.org>
|
|
|
|
* src/glade-gtk.c (glade_gtk_widget_condition): Fix life cycle of
|
|
GtkObjects.
|
|
|
|
* src/glade-xml-utils.c (glade_xml_context_destroy): Only
|
|
conditionally free xml document.
|
|
(glade_xml_context_new_real): New arg "freedoc".
|
|
|
|
* src/glade-gtk.c (glade_gtk_widget_get_tooltip): Bullet proof.
|
|
(glade_gtk_notebook_post_create): Actually set the property.
|
|
|
|
* src/glade-widget.c (glade_widget_debug_real,
|
|
glade_widget_debug): New functions.
|
|
(glade_widget_set_name): Bullet proof.
|
|
(glade_widget_set_internal): Ditto.
|
|
(glade_widget_set_project): Ditto.
|
|
(glade_widget_fill_from_node): Plug leaks.
|
|
(glade_widget_new_from_node_real): Plug leak.
|
|
(glade_widget_new_child_from_node): Fix loading of internal
|
|
children and plug leak.
|
|
(glade_widget_get_internal_child): Change to return GtkWidget
|
|
because the GladeWidget may not be connected yet.
|
|
|
|
2004-10-04 Morten Welinder <terra@gnome.org>
|
|
|
|
* src/glade-utils.c (glade_util_widget_set_tooltip): Plug leak.
|
|
|
|
* src/glade-editor.c (glade_editor_load_common_page): Plug leak.
|
|
(glade_editor_load_widget_page): Plug leak.
|
|
(glade_editor_load_common_page): Plug leak.
|
|
|
|
* src/glade-gtk.c (glade_gtk_table_set_n_common): Plug leak.
|
|
|
|
* src/glade-project.c (glade_project_add_widget): Plug leak.
|
|
(glade_project_remove_widget): Plug leak.
|
|
|
|
* src/glade-project-window.c (do_close): Split out from
|
|
gpw_close_cb.
|
|
(gpw_quit_cb): Close all windows.
|
|
|
|
* src/glade-widget.c (glade_widget_new_for_internal_child): Plug
|
|
leak.
|
|
(glade_widget_new_from_node_real): Plug leak.
|
|
(glade_widget_new): Plug leak.
|
|
|
|
* src/glade-catalog.c (glade_catalog_load): Plug leak.
|
|
|
|
* src/glade-property-class.c
|
|
(glade_property_class_update_from_node): Plug leak.
|
|
(glade_property_class_update_from_node): Plug leak.
|
|
|
|
* src/glade-xml-utils.c (glade_xml_context_destroy): Plug leak.
|
|
|
|
* src/glade-widget-class.c (glade_widget_class_extend_with_file):
|
|
Plug leaks.
|
|
|
|
* src/glade-widget.c (glade_widget_finalize): Don't try to destroy
|
|
a hash table with g_object_unref.
|
|
(glade_widget_dispose): Glade properties are not GObjects, so
|
|
don't use g_object_unref on them.
|
|
|
|
2004-09-23 David Hoover <karma@deadmoose.com>
|
|
|
|
* src/*.c: mass addition of new gtk-doc-style comments for functions,
|
|
some cleanup of language & formatting in existing comments, minor
|
|
whitespace fixes, etc.
|
|
|
|
Slightly revised and committed by terra@gnome.org (Morten Welinder)
|
|
|
|
2004-07-26 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* widgets/gtkbox.xml: Fixed bug with loading GtkBoxes where too
|
|
many items were added (resize to see). Removed Default (this is
|
|
done in glade_gtk_box_post_create() anyway) and set the Min to 1.
|
|
|
|
2004-06-16 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-utils.c (glade_util_file_chooser_new): center the
|
|
dialog. Patch by Michał Byrecki <byrek@elektronika.org>.
|
|
|
|
2004-06-16 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* configure.in: minor updates, as suggested on glade-devel by
|
|
Cristian Adam <drac@gmx.net>
|
|
* po/POTFILES.in: ditto
|
|
|
|
2004-05-21 Shane Butler <shane_b@users.sourceforge.net>
|
|
|
|
* src/glade-widget.c (glade_widget_write_child): don't save empty packing tag.
|
|
|
|
2004-05-17 Archit Baweja <bighead@users.sourceforge.net>
|
|
|
|
* src/glade-utils.c (glade_util_file_chooser_new): the order of buttons
|
|
should be Cancel then Open/Save, not the other way around (as per HIG)
|
|
Fixed :-).
|
|
|
|
2004-05-16 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-menu-editor.c, glade-project-window.c, glade-utils.[ch]:
|
|
Use the new save/open dialog box in gtk+-2.4. Patch by kov at
|
|
debian dot org, slightly modified by me.
|
|
|
|
* src/glade-widget-class.c: prevent a crash when loading a widget
|
|
without a generic_name. The crash only happens with gtk+-2.4
|
|
|
|
* src/gtkwindow.xml: ignore the setting and getting of the "type"
|
|
property on GtkWindows, as it's construct only.
|
|
|
|
2004-05-10 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget-class.c, glade-widget-class.c: fix the build
|
|
(and remove the last remanants of the "queries").
|
|
|
|
* src/glade-property.h: fix a typo.
|
|
|
|
2004-05-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-property.c: don't save invisible properties.
|
|
|
|
* src/glade-widget.c, glade-property-class.[ch]: little janitorial
|
|
work.
|
|
|
|
2004-05-08 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-gtk.c (ask_for_number, glade_gtk_table_post_create): set
|
|
the dialog positions to GTK_WIN_POS_MOUSE. Since we don't set a parent
|
|
window they currently seem to default to the middle of the screen,
|
|
which is annoying.
|
|
|
|
* src/glade-project-window.c (gpw_construct_toolbar): removed Quit,
|
|
since the GNOME HIG says we shouldn't have it in the toolbar.
|
|
(gpw_create_widget_tree, gpw_create_editor): don't set type hint to
|
|
GDK_WINDOW_TYPE_HINT_UTILITY, since that makes them stay on top all
|
|
the time, but they are too big and get in the way.
|
|
(gpw_create_palette, gpw_create_editor)
|
|
(glade_project_window_create): set initial positions of windows to
|
|
something reasonable. Hopefully we will save window positions between
|
|
sessions in future.
|
|
|
|
2004-05-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget.c: Removed some code in
|
|
glade_widget_create_packing_properties needed to handle
|
|
"grand-children" properties, as it doesn't works if the widgets
|
|
are not yet chained (and that happens when reading a glade file),
|
|
and we still don't use "grand-children" properties.
|
|
|
|
2004-05-07 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-project-window.c (gpw_save_cb): check the return value
|
|
from glade_project_save() and pop up a dialog if there is an error.
|
|
|
|
* src/glade-project.c (glade_project_save): only copy the path if
|
|
it is different from the current path. It was freeing the old path
|
|
then trying to copy it, resulting in bits of rubbish.
|
|
|
|
2004-05-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-gtk.c: Remove the tooltips when needed.
|
|
|
|
* src/glade-project-window.c: Fix a typo (patch by kov at
|
|
debian dot org).
|
|
|
|
2004-05-06 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-gtk.c: Implement the getter for the tooltips.
|
|
|
|
2004-05-06 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-widget.c (glade_widget_connect_signal_handlers): don't
|
|
connect handlers for placeholders, and set a flag to indicate we've
|
|
connected a handler so we don't do it twice accidentally.
|
|
(glade_widget_get_parent): tidied up a little.
|
|
|
|
* src/glade.h (GLADE_TAG_EVENT_HANDLER_CONNECTED): added tag.
|
|
|
|
2004-05-05 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* widgets/gtk-base.xml: Remove the accelerator label.
|
|
|
|
* widgets/gtkdialog.xml, gtkmessagedialog.xml, gtkwindow.xml: Remove
|
|
the tooltip property. Now it's only specified in gtk-widget.xml.
|
|
|
|
* widgets/gtkwidget.xml: Add a tooltip property.
|
|
|
|
* pixmaps/hpaned.png,vpaned.png: swap these two icons.
|
|
|
|
* src/glade-gtk.c: Implement glade_gtk_widget_set_tooltip, still not
|
|
finished.
|
|
|
|
* src/glade-editor.c: Don't show "invisible" properties.
|
|
|
|
* src/glade-property-class.[c,h]: Remove GladePropertyQuery. Now the
|
|
queries are done in glade-gtk.c. Add a glade_property_class_is_visible
|
|
function, that says if a property should be visible in the properties
|
|
editor. The difference with Disabled is that the visible status
|
|
will be checked when the property is added to the editor (and thus
|
|
the check is done against the real GladeWidgetClass, say "GtkLabel")
|
|
and Disabled is checked at the creation of GladePropertyQuery
|
|
(and thus the check is done with a possibly abstract GladeWidgetClass,
|
|
as "GtkWidget"). In addition, "Visible" specify a function that
|
|
returns true or false in function of the GladeWidgetClass passed.
|
|
That way implementing "tooltips" property becomes much less cumbersome.
|
|
|
|
* src/glade-project.[c,h]: Add a GtkTooltips to the project.
|
|
|
|
* src/glade_plugin.def: Add to two new functions to be used by glade-gtk.c
|
|
|
|
2004-05-05 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-widget.c (glade_widget_find_inside_container): don't
|
|
accept placeholders. They are handled separately, using their own
|
|
signal handlers. This avoids a crash, though there is still an odd
|
|
bug when trying to select the top-left placeholder in a table.
|
|
|
|
2004-05-05 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-widget.c (glade_widget_find_deepest_child_at_position):
|
|
if we found a widget (data.found), but it isn't a container, just
|
|
return it. It was ignoring it and returning its parent before.
|
|
(glade_widget_event): renamed from glade_widget_expose(). It is now
|
|
called for all events, for all widgets (except placeholders).
|
|
(glade_widget_connect_signal_handlers): was connect_to_expose_event().
|
|
It now connects to the "event" signal for all widgets instead of
|
|
just "expose_event".
|
|
(glade_widget_set_widget): call above function, and don't connect
|
|
to "button_press_event" any more.
|
|
|
|
* widgets/gtkwidget.xml: Don't set the "events" property within Glade,
|
|
since we need to modify it ourselves to get button events etc.
|
|
|
|
2004-05-03 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-utils.c (glade_util_queue_draw_nodes): new function to
|
|
queue a draw of the selection nodes, for the given GdkWindow.
|
|
(glade_util_draw_nodes_idle): new idle function to redraw any
|
|
selection nodes within the given window that has received an expose
|
|
signal. (The old method didn't work on win32 as gdk_gc_set_subwindow()
|
|
doesn't work there.)
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_expose):
|
|
* src/glade-widget.c (glade_widget_expose): just call
|
|
glade_util_queue_draw_nodes() to queue a draw of the selection nodes.
|
|
|
|
* src/glade-project.[ch]: removed expose handler stuff.
|
|
|
|
2004-05-01 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-catalog.c: fix a double free if a palette name is lacking in
|
|
a xml file.
|
|
|
|
* src/glade-gtk.c: Remove unused code, add a PreCreateFunction for GtkGlade
|
|
|
|
* src/glade-widget.c: Don't execute PostCreateFunction and
|
|
FillEmptyFunction on widgets that are being read.
|
|
|
|
* src/glade-widget-class.c: Inherit PreCreateFunctions.
|
|
|
|
* widgets/gtkbox.xml: Remove the fill_empty inherited from gtkcontainer.xml
|
|
|
|
* widgets/gtktable.xml: Add a PreCreateFunction, and remove the fill_empty
|
|
function inherited from gtkcontainer.xml
|
|
|
|
* widgets/gtkbuttonbox.xml: Remove the fill_empty inherited from
|
|
gtkcontainer.xml
|
|
|
|
* widgets/gtktreeview.xml: Add gtktreeview.xml (I forget to add it in my
|
|
latest post).
|
|
|
|
* widgets/Makefile.am: Update it.
|
|
|
|
2004-04-30 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget-class.c: Add support for a PreCreateFunction,
|
|
a function that will got called before the widget's properties
|
|
are initialized with the values specified in the xml files.
|
|
|
|
* src/glade-widget.c: Call the PreCreateFunction before initilizing
|
|
the widget's properties.
|
|
|
|
* src/glade-gtk.c: Add a PreCreateFunction for adding two
|
|
columns to GtkTreeView.
|
|
|
|
* widgets/gtk-basic.xml: Add a file to customize GtkTreeView behaviour.
|
|
|
|
* widgets/gtktreeview.xml: Add a PreCreateFunction for GtkTreeView.
|
|
|
|
2004-04-30 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-widget.c (glade_widget_expose): new function called
|
|
whenever a widget receives an "expose_event" signal. It calls
|
|
glade_project_queue_expose_handler() to ensure the selection
|
|
rectangles are drawn later.
|
|
(glade_widget_connect_to_expose_event): recursively connects to
|
|
the "expose_event" signal to call above function.
|
|
(glade_widget_set_widget): call above function to connect signals.
|
|
|
|
* src/glade-utils.c (glade_util_get_window_to_draw_on): new function
|
|
to return the window to draw selection rectangles/nodes on for a
|
|
given widget.
|
|
(glade_util_draw_nodes): use the above function to get the window.
|
|
Use the GC of the widget owning the window. Use the widget's
|
|
allocation rather than translating the coordinates, since that isn't
|
|
needed. I think this works OK for normal widgets with/without their
|
|
own window, and for widgets inside a GtkViewport. We may need to
|
|
tweak it for widgets inside a GtkLayout.
|
|
(glade_util_add_nodes, glade_util_remove_nodes)
|
|
(glade_util_has_nodes): we don't need to connect/disconnect signal
|
|
handlers here any more, so we just save a binary value indicating
|
|
if the widget has nodes or not.
|
|
|
|
* src/glade-project.c (glade_project_queue_expose_handler): new
|
|
function to set up an idle handler which will draw the selection
|
|
rectangles.
|
|
(glade_project_expose_handler): draws the selection rectangles.
|
|
(glade_project_finalize): remove any existing idle handler source.
|
|
|
|
* src/glade-project.h (struct _GladeProject): added expose_handler_id
|
|
which we use for the idle handler which draws selection rectangles.
|
|
|
|
* src/glade-placeholder.c (glade_placeholder_get_project): new
|
|
utility function to get the project the placeholder is in.
|
|
(glade_placeholder_button_press): use new utility function above.
|
|
(glade_placeholder_expose): call glade_project_queue_expose_handler().
|
|
|
|
2004-04-29 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-signal-editor.c: fix the erasing of signal handlers,
|
|
and handle void inserts.
|
|
|
|
* src/main.c: change a char* to static char *.
|
|
|
|
2004-04-26 Damon Chaplin <damon@gnome.org>
|
|
|
|
* .cvsignore: added autom4te.cache, changed glade2.desktop to
|
|
glade-3.desktop, and removed glade2-*.tar.gz.
|
|
|
|
* src/.cvsignore: changed glade2 to glade-3.
|
|
|
|
2004-04-26 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-editor.c (flag_toggled)
|
|
(glade_editor_property_show_flags_dialog): new functions to show a
|
|
modal dialog for modifying flags properties.
|
|
(glade_editor_create_input_flags): finished, using an uneditable entry
|
|
and a '...' button next to it to show the dialog above.
|
|
(glade_editor_property_load_flags): finished, by converting the flags
|
|
GValue to a string and setting it in the entry.
|
|
|
|
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
|
|
just return GLADE_PROPERTY_TYPE_FLAGS for flags types.
|
|
(glade_property_class_make_string_from_gvalue): support flags.
|
|
(glade_property_class_make_flags_from_string): new function copied
|
|
from libglade to parse flags from a string.
|
|
(glade_property_class_make_gvalue_from_string): use above function to
|
|
support flags.
|
|
(glade_property_class_new_from_spec): store the flags type in
|
|
enum_type.
|
|
|
|
* src/glade-property-class.h (struct _GladePropertyClass): add to
|
|
comment noting that enum_type is also used for flags now.
|
|
|
|
2004-04-26 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-command.c (glade_command_set_property): only use the
|
|
property value string in the description if it is not NULL, short
|
|
(< 10 bytes), and doesn't contain any '_' characters. Otherwise the
|
|
Undo/Redo menu items get too long, and the '_' get converted to
|
|
underlined accelerator keys.
|
|
|
|
2004-04-22 Damon Chaplin <damon@gnome.org>
|
|
|
|
* src/glade-widget.h: included "glade-types.h", removed duplicate
|
|
declaration of GladeWidget, and used comments after final #endif.
|
|
|
|
* src/Makefile.am (glade_3_SOURCES): added glade-marshallers.c.
|
|
(noinst_HEADERS): added glade-marshallers.h.
|
|
|
|
2004-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-packing.[ch]: remove unused file.
|
|
|
|
2004-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* widgets/gtkwindow.xml: remove allow shrink, allow grow, and resize
|
|
mode properties, as per Damon suggestion.
|
|
|
|
2004-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* pixmaps/fontselectiondialog.png, [vh]paned.png, messagedialog.png:
|
|
fix 3 bad pixels in the shadow of these icons.
|
|
* src/glade-clipboard-view.c, glade-editor.c, glade-project-view.c,
|
|
glade-widget-class.h: account for changes on GladeWidget.
|
|
* src/glade-command.[ch]: account for changes on GladeWidget, and add
|
|
a new command for add/remove signal handlers.
|
|
* src/glade-signal.[ch]: rename glade_signal_compare by glade_signal_equal
|
|
and glade_signal_copy by glade_signal_clone.
|
|
* src/glade-utils.[ch]: move glade_util_replace_placeholder in a generalized
|
|
form to glade-widget.c. Make glade_util_get_parent work even for toplevels.
|
|
New glade_util_object_set_property function to set a property on a
|
|
GladeWidget using the set_property specified in GladeWidgetClass if any
|
|
(or g_object_set_property otherwise).
|
|
* src/glade-widget.[ch]: rewritten from scratch as a GObject. It exposes a
|
|
new API. It also fixes several bugs.
|
|
* src/glade-property.[ch]: account for changes on GladeWidget, and assure
|
|
that we don't assing a widget with an ID higher than needed.
|
|
* src/glade-signal-editor.[ch]: account for changes on glade-widget.c. The
|
|
API for adding/changing/removing signals handlers has changed, so this file
|
|
is quite affected. Chop the biggests functions for clarity. Account for the
|
|
new command add/remove signal handler (to get TODO/REDO functionality).
|
|
* src/glade-placeholder.c: fix the destruction of placeholders that don't
|
|
reach the realized stage.
|
|
* src/glade-gtk.c: move much of the fill empty functions to post create,
|
|
querying for properties as size, nb-rows, etc. when needed. Add some
|
|
placeholders to the action area of a dialog box.
|
|
* src/glade-clipboard.[ch]: As glade-widget now has a reference count,
|
|
remove glade_clipboard_add_copy, and use only glade_clipboard_add.
|
|
* src/glade-popup.c, glade-project-window.c: Account for changes on
|
|
glade-clipboard.c.
|
|
* widgets/gtk-base.xml: Add a file for GtkLabel and GtkFrame.
|
|
* widgets/gtk-box.xml: remove the fill empty function and add a post create
|
|
function (post create will query the number of items in the box and add
|
|
the placeholders).
|
|
* widgets/gtkbutton.xml, gtklabel.xml, gtktogglebutton.xml,
|
|
gtkcheckbutton.xml, gtkradiobutton.xml: Add a default label.
|
|
* widgets/gtktable.xml: simplify and remove fill empty (post create will
|
|
do the work, querying for the number of rows and columns).
|
|
* widgets/gtkframe.xml: simplify and set a default label.
|
|
|
|
2004-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-id-allocater.c: fix a typo.
|
|
|
|
2004-03-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-property.c (glade_property_write): write properties that
|
|
have a default value of NULL.
|
|
* src/glade-project.c: micro-manage the new names of widgets. As soon
|
|
as a new slot is available (for instance, if you change the name
|
|
of button3, then button3 becomes available) its used for a new
|
|
widget.
|
|
* src/glade-project.c (glade_project_dispose, glade_project_finalize):
|
|
implement dispose and finalize methods for GladeProject.
|
|
* src/glade-id-allocator.[ch]: code to manage the ids availables for
|
|
widgets. Code from Owen Taylor.
|
|
|
|
2004-02-29 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* pixmaps/dialog.png: fix some pixels in the shadow that didn't have
|
|
the right gray shade.
|
|
* src/glade-property.c: don't write properties that have the default
|
|
value.
|
|
|
|
2004-02-28 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* widgets/gtkdialog.xml: comment out "response-id" as a ChildProperty
|
|
to retain compatibility with glade-2. We should reput "response-id"
|
|
as a ChildProperty if that gets indeed accepted as a child-property
|
|
in gtk+ itself.
|
|
* widgets/gtkbutton.xml: add a "response-id" property to each button,
|
|
to keep backwards compatibility with glade-2.
|
|
|
|
2004-02-28 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-editor.c: restrict child-properties to widgets for which
|
|
child_property_applies returns TRUE, not only direct children.
|
|
* src/glade-gtk.c: implement a child_property_applies for
|
|
GtkDialog.
|
|
* src/glade-widget-class.[ch]: read child_property_applies_function_name
|
|
and customized child-properties under the ChildProperties tag.
|
|
* src/glade-widget.c: restrict child-properties to widgets for which
|
|
child_property_applies returns TRUE, not only direct children.
|
|
* src/glade.h: add the ChildProperties and ChildPropertyApplies tags.
|
|
* widgets/gtkdialog.xml: add a ChildPropertyApplies function, and
|
|
add a new ChildProperty ("response-id").
|
|
|
|
2004-02-12 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: implement open by drag&drop.
|
|
* src/glade-utils.[ch]: add glade_util_uri_list_parse for the above.
|
|
|
|
2004-02-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade_plugin.def: update to latest changes to fix the
|
|
windows build.
|
|
|
|
2004-02-11 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/main.c:
|
|
* src/glade-project-window.[ch]: handle more gracefully files
|
|
passed on the command line which aren't glade projects.
|
|
|
|
2004-02-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-widget.c: fix a little error that
|
|
was preventing internal childs from being selected.
|
|
|
|
2004-02-08 Paolo Borelli <pborelli@katamail.com>
|
|
|
|
* src/glade-project-window.c: compile fix.
|
|
|
|
2004-02-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
|
|
|
* src/glade-project-window.c (gpw_about_cb): Create an about box.
|
|
|
|
2004-02-07 Joaquin Cuenca Abela <cuenca@levallois-1-81-57-181-150.fbx.proxad.net>
|
|
|
|
* src/glade-catalog.c (glade_catalog_load): Load the "palette_name" attribute
|
|
on each widget class which has a "generic_name".
|
|
* src/glade-palette.c (glade_palette_widget_table_create): Use the "palette_name"
|
|
attribute as the label of the widget class in the palette.
|
|
* src/glade-widget-class.[ch] (glade_widget_class_new): set the "palette_name"
|
|
attribute as a member of the widget class.
|
|
* widgets/gtk-base.xml, gtk-additional.xml, gtk-dialogs.xml, gtk-obsolete.xml:
|
|
Set the "palette_name" attribute of each widget class.
|
|
|
|
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
|