~juhapekka-piiroinen/jpiiirc/trunk

« back to all changes in this revision

Viewing changes to ircclientplugin/ircserversettingsdockwidget.cpp

  • Committer: Juhapekka Piiroinen
  • Date: 2012-07-17 11:04:33 UTC
  • Revision ID: juhapekka@jpii.fi-20120717110433-0i3kag02hjozxh43
yet another fix for changed desktop file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        ui->lineEditUsername->setEnabled(true);
132
132
#ifdef Q_OS_LINUX
133
133
    QDBusMessage signal = QDBusMessage::createSignal("/","com.canonical.Unity.LauncherEntry","Update");
134
 
    signal << "application://jpiiirc.desktop";
 
134
    signal << "application://extras-jpiiirc.desktop";
135
135
    QVariantMap setProperty;
136
136
    setProperty.insert("progress",0.0);
137
137
    setProperty.insert("progress-visible",false);
141
141
        } else if (socketState==QAbstractSocket::HostLookupState) {
142
142
    #ifdef Q_OS_LINUX
143
143
        QDBusMessage signal = QDBusMessage::createSignal("/","com.canonical.Unity.LauncherEntry","Update");
144
 
        signal << "application://jpiiirc.desktop";
 
144
        signal << "application://extras-jpiiirc.desktop";
145
145
        QVariantMap setProperty;
146
146
        setProperty.insert("progress",0.25);
147
147
        setProperty.insert("progress-visible",true);
151
151
    } else if (socketState==QAbstractSocket::ConnectingState) {
152
152
#ifdef Q_OS_LINUX
153
153
    QDBusMessage signal = QDBusMessage::createSignal("/","com.canonical.Unity.LauncherEntry","Update");
154
 
    signal << "application://jpiiirc.desktop";
 
154
    signal << "application://extras-jpiiirc.desktop";
155
155
    QVariantMap setProperty;
156
156
    setProperty.insert("progress",0.50);
157
157
    setProperty.insert("progress-visible",true);
162
162
        qDebug() << "setting to 100";
163
163
#ifdef Q_OS_LINUX
164
164
    QDBusMessage signal = QDBusMessage::createSignal("/","com.canonical.Unity.LauncherEntry","Update");
165
 
    signal << "application://jpiiirc.desktop";
 
165
    signal << "application://extras-jpiiirc.desktop";
166
166
    QVariantMap setProperty;
167
167
    setProperty.insert("progress",1);
168
168
    setProperty.insert("progress-visible",false);