[pitivi] prefs: Rename the Behavior section to Timeline



commit a036e3683bd11dab2cbf2a775b682f8b5f500909
Author: Jakub Brindza <jakub brindza gmail com>
Date:   Thu Jun 30 14:28:15 2016 +0200

    prefs: Rename the Behavior section to Timeline
    
    Fixes https://phabricator.freedesktop.org/T7456
    
    Differential Revision: https://phabricator.freedesktop.org/D1146

 pitivi/dialogs/prefs.py     |    2 +-
 pitivi/timeline/timeline.py |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/dialogs/prefs.py b/pitivi/dialogs/prefs.py
index c2109bc..d48a4be 100644
--- a/pitivi/dialogs/prefs.py
+++ b/pitivi/dialogs/prefs.py
@@ -47,7 +47,7 @@ class PreferencesDialog(Loggable):
 
     prefs = {}
     original_values = {}
-    section_names = {"behavior": _("Behavior")}
+    section_names = {"timeline": _("Timeline")}
 
     def __init__(self, app):
         Loggable.__init__(self)
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index d365abe..e0ff204 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -71,7 +71,7 @@ GlobalSettings.addConfigOption('edgeSnapDeadband',
                                notify=True)
 
 PreferencesDialog.addNumericPreference('edgeSnapDeadband',
-                                       section="behavior",
+                                       section="timeline",
                                        label=_("Snap distance"),
                                        description=_("Threshold (in pixels) at which two clips will snap 
together "
                                                      "when dragging or trimming."),
@@ -84,7 +84,7 @@ GlobalSettings.addConfigOption('imageClipLength',
                                notify=True)
 
 PreferencesDialog.addNumericPreference('imageClipLength',
-                                       section="behavior",
+                                       section=_("timeline"),
                                        label=_("Image clip duration"),
                                        description=_(
                                            "Default clip length (in milliseconds) of images when inserting 
on the timeline."),
@@ -97,7 +97,7 @@ GlobalSettings.addConfigOption('leftClickAlsoSeeks',
                                notify=True)
 
 PreferencesDialog.addTogglePreference('leftClickAlsoSeeks',
-                                      section="behavior",
+                                      section=_("timeline"),
                                       label=_("Left click also seeks"),
                                       description=_(
                                           "Whether left-clicking also seeks besides selecting and editing 
clips."))


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