This commit is contained in:
a-sansara 2010-07-12 03:47:35 +00:00
parent fb8b3a0fec
commit 9c6906acfe
7 changed files with 17 additions and 0 deletions

View File

@ -89,3 +89,6 @@ def getGladeXML() : return gtk.glade.XML(PATH_RES+APP_NAME+".glade",APP_NAME)
def chdir(path) : return os.chdir(path) def chdir(path) : return os.chdir(path)
def getShell() : return sh def getShell() : return sh
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

View File

@ -201,3 +201,6 @@ class DevListManager():
self.conf = conf self.conf = conf
self.buildTreeDevices() self.buildTreeDevices()
self.bindEvents() self.bindEvents()
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

View File

@ -186,3 +186,5 @@ class LogReader:
self.textview.scroll_to_iter(self.buf.get_end_iter(),0) self.textview.scroll_to_iter(self.buf.get_end_iter(),0)
self.end = True self.end = True
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

View File

@ -242,3 +242,5 @@ if __name__ == '__main__':
# msgfmt gpyfsa.po -o gpyfsa.mo # msgfmt gpyfsa.po -o gpyfsa.mo
# intltool-extract --type=gettext/glade res/*.glade # intltool-extract --type=gettext/glade res/*.glade
# msgmerge -U locale/fr/LC_MESSAGES/gpyfsa.po gpyfsa.pot # msgmerge -U locale/fr/LC_MESSAGES/gpyfsa.po gpyfsa.pot
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

View File

@ -30,3 +30,6 @@
class SaveFS(gtk.Window): class SaveFS(gtk.Window):
pass pass
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

View File

@ -63,3 +63,5 @@ class Shell:
def __getGrepPipeOut(self,cmd,grepStr): def __getGrepPipeOut(self,cmd,grepStr):
try : return self.__pipe(cmd, [self.CMD_GREP, grepStr]).stdout.read().split("\n") try : return self.__pipe(cmd, [self.CMD_GREP, grepStr]).stdout.read().split("\n")
except : return "" except : return ""
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

View File

@ -160,3 +160,5 @@ def setTimeout(ms, bind, callback, clearCallback, data=None):
if(type(data) != tuple): data = (data,) if(type(data) != tuple): data = (data,)
for i in range(len(data)): params += ", data["+str(i)+"]" for i in range(len(data)): params += ", data["+str(i)+"]"
return eval("gobject.timeout_add(ms, bind, callback, clearCallback "+params+")") return eval("gobject.timeout_add(ms, bind, callback, clearCallback "+params+")")
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #