diff --git addons/gdbplugin/plugin.qrc addons/gdbplugin/plugin.qrc
index 638b0a6..a707be0 100644
|
|
|
4 | 4 | <file>ui.rc</file> |
5 | 5 | </qresource> |
6 | 6 | <qresource prefix="/kategdb"> |
7 | | <file>22-actions-debug-kategdb.png</file> |
| 7 | <file>22-actions-debug-kate5gdb.png</file> |
8 | 8 | </qresource> |
9 | 9 | </RCC> |
diff --git addons/gdbplugin/plugin_kategdb.cpp addons/gdbplugin/plugin_kategdb.cpp
index 2bb45f2..8e45812 100644
|
|
KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M |
84 | 84 | |
85 | 85 | m_toolView = m_mainWin->createToolView(plugin, i18n("Debug View"), |
86 | 86 | KTextEditor::MainWindow::Bottom, |
87 | | QIcon(QStringLiteral(":/kategdb/22-actions-debug-kategdb.png")), |
| 87 | QIcon(QStringLiteral(":/kategdb/22-actions-debug-kate5gdb.png")), |
88 | 88 | i18n("Debug View")); |
89 | 89 | |
90 | 90 | m_localsStackToolView = m_mainWin->createToolView(plugin, i18n("Locals and Stack"), |
91 | 91 | KTextEditor::MainWindow::Right, |
92 | | QIcon(QStringLiteral(":/kategdb/22-actions-debug-kategdb.png")), |
| 92 | QIcon(QStringLiteral(":/kategdb/22-actions-debug-kate5gdb.png")), |
93 | 93 | i18n("Locals and Stack")); |
94 | 94 | |
95 | 95 | m_tabWidget = new QTabWidget(m_toolView); |
… |
… |
KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M |
216 | 216 | |
217 | 217 | QAction* a = actionCollection()->addAction(QStringLiteral("debug")); |
218 | 218 | a->setText(i18n("Start Debugging")); |
219 | | a->setIcon(QIcon(QStringLiteral(":/kategdb/22-actions-debug-kategdb.png"))); |
| 219 | a->setIcon(QIcon(QStringLiteral(":/kategdb/22-actions-debug-kate5gdb.png"))); |
220 | 220 | connect( a, SIGNAL(triggered(bool)), |
221 | 221 | this, SLOT(slotDebug())); |
222 | 222 | |
diff --git addons/sessionapplet/applet/metadata.desktop addons/sessionapplet/applet/metadata.desktop
index 769ba31..6aed105 100644
|
|
Comment[zh_CN]=Kate 会话启动器 |
93 | 93 | Comment[zh_TW]=Kate 工作階段啟動器 |
94 | 94 | |
95 | 95 | Type=Service |
96 | | Icon=kate |
| 96 | Icon=kate5 |
97 | 97 | X-KDE-ServiceTypes=Plasma/Applet,Plasma/PopupApplet |
98 | 98 | |
99 | 99 | X-Plasma-API=declarativeappletscript |
diff --git addons/sessionapplet/engine/katesessionsmodel.cpp addons/sessionapplet/engine/katesessionsmodel.cpp
index 6dd2795..ad2d7f4 100644
|
|
void KateSessionsModel::initSessionFiles() |
73 | 73 | |
74 | 74 | QStandardItem *item = new QStandardItem(); |
75 | 75 | item->setData(i18n("Start Kate (no arguments)"), Qt::DisplayRole); |
76 | | item->setData( QIcon::fromTheme( QStringLiteral("kate") ), Qt::DecorationRole ); |
| 76 | item->setData( QIcon::fromTheme( QStringLiteral("kate5") ), Qt::DecorationRole ); |
77 | 77 | item->setData( QStringLiteral("_kate_noargs"), Uuid ); |
78 | 78 | item->setData(0,TypeRole); |
79 | 79 | m_fullList << item->data(Qt::DisplayRole).toString(); |
diff --git addons/sessionapplet/engine/plasma-dataengine-katesessions.desktop addons/sessionapplet/engine/plasma-dataengine-katesessions.desktop
index b981509..a07c17a 100644
|
|
Comment[zh_CN]=Kate 会话启动器 |
93 | 93 | Comment[zh_TW]=Kate 工作階段啟動器 |
94 | 94 | |
95 | 95 | Type=Service |
96 | | Icon=kate |
| 96 | Icon=kate5 |
97 | 97 | X-KDE-ServiceTypes=Plasma/DataEngine |
98 | 98 | |
99 | 99 | X-KDE-Library=plasma_engine_clipboard |
diff --git kate/data/org.kde.kate.desktop kate/data/org.kde.kate.desktop
index 89411a4..aed6343 100755
|
|
MimeType=text/plain; |
151 | 151 | Exec=kate -b %U |
152 | 152 | StartupNotify=true |
153 | 153 | X-KDE-HasTempFileOption=true |
154 | | Icon=kate |
155 | | X-DocPath=kate/index.html |
| 154 | Icon=kate5 |
| 155 | X-DocPath=kate5/index.html |
156 | 156 | Type=Application |
157 | 157 | Terminal=false |
158 | 158 | InitialPreference=9 |
diff --git kate/main.cpp kate/main.cpp
index 554de7a..04c6ff8 100644
|
|
int main(int argc, char **argv) |
137 | 142 | /** |
138 | 143 | * set the program icon |
139 | 144 | */ |
140 | | QApplication::setWindowIcon(QIcon::fromTheme(QLatin1String("kate"), app.windowIcon())); |
| 145 | QApplication::setWindowIcon(QIcon::fromTheme(QLatin1String("kate5"), app.windowIcon())); |
141 | 146 | |
142 | 147 | /** |
143 | 148 | * Create command line parser and feed it with known options |