~ubuntu-branches/ubuntu/lucid/totem/lucid

« back to all changes in this revision

Viewing changes to browser-plugin/totemNPObject.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-12-02 21:56:06 UTC
  • mfrom: (1.11.1 upstream) (2.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20091202215606-6uum8ai032ebaa9p
Tags: 2.28.4-0ubuntu1
* New upstream version:
  Movie Player:
  - Don't hide the fullscreen popups when the mouse is on top of them
  Thumbnailer:
  - Fix covers not being used any more
  Web browser plugin:
  - Fix potential crasher when using Javascript bindings
  - Fix resolution of absolute URL
* Sync on Debian
* debian/control.in:
  - build-depends on liblaunchpad-integration-dev
  - set vcs url
  - add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - change refences from Iceweasel to Firefox
  - don't build using libepc, galago those are in universe
  - split totem-plugins package in an extra package for the components 
    which have depends in universe
  - use suggests rather than recommends for universe gstreamer components
* debian/patches/02_lpi.patch,
  debian/patches/90_autotools.patch: 
  - launchpad integration change
* debian/patches/07_disable_web_browser_midi.patch:
  - Disable MIDI support in totem web browser plugin as Karmic's gstreamer
    doesn't support streaming MIDI files over HTTP (LP 463102)
* debian/patches/70_bbc_plugin.patch: 
  - removed Debian APT changes. Made strings translatable.
* debian/rules:
  - don't build complex
* debian/source_totem.py, debian/totem-common.install:
  - use an apport hook to get details on the issue and try to use the right 
    component especially for codec and sound issues
* debian/totem-common.gconf-defaults: 
  - Activate content retrieval plugins (BBC and YouTube) by default      
* debian/totem-plugins-extra.install:
  - install things which have depends in universe in an extra binary

Show diffs side-by-side

added added

removed removed

Lines of Context:
416
416
  if (!IsValid ())
417
417
    return false;
418
418
 
419
 
  NOTE (g_print ("totemNPObject::HasMethod [%p] %s\n", (void*) this, NPN_UTF8FromIdentifier (aName)));
420
 
  if (GetClass()->GetMethodIndex (aName) >= 0)
 
419
  int methodIndex = GetClass()->GetMethodIndex (aName);
 
420
  NOTE (g_print ("totemNPObject::HasMethod [%p] %s => %s\n", (void*) this, NPN_UTF8FromIdentifier (aName), methodIndex >= 0 ? "yes" : "no"));
 
421
  if (methodIndex >= 0)
421
422
    return true;
422
423
 
423
424
  if (aName == NPN_GetStringIdentifier ("__noSuchMethod__"))
478
479
  if (!IsValid ())
479
480
    return false;
480
481
 
481
 
  NOTE (g_print ("totemNPObject::HasProperty [%p] %s\n", (void*) this, NPN_UTF8FromIdentifier (aName)));
482
 
  if (GetClass()->GetPropertyIndex (aName) >= 0)
 
482
  int propertyIndex = GetClass()->GetPropertyIndex (aName);
 
483
  NOTE (g_print ("totemNPObject::HasProperty [%p] %s => %s\n", (void*) this, NPN_UTF8FromIdentifier (aName), propertyIndex >= 0 ? "yes" : "no"));
 
484
  if (propertyIndex >= 0)
483
485
    return true;
484
486
 
485
487
  return false;