changeset 337:9f34b53e9be8

Use new DW constants, set the Application ID and update the copyright in the license.
author Brian Smith <brian@dbsoft.org>
date Sun, 28 Jun 2020 16:22:16 -0500
parents c7f3c59a2792
children 4f35d5ab70cb
files dwib.c install/scripts/license.txt
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dwib.c	Fri Jun 12 16:28:22 2020 -0500
+++ b/dwib.c	Sun Jun 28 16:22:16 2020 -0500
@@ -7750,10 +7750,13 @@
 int main(int argc, char *argv[])
 {
     /* Enable full dark mode on platforms that support it */
-    dw_feature_set(DW_FEATURE_DARK_MODE, 2);
+    dw_feature_set(DW_FEATURE_DARK_MODE, DW_DARK_MODE_FULL);
+
+    /* Set the Application ID to enable features like notifications */
+    dw_app_id_set("org.dbsoft.dwindows.dwib", "Dynamic Windows Application Builder");
 
     dw_init(TRUE, argc, argv);
-    
+
     /* Recent file menu */
     menuRecent = dw_menu_new(0);
     dw_menu_append_item(menuRecent, DW_MENU_SEPARATOR, 0, 0, TRUE, FALSE, DW_NOMENU);
--- a/install/scripts/license.txt	Fri Jun 12 16:28:22 2020 -0500
+++ b/install/scripts/license.txt	Sun Jun 28 16:22:16 2020 -0500
@@ -1,7 +1,7 @@
 Copyright Information About Dynamic Windows Interface Builder.
 
-Copyright (c) 2011-2015, Brian Smith <brian@dbsoft.org>
-Copyright (c) 2012, Mark Hessling <mark@rexx.org>
+Copyright (c) 2011-2020, Brian Smith <brian@dbsoft.org>
+Copyright (c) 2012-2020, Mark Hessling <mark@rexx.org>
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification,