From 47e723fa89b6be164c991825afb670fd0d7f64d6 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Tue, 24 Jul 2007 19:57:37 +0000 Subject: [PATCH] Moved the files tab code to tab_files.py. --- src/dialogs.py | 4 ++-- src/interface.py | 4 ++-- src/{files.py => tab_files.py} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/{files.py => tab_files.py} (99%) diff --git a/src/dialogs.py b/src/dialogs.py index 12281f9c8..594f7e336 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -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() diff --git a/src/interface.py b/src/interface.py index 9cf4cf18c..f305860a5 100644 --- a/src/interface.py +++ b/src/interface.py @@ -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") diff --git a/src/files.py b/src/tab_files.py similarity index 99% rename from src/files.py rename to src/tab_files.py index d7ba1d566..88334ee75 100644 --- a/src/files.py +++ b/src/tab_files.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# files.py +# tab_files.py # # Copyright (C) Zach Tibbitts 2006 #