mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-24 03:12:05 +03:00
Allow hiding of Docky icon by setting hide_docky_icon:1
(bit of a workaround involved as REGAPP_NoIcon doesn't appear to check the tag value) svn path=/trunk/netsurf/; revision=9725
This commit is contained in:
parent
4bcd8ee1ba
commit
4346b2b62b
@ -702,10 +702,13 @@ void gui_init2(int argc, char** argv)
|
||||
{
|
||||
if(argc == 0)
|
||||
{
|
||||
BOOL noicon = TAG_IGNORE;
|
||||
if(option_hide_docky_icon) noicon = REGAPP_NoIcon;
|
||||
|
||||
ami_appid = RegisterApplication(messages_get("NetSurf"),
|
||||
REGAPP_URLIdentifier, "netsurf-browser.org",
|
||||
REGAPP_WBStartup, (struct WBStartup *)argv,
|
||||
// REGAPP_NoIcon, TRUE,
|
||||
noicon, TRUE,
|
||||
REGAPP_HasPrefsWindow, TRUE,
|
||||
REGAPP_CanCreateNewDocs, TRUE,
|
||||
REGAPP_UniqueApplication, TRUE,
|
||||
|
Loading…
Reference in New Issue
Block a user