~canonical-dx-team/unity/unity.fix-ql-losing-focus

« back to all changes in this revision

Viewing changes to src/BamfLauncherIcon.cpp

  • Committer: Didier Roche
  • Date: 2011-02-11 17:03:24 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: didier.roche@canonical.com-20110211170324-apbvfvstnqe503pk
don't mess with public virtual method

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
}
56
56
 
57
57
void
58
 
BamfLauncherIcon::Activate ()
 
58
BamfLauncherIcon::ActivateLauncherIcon ()
59
59
{
60
60
  bool scaleWasActive = PluginAdapter::Default ()->IsScaleActive ();
61
61
 
75
75
    if (GetQuirk (QUIRK_STARTING))
76
76
      return;
77
77
    SetQuirk (QUIRK_STARTING, true);
78
 
    OpenInstance ();
 
78
    OpenInstanceLauncherIcon ();
79
79
    return;
80
80
  }
81
81
  else if (scaleWasActive)
283
283
}
284
284
 
285
285
void
286
 
BamfLauncherIcon::OpenInstance ()
 
286
BamfLauncherIcon::OpenInstanceLauncherIcon ()
287
287
{
288
288
  std::list<char *> empty;
289
289
  OpenInstanceWithUris (empty);
435
435
BamfLauncherIcon::OnMouseClick (int button)
436
436
{
437
437
  if (button == 1)
438
 
    Activate ();
 
438
    ActivateLauncherIcon ();
439
439
  else if (button == 2)
440
 
    OpenInstance ();
 
440
    OpenInstanceLauncherIcon ();
441
441
}
442
442
 
443
443
void