~ubuntu-branches/ubuntu/oneiric/gecko-mediaplayer/oneiric

« back to all changes in this revision

Viewing changes to src/plugin_dbus.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Tirabassi
  • Date: 2009-09-24 13:55:35 UTC
  • mfrom: (1.1.14 upstream) (0.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20090924135535-ftwq9l1ntkt9tdfp
Tags: 0.9.8-1ubuntu1
* Merge from debian unstable (LP: #434106), remaining changes:
  - change Build-Depends iceape-dev to libxul-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    int message_type;
47
47
    gchar *s = NULL;
48
48
    DBusError error;
49
 
    DBusMessage *reply_message;
 
49
    // DBusMessage *reply_message;
50
50
    gchar *path;
51
51
    CPlugin *instance;
52
52
    ListItem *item = NULL;
346
346
            argvn[arg++] = g_strdup_printf("gnome-mplayer");
347
347
            argvn[arg++] = g_strdup_printf("--window=-1");
348
348
            argvn[arg++] = g_strdup_printf("--controlid=%i", instance->controlid);
 
349
            argvn[arg++] = g_strdup_printf("--autostart=%i", instance->autostart);
349
350
            if (instance->disable_context_menu == TRUE)
350
351
                argvn[arg++] = g_strdup_printf("--disablecontextmenu");
351
352
            if (instance->debug == TRUE)
352
353
                argvn[arg++] = g_strdup_printf("--verbose");
353
354
 
354
355
            argvn[arg++] = g_strdup_printf("%s", file);
355
 
            argvn[arg] = g_strdup("");
356
 
            argvn[arg + 1] = NULL;
 
356
            argvn[arg] = NULL;
357
357
            instance->playerready = FALSE;
358
358
            ok = g_spawn_async(NULL, argvn, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &error);
359
359