8988: Name of user defined filter is not shown

This commit is contained in:
Josip 2015-11-08 00:43:48 +01:00
parent 4951f81d0d
commit ba89c29c0b

View File

@ -34,6 +34,9 @@ _RETURN = Gdk.keyval_from_name("Return")
_KP_ENTER = Gdk.keyval_from_name("KP_Enter")
class SidebarFilter(DbGUIElement):
if Gtk.get_minor_version() > 17:
_FILTER_WIDTH = -1
else:
_FILTER_WIDTH = 20
_FILTER_ELLIPSIZE = Pango.EllipsizeMode.END