[pitivi: 77/94] ui: Do not save presets when closing the rendering dialog



commit 6453cec5e75833043f0663a10a77e08272073859
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Thu Sep 8 13:07:26 2011 -0300

    ui: Do not save presets when closing the rendering dialog

 data/ui/encodingdialog.ui   |    1 -
 pitivi/ui/encodingdialog.py |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/encodingdialog.ui b/data/ui/encodingdialog.ui
index 2ff378f..6c2ec86 100644
--- a/data/ui/encodingdialog.ui
+++ b/data/ui/encodingdialog.ui
@@ -73,7 +73,6 @@
     <property name="title" translatable="yes">Render</property>
     <property name="window_position">center-on-parent</property>
     <property name="type_hint">dialog</property>
-    <signal name="response" handler="_responseCb" swapped="no"/>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox3">
         <property name="visible">True</property>
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index 1f4461d..eb3fe39 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -754,6 +754,3 @@ class EncodingDialog(Renderer, Loggable):
     def destroy(self):
         self._updateProjectSettings()
         self.window.destroy()
-
-    def _responseCb(self, unused_widget, response):
-        self.render_presets.save()



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