wrap gimp_window_set_transient() into a method of GimpDialog.

2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs: wrap gimp_window_set_transient()
	into a method of GimpDialog.

	* plug-ins/pygimp/gimpfu.py: call dialog.set_transient().
This commit is contained in:
Sven Neumann 2006-08-11 09:00:24 +00:00 committed by Sven Neumann
parent 0b74a671fc
commit a994fb3471
3 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2006-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpui.defs: wrap gimp_window_set_transient()
into a method of GimpDialog.
* plug-ins/pygimp/gimpfu.py: call dialog.set_transient().
2006-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c: pack the main vbox

View file

@ -488,6 +488,8 @@ def _interact(func_name, start_params):
dialog.set_alternative_button_order((gtk.RESPONSE_OK, gtk.RESPONSE_CANCEL))
dialog.set_transient()
vbox = gtk.VBox(False, 12)
vbox.set_border_width(12)
dialog.vbox.pack_start(vbox)

View file

@ -3885,6 +3885,16 @@
;; From ../../libgimp/gimpui.h
(define-method set_transient
(of-object "GimpDialog")
(c-name "gimp_window_set_transient")
(return-type "none")
)
;; From ../../libgimp/gimpzoompreview.h
(define-function gimp_zoom_preview_get_type