mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-16 22:35:25 +00:00
Moved the files tab code to tab_files.py.
This commit is contained in:
parent
49b39e638d
commit
47e723fa89
@ -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()
|
||||
|
||||
|
@ -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")
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# files.py
|
||||
# tab_files.py
|
||||
#
|
||||
# Copyright (C) Zach Tibbitts 2006 <zach@collegegeek.org>
|
||||
#
|
Loading…
x
Reference in New Issue
Block a user