8988: Name of user defined filter is not shown

This commit is contained in:
Josip 2015-11-08 00:31:22 +01:00
parent 888bdc77b5
commit efaa713f68

View File

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