~mvo/software-center/fix-recommenations-details-clicks

« back to all changes in this revision

Viewing changes to softwarecenter/backend/login.py

  • Committer: Michael Vogt
  • Date: 2011-07-14 16:38:43 UTC
  • mfrom: (1945.1.3 pygi-gobject)
  • Revision ID: michael.vogt@ubuntu.com-20110714163843-we04shqxczy79sy4
merge lp:~mvo/software-center/pygi-gobject 

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# this program; if not, write to the Free Software Foundation, Inc.,
20
20
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
21
 
22
 
import gobject
 
22
from gi.repository import GObject
23
23
 
24
 
class LoginBackend(gobject.GObject):
 
24
class LoginBackend(GObject.GObject):
25
25
 
26
26
    NEW_ACCOUNT_URL = None
27
27
    FORGOT_PASSWORD_URL = None
28
28
 
29
29
    __gsignals__ = {
30
 
        "login-successful" : (gobject.SIGNAL_RUN_LAST,
31
 
                             gobject.TYPE_NONE, 
32
 
                             (gobject.TYPE_PYOBJECT,),
 
30
        "login-successful" : (GObject.SIGNAL_RUN_LAST,
 
31
                             GObject.TYPE_NONE, 
 
32
                             (GObject.TYPE_PYOBJECT,),
33
33
                            ),
34
 
        "login-failed" : (gobject.SIGNAL_RUN_LAST,
35
 
                          gobject.TYPE_NONE, 
36
 
                          (),
37
 
                         ),
38
 
        "login-canceled" : (gobject.SIGNAL_RUN_LAST,
39
 
                          gobject.TYPE_NONE, 
40
 
                          (),
41
 
                         ),
42
 
        "need-username-password" : (gobject.SIGNAL_RUN_LAST,
43
 
                                    gobject.TYPE_NONE, 
 
34
        "login-failed" : (GObject.SIGNAL_RUN_LAST,
 
35
                          GObject.TYPE_NONE, 
 
36
                          (),
 
37
                         ),
 
38
        "login-canceled" : (GObject.SIGNAL_RUN_LAST,
 
39
                          GObject.TYPE_NONE, 
 
40
                          (),
 
41
                         ),
 
42
        "need-username-password" : (GObject.SIGNAL_RUN_LAST,
 
43
                                    GObject.TYPE_NONE, 
44
44
                                    (),
45
45
                                   ),
46
46
        }