summaryrefslogtreecommitdiffstats
path: root/client/application.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-20 17:28:07 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-21 13:19:51 +0200
commitfa2e125ec4535b4a56a33aed76e3a0f9ce75eca0 (patch)
treeaa0e69959c3b4321907ff987849fda2ca46412fc /client/application.h
parent79fffbf95d96b0eeb740fdfb9cca285fab8735c6 (diff)
downloadspice-fa2e125ec4535b4a56a33aed76e3a0f9ce75eca0.tar.gz
spice-fa2e125ec4535b4a56a33aed76e3a0f9ce75eca0.tar.xz
spice-fa2e125ec4535b4a56a33aed76e3a0f9ce75eca0.zip
client: Interpret the title control message as utf8 instead of unicode16
The activex browser plugin is sending unicode16 text, where as the xpi one is sending utf8 text. After discussing this on irc we've decided that utf8 is what we want to use. So the client (this patch), and the activex will be changed to expect resp. send utf8 text as the title.
Diffstat (limited to 'client/application.h')
-rw-r--r--client/application.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/application.h b/client/application.h
index c01e08bc..19c68a53 100644
--- a/client/application.h
+++ b/client/application.h
@@ -218,7 +218,7 @@ public:
void exit_full_screen();
bool toggle_full_screen();
void minimize();
- void set_title(const std::wstring& title);
+ void set_title(const std::string& title);
void hide();
void show();
void external_show();
@@ -367,7 +367,7 @@ private:
KeyHandlersStack _key_handlers;
MouseHandler* _mouse_handler;
const MonitorsList* _monitors;
- std::wstring _title;
+ std::string _title;
bool _sys_key_intercept_mode;
StickyInfo _sticky_info;
std::vector<int> _canvas_types;