[gimp] Setting the FileChooserbutton to a fixed width.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Setting the FileChooserbutton to a fixed width.
- Date: Wed, 13 Feb 2019 16:08:08 +0000 (UTC)
commit 582801ccc5a3b3e49b1284554863239ce193f862
Author: Veerasamy Sevagen <sevagenv gmail com>
Date: Tue Feb 12 15:09:19 2019 +0000
Setting the FileChooserbutton to a fixed width.
plug-ins/pygimp/gimpui.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plug-ins/pygimp/gimpui.py b/plug-ins/pygimp/gimpui.py
index 76ee58472f..ab0dba2042 100644
--- a/plug-ins/pygimp/gimpui.py
+++ b/plug-ins/pygimp/gimpui.py
@@ -221,6 +221,7 @@ class FontSelector(FontSelectButton):
class FileSelector(gtk.FileChooserButton):
def __init__(self, default=""):
gtk.FileChooserButton.__init__(self, _("Python-Fu File Selection"))
+ set.FileChooserButton.config( height=100, width=100)
if default:
self.set_filename(default)
def get_value(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]