ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src chat_window.c,1.30,1.31 info_window.c,1.


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src chat_window.c,1.30,1.31 info_window.c,1.7,1.8
Date: Fri, 24 Jan 2003 02:06:45 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv6269/src

Modified Files:
        chat_window.c info_window.c 
Log Message:
more cosmetics


Index: chat_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_window.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- chat_window.c       24 Jan 2003 00:29:13 -0000      1.30
+++ chat_window.c       24 Jan 2003 07:06:41 -0000      1.31
@@ -70,249 +70,209 @@
 #include <iconv.h>
 #include <errno.h>
 
+#define GET_CHAT_WINDOW(cur_cw) {\
+       if( iGetLocalPref("do_tabbed_chat") ) { \
+               chat_window *bck = cur_cw; \
+               if (cur_cw->notebook) \
+                       cur_cw = 
find_tabbed_chat_window_index(gtk_notebook_get_current_page(GTK_NOTEBOOK(cur_cw->notebook)));
 \
+               if (cur_cw == NULL) \
+                       cur_cw = bck; \
+       } \
[...3914 lines suppressed...]
+       cw->status_label = gtk_label_new(" ");
+       gtk_box_pack_start(GTK_BOX(hbox), cw->status_label, FALSE, FALSE, 0);
+       gtk_widget_show(cw->status_label);
+
+       gtk_box_pack_end(GTK_BOX(hbox), toolbar, FALSE, FALSE, 0);
+       gtk_widget_show(toolbar);
+
+       gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5);
+       gtk_widget_show(hbox);
+
+       make_safe_filename(buff, remote->nick, remote->group->name);
+
+       if ((cw->fp = fopen(buff, "a")) == NULL)
+               perror(buff);
+
+       gtk_widget_show(cw->chat);
+       gtk_widget_show(cw->entry);
+
+       return cw;
 }

Index: info_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/info_window.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- info_window.c       16 Jan 2003 13:11:01 -0000      1.7
+++ info_window.c       24 Jan 2003 07:06:41 -0000      1.8
@@ -141,7 +141,6 @@
 
 
 void eb_info_window_add_info( eb_account * remote_account, gchar* text, gint 
ignore_bg, gint ignore_fg, gint ignore_font ) {
-//        struct contact * remote_contact = remote_account->account_contact;
        
        if(remote_account->infowindow)
        {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]