~umang/indicator-stickynotes/trunk

« back to all changes in this revision

Viewing changes to gui.py

  • Committer: Umang Varma
  • Date: 2012-06-02 04:34:05 UTC
  • Revision ID: git-v1:c549c26814be56abc2961f49d662b210d4f6e5ee
New resize logo and added hover cursor

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        self.eResizeR.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
42
42
        # Move Window
43
43
        self.winMain.move(*self.note.properties.get("position", (10,10)))
 
44
        # Mouse over
 
45
        self.eResizeR.get_window().set_cursor(Gdk.Cursor.new_for_display(
 
46
                    self.eResizeR.get_window().get_display(),
 
47
                    Gdk.CursorType.BOTTOM_RIGHT_CORNER))
44
48
 
45
49
    def show(self, widget=None, event=None):
46
50
        self.winMain.present()