README update and small change for Mac
diff --git a/README.md b/README.md
index 82b2dc8..b23ca49 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,9 @@
## For those who wants (or is forced to) compile from source code
-----------------------------------------------------------------
-You need pkg-config, protobuf, boost, and qt to compile this app. All of them can be installed through macports.
+You need pkg-config command, protobuf, boost, and qt to compile this app. All of them can be installed through macports.
The following command should do it:
-$ sudo port install pkg-config protobuf-cpp boost qt4-mac
+$ sudo port install pkgconfig protobuf-cpp boost qt4-mac
To compile this app:
diff --git a/chatdialog.cpp b/chatdialog.cpp
index 71d4652..6afd838 100644
--- a/chatdialog.cpp
+++ b/chatdialog.cpp
@@ -254,7 +254,7 @@
{
minimizeAction->setEnabled(visible);
maximizeAction->setEnabled(!isMaximized());
- restoreAction->setEnabled(isMaximized() || !visible);
+ // restoreAction->setEnabled(isMaximized() || !visible);
raise(); // for MacOS
activateWindow(); // for Windows
diff --git a/waf b/waf
index 1bbe08e..b733b1e 100755
--- a/waf
+++ b/waf
Binary files differ
diff --git a/wscript b/wscript
index 863d2ac..0ae1e56 100644
--- a/wscript
+++ b/wscript
@@ -148,6 +148,8 @@
<string>THIS IS A GENERATED FILE, DO NOT MODIFY</string>
<key>CFBundleExecutable</key>
<string>%s</string>
+ <key>LSUIElement</key>
+ <string>1</string>
<key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string>
<key>CFBundleIconFile</key>
@@ -155,8 +157,6 @@
</dict>
</plist>'''
- # <key>LSUIElement</key>
- # <string>1</string>
qt.mac_app = "ChronoChat.app"
qt.mac_plist = app_plist % "ChronoChat"
qt.mac_resources = 'demo.icns'