Changeset 491c6a1


Ignore:
Timestamp:
05/28/12 10:43:36 (23 months ago)
Author:
Martin Kolman <martin.kolman@…>
Branches:
master
Children:
650001d
Parents:
550d22d
git-author:
Martin Kolman <martin.kolman@…> (05/28/12 10:43:36)
git-committer:
Martin Kolman <martin.kolman@…> (05/28/12 10:43:36)
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/mod_textEntry.py

    r550d22d r491c6a1  
    4242 
    4343  def respondToTextEntry(self, entry, dialog, response,instance,key, persistentKey): 
    44 #      print "responding to text entry" 
    45 #      self.set('textEntry', entry.get_text()) 
    46 #      self.set('textEntryDone', True) 
    4744      self.respond(entry.get_text(), instance,key, persistentKey) 
    48 #      print "text entry dialog is quiting" 
    4945      dialog.destroy() 
    5046 
     
    5854        """the dialog was rejected so we don't 
    5955        report the input that could have been entered""" 
    60  
    61  
    62 #      self.set('textEntry', entry.get_text()) 
    63 #      self.set('textEntryDone', True) 
    6456      dialog.destroy() 
    6557 
    6658  def respond(self, result, instance, key, persistentKey=None): 
    67 #    if self.tempUnfullscreen: 
    68 #      if display: 
    69 #        if display.fullscreen(): 
    70 #          display.fullscreenToggle() 
    71 #          self.tempUnfullscreen = False 
    72     # save 
    7359    if persistentKey is not None: 
    7460      self.set(persistentKey, result) 
     
    11197      else: 
    11298        vbox.pack_start(entry, False, 5, 5) 
    113       #some secondary text 
    114 #      dialog.format_secondary_markup("This will be used for <i>identification</i> purposes") 
    11599      #add it and show it 
    116100      dialog.vbox.pack_end(vbox, True, True, 0) 
     
    120104      dialog.resize(w,height) # resize the dialog to the width of the window and leave height the same 
    121105      dialog.set_keep_above(True) 
    122 #      display = self.m.get('display', None) 
    123 #      if display: 
    124 #        if display.getFullscreenEnabled(): 
    125 #          display.fullscreenToggle() 
    126 #          self.tempUnfullscreen = True 
    127106      self.dmod.textEntryIminent() 
    128107      self.entryBoxVisible = True 
Note: See TracChangeset for help on using the changeset viewer.