~ubuntu-branches/ubuntu/lucid/deskbar-applet/lucid

« back to all changes in this revision

Viewing changes to deskbar/handlers/gdmclient/_gdmclientmodule.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Moog
  • Date: 2009-07-13 21:25:43 UTC
  • mfrom: (1.5.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20090713212543-hp1l2phr6egiq5ml
Tags: 2.27.4-0ubuntu1
* New upstream release: (LP: #398943)
  - Fixed bug in files handler that uppercase querys never showed up
  - Use gio instead gnome.ui to retrieve thumbnails
  - Use SessionManager DBus service to logout/restart/shutdown instead of gnome.ui
  - Fixed bug #573639: Remove deprecated libgnomeui dependency
  - Always execute default action of first item when pressing Enter in entry
  - Use Utils.url_show_file instead of gnome-open
* debian/control{.in}:
  - remove useless scrollkeeper build-dep
* debian/patches
  - refresh the autoconf patch for the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifdef HAVE_CONFIG_H
2
 
#include "config.h"
3
 
#endif
4
 
 
5
 
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
6
 
#include <pygobject.h>
7
 
 
8
 
void py_gdmclient_register_classes (PyObject *d);
9
 
void py_gdmclient_add_constants(PyObject *module, const gchar *strip_prefix);
10
 
extern PyMethodDef py_gdmclient_functions[];
11
 
 
12
 
DL_EXPORT(void)
13
 
init_gdmclient(void)
14
 
{
15
 
        PyObject *m, *d;
16
 
 
17
 
        init_pygobject ();
18
 
 
19
 
        m = Py_InitModule ("_gdmclient", py_gdmclient_functions);
20
 
        d = PyModule_GetDict (m);
21
 
 
22
 
        py_gdmclient_register_classes (d);
23
 
        py_gdmclient_add_constants (m, "GDM_");
24
 
 
25
 
        if (PyErr_Occurred ())
26
 
                Py_FatalError("could not initialise module _gdmclient");
27
 
}