[pitivi: 12/13] Rename Add Clips to Import clips in the source list popup menu.



commit 0f2bbcdc5a5e25a6af209274869ab6528d51f5b5
Author: Robin Norwood <robin norwood gmail com>
Date:   Tue Mar 2 10:52:26 2010 +0100

    Rename Add Clips to Import clips in the source list popup menu.

 pitivi/ui/sourcelist.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/pitivi/ui/sourcelist.py b/pitivi/ui/sourcelist.py
index 0eba319..95cd91c 100644
--- a/pitivi/ui/sourcelist.py
+++ b/pitivi/ui/sourcelist.py
@@ -127,23 +127,23 @@ class SourceList(gtk.VBox, Loggable):
 
         # Popup Menu
         self.popup = gtk.Menu()
-        self.popup_additem = gtk.ImageMenuItem(_("Add Clips..."))
+        self.popup_importitem = gtk.ImageMenuItem(_("Import clips..."))
         image = gtk.Image()
         image.set_from_stock(gtk.STOCK_ADD, gtk.ICON_SIZE_MENU)
-        self.popup_additem.set_image(image)
+        self.popup_importitem.set_image(image)
 
         self.popup_remitem = gtk.ImageMenuItem(_("Remove Clip"))
         image = gtk.Image()
         image.set_from_stock(gtk.STOCK_REMOVE, gtk.ICON_SIZE_MENU)
         self.popup_remitem.set_image(image)
         self.popup_playmenuitem = gtk.MenuItem(_("Play Clip"))
-        self.popup_playmenuitem.connect("activate", self._playButtonClickedCb)
-        self.popup_additem.connect("activate", self._addButtonClickedCb)
+        self.popup_importitem.connect("activate", self._importButtonClickedCb)
         self.popup_remitem.connect("activate", self._removeButtonClickedCb)
-        self.popup_additem.show()
+        self.popup_playmenuitem.connect("activate", self._playButtonClickedCb)
+        self.popup_importitem.show()
         self.popup_remitem.show()
         self.popup_playmenuitem.show()
-        self.popup.append(self.popup_additem)
+        self.popup.append(self.popup_importitem)
         self.popup.append(self.popup_remitem)
         self.popup.append(self.popup_playmenuitem)
 
@@ -621,8 +621,8 @@ class SourceList(gtk.VBox, Loggable):
 
     ## UI Button callbacks
 
-    def _addButtonClickedCb(self, unused_widget=None):
-        """ called when a user clicks on the add button """
+    def _importButtonClickedCb(self, unused_widget=None):
+        """ Called when a user clicks on the import button """
         self.showImportSourcesDialog()
 
     def _removeButtonClickedCb(self, unused_widget=None):



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