]> git.pld-linux.org Git - packages/gfax.git/blob - gfax-dotnet.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/gfax.git] / gfax-dotnet.patch
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
4 @@ -541,8 +541,8 @@
5                 private int update_queue_status(string queue)
6                 {
7                         G_ListView view;
8 -                       Fax.FaxQueue q;
9 -                       Fax.FaxRecQueue rq;
10 +                       Fax.FaxQueue q = null;
11 +                       Fax.FaxRecQueue rq = null;
12                                                 
13                         view = lv;
14                                 
15 @@ -580,7 +580,7 @@
16                                         
17                                         Appbar.ClearStack();
18                                                 
19 -                                       if (q.Jobid != "") {
20 +                                       if (q != null && q.Jobid != "") {
21                                                 Appbar.Push(Catalog.GetString("There are " + reply.Count + " jobs in the queue"));
22                                                 Appbar.Refresh();
23                                                 ((Gtk.Window) gxml["Gfax"]).Title = "Gfax (" + reply.Count + ")";
24 @@ -596,7 +596,7 @@
25                                                 view.AddTextToRow(rq.Sender, rq.Status, rq.Pages, rq.TimeReceived, rq.Filename);
26                                         }
27                                         
28 -                                       if (rq.Sender != "") {
29 +                                       if (rq != null && rq.Sender != "") {
30                                                 Appbar.Push(Catalog.GetString("There are " + reply.Count + " jobs in the queue"));
31                                                 Appbar.Refresh();
32                                                 ((Gtk.Window) gxml["Gfax"]).Title = "Gfax (" + reply.Count + ")";
This page took 0.086743 seconds and 3 git commands to generate.