[gnome-dvb-daemon] Changed order of columns in RecordingsView
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon] Changed order of columns in RecordingsView
- Date: Sun, 11 Sep 2011 13:12:32 +0000 (UTC)
commit 3e97d0e0b51146ecb3fd595c9ab5d7795b6594c0
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date: Sun Sep 11 12:26:23 2011 +0200
Changed order of columns in RecordingsView
client/gnomedvb/ui/widgets/RecordingsView.py | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/client/gnomedvb/ui/widgets/RecordingsView.py b/client/gnomedvb/ui/widgets/RecordingsView.py
index ff42d6e..0b2d854 100644
--- a/client/gnomedvb/ui/widgets/RecordingsView.py
+++ b/client/gnomedvb/ui/widgets/RecordingsView.py
@@ -31,16 +31,17 @@ class RecordingsView(Gtk.TreeView):
if model != None:
self.set_model(model)
- cell = CellRendererDatetime()
- col = Gtk.TreeViewColumn(_("Start"), cell,
- datetime=RecordingsStore.COL_START)
- self.append_column(col)
- self._append_text_column(_("Channel"), RecordingsStore.COL_CHANNEL)
self._append_text_column(_("Title"), RecordingsStore.COL_NAME)
+ self._append_text_column(_("Channel"), RecordingsStore.COL_CHANNEL)
col_length, cell_length = self._append_text_column(_("Length"),
RecordingsStore.COL_DURATION)
col_length.set_cell_data_func(cell_length, self._get_length_data, None)
+
+ cell = CellRendererDatetime()
+ col = Gtk.TreeViewColumn(_("Start"), cell,
+ datetime=RecordingsStore.COL_START)
+ self.append_column(col)
def _append_text_column(self, title, col_index):
cell = Gtk.CellRendererText()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]