diff console/libgnt/gntmain.c @ 14325:985e5e3f6f2c

[gaim-migrate @ 17020] Some distros put the ncursesw headers in ncursesw/, some don't. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 24 Aug 2006 19:41:34 +0000
parents c8ddda5d8ec8
children b1b76fb9c739
line wrap: on
line diff
--- a/console/libgnt/gntmain.c	Thu Aug 24 18:33:53 2006 +0000
+++ b/console/libgnt/gntmain.c	Thu Aug 24 19:41:34 2006 +0000
@@ -1,4 +1,8 @@
+#ifdef HAVE_NCURSESW_INC
 #include <ncursesw/panel.h>
+#else
+#include <panel.h>
+#endif
 
 #include "gnt.h"
 #include "gntbox.h"
@@ -485,9 +489,9 @@
  * Mouse support:
  *  - bring a window on top if you click on its taskbar
  *  - click on the top-bar of the active window and drag+drop to move a window
+ *  - click on a window to bring it to focus
  *  wishlist:
  *   - have a little [X] on the windows, and clicking it will close that window.
- *   - click on a window to bring it to focus
  *   - allow scrolling in tree/textview on wheel-scroll event
  *   - click to activate button or select a row in tree
  *      - all these can be fulfilled by adding a "clicked" event for GntWidget