From 5dd88052cf7cdb232acbd6f4ea1787b4cf7fed81 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Wed, 7 Dec 2016 19:13:59 +0000 Subject: [PATCH] Reduce minimum width of preferences dialog --- gramps/gui/configure.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index e5e5c17c2..bca48b9b0 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -40,6 +40,7 @@ import collections from gi.repository import GObject from gi.repository import Gdk from gi.repository import Gtk +from gi.repository import Pango #------------------------------------------------------------------------- # @@ -968,6 +969,7 @@ class GrampsPreferences(ConfigureDialog): # set up the combo to choose the preset format self.fmt_obox = Gtk.ComboBox() cell = Gtk.CellRendererText() + cell.set_property('ellipsize', Pango.EllipsizeMode.END) self.fmt_obox.pack_start(cell, True) self.fmt_obox.add_attribute(cell, 'text', 1) self.fmt_obox.set_model(self.fmt_model)