diff --git a/gb.qt4/share/gb.form.properties.h b/gb.qt4/share/gb.form.properties.h index 1f7c91e28..3ea1bbde3 100644 --- a/gb.qt4/share/gb.form.properties.h +++ b/gb.qt4/share/gb.form.properties.h @@ -61,7 +61,7 @@ #define CTEXTLABEL_PROPERTIES "*,Padding{Range:0;63},AutoResize,Text,Alignment{Align.*}=TopNormal,Wrap=True,Border{Border.None;Plain;Sunken;Raised;Etched},Transparent" #define CTOGGLEBUTTON_PROPERTIES "*,Action,AutoResize,Text,Picture,Border=True,Radio,Value" #define CTOOLBUTTON_PROPERTIES "*,Action,AutoResize,Text,Picture,Border,Radio,Toggle,Value" -#define CTRAYICON_PROPERTIES "Visible=False,Tag,Tooltip,Picture,PopupMenu{Menu}" +#define CTRAYICON_PROPERTIES "Visible=False,Tag,Tooltip,Picture{Picture:NoCache},PopupMenu{Menu}" #define CVBOX_PROPERTIES "*,AutoResize," CPADDING_PROPERTIES ",Invert" #define CWINDOW_PROPERTIES "*,Action,Text,Icon,Picture,Mask,Persistent,Resizable=True,Border=True,Utility,TakeFocus=True,Stacking{Window.Normal;Above;Below}=Normal,Minimized,Maximized,FullScreen,Sticky,SkipTaskbar,Opacity{Range:0;100}=100,Transparent," CWINDOW_ARRANGEMENT_PROPERTIES diff --git a/gb.qt4/src/ctrayicon.cpp b/gb.qt4/src/ctrayicon.cpp index 585111fc1..693e3daaa 100644 --- a/gb.qt4/src/ctrayicon.cpp +++ b/gb.qt4/src/ctrayicon.cpp @@ -175,7 +175,6 @@ BEGIN_PROPERTY(TrayIcon_Picture) GB.StoreObject(PROP(GB_OBJECT), POINTER(&THIS->icon)); define_icon(THIS); } - END_PROPERTY diff --git a/main/lib/gui.trayicon/cfaketrayicon.c b/main/lib/gui.trayicon/cfaketrayicon.c index d2f9ad0c8..aec51f85e 100644 --- a/main/lib/gui.trayicon/cfaketrayicon.c +++ b/main/lib/gui.trayicon/cfaketrayicon.c @@ -76,7 +76,7 @@ GB_DESC FakeTrayIconDesc[] = GB_CONSTANT("_IsVirtual", "b", TRUE), GB_CONSTANT("_Group", "s", "Special"), GB_CONSTANT("_DefaultEvent", "s", "Click"), - GB_CONSTANT("_Properties", "s", "Visible=False,Tag,Tooltip,Picture,PopupMenu{Menu}"), + GB_CONSTANT("_Properties", "s", "Visible=False,Tag,Tooltip,Picture{Picture:NoCache},PopupMenu{Menu}"), GB_END_DECLARE };