Moises Henriquez committed 37deca8

restored shutil import

Comments (0)

Files changed (2)

 import os
 import sqlite3
 import urllib2
+import shutil
 __author__ = 'M0E-lnx'
         gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)
         self.connect('destroy', self._exit)
-        self.set_icon_from_file('data/vpackager.png')
+        datadir = os.path.join(
+                os.getcwd(),'data')
+        self.set_icon_from_file(os.path.join(
+            datadir, 'vpackager.png'))
         self.set_size_request(950, 500)
         self.body = gtk.VBox()
         # make sure the db is ok


         hsrc = gtk.HBox()
         self.srcentry = gtk.Entry()
+        self.srcentry.set_tooltip_text('Enter path or URL')
         self.srcentry.connect('changed', self._src_entry_event)
         hsrc.pack_start(self.srcentry, True, True, 2)
         self.btBrowse = vButton(stock=gtk.STOCK_OPEN,
         hbdesc = gtk.HBox()
         self.descEntry = gtk.Entry()
+        self.descEntry.set_tooltip_text('Enter path or URL')
         self.descEntry.connect('changed', self._descURI_change)
         btDescBrowse = vButton(stock=gtk.STOCK_OPEN, label='Browse')
         btDescBrowse.connect('clicked', self._desc_browse)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.