[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src chat_window.c,1.3,1.4
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src chat_window.c,1.3,1.4 |
Date: |
Sat, 28 Dec 2002 20:22:11 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv26486/src
Modified Files:
chat_window.c
Log Message:
window focus patch by Lee Leahu (penguin365 at dyweni.com)
Index: chat_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_window.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- chat_window.c 27 Dec 2002 16:46:52 -0000 1.3
+++ chat_window.c 29 Dec 2002 01:22:09 -0000 1.4
@@ -1995,6 +1995,7 @@
}
} else {
+ gdk_window_raise(remote_contact->chatwindow->window->window);
gtk_window_set_focus(GTK_WINDOW(remote_contact->chatwindow->window),
remote_contact->chatwindow->entry);
}
@@ -2177,11 +2178,22 @@
make_safe_filename(buff, remote_contact->nick);
eb_restore_last_conv(buff,remote_contact->chatwindow);
}
+ gdk_window_raise(remote_contact->chatwindow->window->window);
+ gtk_window_set_focus (GTK_WINDOW
+ (remote_contact->chatwindow->window),
+ remote_contact->chatwindow->entry);
}
else /* Did they get denied because they're in the Unknown group? */
return;
}
-
+ else if (remote_contact->chatwindow && remote_contact->chatwindow->window)
+ {
+ gdk_window_raise(remote_contact->chatwindow->window->window);
+ gtk_window_set_focus (GTK_WINDOW
+ (remote_contact->chatwindow->window),
+ remote_contact->chatwindow->entry);
+ }
+
eb_update_window_title(remote_contact->chatwindow, FALSE);
if (remote_contact->chatwindow->notebook != NULL)
@@ -2196,6 +2208,7 @@
page_num);
} else {
+ gdk_window_raise(remote_contact->chatwindow->window->window);
gtk_window_set_focus(GTK_WINDOW(remote_contact->chatwindow->window),
remote_contact->chatwindow->entry);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src chat_window.c,1.3,1.4,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.7,1.8 configure.in,1.7,1.8
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.8,1.9 configure.in,1.8,1.9
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.7,1.8 configure.in,1.7,1.8
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.8,1.9 configure.in,1.8,1.9
- Index(es):