change app name and app class
[uwplayer.git] / application / window.c
index 412381f..6ee3bf8 100644 (file)
@@ -61,12 +61,12 @@ MainWindow* WindowCreate(Display *display) {
     
     // toplevel window
     n = 0;
-    XtSetArg(args[n], XmNtitle, "MediaPlayer"); n++;
+    XtSetArg(args[n], XmNtitle, APP_NAME); n++;
     window->window = XtAppCreateShell(
-            "mediaplayer",
-            "mediaplayer",
-            //applicationShellWidgetClass,
-            vendorShellWidgetClass,
+            APP_NAME,
+            APP_CLASS,
+            applicationShellWidgetClass,
+            //vendorShellWidgetClass,
             display,
             args,
             n);