From 45800056796560067d27c0bb39493060835637ef Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Thu, 21 Dec 2006 15:43:12 +0000 Subject: [PATCH] More alerts which are a bit more standard and family-friendly. :^) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19594 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../print/transports/hp_jetdirect/HPJetDirectTransport.cpp | 4 ++-- src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/add-ons/print/transports/hp_jetdirect/HPJetDirectTransport.cpp b/src/add-ons/print/transports/hp_jetdirect/HPJetDirectTransport.cpp index 390b89c4b0..f59a0de602 100644 --- a/src/add-ons/print/transports/hp_jetdirect/HPJetDirectTransport.cpp +++ b/src/add-ons/print/transports/hp_jetdirect/HPJetDirectTransport.cpp @@ -66,7 +66,7 @@ HPJetDirectPort::HPJetDirectPort(BDirectory* printer, BMessage *msg) fEndpoint = new BNetEndpoint(SOCK_STREAM); if ((fReady = fEndpoint->InitCheck()) != B_OK) { - BAlert *alert = new BAlert("", "Fail to create the NetEndpoint!", "Damn"); + BAlert *alert = new BAlert("", "Fail to create the NetEndpoint!", "OK"); alert->Go(); return; }; @@ -75,7 +75,7 @@ HPJetDirectPort::HPJetDirectPort(BDirectory* printer, BMessage *msg) printf("Connected to HP JetDirect printer port at %s:%d\n", fHost, fPort); fReady = B_OK; } else { - BAlert *alert = new BAlert("", "Can't connect to HP JetDirect printer port!", "Bad luck"); + BAlert *alert = new BAlert("", "Can't connect to HP JetDirect printer port!", "OK"); alert->Go(); }; } diff --git a/src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp b/src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp index 7005fccd52..313eb86674 100644 --- a/src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp +++ b/src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp @@ -128,7 +128,7 @@ bool SetupView::UpdateViewData() if (ep->Connect(server->Text(), atoi(queue->Text())) != B_OK) { BString text; text << "Fail to connect to " << server->Text() << ":" << (int) port << "!"; - BAlert *alert = new BAlert("", text.String(), "Damn"); + BAlert *alert = new BAlert("", text.String(), "OK"); alert->Go(); return false; };