~abreu-alexandre/unity-webapps-qml/bug-1228208

« back to all changes in this revision

Viewing changes to src/Ubuntu/UnityWebApps/plugin/unity-webapps-api.cpp

  • Committer: Tarmac
  • Author(s): Alexandre Abreu
  • Date: 2013-09-18 16:42:23 UTC
  • mfrom: (62.1.1 add-startupwmclass)
  • Revision ID: tarmac-20130918164223-3jtnpo17z56dtykc
Add startupwmclass to desktop file generation.

Approved by David Barth, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
                               "Type=Application\n"
479
479
                               "Icon=%2\n"
480
480
                               "Actions=S1;S2;S3;S4;S5;S6;S7;S8;S9;S10;\n"
481
 
                               "Exec=webbrowser-app --app-id='%4' --webapp='%5' %u\n\n"
 
481
                               "StartupWMClass=%3\n"
 
482
                               "Exec=webbrowser-app --app-id='%4' --webapp='%5' --maximized --enable-back-forward %u\n\n"
482
483
                               "%6")
483
484
            .arg(webappName)
484
485
            .arg(UnityWebappsQML::getIconPathFor(iconName))
485
486
            .arg(appId)
 
487
            .arg(appId)
486
488
            .arg(QString(webappName.toUtf8().toBase64().data()))
487
489
            .arg( ! webappName.isEmpty()
488
490
                 ? generateActionsEntry(webappName)