Improved behaviour of non-master decorated windows.

git-svn-id: http://voip.null.ro/svn/yate@825 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-05-31 17:19:19 +00:00
parent e9f9552f06
commit 845a2f6582
2 changed files with 5 additions and 5 deletions

View File

@ -1075,7 +1075,7 @@ void GTKWindow::init()
title(s_cfg.getValue(m_id,"title",m_id));
m_master = s_cfg.getBoolValue(m_id,"master");
m_popup = s_cfg.getBoolValue(m_id,"popup");
if (!m_master)
if (!(m_master || m_decorated))
gtk_window_set_type_hint((GtkWindow*)m_widget,GDK_WINDOW_TYPE_HINT_TOOLBAR);
m_posX = s_save.getIntValue(m_id,"x",m_posX);
m_posY = s_save.getIntValue(m_id,"y",m_posY);

View File

@ -173,7 +173,7 @@ hbox=>
label=2,,,,status,Initializing...
property:int:xpad=4
property:align:yalign=50
check=,,,,help,
check=,,,,help,?
accelerator=F1
tooltip=Show or hide the Help window
leave=<
@ -478,15 +478,15 @@ leave=<vbox
enabled=yes
decorated=yes
title=Yate Help
master=yes
visible=no
layout=vbox
scroll=2,,150,100,>
scroll=2,,350,150,>
property:int:border-width=2
label=2,,,,help_text,<b>Some</b> text here
label=2,,,,help_text,<b>Error</b> could not load main help file!
property:int:xpad=4
property:int:ypad=2
property:bool:use-markup=yes
property:bool:selectable=yes
leave=<
hbox=>
property:int:border-width=2