1 diff -urbB gfax.org/src/gui.cs gfax/src/gui.cs
2 --- gfax.org/src/gui.cs 2005-02-28 22:08:34.000000000 +0100
3 +++ gfax/src/gui.cs 2005-10-17 20:25:40.779008750 +0200
5 private int update_queue_status(string queue)
10 + Fax.FaxQueue q = null;
11 + Fax.FaxRecQueue rq = null;
19 - if (q.Jobid != "") {
20 + if (q != null && q.Jobid != "") {
21 Appbar.Push(Catalog.GetString("There are " + reply.Count + " jobs in the queue"));
23 ((Gtk.Window) gxml["Gfax"]).Title = "Gfax (" + reply.Count + ")";
25 view.AddTextToRow(rq.Sender, rq.Status, rq.Pages, rq.TimeReceived, rq.Filename);
28 - if (rq.Sender != "") {
29 + if (rq != null && rq.Sender != "") {
30 Appbar.Push(Catalog.GetString("There are " + reply.Count + " jobs in the queue"));
32 ((Gtk.Window) gxml["Gfax"]).Title = "Gfax (" + reply.Count + ")";