diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-05-11 09:21:11 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-05-11 09:21:11 +0000 |
commit | 665e231ceb850f86ceedf80cdb6d13cca52671bf (patch) | |
tree | 0e199da108f72aac5a5b5ce4090b1a86db0d3389 /src/trg-main-window.c | |
parent | b0ede16ee68023844bd7633e5ebdc7a134225b07 (diff) |
put the destination combo into its own class, changing from the deprecated combo_box_entry_new_text or whatever it is and using it in torrent move dialog also.
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r-- | src/trg-main-window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c index 39553fd..2975614 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -262,8 +262,7 @@ static void update_selected_torrent_notebook(TrgMainWindow * win, JsonObject *t; GtkTreeIter iter; - if (id >= 0 - && get_torrent_data(client->torrentTable, id, &t, &iter)) { + if (id >= 0 && get_torrent_data(client->torrentTable, id, &t, &iter)) { trg_toolbar_torrent_actions_sensitive(priv->toolBar, TRUE); trg_menu_bar_torrent_actions_sensitive(priv->menuBar, TRUE); trg_general_panel_update(priv->genDetails, t, &iter); |