summaryrefslogtreecommitdiffstats
path: root/src/gui.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.cs')
-rwxr-xr-xsrc/gui.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui.cs b/src/gui.cs
index 5a4f64a..e780c4f 100755
--- a/src/gui.cs
+++ b/src/gui.cs
@@ -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);
}