mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
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:
parent
a76c9305bb
commit
0af32861e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue