bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #10916] GSCUPS fails without default printer


From: Alexander Malmberg
Subject: [bugs #10916] GSCUPS fails without default printer
Date: Wed, 12 Jan 2005 00:23:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

This is an automated notification sent by Savannah.
It relates to:
                bugs #10916, project GNUstep

==============================================================================
 LATEST MODIFICATIONS of bugs #10916:
==============================================================================

               Posted by: Alexander Malmberg <alexm>
               Posted on: 2005-01-12 00:23 (Europe/Stockholm)
    _______________________________________________________

                  Status:                    None -> Fixed                  
             Assigned to:                    None -> alexm                  
             Open/Closed:                    Open -> Closed                 

    _______________________________________________________

Follow-up Comment:
Fixed in cvs by:



Module name:    gnustep

Branch:         

Changes by:     Alexander Malmberg <alexm@savannah.gnu.org>     05/01/11 
23:39:41



Modified files:

        core/gui       : ChangeLog 

        core/gui/Printing/GSCUPS: GSCUPSPrintInfo.m GSCUPSPrinter.h 

                                  GSCUPSPrinter.m 



Log message:

        2005-01-12 00:41  Alexander Malmberg <alexander@malmberg.org>

        

        * Printing/GSCUPS/GSCUPSPrinter.h (GSCUPSDummyPrinterName): New

        variable.

        * Printing/GSCUPS/GSCUPSPrinter.m (GSCUPSDummyPrinterName): New

        variable.

        (+printerWithName:): Warn and return a dummy printer when requested.

        * Printing/GSCUPS/GSCUPSPrintInfo.m (defaultPrinter): If there's

        no default CUPS printer set, return a dummy printer.

        

        Fixes bug #10916.



CVSWeb URLs:

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2431&tr2=1.2432&r1=text&r2=text

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrintInfo.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrinter.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrinter.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text



==============================================================================
 OVERVIEW of bugs #10916:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10916>

                 Summary: GSCUPS fails without default printer
                 Project: GNUstep
            Submitted by: None
            Submitted on: Fri 11/05/04 at 05:32
                Category: Gui/AppKit
                Severity: 5 - Average
              Item Group: Bug
                  Status: Fixed
                 Privacy: Public
             Assigned to: alexm
             Open/Closed: Closed

    _______________________________________________________


If you don't have a default printer selected in CUPS the GSCUPS backend will
blowout with a "adding nil to dictionary... blah... PrintPrinter."



I guess we need some kind of popup that says:



"Printing Disabled.\n

\n

Please select a default printer, blah, blah in gnome-cups-manager or whatever
to print."



And then obviously not crash. :-)



Cheers!

    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 01/12/05 at 00:23         By: Alexander Malmberg <alexm>
Fixed in cvs by:



Module name:    gnustep

Branch:         

Changes by:     Alexander Malmberg <alexm@savannah.gnu.org>     05/01/11 
23:39:41



Modified files:

        core/gui       : ChangeLog 

        core/gui/Printing/GSCUPS: GSCUPSPrintInfo.m GSCUPSPrinter.h 

                                  GSCUPSPrinter.m 



Log message:

        2005-01-12 00:41  Alexander Malmberg <alexander@malmberg.org>

        

        * Printing/GSCUPS/GSCUPSPrinter.h (GSCUPSDummyPrinterName): New

        variable.

        * Printing/GSCUPS/GSCUPSPrinter.m (GSCUPSDummyPrinterName): New

        variable.

        (+printerWithName:): Warn and return a dummy printer when requested.

        * Printing/GSCUPS/GSCUPSPrintInfo.m (defaultPrinter): If there's

        no default CUPS printer set, return a dummy printer.

        

        Fixes bug #10916.



CVSWeb URLs:

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2431&tr2=1.2432&r1=text&r2=text

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrintInfo.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrinter.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrinter.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text










==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10916>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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