diff options
author | Martin Szulecki | 2009-03-20 11:00:59 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-03-20 11:00:59 +0100 |
commit | 2f09cc7cd6c86ece05864055eca4ddfd78c03179 (patch) | |
tree | 0f313ff11a4cbc7b0161c643bd6dc13b45ff3bea /src/gui.cs | |
parent | 4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c (diff) | |
download | gfax-master.tar.gz gfax-master.tar.bz2 |
Diffstat (limited to 'src/gui.cs')
-rwxr-xr-x | src/gui.cs | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -225,6 +225,9 @@ Please login as the root user and create the " typeof (string), typeof (DateTime), typeof (string)); + + // Default to sorting by job id + StatusStore.SetSortColumnId(1, SortType.Descending); RecvStore = new ListStore( typeof (Gdk.Pixbuf), @@ -234,6 +237,9 @@ Please login as the root user and create the " typeof (DateTime), typeof (string)); + // Default to sorting by arrival date + RecvStore.SetSortColumnId(4, SortType.Descending); + lv = new G_ListView(StatusList, StatusStore); lv.AddColumnIcon(Gtk.Stock.Info, 0); @@ -263,7 +269,7 @@ Please login as the root user and create the " jobsReceivedView.AddColumnTitle(Catalog.GetString("Sender"), 1, 1); jobsReceivedView.AddColumnTitle(Catalog.GetString("Status"), 2, 2); jobsReceivedView.AddColumnTitle(Catalog.GetString("Pages "), 3, 3); - jobsReceivedView.AddColumnDateTime(Catalog.GetString("Arrived"), "d", 4, 4); + jobsReceivedView.AddColumnDateTime(Catalog.GetString("Arrived"), "G", 4, 4); jobsReceivedView.AddColumnTitle(Catalog.GetString("Filename"), 5, 5); StatusList.Selection.Changed += @@ -1021,7 +1027,7 @@ Please check your settings or contact your system Administrator")); } } else { //receive queue while ( enu.MoveNext() ) { - rq = (Fax.FaxRecQueue)enu.Current; + rq = (Fax.FaxRecQueue)enu.Current; view.AddTextToRow(GetFaxStatusIcon(rq.StatusType), rq.Sender, rq.Status, rq.Pages, rq.TimeReceived, rq.Filename); } |