~ubuntu-branches/ubuntu/oneiric/emesene/oneiric-proposed

« back to all changes in this revision

Viewing changes to emesene/gui/gtkui/Header.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2011-03-19 13:47:22 UTC
  • mfrom: (1.1.10 upstream) (5.2.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110319134722-5yjs8aa0xbcbze37
Tags: 2.0~git20110319+dfsg-1
* Set myself as maintainer.
* New upstream git revision, tarball generated removing non-free dlls dir.
* Remove debian/watch, debian/emesene.xpm, debian/install files.
* Update debian/README.source file.
* Remove 21_svn2451_fix_avatar and 20_dont_build_own_libmimic patches.
* debian/control: modify python to python (>= 2.5) in Build-Depends field.
* debian/control: remove python-libmimic from Recommends field.
* debian/control: modify python-gtk2 (>= 2.10) to python-gtk2 (>= 2.12) in
  Depends field.
* debian/control: add python-appindicator and python-xmpp to Recommends
  field.
* debian/control: add python-papyon (>= 0.5.4) and python-webkit to Depends
  field.
* debian/control: update Description field.
* debian/control: add python-setuptools to Build-Depends field.
* debian/control: move python-dbus and python-notify to Depends field.
* Update debian/copyright file.
* Update debian/links file.
* debian/menu: update description field.
* Bump Standards-Version to 3.9.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        contact = self.session.contacts.get(account)
78
78
 
79
79
        clipboard = gtk.clipboard_get(gtk.gdk.SELECTION_CLIPBOARD)
80
 
        clipboard.set_text(contact.display_name)
 
80
        clipboard.set_text(contact.nick)
81
81
 
82
82
    def copy_pm(self, data, widget=None):
83
83
        account = self.members[0]
94
94
 
95
95
    def on_clicked(self, widget, event):
96
96
        '''called when the header clicked'''
97
 
        self.menu.popup(None, None, None, event.button, event.time, None)
 
97
        if event.button == 1 and event.type == gtk.gdk._2BUTTON_PRESS:
 
98
            self.menu.popup(None, None, None, event.button, event.time, None)
98
99
 
99
100
    information = property(fget=_get_information, fset=_set_information)