6778 Commits

Author SHA1 Message Date
Calum Lind
5b2d37954c Add intltool to dependencies 2011-07-13 23:27:00 +01:00
Calum Lind
fcc13f454b Fix torrent file and folder renaming issues
Adds `sanitize_filepath` for use before passing to libtorrent rename_file
2011-07-13 22:44:13 +01:00
Calum Lind
15ef668fef Localize the Desktop file
Conflicts:

	setup.py
2011-07-13 21:49:25 +01:00
Calum Lind
bf145c0715 Option tab spin buttons connected to key press events 2011-07-11 17:23:42 +01:00
Calum Lind
192f3d88e5 set spinbuttons numeric only 2011-07-11 16:27:48 +01:00
Pedro Algarvio
d9cf3a8c08 Remove un-needed signal handlers. 2011-07-11 15:15:45 +01:00
Calum Lind
a41b1357b5 Update translations files 2011-07-11 14:27:08 +01:00
Pedro Algarvio
c3c21dae72 More missing(?) signal handlers. Refs #1891. 2011-07-10 23:24:10 +01:00
Pedro Algarvio
4daa7e2470 Fix the options tab. Refs #1891 2011-07-10 22:51:10 +01:00
Calum Lind
b301051cdd Fix #1637: UnicodeDecodeError from 'deluge-console --help' with other languages 2011-07-10 16:45:02 +01:00
Pedro Algarvio
456f660878 Add some more lost signal on the Glade to GtkBuild migration. 2011-07-10 02:58:46 +01:00
Calum Lind
f7ce07c68f Tidy up location of gettext setup_translations 2011-07-10 02:10:14 +01:00
Pedro Algarvio
9eb85cb6eb Fix lost signals for peers tab menu, files tab menu and options tab. 2011-07-10 02:05:20 +01:00
Calum Lind
40fd945f70 Fix translation string in Freespace plugin 2011-07-10 01:58:08 +01:00
Pedro Algarvio
78944f47f3 Allow compiling translations in develop mode.
Translations will compiled into `deluge/i18n` instead of the build lib so that they can be used in a deluge develop mode install.
2011-07-10 01:20:13 +01:00
Pedro Algarvio
acb747bfd5 Log from where translations are being loaded. 2011-07-10 00:43:56 +01:00
Pedro Algarvio
0c1055511d Raw attempt of fixing the GtkBuilder introduced bugs. 2011-07-10 00:43:01 +01:00
Calum Lind
f0c327a024 Fix #1505: Add libtorrent info to --version output 2011-07-09 23:19:57 +01:00
Calum Lind
b81159f295 Fix #1801: ConsoleUI failed connect missing error message 2011-07-09 22:11:13 +01:00
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