plug-ins: GimpProcBrowserDialog with "use-header-bar" in Python-console.
We have code for this in gimp_proc_browser_dialog_new(), but it cannot be moved in the object init() because this is a construction-time only property. So this needs to be passed from the python call too.
This commit is contained in:
@ -170,7 +170,7 @@ def run(procedure, args, data):
|
||||
|
||||
def browse(self):
|
||||
if not self.browse_dlg:
|
||||
dlg = Gimp.ProcBrowserDialog()
|
||||
dlg = Gimp.ProcBrowserDialog(use_header_bar=True)
|
||||
Gtk.Window.set_title(dlg, _("Python Procedure Browser"))
|
||||
Gtk.Window.set_role(dlg, PROC_NAME)
|
||||
Gtk.Dialog.add_button(dlg, "Apply", Gtk.ResponseType.APPLY)
|
||||
|
Reference in New Issue
Block a user