Commit Graph

382 Commits

Author SHA1 Message Date
Martijn Voncken 3807b372ff async status-bar + pause/resume 2008-01-21 19:31:36 +00:00
Martijn Voncken c9a5caa3ec test perf improvement of multicall 2008-01-21 18:28:09 +00:00
Martijn Voncken 217d7eaa90 sync-wrapper for new async client 2008-01-21 17:57:38 +00:00
Andrew Resch 762f8a52af Fix preferences when not connected to daemon. 2008-01-21 10:02:30 +00:00
Andrew Resch a461074da2 Catch signals and KeyboardInterrupt and shutdown properly in GtkUI. 2008-01-21 09:54:03 +00:00
Andrew Resch b950d28781 Handle setting the revision in a different way. 2008-01-21 09:25:21 +00:00
Andrew Resch 0b807e8945 Fix errors on quit. 2008-01-21 09:13:36 +00:00
Marcos Pinto 72ea2d0632 catch index error 2008-01-21 07:58:16 +00:00
Andrew Resch f08fcc68d3 Only call a callback once for a specific method. 2008-01-21 06:37:30 +00:00
Andrew Resch 2a637c0b12 Fix preferences when clicking Apply or Ok.
Add revision number to about dialog.
2008-01-21 06:03:38 +00:00
Andrew Resch f16092400d Change get_version() to only return version number, not revision.
Added get_revision() to get svn revision number of build.
2008-01-21 05:56:45 +00:00
Andrew Resch fdb07b4929 Try to include svn revision number in version if available. 2008-01-21 03:14:24 +00:00
Andrew Resch 1c9c765cb1 Change update intervals of several components.
Have StatusBar update the respected label when it receives a 
'config_value_changed' signal.
2008-01-21 01:58:19 +00:00
Andrew Resch f9d25287ea Change Component to use individual timers for the components. This
allows for different update intervals for the components.
2008-01-21 01:57:25 +00:00
Andrew Resch 799037a46b Improve performance by only updating labels that have changed. 2008-01-21 01:13:56 +00:00
Andrew Resch bcd2bcd2d4 SignalReceiver now chooses a random port to listen on. 2008-01-20 23:47:57 +00:00
Andrew Resch 80514ad829 Fix last commit.
Use 'config_value_changed' signal from core to get config value updates 
instead of polling every update for StatusBar and SystemTray.
2008-01-20 21:37:11 +00:00
Andrew Resch f0b6833d17 Reduce the amount of calls in the MultiCall batch by removing
duplicates.  Increase the MultiCall timer to 200ms.
2008-01-20 19:11:36 +00:00
Marcos Pinto 3e2631213c log pygtk.require warning 2008-01-20 03:13:09 +00:00
Marcos Pinto 0b2dcd5dc2 i need to stop smoking weed 2008-01-20 03:00:11 +00:00
Marcos Pinto bb86fefe66 try/else pass for pygtk.require 2008-01-20 02:58:41 +00:00
Andrew Resch d965adff82 Disconnect from Gnome session during shutdown. 2008-01-20 02:49:25 +00:00
Andrew Resch 5d1dbc98e5 Give the Queue plugin some love. 2008-01-20 02:37:26 +00:00
Andrew Resch 6485986294 Silence xmlrpclib about int exceeding XML-RPC limits. 2008-01-20 02:00:42 +00:00
Andrew Resch 23840ce390 Destroy AddTorrentDialog window after clicking 'Add'. 2008-01-20 01:55:17 +00:00
Andrew Resch f327290e33 Fix preferences for removed preference. 2008-01-20 01:52:27 +00:00
Andrew Resch 28a4883a72 Fix signals. 2008-01-20 01:00:39 +00:00
Marcos Pinto df29d7d69a lt sync 1958 2008-01-20 00:59:49 +00:00
Andrew Resch 76a0eb12e8 Do not make Core a thread anymore as it is not needed. 2008-01-20 00:56:42 +00:00
Marcos Pinto f042bf0dda use die in signal 2008-01-20 00:46:52 +00:00
Marcos Pinto 77a63c791c fix finally call for 2.4 compatibility 2008-01-20 00:40:12 +00:00
Marcos Pinto bf26a9ef50 import signal and fix shutdown call 2008-01-20 00:38:36 +00:00
Marcos Pinto e5f9a313c2 fix missing icon 2008-01-20 00:30:43 +00:00
Marcos Pinto 071a0cdbaa fix path oops in last 2008-01-20 00:11:50 +00:00
Marcos Pinto 3a102189cf add missing pixmap 2008-01-19 23:58:03 +00:00
Andrew Resch 0e5c81c2e0 Handle losing contact with the daemon gracefully. 2008-01-19 23:33:09 +00:00
Andrew Resch 42b5f6872c Fix labels. 2008-01-19 23:11:12 +00:00
Andrew Resch 0f7a91797f Remove 'Clear Seeders' tool button. Remove 'Add URL' menu item. Modify
the Preferences dialog a bit.
2008-01-19 23:05:55 +00:00
Andrew Resch 1fa301cb69 Change client.py to use multicalls. This forces all client methods to
be async.
2008-01-19 22:33:30 +00:00
Andrew Resch 29c77e1a04 Hack xmlrpclib to stop from dieing with long numbers. 2008-01-19 16:48:45 +00:00
Andrew Resch 7e03f82d73 Import proper xmlrpclib. 2008-01-19 16:47:46 +00:00
Martijn Voncken b73dd60e6b minor css fix+pwd-cfg 2008-01-17 20:09:05 +00:00
Andrew Resch 89af88e370 Refactor TorrentView to have async returns populate a local status
dictionary.  We now update every second against the local status 
dictionary instead of updating on every async return.
2008-01-16 06:42:43 +00:00
Andrew Resch 1e5af9bd87 Use threading in ConnectionManager to test online status of hosts. 2008-01-16 06:40:58 +00:00
Martijn Voncken 966b2fa459 config plugins:raise todo 2008-01-16 00:00:21 +00:00
Martijn Voncken 350cad9f3f config plugins 2008-01-15 23:44:30 +00:00
Martijn Voncken 03c9806b40 config pages 2008-01-15 21:04:49 +00:00
Martijn Voncken 20cce5aa68 don't commit *.pyc files 2008-01-14 22:14:14 +00:00
Martijn Voncken c71d4f3258 config within webui, see /config/ for a preview 2008-01-14 22:13:32 +00:00
Andrew Resch 8ae26b049c Fix SystemTray on systems with old PyGTK. 2008-01-14 12:02:53 +00:00