~joel-auterson/ubuntu/maverick/ibus/newmenuname

« back to all changes in this revision

Viewing changes to bus/ibusimpl.c

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-10-05 20:45:18 UTC
  • mfrom: (1.1.5 upstream) (6.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20091005204518-069vlwrl3r8v7bbr
Tags: 1.2.0.20090927-2
* create po template when build (LP: #188690)
  - debian/rules: updated.
  - debian/clean: remove pot file when clean.
* debian/control: build depends on python-rsvg (LP: #432375)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1105
1105
        gint fd;
1106
1106
 
1107
1107
        exe = g_strdup_printf ("/proc/%d/exe", getpid ());
1108
 
        if (!g_file_test (exe, G_FILE_TEST_EXISTS)) {
1109
 
            g_free (exe);
1110
 
            exe = g_argv[0];
1111
 
        }
 
1108
        exe = g_file_read_link (exe, NULL);
 
1109
 
 
1110
        if (exe == NULL)
 
1111
            exe = BINDIR"/ibus-daemon";
1112
1112
 
1113
1113
        /* close all fds except stdin, stdout, stderr */
1114
1114
        for (fd = 3; fd <= sysconf (_SC_OPEN_MAX); fd ++) {
1179
1179
    ibus_message_set_destination (message, DBUS_SERVICE_DBUS);
1180
1180
 
1181
1181
    if (ibus_message_get_type (message) == DBUS_MESSAGE_TYPE_METHOD_CALL) {
1182
 
        g_debug ("Member = %s", ibus_message_get_member (message));
1183
1182
        for (i = 0; handlers[i].interface != NULL; i++) {
1184
1183
            if (ibus_message_is_method_call (message,
1185
1184
                                             handlers[i].interface,