2002-08-23 James Henstridge * NEWS: add news items, and for 1.4.4 release. * pygnome/gnome/zvt.py (ZvtTerm.writechild): add method. * pygnome/zvtmodule.c (_wrap_zvt_term_writechild): add wrapper. * pygnome/gnome/ui.py: fix corruption introduced in revision 1.30.2.2 (don't know how it got in there, or how it got past distcheck). 2002-08-22 James Henstridge * NEWS: add news, and update version number to 1.4.3. 2002-08-18 James Henstridge * pygnome/appletmodule.c (_wrap_applet_widget_get_rgb_bg): check if rgb == NULL, to try and catch an error condition (may fix bug #89291). * pygnome/Makefile.am (gettextpy): only install gettext.py if we are using python < 2.0.0 (which has its own gettext module). * configure.in: add a HAVE_PYTHON2 conditional. * gnome-python.spec: update to take into account new locations. * pygnome/gnome/Makefile.am: same here. * pygnome/Makefile.am: fix up for parallel install with pygtk-2.0. 2002-04-08 Matt Wilson * pygnome/gnome/applet.py (AppletWidget.get_rgb_bg): added wrapper * pygnome/appletmodule.c (_wrap_applet_widget_get_rgb_bg): implemented applet_widget_get_rgb_bg wrapper 2002-03-16 James Henstridge * configure.in: set APPLETS_CFLAGS and CAPPLET_CFLAGS, as these might not be included in GNOME_INCLUDES (especially for new control center which has moved headers (from bug 71638). * pygnome/gnome/ui.py (GnomeDialog.button_connect): add argument to wrapper (again, from bug 70416). * pygnome/gnomeuimodule.c (_wrap_gnome_icon_list_get_icon_data): do a NULL check. This won't catch all errors, but might catch some segfaults (from bug 70608). (_wrap_gnome_dialog_button_connect): add an "extra" argument for extra arguments to pass to the signal handler (from bug 70416). * pygnome/zvtmodule.c (_wrap_zvt_term_set_color_scheme): fix bug signed/unsigned bug (as per bug 70474). * pygnome/gnome/zvt.py (ZvtTerm.match_check): wrapper function. * pygnome/zvtmodule.c (_wrap_zvt_term_match_check): apply patch from bug 69106. 2002-01-03 James Henstridge * pygnome/zvtmodule.c: fix up copyright year. * pygnome/gtkxmhtmlmodule.c: fix up copyright year. * pygnome/gtkhtmlmodule.c: fix up copyright year. * pygnome/gnomeuimodule.c: fix up copyright year. * pygnome/gnomemodule.c: fix up copyright year. * pygnome/gladegnomemodule.c: fix up copyright year. * pygnome/cappletmodule.c: fix up copyright year. * pygnome/appletmodule.c: fix up copyright year. * pygnome/gnomeuimodule.c (_wrap_gnome_init): as gnome_init calls gtk_set_locale(), we need to set LC_NUMERIC back to C, or python breaks. 2001-12-24 James Henstridge * pygnome/generate/Makefile.am (distclean-local): add rule to remove generated files. * pygnome/Makefile.am (distclean-local): add rule to remove generated files. * pygnome/mkgnome.py: ignore files go in builddir * pygnome/Makefile.am (mkgnome): fix up rule that calls mkgnome.py to work from the builddir. * pygnome/mkgnome.py: modify so it can be run from the source dir. 2001-12-23 James Henstridge * README: update readme. * NEWS: add some news items. * configure.in: increment version number to 1.4.2. 2001-11-28 James Henstridge * configure.in: update configure.in for autoconf 2.52. 2001-05-01 Robey Pointer * pygnome/generate/gtkhtml.defs: Fix typo in gtk_html_embedded_set_descent. 2001-04-23 James Henstridge * NEWS: update news file. * gnome-python.spec: up version number. * configure.in: up version number to 1.4.1 2001-04-22 Robey Pointer * pygnome/generate/gtkhtml.defs: * pygnome/gtkhtml.py: * pygnome/gtkhtmlmodule.c: Add wrapper class for GtkHTMLEmbedded, so a python script can catch and handle the "" signals in gtkhtml. 2001-04-21 James Henstridge * gnome-python.spec: add devel packages and glarea package to build. * pygnome/generate/Makefile.am (defsdir): install the defs files. * pygnome/Makefile.am, pygnome/gnome/Makefile.am: change some directory var names. * acinclude.m4: include newer macro * configure.in: use updated AM_PATH_PYTHON_JH macro 2001-03-21 Maciej Stachowiak * autogen.sh: Call autoheader to make this module easier to build from scratch. 2001-03-20 Maciej Stachowiak * pygtk/gtkmodule.c Don't call g_thread_init if gthread has already been initialized, for the benefit of programs that use gthread themselves and want to be able to embed Python code that uses the gtk module. 2001-02-16 James Henstridge * NEWS: update news items. * gnome-python.spec: update versions in spec file. * configure.in: update version number. * pygnome/gnome/applet.py: add panel size constants. (AppletWidget.__getattr__): handle privcfgpath and globcfgpath members. * pygnome/generate/applet.defs (AppletWidget): add privcfgpath and globcfgpath public structure fields. * pygnome/examples/gtkhtml_demo.py: make demo actually work. * pygnome/gtkhtml.py: add support for more APIs. * pygnome/gtkhtmlmodule.c (_wrap_gtk_html_begin): fix argument list. Add some more of the gtkhtml APIs. 2001-02-11 James Henstridge * pygnome/gnome/ui.py (GnomeIconEntry.gtk_entry): use _gtk.GtkEntry here. (GnomePixmapEntry.gtk_entry): same here. 2000-09-20 James Henstridge * pygnome/zvtmodule.c: fix up format string for list arguments. 2000-09-18 James Henstridge * pygnome/gnome/applet.py (panel_quit): add wrappers for new functions. * pygnome/generate/applet.defs: add gnome-1.2 panel extra functions. 2000-04-15 James Henstridge * pygnome/gnome/ui.py (GnomeIconSelection.get_icon): fix bug here. * pygnome/gnomeuimodule.c: fix small bug in gnome_canvas_w2c and c2w reported by Alvaro Lopez Ortega. 2000-04-07 James Henstridge * pygnome/gtkhtml.py: removed removed functions. * pygnome/generate/gtkhtml.defs (gtk_html_calc_scrollbars): removed private function. * pygnome/Makefile.am: changed dependencies to point at .lo files rather than .o files, as we are using libtool now. * pygnome/examples/gtkhtml_demo.py (HtmlWindow.load_url): don't call GtkHTML.parse(). * pygnome/generate/gtkhtml.defs (gtk_html_parse): remove function that was removed from gtkhtml. * configure.in, gnome-python.spec: updated version number. * NEWS: added news items. * pygnome/Makefile.am (_gtkhtmlmodule_la_LIBADD): link with the correct library list. * pygnome/gnome/config.py (section_contents,private_section_contents): fixed incorrect naming of wrapper. 2000-04-06 James Henstridge * (lots of files): switch over to using libtool and automake-1.4a. 2000-03-23 Frederic Gobry * pygnome/gnomeuimodule.c, pygnome/gnome/ui.py, pygnome/generate/gnomeui.defs: Modified _wrap_gnome_file_entry_get_full_path, so that it supports NULL as a return value (if the user does not select a file) 2000-03-22 Frederic Gobry * pygnome/gnomeuimodule.c (_wrap_gnome_dialog_button_connect): create a tuple (function, arguments) to be registered in the callback. This corrects random behaviors after callback. 2000-03-13 James Henstridge * pygnome/gnome/__init__.py: don't bother with the python-1.4 compatibility stuff -- gnome-python won't work with python-1.4 for other reasons. * configure.in: updated version. Require gtk+ >= 1.2.6 for same reasons pygtk requires it. * gnome-python.spec: incremented version numbers. Add requires headers for gtk+ and gnome-libs so people don't annoy me with problems caused by old versions. Also, require the matching version of pygtk. Also, make pygnome-libglade require pygnome. * pygnome/gettext.py (Catalog.__init__): check for msb encoded catalogs as well. 2000-03-09 Elliot Lee * pygtk/gtkmodule.c: When changing a gtkadjustment, call gtk_adjustment_changed() * autogen.sh: Work with builddir != srcdir. 2000-03-06 Frederic Gobry * pygnome/gnomeuimodule.c (list_to_ui_info): set user_data to NULL, to avoid crashes in free_ui_info. 2000-02-23 Frederic Gobry * pygnome/gnomeuimodule.c: added PyGtk_Get() around parameters in MDI handling. 2000-02-20 James Henstridge * pygnome/gnome/ui.py (GnomeMDIGenericChild.__marshal.__call__): fix mistake here. 2000-02-16 James Henstridge * configure.in, gnome-python.spec: updated version number to 1.0.51. Changed dependency for python to >= 1.5.2, as the N format tag is used in PyArg_ParseTuple, which was introduced in that version. 2000-01-26 James Henstridge * pygnome/gnome/config.py (get_translated_string): (set_translated_string): (private_get_translated_string): (private_set_translated_string): fix spelling mistake in wrapper name. * configure.in: fix up --without-gtkhtml. Not building gtkhtml support is still the default, but this makes sure the configure script does not die when --without-gtkhtml is passed to it. 2000-01-21 Matt Wilson * gnome-python.spec: added pygnome-libglade package 2000-01-21 Matt Wilson * pygnome/generate/gnome.defs (gnome_*_file): functions may return null, change to return None in that case. 2000-01-20 Matt Wilson * pygnome/gnome/__init__.py (__all__): added util to submodule list 2000-01-17 Matt Wilson * pygnome/gnome/ui.py (GnomeMDI.open_toplevel, GnomeMDI.get_active_window, GnomeMDIGenericChild.set_view_creator, GnomeMDIGenericChild.set_menu_creator, GnomeMDIGenericChild.set_config_func, GnomeMDIGenericChild.set_label_func): Patch from ChiDeok Hwang to fix typos * pygnome/gnomeuimodule.c (_wrap_gnome_mdi_generic_child_set_view_creator): likewise. 2000-01-17 Matt Wilson * pygnome/appletmodule.c (applet_widget_register_callback, applet_widget_register_stock_callback): don't INCREF the objects when adding them to a Py_BuildValue - it automatically gets INCREF'ed for you. 2000-01-05 Matt Wilson * pygnome/gnomemodule.c, pygnome/gnomeuimodule.c: Patch from ChiDeok Hwang to decref PyObjects retrieved by PySequence_GetItem. 1999-12-16 Matt Wilson * pygnome/gtkhtml.py): register the GtkHTML class in _gtk._name2cls * pygnome/examples/gtkhtml_demo.py: modified to be a more complete demo 1999-12-15 Havoc Pennington * pygnome/generate/gtkhtml.defs (gtk_html_new): no args for gtk_html_new() * pygnome/gtkhtml.py (GtkHTML.__init__): gtk_html_new() has no args now 1999-12-13 Matt Wilson * pygnome/generate/Makefile.am (EXTRA_DIST): added gtkhtml.defs 1999-12-13 Matt Wilson * pygnome/gnome/ui.py (GnomeDruidPageStandard.__getattr__): wrap the GtkVBox with _obj2inst to get a proper instance. 1999-12-13 Matt Wilson * pygnome/gtkhtmlmodule.c (init_gtkhtml): call gdk_rgb_init() * pygnome/gtkhtml.py: import gtk before _gtkhtml. 1999-12-12 Matt Wilson * pygnome/gtkhtmlmodule.c, pygnome/gtkhtml.py, pygnome/generate/gtkhtml.defs, pygnome/examples/gtkhtml_demo.py: added new wrapper for gtkhtml. Needs autoconf work. Enable with --with-gtkhtml for now. * pygnome/Makefile.am: added rules for gtkhtml bindings * pygnome/generate/Makefile.am: added rule for ignore file * pygnome/mkgnome.py: added output for generated gtkhtml wrappers * configure.in: added --with-gtkhtml flag until proper .m4 files or gnome-config files are done 1999-12-12 Matt Wilson * pygnome/gnome/Makefile.am (gnome_PYTHON): added util.py to be installed * pygnome/gnome/util.py: Added new file to wrap gnome-util.h functions. * pygnome/generate/gnome.defs: added new gnome-util functions. 1999-12-11 Matt Wilson * pygnome/gnome/ui.py (GnomeFontPicker.get_font_name): fixed typo from gnoem_font_picker to gnome_font_picker. 1999-10-01 James Henstridge * pygnome/gnome/ui.py (GnomeDialog.set_default): fixed function. 1999-09-30 James Henstridge * configure.in: incremented version number. * pygnome/gnome/zvt.py: added extra methods. * pygnome/generate/zvt.defs: added new ZvtTerm methods. * pygnome/Makefile.am (EXTRA_DIST): added Vincent's examples to the distribution list. 1999-09-29 James Henstridge * pygnome/gnome/ui.py: added GnomeDruid widgets. * pygnome/generate/gnomeui.defs: added GnomeDruid support to gnome-python. 1999-09-28 James Henstridge * pygnome/Makefile.am: added _gladegnome to the build. * pygnome/gladegnomemodule.c: new module. This one simply initialises the gnome portion of libglade when you import it. It provides no external interface. 1999-09-28 Vincent Renardias * pygnome/examples: added about.py, calculator.py, colorpicker.py and dial.py. 1999-08-09 James Henstridge * gnome-python.spec: updated spec file. * configure.in: incremented version number to 1.0.4 1999-08-03 James Henstridge * pygnome/gettext.py: when building the language search list, add extra entries for shortened language codes. So if LANG is set to zh_TW.Big5 for instance, also check for catalogs under zh_TW and zh. * pygnome/gnome/ui.py (GnomeCanvasGroup.children): a function to return the children of this canvas item. * pygnome/gnomeuimodule.c (_wrap_gnome_canvas_group_children): a wrapper for getting a list of the children of a canvas item. 1999-07-19 James Henstridge * pygnome/gnome/ui.py (GnomeIconList.append*): similar fixes. (GnomeIconList.set_*): a number of these functions had incorrect arguments. I guess I did not catch this one when the icon list changed its api. Thanks to Fred Drake for this one. * pygnome/generate/gnomeui.defs: fixed bug in gnome_icon_list_append* functions reported by Matt Wilson. 1999-07-15 James Henstridge * pygnome/mkgnome.py: modified so that functions are auto generated correctly for gnomeui module. * pygnome/gnomeuimodule.c: converted to use pygtk.h and pygdkimlib.h. 1999-07-14 James Henstridge * pygnome/mkgnome.py: modified so that functions are auto generated correctly for zvt, gtkxmhtml, applet and capplet modules. * pygnome/zvtmodule.c, pygnome/gtkxmhtmlmodule.c, * pygnome/appletmodule.c, pygnome/cappletmodule.c: modified to use pygtk.h to import the gtk types and functions. Still need to do gnomeui. 1999-07-12 Matt Wilson * pygnome/gnome/ui.py (GnomePixmapButton): added new function wrapper 1999-07-12 James Henstridge * pygnome/gnome/ui.py (GnomePixmap.load_imlib): small bug fix. 1999-05-22 James Henstridge * pygnome/gnome/ui.py (GnomeCanvasItem): Added new function wrappers. * pygnome/gnomeuimodule.c: Added new functions gnome_canvas_item_w2i, gnome_canvas_item_i2w and gnome_canvas_item_get_bounds. 1999-05-19 James Henstridge * pygnome/gnomeuimodule.c (_wrap_gnome_canvas_new): added a wrapper here that makes sure that the imlib visual/colormap is used for the canvas widget. * NEWS: added some news items. * configure.in, gnome-python.spec, README: updated version number. * pygnome/gnomeuimodule.c (_wrap_gnome_client_request_interaction): fixed a small problem reported by David Kaelbling. * pygnome/gnomeuimodule.c (_wrap_gtk_dialog_cauldron): fixed the bug that was preventing gnome-python from building correctly. This will prevent it from building with versions of gnome-libs < 1.0.9. * pygnome/gnome/applet.py, pygnome/gnome/capplet.py: Call _gnomeui._register_types() when intialising. This way you can use GnomeCanvas in conjunction with applets/capplets. * pygnome/gnomeuimodule.c: added an _register_types function that will register the imlib ang GnomeCanvasPoints types with pygtk's type system. 1999-05-13 James Henstridge * pygnome/Makefile.am (EXTRA_DIST): added canvas-example.py * pygnome/examples/canvas-example.py: A new example of using the canvas with python. This one is from Jesper Skov (sorry about forgetting about this in the 1.0.2 release). 1999-04-25 James Henstridge * pygnome/Makefile.am (EXTRA_DIST): added bookmarks-applet.py * pygnome/examples/bookmarks-applet.py: added another sample applet that demonstrates setting up context menu items. It basically reads in your Netscape 4.x bookmarks file, and puts the bookmarks into the context menu heirachy. It then uses gnome.url.show() to display the bookmark in the browser of the user's choice. 1999-04-22 James Henstridge * pygnome/gnome/ui.py (GnomeCanvas.get_item_at): fixed a small typo I introduced in the last commit. * pygnome/Makefile.am (EXTRA_DIST): added clock-applet.py * pygnome/examples/clock-applet.py: new example. Basically a stripped down clock applet that should describe enough about how to create panel applets in python. 1999-04-22 James Henstridge * NEWS: added some news items. * configure.in: upped version number * gnome-python.spec: upped versions, and included capplet and applet modules. * pygnome/gnomeuimodule.c: added calls to make gnomeuimodule act correctly with the thread support in pygtk. * pygnome/gnome/Makefile.am (gnome_PYTHON): conditionally install applet.py and capplet.py. * pygnome/gnome/capplet.py: a wrapper for CappletWidget. 1999-04-21 James Henstridge * pygnome/gnome/applet.py: a wrapper for AppletWidget. This is what most people will use. * pygnome/Makefile.am, pygnome/generate/Makefile.am: made changes to build _applet and _capplet modules if libraries are available. * configure.in: added some tests to see if applets or capplets libraries are installed. If so, set up a few conditionals for building the python modules for them. * pygnome/cappletmodule.c, pygnome/generate/capplet.defs: base module for creating control center capplets in python. This module should also work properly with the threading fixes for pygtk. * pygnome/appletmodule.c, pygnome/generate/applet.defs: base module for creating panel applets in python. This module should work together with the threading fixes for pygtk. 1999-04-20 James Henstridge * pygnome/gnome/uiconsts.py: added some more stock item constants. * pygnome/gnomeuimodule.c (_wrap_gnome_canvas_get_item_at): this function could return NULL, which could cause a problem. * pygnome/gnomemodule.c (_wrap_gnome_config_{,private_}get_string): moved implementation here, because these functions can return NULL. 1999-04-08 James Henstridge * pygnome/gnome/ui.py (GnomeDialog.set_default): fixed a small bug. It was reported by Ben Darnell. * pygnome/gnomeuimodule.c: fixed a memory leak. Thanks go to Chi-Deok. 1999-03-13 James Henstridge * pygnome/gnome/affine.py (shear): added a shear transformation matrix. * pygnome/zvtmodule.c: added an #include of sys/types.h, which fixes some problems that fixes a problem for some libc5 setups. 1999-03-12 James Henstridge * configure.in, gnome-python.spec: incremented version number to 1.0.1 * pygnome/gnome/affine.py: new file that should help people compose affine transformations relatively easily. It allows you to quickly create rotations, scalings, translations and allows you to compose any number of affine transformations or invert them. * pygnome/gnome/ui.py: added GnomeCanvasItem.affine_relative and GnomeCanvasItem.affine_absolute. * pygnome/gnomeuimodule.c: added the PYGTK_FATAL_EXCEPTIONS handling code to this module as well. Added gnome_canvas_item_affine_{relative,absolute}. * */Makefile.am: changes so that you can build gnome-python with build directory != source directory. 1999-02-25 James Henstridge * configure.in, gnome-python.spec: updated version number to 1.0.0 for prerelease. 1999-02-24 James Henstridge * pygnome/gnome/ui.py: updated the comments in the GnomeCanvasItems since they were out of date. The image and points arguments should work now. * pygnome/Makefile.am: use ZVT_LIBS in the library line for _zvtmodule 1999-02-20 James Henstridge * pygnome/gnome/ui.py: made corresponding changes. * pygnome/generate/gnomeui.defs: added some null-ok tags to the defs file (mainly for passing adjustments to constructors). * gnome-python.spec: fixed a bug in the pygtk files list. It wasn't including gtk.py! 1999-02-19 James Henstridge * pygnome/gnome/ui.py, pygnome/gnome/zvt.py: altered __getattr__ methods to call their parent's __getattr__ rather than raising exceptions on unknown attributes. This is to allow use of the GtkObject.__getattr__ method in gtk.py. 1999-02-14 James Henstridge * pygnome/examples/zterm.py (main): set geometry hints so that resizing occurs in terms of the character cells. * pygnome/gnome/zvt.py: added charwidth and charheight attributes to the ZvtTerm widget. * pygnome/generate/zvt.defs: added charwidth and charheight as exposed attributes of ZvtTerm widgets. 1999-02-08 James Henstridge * pygnome/gnome/uiconsts.py: added the configurable uiinfo item code. * pygnome/gnome/ui.py: made changes to reflect those below. * pygnome/gnomeuimodule.c: added support for configurable uiinfo items. Also changed accelerator type from character to integer. * pygnome/generate/gnomeui.defs: added gnome_app_set_statusbar_custom, gnome_date_edit_[sg]et_flags and gnome_dentry_edit_get_*_entry. Made change to gnome_date_edit_new_flags arguments. 1999-02-05 James Henstridge * pygnome/gnome/zvt.py (ZvtTerm.set_background): missed an _o. 1999-02-03 James Henstridge * pygnome/gnome/zvt.py: added extra functions and SELTYPE constants. * pygnome/zvtmodule.c: added zvt_term_get_buffer * pygnome/generate/zvt.defs (zvt_term_set_size): new function. * pygnome/gnome/ui.py: made changes reflecting those below. * pygnome/gnome/uiconsts.py: added extra constants. * pygnome/generate/gnomeui.defs (gnome_canvas_get_item_at): added function. (gnome_client_set_priority): new function. (gnome_icon_entry_set_icon): new function. (gnome_property_box_set_modified): renamed function. 1999-01-11 James Henstridge * pygnome/gnome/ui.py: made relevant changes. * pygnome/generate/gnomeui.defs (gnome_paper_selector_get_*_margin): added functions. * pygnome/generate/gnomeui.defs (gnome_client_get_flags): added function. * pygnome/gnomeuimodule.c (_wrap_gnome_canvas_new_aa): command to create new aa canvas. Handles pushing and popping colormaps and visuals. * pygnome/gnome/config.py, pygnome/gnome/metadata.py: made corresponding changes. * pygnome/gnomemodule.c (_wrap_gnome_metadata_{,un}lock): added extra functions. * pygnome/generate/gnome.defs (gnome_config_{,private_}sync_file): added new functions from libgnome. * pygnome/Makefile.am (EXTRA_DIST): added examples/fifteen.py * pygnome/examples/fifteen.py: a new example of using the canvas with python. It is a translation of the puzzle example in test-gnome, and was contributed by Chi-Deok Hwang . 1998-12-21 James Henstridge * gnome-python.spec: updated version numbers here. * configure.in: upped required gtk version to 1.1.9, and changed version to 0.90 (to go with the gnome-1.0 prerelease). * gnome/examples/html_demo.py: changed some function calls to match GTK API changes. 1998-12-18 James Henstridge * pygnome/generate/gnomeui.defs: * pygnome/gnome/ui.py: * pygnome/gnome/uiconsts.py: updated for stable GNOME branch. * pygnome/gnome/mime.py: updated to reflect changes in libgnome. * pygnome/gnomemodule.c: added the gnome_mime_get_keys function. * pygnome/generate/gnome.defs: made changes to mime type stuff. 1998-12-14 Federico Mena Quintero * pygnome/generate/gnomeui.defs: Removed gnome_canvas_set_size. * pygnome/gnome/ui.py: Likewise. 1998-12-11 James Henstridge * pygnome/gnome/uiconsts.py: removed the last bits of the right justify code. I'm not quite sure why the functionality was removed from gnome-libs. * pygnome/gnome/ui.py: made changes to reflect those in gnomeui.defs. * pygnome/generate/gnomeui.defs: small changes to GnomeDock functions, and some renamings in GnomeMDI to match gnome-libs. 1998-12-09 James Henstridge * pygnome/gnome/uiconsts.py: Updated to match latest changes to set of constants. * pygnome/gnome/ui.py: added the gnome-app-util and gnome-dialog-util functions. * pygnome/gnomeuimodule.c: Added the gnome-*-util.h functions that required callbacks here. Also found gtk_dialog_cauldron was not listed in the function list. * pygnome/generate/gnomeui.defs: Added the functions in gnome-app-util.h and gnome-dialog-util.h. I missed these when changing over to using the .defs files. * pygnome/gnome/ui.py: made additions and changes to reflect those in the _gnomeui module. * pygnome/generate/gnomeui.defs: added GnomeDialog changes, and added the GnomeDock* widgets. * pygnome/gnomeuimodule.c: Added gnome_app_install_menu_hints function. The strings in the uiinfo structure will probably not be freed due to string interning in Python. If this assumption is wrong, I may have to introduce a memory leak :( 1998-12-07 James Henstridge * pygnome/examples/*.py: changed function calls so no deprecation messages are given. 1998-12-06 James Henstridge * pygnome/gnome/ui.py (GnomeMDIGenericChild.__call__): fixed small syntax error. * configure.in: now require gtk+-1.1.6 * pygnome/generate/gnomeui.defs, pygnome/gnome/ui.py: Updated to latest CVS of gnome-libs. 1998-11-29 James Henstridge * pygnome/gnomeuimodule.c: Added some code to register GdkImlibImage and GnomeCanvasPoints types with pygtk, using the PyGtk_RegisterBoxed function. Hopefully this should allow full use of the GnomeCanvas. * pygnome/gnome/ui.py: Made coresponding changes to ui.py. * pygnome/generate/gnomeui.defs: Made changes to reflect those in libgnomeui. This includes adding the GnomeIconEntry and GnomePixmapEntry widgets. The GnomeMDIGenericChild widget is not fully supported because the current API has problems. * pygnome/gnome/uiconsts.py: Added in new constants for libgnomeui. * pygnome/generate/gnome.defs, pygnome/gnome/config.py: added gnome_config_drop_file and the other new functions. * pygnome/gnomeuimodule.c: changed gnome_mdi_set_menu_template to gnome_mdi_set_menubar_template. 1998-11-23 James Henstridge * pygnome/examples/zterm.py: added a vertical scrollbar to the widget, as an example of using the adjustment of a ZvtTerm widget. * gnome-python.spec: an RPM spec file to build pygtk and pygnome binary RPMs. The pygtk RPM built should be almost identical to the one built by pygtk/pygtk.spec. 1998-11-22 James Henstridge * pygnome/gnomeuimodule.c: finished updating the GnomeUIInfo stuff. Now popup menus work correctly. I made an incompatible change to the python representation of the UIInfo structures. Now each tuple contains 9 items. There is an extra argument after the callback argument that specifies extra arguments to the callback, as a tuple. * pygnome/gettext.py: Added the ability to output PO templates. All that is required is that you run the program with the PY_XGETTEXT variable set to the directory where the .pot files should go, and make sure all translatable strings are passed to gettext. Take a look at the code if you are interested on how to get information about where a function was called from. 1998-11-20 James Henstridge * pygnome/gnome/*.py: updated to match changes in the low level modules. 1998-11-19 James Henstridge * pygnome/*.c, pygnome/generate/*.defs: finished conversion from SWIG to the new code generation scripts. The .defs files need to know about the objects and enums from pygtk, so gtk.defs is parsed for those things. This takes a while, so I generate all the code in one go, so gtk.defs needs to only be read once. This has the effect that editing any one of the .defs files means all the modules need rebuilding. 1998-11-18 James Henstridge * everything: made a large reorganisation. Now both pygtk and pygnome are parts of the gnome-python package. By copying the pygtk directory out of the source tree and re-running automake on it, you will get a stand-alone pygtk package.