Anonymous committed f21e26f

Global font

Comments (0)

Files changed (1)

 '''Simple launcher'''
 __author__ = "Miki Tebeka <>"
-__version__ = "0.3.2"
+__version__ = "0.3.3"
 import Tkinter as tk
 from tkFont import Font
         self.root = root = tk.Tk()
+        root.option_add("*font", "Courier -40 bold")
         root.bind("<Escape>", lambda e: self.quit())
-        font = Font(family="Courier", size=40, weight="bold")
-        self.command = cmd = tk.Entry(root, width=20, font=font)
+        self.command = cmd = tk.Entry(root, width=20)
         cmd.bind("<Return>", self.on_enter)
         cmd.bind("<Up>", lambda e: self.on_move(-1))
             launch(command, args, self.aliases)
         except ValueError:
-            showerror("TLL Error", "Can't launch %s" % command)
+            showerror("TLL Error", "Can't run %s" % command)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.