diff --git a/data/gui/preferences_window.ui b/data/gui/preferences_window.ui index c6929e1ea..52cdbf33e 100644 --- a/data/gui/preferences_window.ui +++ b/data/gui/preferences_window.ui @@ -159,6 +159,7 @@ True + vertical 6 @@ -169,6 +170,7 @@ True 12 + vertical 12 @@ -186,6 +188,7 @@ True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + vertical 6 @@ -559,6 +562,7 @@ True 12 + vertical 6 @@ -573,6 +577,7 @@ True + vertical 6 @@ -675,6 +680,7 @@ True + vertical 6 @@ -755,7 +761,6 @@ - False 1 @@ -797,6 +802,7 @@ True + vertical 6 @@ -888,6 +894,7 @@ True 12 + vertical 12 @@ -1019,6 +1026,7 @@ True 12 + vertical 12 @@ -1212,6 +1220,7 @@ $T will be replaced by auto-not-available timeout True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + vertical 6 @@ -1450,6 +1459,7 @@ $T will be replaced by auto-not-available timeout True 12 + vertical 12 @@ -2072,6 +2082,7 @@ $T will be replaced by auto-not-available timeout True 12 + vertical 12 @@ -2219,6 +2230,7 @@ $T will be replaced by auto-not-available timeout 2 3 + GTK_FILL @@ -2230,6 +2242,7 @@ $T will be replaced by auto-not-available timeout 3 4 + GTK_FILL @@ -2374,6 +2387,7 @@ to discover one from server. True 12 + vertical 12 @@ -2388,6 +2402,7 @@ to discover one from server. True + vertical 6 @@ -2716,6 +2731,7 @@ to discover one from server. True + vertical 6 diff --git a/src/config.py b/src/config.py index 3a6382a56..0b7db5463 100644 --- a/src/config.py +++ b/src/config.py @@ -32,6 +32,7 @@ ## import gtk +import pango import gobject import os, sys import common.config @@ -443,6 +444,8 @@ class PreferencesWindow: key=None): combobox = self.xml.get_object(opt_name + '_combobox') cell = gtk.CellRendererText() + cell.set_property('ellipsize', pango.ELLIPSIZE_END) + cell.set_property('ellipsize-set', True) combobox.pack_start(cell, True) combobox.add_attribute(cell, 'text', 0) model = gtk.ListStore(str, str)