CtrlCore: New MT rules implemented in X11 and GTK

git-svn-id: svn://ultimatepp.org/upp/trunk@6170 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-07-06 12:32:06 +00:00
parent a5cc4e2902
commit 8f9bfcc8e3
9 changed files with 59 additions and 64 deletions

View file

@ -36,17 +36,17 @@ void TopWindow::SyncSizeHints()
GdkWindowHints(GDK_HINT_MIN_SIZE|GDK_HINT_MAX_SIZE));
}
void TopWindow::SyncTitle0()
void TopWindow::SyncTitle()
{
GuiLock __;
if(top)
gtk_window_set_title(gtk(), FromUnicode(title, CHARSET_UTF8));
}
void TopWindow::SyncCaption0()
void TopWindow::SyncCaption()
{
GuiLock __;
SyncTitle0();
SyncTitle();
if(top) {
if(gdk_icon.Set(icon))
gtk_window_set_icon(gtk(), gdk_icon);