[pitivi] widgets: Switch the reset and keyframes buttons



commit 8b4bc76f85950fd6e79f631ed95d080ff8443182
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Thu Jan 21 01:29:45 2016 +0100

    widgets: Switch the reset and keyframes buttons
    
    The keyframes button is more important than the reset button.
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D697

 pitivi/utils/widgets.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/utils/widgets.py b/pitivi/utils/widgets.py
index 3a9eca6..01600bb 100644
--- a/pitivi/utils/widgets.py
+++ b/pitivi/utils/widgets.py
@@ -713,7 +713,7 @@ class GstElementSettingsWidget(Gtk.Box, Loggable):
                     not isinstance(widget, ChoiceWidget)):
                 keyframe_toggle_button = self._createKeyframeToggleButton(prop)
                 self.keyframeToggleButtons[keyframe_toggle_button] = widget
-                grid.attach(keyframe_toggle_button, 3, y, 1, 1)
+                grid.attach(keyframe_toggle_button, 2, y, 1, 1)
 
             if hasattr(prop, 'blurb'):
                 widget.set_tooltip_text(prop.blurb)
@@ -729,7 +729,7 @@ class GstElementSettingsWidget(Gtk.Box, Loggable):
                     widget.set_sensitive(False)
                     self.bindings[widget] = binding
                 button = self._createResetToDefaultValueButton(prop, widget)
-                grid.attach(button, 2, y, 1, 1)
+                grid.attach(button, 3, y, 1, 1)
                 self.buttons[button] = widget
 
         self.element.connect('deep-notify', self._propertyChangedCb)


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