[pitivi] encodingdialog: disable ellipsizing for comboboxes
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] encodingdialog: disable ellipsizing for comboboxes
- Date: Tue, 7 Jun 2011 01:40:22 +0000 (UTC)
commit 621c51fe18ae6dd8361d5556579c9b1268e914e0
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date: Mon Jun 6 14:26:49 2011 -0400
encodingdialog: disable ellipsizing for comboboxes
Also remove the function since it is not used anywhere else
pitivi/ui/encodingdialog.py | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index 2dfbccc..a65d371 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -101,11 +101,6 @@ def factorylist(factories):
data.sort(key=lambda x: x[0])
return model(columns, data)
-def ellipsize(combo):
- cell_view = combo.get_children()[0]
- cell_renderer = cell_view.get_cell_renderers()[0]
- cell_renderer.props.ellipsize = pango.ELLIPSIZE_MIDDLE
- cell_renderer.props.width_chars = 60
class EncodingDialog(Renderer, Loggable):
""" Encoding dialog box """
@@ -188,10 +183,6 @@ class EncodingDialog(Renderer, Loggable):
set_combo_value(self.muxercombobox,
gst.element_factory_find(self.settings.muxer))
- ellipsize(self.muxercombobox)
- ellipsize(self.audio_encoder_combo)
- ellipsize(self.video_encoder_combo)
-
# File
self.filebutton.set_current_folder(self.app.settings.lastExportFolder)
self.updateFilename(self.project.name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]