[pitivi: 11/16] Rename 'cancel' button to 'close' in EncodingDialog
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 11/16] Rename 'cancel' button to 'close' in EncodingDialog
- Date: Tue, 7 Jun 2011 16:27:40 +0000 (UTC)
commit b14e344b633a3a1931bbcb909a88cdc3bf0ae7ac
Author: Alex BÄ?luÈ? <alexandru balut gmail com>
Date: Wed May 25 07:33:44 2011 +0200
Rename 'cancel' button to 'close' in EncodingDialog
data/ui/encodingdialog.ui | 6 +++---
pitivi/ui/encodingdialog.py | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/encodingdialog.ui b/data/ui/encodingdialog.ui
index 7a26ced..f985e90 100644
--- a/data/ui/encodingdialog.ui
+++ b/data/ui/encodingdialog.ui
@@ -84,14 +84,14 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
- <object class="GtkButton" id="cancelbutton">
+ <object class="GtkButton" id="closebutton">
<property name="label">gtk-close</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
- <signal name="clicked" handler="_cancelButtonClickedCb" swapped="no"/>
+ <signal name="clicked" handler="_closeButtonClickedCb" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -702,7 +702,7 @@
</object>
</child>
<action-widgets>
- <action-widget response="0">cancelbutton</action-widget>
+ <action-widget response="0">closebutton</action-widget>
<action-widget response="0">recordbutton</action-widget>
</action-widgets>
</object>
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index 1f0a13b..a181e16 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -347,12 +347,12 @@ class EncodingDialog(Renderer, Loggable):
self.window.show() # Show the encoding dialog again
self.pipeline.disconnect_by_function(self._stateChanged)
- def _cancelButtonClickedCb(self, unused_button):
- self.debug("Cancelling !")
+ def _closeButtonClickedCb(self, unused_button):
+ self.debug("Render Close button clicked")
self.destroy()
def _deleteEventCb(self, window, event):
- self.debug("delete event")
+ self.debug("Render window is being deleted")
self.destroy()
def destroy(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]