Changeset 450


Ignore:
Timestamp:
12/14/09 08:00:31 (10 years ago)
Author:
b0rland_parpg
Message:

Ticket #228: patch by b0rland

  • Fixed the button for last slot in ContainerGUI
  • Corrected the parameters description
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gui/popups.py

    r424 r450  
    3131        @type title: string 
    3232        @param title: The title of the window 
    33         @type data: list or string 
    34         @param data: A list of 9 items to use for the slots 1 - 9  
    35                      OR 
    36                      one item to be used for all the slots 
     33        @type container: Container 
     34        @param container: A container to represent 
    3735        @return: None 
    3836        """ 
     
    6765        self.empty_images = dict() 
    6866        self.events_to_map = {} 
    69         for counter in range(1, slot_count): 
     67        for counter in range(1, slot_count+1): 
    7068            slot_name = "Slot%i" % counter 
    7169            self.empty_images[slot_name] = empty_image 
Note: See TracChangeset for help on using the changeset viewer.