Moved the files tab code to tab_files.py.

This commit is contained in:
Alex Dedul 2007-07-24 19:57:37 +00:00
parent 49b39e638d
commit 47e723fa89
3 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ import gtk
import common
import dgtk
import files
import tab_files
import pref
PREFS_FILENAME = "prefs.state"
@ -226,7 +226,7 @@ class FilesDlg:
self.dialog.set_icon_from_file(common.get_pixmap("deluge32.png"))
self.file_view = self.glade.get_widget("file_view")
self.files_manager = files.FilesDialogManager(dumped_torrent)
self.files_manager = tab_files.FilesDialogManager(dumped_torrent)
self.files_manager.build_file_view(self.file_view)
self.files_manager.prepare_file_store()

View File

@ -46,9 +46,9 @@ import common
import dialogs
import dgtk
import ipc_manager
import files
import plugins
import tab_details
import tab_files
class DelugeGTK:
def __init__(self):
@ -90,7 +90,7 @@ class DelugeGTK:
# Tabs
self.tab_details = tab_details.DetailsManager(self.wtree,
self.manager)
self.tab_files = files.FilesTabManager(self.manager)
self.tab_files = tab_files.FilesTabManager(self.manager)
self.tab_files.build_file_view(self.wtree.get_widget("file_view"))
self.statusbar = self.wtree.get_widget("statusbar")

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# files.py
# tab_files.py
#
# Copyright (C) Zach Tibbitts 2006 <zach@collegegeek.org>
#