Commit Graph

6759 Commits

Author SHA1 Message Date
Calum Lind ca86aa5714 Fixes keyerror with existing file priorities set to High 2011-07-08 23:34:02 +01:00
Calum Lind fc7fa94319 Add handler for drag_data_received to supress warning 2011-07-08 23:23:03 +01:00
Pedro Algarvio c6ee8cf39d Do not use Ellipsis. 2011-07-08 10:03:04 +01:00
Pedro Algarvio bd7bbc4e33 Add some "now needed" missing imports. 2011-07-08 04:07:04 +01:00
Pedro Algarvio 312a57aa50 Remove some left overs. 2011-07-08 00:39:48 +01:00
Pedro Algarvio f87ed6d5a6 Moved the MainWindow to GtkBuilder.
This probably broke some behaviour because converting and splitting from libglade to GtkBuilder is not as perfect as it should be. What I noticed was fixed.
Also, GtkBuilder only allow calling `connect_signals()` once. Some code had to change to handle this and a "handlers proxy class" was created to keep the behaviour we had, ie, connect signals from where it was needed. Then I monkey patch the main windows GtkBuilder to not allow anyone to connect signals through it since it would break behaviour. Connecting signals to the main window builder instance is now done like `component.get("MainWindow").connect_signals()`. The best solution will probably break the main window ui into the needed parts in order to not have to monkey patch main windows builder.
Plugin's trying to get the main windows `main_glade` are now broken, on purpose, ie, the code they have needs to change since the calls to the builder are not the same as the calls to libglade. The plugins we ship with deluge will be fix as soon as possible.
2011-07-07 20:48:02 +01:00
Pedro Algarvio 4234311050 Start with a bigger width. 2011-07-07 20:48:02 +01:00
Pedro Algarvio a47da57c0d Make sure the tracker url is of type string and not unicode. Never had this issue previously though. 2011-07-07 20:48:02 +01:00
Calum Lind 13528fe7f8 Fix httpdownloader Tests 2011-07-07 01:22:51 +01:00
Calum Lind 99358dcbb0 Fix httpdownloader error with existing filename 2011-07-07 00:11:00 +01:00
Calum Lind 16cc8f6eea LP Bug #496265: Peers in PeersTab show non-zero download rate when seeding 2011-07-07 00:11:00 +01:00
Pedro Algarvio a384cd70b3 Moved system tray to GtkBuilder. 2011-07-06 22:20:15 +01:00
Pedro Algarvio 0e00aa479b Moved queued torrents dialog to GtkBuilder. 2011-07-06 22:14:20 +01:00
Pedro Algarvio 807bc095b4 Moved remove torrent dialog to GtkBuilder. 2011-07-06 21:10:24 +01:00
Pedro Algarvio 5a81ab3c35 Moved the preferences dialog to GtkBuilder. 2011-07-06 20:56:58 +01:00
Pedro Algarvio bad228645c The Stats plugin should not be using the old logging system. 2011-07-06 20:56:08 +01:00
Pedro Algarvio e016b2106f Fix some broken GtkBuilder files. 2011-07-06 20:03:32 +01:00
Pedro Algarvio f63f247ac5 Forgot to rename a glade from when migrating it to GtkBuilder. 2011-07-06 19:31:47 +01:00
Pedro Algarvio 0228af6b50 Add some missing `.ui` files. 2011-07-06 19:30:01 +01:00
Pedro Algarvio 90fb40b741 Moved the menubar to GtkBuilder. 2011-07-06 19:29:27 +01:00
Pedro Algarvio 367631c9aa Migrated `filtertree_menu.glade` to GtkBuilder. 2011-07-06 19:17:44 +01:00
Calum Lind b36d62be9b Fix #1263: GTK UI not remembering column width
Removing a column from the treeview on shutdown causes all the
column widths to be zero which are saved to the state file.

The workaround is to not save the state file if all columns are zero.
2011-07-06 19:16:31 +01:00
Pedro Algarvio b4cc1d4358 Splited `dgtkpopups.glade` into `other_dialog.ui` and `connect_peer_dialog.ui` which are now using GtkBuilder. 2011-07-06 19:09:25 +01:00
Pedro Algarvio 39ad5a3596 Moved edit trackers dialog to GtkBuilder. Min PyGTK version is now 2.16. 2011-07-06 18:54:40 +01:00
Pedro Algarvio dbad4684db Create torrent remotely progress information.
Support progress information when creating torrents remotely. For this to be possible, a method was added to the `RPCServer`, `emit_event_for_session_id()`, which does exactly what is says. This is needed because the event created, `CreateTorrentProgressEvent` needs to be addressed to a single session id, not all session ids interested in that event.
Fixed a bug that apparently was not found yet. When creating torrents locally, we defer that task to a thread. Since this thread updates UI widgets, namely the progress bar info and since we can't guarantee that it's the main thread, updating the widgets must be done by calling `gobject.iddle_add()`.
2011-07-06 16:45:02 +01:00
Pedro Algarvio 12d0e9574b Migrated create torrent dialog to GtkBuilder.
Additionally creating a torrent and saving it on a remote path now mimics the behaviour on doing it locally. Need to evaluate to see if it's possible to also show a progress when doing this remotely as now, the progress is only seen when doing it locally.
2011-07-06 12:45:50 +01:00
Pedro Algarvio dd50b7bea1 Include `deluge/ui/gtkui/glade/*.ui` data files in `setup.py`. 2011-07-06 12:33:44 +01:00
Pedro Algarvio 4dc4049851 Migrated the connection manager to GtkBuilder. 2011-07-06 11:33:31 +01:00
Pedro Algarvio 27a6e398ee Migrated the "add torrent dialog" to gtkbuilder. 2011-07-06 11:17:13 +01:00
Pedro Algarvio 7035b1f166 Specify the plugin's name on logging calls. 2011-07-06 11:10:46 +01:00
Calum Lind a701fddbe8 Fix #948: New Release Dialog does not show server version 2011-07-05 19:49:53 +01:00
Pedro Algarvio b512a664c6 Properly set/restore visibility when torrent is/is not "compact". 2011-07-05 15:46:36 +01:00
Pedro Algarvio 5bffa3757d Don't default to "localclient" as owner unconditionally.
Only set "localclient" as a last resort, first try to find out who is logged in.
2011-07-05 15:29:51 +01:00
Pedro Algarvio 8b6d6e3836 Fix broken `SessionProxy` tests. 2011-07-05 09:29:12 +01:00
John Garland 37b9277c0e Update ubuntu tracker icon test 2011-07-05 18:00:06 +10:00
John Garland cf891125e6 Only deregister component if registry still exists 2011-07-05 17:58:18 +10:00
Calum Lind f75ec9d484 Fix translation of KiB/s 2011-07-04 21:39:08 +01:00
Calum Lind 9a1ae06033 Fix #1239: Translated Tracker Error text not counted in sidebar Error status 2011-07-04 21:29:58 +01:00
Calum Lind 55f456d851 Fix up/down speed labels in status tab 2011-07-02 19:14:26 +01:00
Calum Lind c346687510 Fix #1715: AddTorrentsDialog does not display filename changes when switching between torrents 2011-07-02 19:14:26 +01:00
Calum Lind 08ee3d8f69 Fix #1582: Wrong path separator returned when moving storage in Windows 2011-07-02 19:14:18 +01:00
Calum Lind 795f633bc4 Fix #491: Add auto_manage_prefer_seeds to prefs manager and UIs 2011-07-02 18:44:26 +01:00
Calum Lind b6596a27bc Add 'Last Seen Complete' to GTK and WebUI Status Tabs 2011-07-02 15:50:04 +01:00
Calum Lind b7fd2d1bf1 Fix #1338 Seeds and Peers totals not updating 2011-07-01 02:40:40 +01:00
Calum Lind 0f625943c0 Fix #1477: Execute Plugin should ignore Added events from state file on startup 2011-06-30 19:24:38 +01:00
Calum Lind 420447e386 Fix #1232: Improve display of Peers Tab IPv6 addresses 2011-06-30 18:02:06 +01:00
Calum Lind a79520e3ee Fix append trackers error occuring with magnet uris 2011-06-30 17:30:46 +01:00
Calum Lind 8ae26c368e Add #890: If added torrent already exists, append extra trackers to it 2011-06-28 01:34:58 +01:00
Calum Lind 981ad6d7d2 Fix #1246: Losing Labels upon restart 2011-06-27 22:53:47 +01:00
Calum Lind 3b5e70580e Fix from_state in TorrentAddedEvent 2011-06-27 22:50:47 +01:00