My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 226: Remove hard-coded w_limit for MTFileIconEntryView
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  txprog
Closed:  Apr 2010


 
Reported by jaybradl...@gmail.com, Apr 7, 2010
What steps will reproduce the problem?
1. MTFileBrowserView(path=start_path, view=MTFileIconEntryView, w_limit = 6)
2. MTFileIconEntryView object has w_limit set to 4, NOT 6 as requested


What is the expected output? What do you see instead?
I would expect the files to be 6 abreast, as requested, for an icon view.

What version of the product are you using? On what operating system?
Linux (fedora 11) Git HEAD

Please provide any additional information below.

The output of: git diff pymt/ui/widgets/composed/filebrowser.py

diff --git a/pymt/ui/widgets/composed/filebrowser.py
b/pymt/ui/widgets/composed/filebrowser.py
index 5c91905..f2d2dc7 100644
--- a/pymt/ui/widgets/composed/filebrowser.py
+++ b/pymt/ui/widgets/composed/filebrowser.py
@@ -117,7 +117,6 @@ class MTFileIconEntryView(MTFileEntryView):
         self.size           = (80, 80)
         self.image          = Loader.image(self.type_image)
         self.selected       = False
-        self.browser.w_limit= 4
 
     def draw(self):
         if self.selected:
Apr 7, 2010
Project Member #1 txprog
(No comment was entered for this change.)
Status: Accepted
Owner: txprog
Labels: Component-Core Milestone-0.4.1
Jun 1, 2010
Project Member #2 txprog
(No comment was entered for this change.)
Labels: Milestone-0.5
Jun 30, 2010
Project Member #3 txprog
Closed via GitHub: http://github.com/tito/pymt/commit/65c7bd0ed482632fae8148f46aa554a4c4b827f4

filebrowser: remove the default w_limit (fixe issues 226)
Status: Done

Powered by Google Project Hosting