[PATCH] gnome-core-1.1.5/gnome-hint
- From: Aron Griffis <agriffis bigfoot com>
- To: gnome-devel-list gnome org
- Subject: [PATCH] gnome-core-1.1.5/gnome-hint
- Date: Fri, 17 Mar 2000 11:43:39 -0500
Hello,
Attached is a patch that keeps gnome-hint from displaying /etc/motd if
the file is empty.
Aron
--
Aron Griffis Compaq Computer Corporation, ZKO3-3/T30
Tru64 Hardware Support 110 Spit Brook Rd, Nashua, NH 03062
603/884-1276 http://bigfoot.com/~agriffis/
--- gnome-core-1.1.5.old/gnome-hint/gnome-hint.c Thu Mar 2 16:42:04 2000
+++ gnome-core-1.1.5/gnome-hint/gnome-hint.c Thu Mar 2 16:43:48 2000
@@ -522,6 +522,8 @@
if(is_motd) {
hint = get_motd();
+ if (!hint || *hint == '\0')
+ gtk_exit(0);
} else if(is_fortune) {
curfortune = hint = get_a_fortune();
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]