[pitivi] ui.trackobject: add clip title font preference option



commit 3afde648efd91518ad1d686af99d10f7a15838d9
Author: Brandon Lewis <brandon lewis berkeley edu>
Date:   Wed Apr 29 23:29:05 2009 -0700

    ui.trackobject: add clip title font preference option
---
 pitivi/ui/trackobject.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pitivi/ui/trackobject.py b/pitivi/ui/trackobject.py
index cc52769..59d581c 100644
--- a/pitivi/ui/trackobject.py
+++ b/pitivi/ui/trackobject.py
@@ -69,6 +69,11 @@ GlobalSettings.addConfigOption('clipFontDesc',
     default = "Sans 9",
     notify = True)
 
+PreferencesDialog.addFontPreference('clipFontDesc',
+    section = 'Appearance',
+    description = "The font to use for clip titles",
+    label = "Clip Font")
+
 GlobalSettings.addConfigOption('clipFontColor',
     section = 'user-interface',
     key = 'clip-font-color',
@@ -278,6 +283,7 @@ class TrackObject(View, goocanvas.Group, Zoomable):
     @handler(settings, "audioClipBgChanged")
     @handler(settings, "videoClipBgChanged")
     @handler(settings, "selectedBorderColorChanged")
+    @handler(settings, "clipFontDescChanged")
     def clipAppearanceSettingsChanged(self, *args):
         if isinstance(self.element.stream, VideoStream):
             color = self.settings.videoClipBg



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]