Sha256: dd9ddffc9c36449d4c4920c834a9fe95660dad9d620b284c26fc776074c522cd
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
#$Date: 2009/02/19 17:56:37 $ # Note: you'll see in ~/.gtk2passwordapp a file called passphrase.txt. # Do not edit or delete passphrase, or you'll loose your passwords data. module Configuration ENTRY_WIDTH = 275 LABEL_WIDTH = 75 SPIN_BUTTON_LENGTH = 50 PAD = 2 # cell padding FONT_NAME = 'Arial 10' MAX_PASSWORD_LENGTH = 20 DEFAULT_PASSWORD_LENGTH = 7 MIN_PASSWORD_LENGTH = 3 VERIFIED_EXPIRED = 60*15 # 15 minutes PASSWORD_EXPIRED = 60*60*24*30*3 # 3 months URL_PATTERN = Regexp.new('^https?:\/\/[^\s\']+$') # Here you can set your browser preferences for remote control. # As is, the first browser found will be used, like # BROWSER = '/usr/bin/epiphany -n' [ # browser url remote option code [ 'browser', '--url' ], [ 'fennec', '' ], [ 'epiphany', '-n' ], [ 'firefox', '-new-tab' ], [ 'opera', '' ] ].each {|try| browser = `which #{try[0]} 2> /dev/null`.strip next if browser == '' BROWSER = "#{browser} #{try[1]}" break } $stderr.puts "Browser remote command: #{BROWSER}" if $trace LOGO_IMAGE = USER_CONF_DIR+'/gifs/logo.gif' end def puts_bang!(h=nil, t=nil) if $trace then $stderr.puts h if h $stderr.puts $! $stderr.puts $!.backtrace $stderr.puts t if t end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gtk2passwordapp-0.0.1 | lib/configuration.rb |