summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-05-18 16:26:26 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-05-18 16:26:26 +0000
commitb7f1cfdbbf1d09ffde1ccef00f4af25223622710 (patch)
tree3c8700c357bb7664fdc07edcc691828c65c532b5
parent9868d7a87fefd5bc9006fb3359db2171f493d243 (diff)
downloaddeluge-b7f1cfdbbf1d09ffde1ccef00f4af25223622710.tar.gz
deluge-b7f1cfdbbf1d09ffde1ccef00f4af25223622710.tar.bz2
deluge-b7f1cfdbbf1d09ffde1ccef00f4af25223622710.zip
Set some sane defaults for peers/file tabs column widths
-rw-r--r--ChangeLog1
-rw-r--r--deluge/ui/gtkui/files_tab.py11
-rw-r--r--deluge/ui/gtkui/peers_tab.py15
3 files changed, 11 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index f66f68df1..e2db40172 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
* Fix showing non-utf8 encoded torrents in add torrent dialog -- this adds
an additional dependency on chardet.
* Fix exception when timing out trying to send notification email
+ * Set some sane defaults for peers/file tabs column widths
==== WebUI ====
* Fix starting when -l option is used
diff --git a/deluge/ui/gtkui/files_tab.py b/deluge/ui/gtkui/files_tab.py
index e2185d111..28b224014 100644
--- a/deluge/ui/gtkui/files_tab.py
+++ b/deluge/ui/gtkui/files_tab.py
@@ -32,9 +32,6 @@
# statement from all source files in the program, then also delete it here.
#
-#
-
-
import gtk, gtk.glade
import gobject
import gettext
@@ -122,7 +119,7 @@ class FilesTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(200)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -135,7 +132,7 @@ class FilesTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(50)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -148,7 +145,7 @@ class FilesTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(100)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -164,7 +161,7 @@ class FilesTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(100)
column.set_reorderable(True)
self.listview.append_column(column)
diff --git a/deluge/ui/gtkui/peers_tab.py b/deluge/ui/gtkui/peers_tab.py
index cd07e978c..2baf7b354 100644
--- a/deluge/ui/gtkui/peers_tab.py
+++ b/deluge/ui/gtkui/peers_tab.py
@@ -32,9 +32,6 @@
# statement from all source files in the program, then also delete it here.
#
-#
-
-
import gtk, gtk.glade
import os.path
import cPickle
@@ -91,7 +88,7 @@ class PeersTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(20)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -107,7 +104,7 @@ class PeersTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(100)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -120,7 +117,7 @@ class PeersTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(100)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -133,7 +130,7 @@ class PeersTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(100)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -146,7 +143,7 @@ class PeersTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(50)
column.set_reorderable(True)
self.listview.append_column(column)
@@ -159,7 +156,7 @@ class PeersTab(Tab):
column.set_clickable(True)
column.set_resizable(True)
column.set_expand(False)
- column.set_min_width(10)
+ column.set_min_width(50)
column.set_reorderable(True)
self.listview.append_column(column)