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:
parent
e9f9552f06
commit
845a2f6582
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue