~gtg-user/gtg/haseeb_gtg

« back to all changes in this revision

Viewing changes to GTG/gtk/editor/editor.py

  • Committer: haseeb
  • Date: 2012-08-13 10:22:10 UTC
  • Revision ID: abdulraufhaseeb@gmail.com-20120813102210-7fu418j1ym1iil13
my local commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
388
388
        #we show the calendar at the right position
389
389
        rect = widget.get_allocation()
390
390
        x, y = widget.window.get_origin()
391
 
        self.calendar.show_at_position(x + rect.x + rect.width,
 
391
        self.calendar.show_at_position(x + rect.x + rect.width +rect.width,
392
392
                                       y + rect.y)
393
393
 
394
394
    def on_date_changed(self, calendar):