summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow argument to RadioButtion.set_radio_group to be empty, fixes #170514pygtk-2-4Johan Dahlin2005-03-162-28/+22
| | | | | * gtk/gtk.override: Allow argument to RadioButtion.set_radio_group to be empty, fixes #170514 (Lorenzo Gil Sanchez)
* in case the enum is not registered, set enum_class or flag_class to NoneLorenzo Gil Sanchez2005-03-142-7/+23
| | | | | * gobject/pygparamspec.c (pyg_param_spec_getattr): in case the enum is not registered, set enum_class or flag_class to None
* Use G_CONST_RETURN with a gchar* return value.Cedric Gustin2005-02-232-1/+6
| | | | | | | 2005-02-23 Cedric Gustin <cedric.gustin@swing.be> * gobject/pygtype.c (add_property_docs): Use G_CONST_RETURN with a gchar* return value.
* Do not use g_string_append_printf with a NULL argument, as it crashes onCedric Gustin2005-02-232-2/+13
| | | | | | | | 2005-02-23 Cedric Gustin <cedric.gustin@swing.be> * gobject/pygtype.c (add_property_docs): Do not use g_string_append_printf with a NULL argument, as it crashes on win32. Fixes bug #166546.
* [Bug 164451] Need to avoid changing LC_NUMERIC on Python 2.4Gustavo J. A. M. Carneiro2005-01-182-2/+12
|
* Bug 160595: pyg_value_from_pyobject() sometimes sets a Python exception, ↵Gustavo J. A. M. Carneiro2005-01-092-2/+12
| | | | sometimes not
* Change PY_HEXVERSION to PY_VERSION_HEXJohn Ehresman2004-12-102-1/+5
| | | | | | 2004-12-10 John Ehresman <jpe@wingide.com> * gobject/pygobject.h: Change PY_HEXVERSION to PY_VERSION_HEX
* Print long int value if enum string not found. Fixes #158417. (modifedJohn Finlay2004-11-162-3/+12
| | | | | * gobject/pygflags.c (pyg_flags_repr): Print long int value if enum string not found. Fixes #158417. (modifed patch from Tim Evans)
* gtk/gdk.override (_wrap_gdk_event_tp_setattr) Fix #157571 with slightlyJohn Finlay2004-11-082-0/+6
| | | | | * gtk/gdk.override (_wrap_gdk_event_tp_setattr) Fix #157571 with slightly modified patch from rubensr.
* post release bump and NEWS which I forgotJohan Dahlin2004-11-06220-145690/+9
|
* 'nother small fixpygtk-2-4-anchorJohan Dahlin2004-11-051-1/+1
|
* Use PyTuple_GetSlice and PyArg_ParseTuple here, so we can get the samePYGTK_2_4_1Johan Dahlin2004-11-044-19/+31
| | | | | | | | * gtk/gtk.override (_wrap_gtk_dialog_add_buttons): Use PyTuple_GetSlice and PyArg_ParseTuple here, so we can get the same behavior as in add_button. Reported by Maciej Katafiasz, fixes #156707 * tests/test_dialog.py: Add test for it
* Fix typoJohan Dahlin2004-11-043-35/+14
| | | | | | * examples/gtk/filechooser.py: Fix typo * examples/gtk/uimanager.py: Simplify
* Add tests for dynamic/unknown objects and interfacesJohan Dahlin2004-11-049-116/+265
|
* pygtk-gtksettings.xml Add gtk-alternative-button-order and gtk-modulesJohn Finlay2004-11-012-1/+20
| | | | | * pygtk-gtksettings.xml Add gtk-alternative-button-order and gtk-modules properties. Fix typo.
* pygtk-gtkcombobox.xml (set_model) model can be and default to None inJohn Finlay2004-10-283-6/+24
| | | | | | | | * pygtk-gtkcombobox.xml (set_model) model can be and default to None in PyGTK 2.4.1. * pygtk-gtkentrycompletion.xml (set_model) model can be and default to None in PyGTK 2.4.1.
* gtk/gtk.defs (gtk_combo_box_set_model) (gtk_entry_completion_set_model)John Finlay2004-10-282-2/+9
| | | | | | | * gtk/gtk.defs (gtk_combo_box_set_model) (gtk_entry_completion_set_model) Allow model to be None and to default to None similar to gtk_tree_view_set_model. Fixes #155247 (Olivier Aubert).
* fix gtk.Alignment defaultsGustavo J. A. M. Carneiro2004-10-222-0/+34
|
* pygtk-gtkalignment.xml (gtk.Alignment) Undo changes since new defaultJohn Finlay2004-10-212-15/+15
| | | | | * pygtk-gtkalignment.xml (gtk.Alignment) Undo changes since new default values are wrong.
* fix gtk.Adjustment defaultsGustavo J. A. M. Carneiro2004-10-212-20/+21
|
* pygtk-gtkalignment.xml (gtk.Alignment) Note change of efault values inJohn Finlay2004-10-192-9/+19
| | | | | * pygtk-gtkalignment.xml (gtk.Alignment) Note change of efault values in 2.4. (Gustavo Niemeyer)
* Bug 155304: pygobject.h cannot be included in C++ programsGustavo J. A. M. Carneiro2004-10-132-2/+13
|
* pygtk-gtkwidget.xml ("destroy-event") Add description per Christian Reis.John Finlay2004-10-132-1/+5
| | | | | * pygtk-gtkwidget.xml ("destroy-event") Add description per Christian Reis.
* pygtk-gtkstatusbar.xml (push) Note that the message id can be used withJohn Finlay2004-10-132-1/+7
| | | | | * pygtk-gtkstatusbar.xml (push) Note that the message id can be used with the remove() method. (Rafael Villar Burke)
* pygtk-gtkwidget.xml (modify_bg) Note that bg can only be modified onJohn Finlay2004-10-132-0/+43
| | | | | * pygtk-gtkwidget.xml (modify_bg) Note that bg can only be modified on widgets with a gdkWindow. (Rafael Villar Burke)
* pygtk-gtkadjustment.xml (Description) Fix broken links reported by AntoonJohn Finlay2004-10-132-7/+12
| | | | | * pygtk-gtkadjustment.xml (Description) Fix broken links reported by Antoon Pardon.
* Fix silly silly bug. When using typedict for a glade.XML object,Johan Dahlin2004-10-052-2/+12
| | | | | | | | | | * gtk/libglade.override (pyglade_xml_lookup_type): Fix silly silly bug. When using typedict for a glade.XML object, AttributeErrors set when calling PyMapping_GetItemString on a dictionary isn't reset. I wonder why nobody tried this before? Sigh. At least it's my fault, so I have no one else to blame, even though I'm trying hard
* pygtk2-ref.xml Bump version number and set pubdateJohn Finlay2004-10-053-5/+12
| | | | | | | * pygtk2-ref.xml Bump version number and set pubdate * pygtk-gdkgc.xml (set_clip_rectangle) Note that the clip origin is also set to (0, 0) per Rafael Villar Burke.
* pygtk2-ref.xml Set pubdate.ref-2-4-11John Finlay2004-10-043-10/+90
| | | | | | | | | * pygtk2-ref.xml Set pubdate. * pygtk-gtkuimanager.xml (insert_action_group) Add details on pos param. (add_ui) Additional info on path param. Add info on type values. (new_merge_id) Add info on merge ids.
* examples/pygtk-demo/demos/dnd.py Fix popup dest code and use gobjectJohn Finlay2004-10-032-25/+28
| | | | | * examples/pygtk-demo/demos/dnd.py Fix popup dest code and use gobject timeout functions.
* Post release version bumpJohan Dahlin2004-10-032-1/+5
| | | | * configure.in: Post release version bump
* PyGtk 2.4.0 released!PYGTK_2_4_0Johan Dahlin2004-10-035-69/+112
|
* examples/pygtk-demo/* Replace the pygtk-demo with the new version writtenJohn Finlay2004-10-0139-1775/+3999
| | | | | * examples/pygtk-demo/* Replace the pygtk-demo with the new version written by Maik Hertha. Fixes #138823.
* Allow gtk_main to be invoked from a thread created by the threading moduleJohn Ehresman2004-09-292-1/+9
| | | | | | * gobject/gobjectmodule.c (pyg_enable_threads): Allow gtk_main to be invoked from a thread created by the threading module by requiring the GIL be held when pyg_enable_threads is invoked.
* pygtk-gtkalignment.xml (Description) Fix example description.John Finlay2004-09-282-5/+10
| | | | * pygtk-gtkalignment.xml (Description) Fix example description.
* Release 2.3.97PYGTK_2_3_97Johan Dahlin2004-09-282-0/+10
|
* Apply slighly modified fix from bug 149845Johan Dahlin2004-09-286-51/+56
| | | | | | This is make threading usable for both users of the threading module and users that requires interaction with threads from other extension modules.
* Forgot to commit this yesterdayJohan Dahlin2004-09-281-0/+24
|
* Add thread stuff, that emits stuff from another thread and does some enumJohan Dahlin2004-09-273-6/+141
| | | | | | * tests/testhelpermodule.c: * tests/test_thread.py: Add thread stuff, that emits stuff from another thread and does some enum magic.
* New functions exposed through _PyGObject_Functions to work around bugs inJohn Ehresman2004-09-275-5/+118
| | | | | | | | | | | | * gobject/gobjectmodule.c: New functions exposed through _PyGObject_Functions to work around bugs in the PyGILState api's * gobject/pygobject.h: idem * gobject/pygobject-private.h: idem * gtk/gtk.override (_wrap_gtk_main): add pyg_enable_threads() call to ensure thread state for thread invoking this function is remembered. Only call pyg_enable_threads() here if threads were previously enabled
* make it pass distcheckJohan Dahlin2004-09-271-31/+0
|
* catch ImportError if glade is not found and set glade to NoneJohn Ehresman2004-09-272-1/+9
| | | | | * tests/common.py: catch ImportError if glade is not found and set glade to None
* Small c module to help testingJohan Dahlin2004-09-275-10/+64
| | | | | | | * tests/testhelper.c: Small c module to help testing * tests/test_subtype.py: tests for this, use testhelper here aswell
* Revert parts of Gustavos changes, so the size of interfaces are correct.Johan Dahlin2004-09-274-18/+40
| | | | | | | * codegen/codegen.py (FileOutput.resetline): Revert parts of Gustavos changes, so the size of interfaces are correct. * tests/test_subtype.py: tests for this.
* Make PyGClosure semi-publicGustavo J. A. M. Carneiro2004-09-263-8/+14
|
* Move some tests from gtype and rename from signal.pyJohan Dahlin2004-09-254-7/+35
| | | | | * tests/test_signal.py: Move some tests from gtype and rename from signal.py
* Bug 153718: exception in overriden gsignals causes ref count problemsGustavo J. A. M. Carneiro2004-09-253-5/+19
|
* initialise the GdkColor struct to zeroes, so we don't get a random valueJames Henstridge2004-09-242-1/+7
| | | | | | | | 2004-09-24 James Henstridge <james@jamesh.id.au> * gtk/gdk.override (_wrap_gdk_color_parse): initialise the GdkColor struct to zeroes, so we don't get a random value in the "pixel" field after parsing the colour string.
* Tests for GdkColor constructionJohn Ehresman2004-09-221-0/+16
|
* Fix for the previous checkin; same changelog entry appliesJohn Ehresman2004-09-221-2/+3
|