From 7e484ec1a2d244b5201f3161ecde68a5d9ddf386 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 9 Dec 2011 16:53:06 +0000 Subject: get rid of default tree view widths.. not really needed now that they're persistent, and they make the tree view look messy on first run. --- AUTHORS | 1 + ChangeLog | 12 ++++++++++++ src/transmission-remote-gtk.desktop.in | 4 ++-- src/trg-files-tree-view.c | 1 - src/trg-torrent-tree-view.c | 1 - src/trg-tree-view.c | 5 +---- src/trg-tree-view.h | 1 - 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/AUTHORS b/AUTHORS index d2f39c1..829278c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,3 +15,4 @@ translations kindly contributed by * Piotr (Polish) * Y3AVD (Russian) * ROR191 (Ukranian) + * aspidzent (Spanish) diff --git a/ChangeLog b/ChangeLog index 31ef3eb..017d907 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +* Fri Dec 09 2011 0.8 +- Define labels for directories. +- Use labels in filters. +- Use labels in destination combo box (add/move). +- Shorten filters relative to the default download directory. +- Fix a crash when filtering with selections in the torrent treeview. +- Allow remote session variables to be used in actions. +- Update filters if torrent is moved. +- Add a man page. +- A preferences scope for current connection (as well as selected profile). +- Rename "remote commands" feature to "actions". + * Tue Oct 11 2011 0.7 - Remote exec. - Win32 Support. diff --git a/src/transmission-remote-gtk.desktop.in b/src/transmission-remote-gtk.desktop.in index c518695..ffec871 100644 --- a/src/transmission-remote-gtk.desktop.in +++ b/src/transmission-remote-gtk.desktop.in @@ -1,7 +1,7 @@ [Desktop Entry] Name=transmission-remote-gtk -GenericName=Remote BitTorrent Client -X-GNOME-FullName=Transmission BitTorrent Remote Control +GenericName=Transmission Remote +X-GNOME-FullName=Transmission Remote Comment=Remotely control Transmission BitTorrent client Exec=@bindir@/transmission-remote-gtk %F Icon=transmission-remote-gtk diff --git a/src/trg-files-tree-view.c b/src/trg-files-tree-view.c index 9d63920..4a1cff6 100644 --- a/src/trg-files-tree-view.c +++ b/src/trg-files-tree-view.c @@ -289,7 +289,6 @@ static void trg_files_tree_view_init(TrgFilesTreeView * self) trg_tree_view_reg_column(ttv, TRG_COLTYPE_GICONTEXT, FILESCOL_NAME, _("Name"), "name", 0); desc->model_column_icon = FILESCOL_ICON; - desc->defaultWidth = 500; trg_tree_view_reg_column(ttv, TRG_COLTYPE_SIZE, FILESCOL_SIZE, _("Size"), "size", 0); diff --git a/src/trg-torrent-tree-view.c b/src/trg-torrent-tree-view.c index c03b664..cbf20a0 100644 --- a/src/trg-torrent-tree-view.c +++ b/src/trg-torrent-tree-view.c @@ -44,7 +44,6 @@ static void trg_torrent_tree_view_init(TrgTorrentTreeView * tttv) TORRENT_COLUMN_NAME, _("Name"), "name", 0); desc->model_column_icon = TORRENT_COLUMN_ICON; - desc->defaultWidth = 250; trg_tree_view_reg_column(ttv, TRG_COLTYPE_SIZE, TORRENT_COLUMN_SIZE, _("Size"), "size", 0); diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c index 4f091ea..f4dae36 100644 --- a/src/trg-tree-view.c +++ b/src/trg-tree-view.c @@ -327,10 +327,7 @@ static void trg_tree_view_add_column_after(TrgTreeView * tv, gtk_tree_view_column_set_reorderable(column, TRUE); gtk_tree_view_column_set_sort_column_id(column, desc->model_column); - if (width < 0 && desc->defaultWidth > 0) { - gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); - gtk_tree_view_column_set_fixed_width(column, desc->defaultWidth); - } else if (width > 0) { + if (width >= 0) { gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_fixed_width(column, width); } diff --git a/src/trg-tree-view.h b/src/trg-tree-view.h index d82ad54..55db8dd 100644 --- a/src/trg-tree-view.h +++ b/src/trg-tree-view.h @@ -72,7 +72,6 @@ typedef struct { gchar *header; gchar *id; gint flags; - gint defaultWidth; gint type; GtkCellRenderer *customRenderer; GtkTreeViewColumn **out; -- cgit v1.2.3