Lines Matching refs:gtr_action_set_sensitive
245 gtr_action_set_sensitive( "select-all", torrent_count != 0 );
246 gtr_action_set_sensitive( "deselect-all", torrent_count != 0 );
247 gtr_action_set_sensitive( "pause-all-torrents", active != 0 );
248 gtr_action_set_sensitive( "start-all-torrents", active != total );
250 gtr_action_set_sensitive( "torrent-stop", ( sel_counts.stopped_count < sel_counts.total_count ) );
251 gtr_action_set_sensitive( "torrent-start", ( sel_counts.stopped_count ) > 0 );
252 gtr_action_set_sensitive( "torrent-start-now", ( sel_counts.stopped_count + sel_counts.queued_count ) > 0 );
253 gtr_action_set_sensitive( "torrent-verify", has_selection );
254 gtr_action_set_sensitive( "remove-torrent", has_selection );
255 gtr_action_set_sensitive( "delete-torrent", has_selection );
256 gtr_action_set_sensitive( "relocate-torrent", has_selection );
257 gtr_action_set_sensitive( "queue-move-top", has_selection );
258 gtr_action_set_sensitive( "queue-move-up", has_selection );
259 gtr_action_set_sensitive( "queue-move-down", has_selection );
260 gtr_action_set_sensitive( "queue-move-bottom", has_selection );
261 gtr_action_set_sensitive( "show-torrent-properties", has_selection );
262 gtr_action_set_sensitive( "open-torrent-folder", sel_counts.total_count == 1 );
263 gtr_action_set_sensitive( "copy-magnet-link-to-clipboard", sel_counts.total_count == 1 );
267 gtr_action_set_sensitive( "torrent-reannounce", canUpdate != 0 );