Changeset View
Changeset View
Standalone View
Standalone View
lib/adium-theme-view.cpp
Context not available. | |||||
302 | return m_chatStyle; | 302 | return m_chatStyle; | ||
---|---|---|---|---|---|
303 | } | 303 | } | ||
304 | 304 | | |||
305 | void AdiumThemeView::setChatName(const QString &name) | ||||
306 | { | ||||
307 | const QString js = QStringLiteral("var chatNameElement = document.querySelector(\"x-conversationWith\");\n" | ||||
308 | "chatNameElement.innerHTML = \"%1\";").arg(name); | ||||
309 | page()->runJavaScript(js); | ||||
310 | } | ||||
311 | | ||||
305 | void AdiumThemeView::setChatStyle(ChatWindowStyle *chatStyle) | 312 | void AdiumThemeView::setChatStyle(ChatWindowStyle *chatStyle) | ||
306 | { | 313 | { | ||
307 | m_chatStyle = chatStyle; | 314 | m_chatStyle = chatStyle; | ||
Context not available. |