From: <sa...@us...> - 2006-09-02 19:30:28
|
Revision: 17129 http://svn.sourceforge.net/gaim/?rev=17129&view=rev Author: sadrul Date: 2006-09-02 12:29:06 -0700 (Sat, 02 Sep 2006) Log Message: ----------- Print a "<AUTO-REPLY>" before the autoreply messages. Fix some earlier brain-damaged ifdefs. Modified Paths: -------------- trunk/console/gntconv.c trunk/console/libgnt/gntcolors.c trunk/console/libgnt/gntmain.c trunk/console/libgnt/gntwidget.h trunk/console/libgnt/gntwm.h Modified: trunk/console/gntconv.c =================================================================== --- trunk/console/gntconv.c 2006-09-02 18:55:27 UTC (rev 17128) +++ trunk/console/gntconv.c 2006-09-02 19:29:06 UTC (rev 17129) @@ -301,6 +301,10 @@ gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), gaim_utf8_strftime("(%H:%M:%S) ", localtime(&mtime)), GNT_TEXT_FLAG_DIM); + if (flags & GAIM_MESSAGE_AUTO_RESP) + gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), + _("<AUTO-REPLY> "), GNT_TEXT_FLAG_BOLD); + if (who && *who && (flags & (GAIM_MESSAGE_SEND | GAIM_MESSAGE_RECV))) { char * name = NULL; Modified: trunk/console/libgnt/gntcolors.c =================================================================== --- trunk/console/libgnt/gntcolors.c 2006-09-02 18:55:27 UTC (rev 17128) +++ trunk/console/libgnt/gntcolors.c 2006-09-02 19:29:06 UTC (rev 17129) @@ -1,3 +1,5 @@ +#include "config.h" + #ifdef HAVE_NCURSESW_INC #include <ncursesw/ncurses.h> #else Modified: trunk/console/libgnt/gntmain.c =================================================================== --- trunk/console/libgnt/gntmain.c 2006-09-02 18:55:27 UTC (rev 17128) +++ trunk/console/libgnt/gntmain.c 2006-09-02 19:29:06 UTC (rev 17129) @@ -1,3 +1,5 @@ +#include "config.h" + #ifdef HAVE_NCURSESW_INC #include <ncursesw/panel.h> #else @@ -655,7 +657,7 @@ if (GNT_WIDGET_IS_FLAG_SET(win, GNT_WIDGET_NO_BORDER)) return; - d = dupwin(win->window); + d = win->window; gnt_widget_get_size(win, &w, &h); #define DECIDE(ch) (set ? ((ch) | A_REVERSE) : ((ch) & ~A_REVERSE)) @@ -677,7 +679,6 @@ } wrefresh(win->window); - delwin(d); } static gboolean Modified: trunk/console/libgnt/gntwidget.h =================================================================== --- trunk/console/libgnt/gntwidget.h 2006-09-02 18:55:27 UTC (rev 17128) +++ trunk/console/libgnt/gntwidget.h 2006-09-02 19:29:06 UTC (rev 17129) @@ -1,6 +1,8 @@ #ifndef GNT_WIDGET_H #define GNT_WIDGET_H +#include "config.h" + #include <stdio.h> #include <glib.h> #include <glib-object.h> Modified: trunk/console/libgnt/gntwm.h =================================================================== --- trunk/console/libgnt/gntwm.h 2006-09-02 18:55:27 UTC (rev 17128) +++ trunk/console/libgnt/gntwm.h 2006-09-02 19:29:06 UTC (rev 17129) @@ -1,3 +1,5 @@ +#include "config.h" + #ifdef HAVE_NCURSESW_INC #include <ncursesw/panel.h> #else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |