Permalink
Browse files

remove gui.py

  • Loading branch information...
1 parent e29a9f1 commit 62d5c2847befa0de32c800a9cf5b9b80e058c932 @lavelle committed Feb 10, 2013
Showing with 0 additions and 28 deletions.
  1. +0 −18 gui.py
  2. +0 −10 screenshot.py
View
18 gui.py
@@ -1,18 +0,0 @@
-from tray import SysTrayIcon
-from history import History
-
-hover_text = "ClipCloud"
-icon_filename = 'favicon.ico'
-
-
-def show_history(sysTrayIcon):
- History().display(10, 'id', 'a')
-
-menu_options = (
- ('Show history', None, show_history),
- ('A sub-menu', None, (
- ('Hello', None, show_history),
- ))
-)
-
-SysTrayIcon(icon_filename, hover_text, menu_options, default_menu_index=1)
View
@@ -28,14 +28,4 @@ def build_filename(self):
return 'screenshot_%s.png' % str(int(time()))
def capture(self):
- """
- Take a screenshot
-
- Arguments:
- - mode: The type of screenshot to capture, either the entire screen or a custom rectangle
-
- Returns the path to the image file that the screenshot was saved to
- and the name of the file without the full path
- """
-
subprocess.call(['screencapture', self.flags, self.path])

0 comments on commit 62d5c28

Please sign in to comment.