Commit Graph

6889 Commits

Author SHA1 Message Date
Pedro Algarvio 4420aae092 Late import GTK UI's ConnectionManager so that the translations code can be properly setup. 2011-06-05 22:48:17 +01:00
Pedro Algarvio ddc0957e3e Wrap non deluge exceptions so that they can also be sent to the client. 2011-06-05 22:44:01 +01:00
Pedro Algarvio 2f71ef4264 Work around plugins being garbage collected once enabled twice.
When a plugin is enabled, disabled and then enabled again, on that second enable, that instance is being garbage collected causing the loading of the plugin to fail. Work around that until we can narrow down why is this is happening on the second enable.
2011-06-05 22:28:37 +01:00
Calum Lind bc56b749ee Merge branch 'translate_updates' 2011-06-05 17:03:21 +01:00
Calum Lind 34c95a08a3 Fix translations texts in glade and python files 2011-06-05 17:02:33 +01:00
Calum Lind 9ae19e173f Remove page x from translatable in pref_diaog glade 2011-06-05 17:02:33 +01:00
Calum Lind 6672aaba1b Change translatable to No for gtk stock labels 2011-06-05 17:02:33 +01:00
Calum Lind 0712fc9dee Add gtk-* items to gettextize 2011-06-05 17:02:33 +01:00
Calum Lind 07dc9005f3 Update gettextize to ignore .git folder 2011-06-05 17:02:33 +01:00
Calum Lind 274a76ab3b Fix translate string in notifications plugin 2011-06-05 17:02:33 +01:00
Calum Lind 777993f74a Fix translated string in addtorrentdialog 2011-06-05 17:02:33 +01:00
Calum Lind d1037ae213 update create_potfiles_in to ignore plugins build dir 2011-06-05 17:02:33 +01:00
Pedro Algarvio 15e9f5f218 Add 2 more commands to setup.py
Two more commands were added to setup.py:
 * develop_plugins - Installs each of the plugins in development mode
 * egg_info_plugins - Create the '.egg-info' distribution directories for each plugin. This will make the plugin discoverable by deluge

Both these commands are intended to be used while developing deluge.
2011-06-05 16:58:27 +01:00
Pedro Algarvio 4aab110aaf Remove duplicate code. 2011-06-05 16:23:09 +01:00
Calum Lind 8933ac3123 Fix #1560 - FilesTab Progress value sorting by int instead of float 2011-06-05 13:23:23 +01:00
Calum Lind 2e896b520e Fix #1456 - No ETA showing with multiple files 2011-06-05 13:23:16 +01:00
Calum Lind 16d27b9657 Catch snd_path is None error in Notification Plugin 2011-06-04 23:24:39 +01:00
Calum Lind d3e8afdda1 Fix Extractor and Example plugin not starting 2011-06-04 22:56:36 +01:00
Calum Lind b86ba13376 Fix Feeder plugin name 2011-06-04 22:51:41 +01:00
Calum Lind f736576436 Fix Execute plugin not starting 2011-06-04 22:51:15 +01:00
Pedro Algarvio 9d1715405f Try to get some more debug info for plugins which are failing to load. 2011-06-04 19:25:53 +01:00
Pedro Algarvio ee0d757b0e Some more fixes for plugins not fetching data from the correct namespace. 2011-06-04 19:23:03 +01:00
Pedro Algarvio 32c95fac1e Fix the Label plugin to get resources from the namespace. 2011-06-04 19:19:01 +01:00
Pedro Algarvio df3214168c Cleaner fix for #1874, code clean up and reusability.
Translations are now setup on `deluge.common`. Where they used to be setup, a call to `setup_translations(setup_pygtk=False)` is now made.
Every call to `pkg_resources.resource_filename()` is now made through `deluge.common.resource_filename` to make sure that we're loading data from the right deluge install.
2011-06-04 18:06:45 +01:00
Pedro Algarvio 9e9261e6f8 Fix #1874.
While developing, if there's a second deluge package, installed globally and another in develop mode somewhere else, while pkg_resources.require("Deluge") returns the proper deluge instance, pkg_resources.resource_filename does not, it returns the first found on the python path, which is not good enough. Work around this issue.
2011-06-04 15:56:14 +01:00
Pedro Algarvio 087e94f6a1 Update all columns which use the "state" status field on the GTK UI TorrentView and not just the Progress column. 2011-06-04 10:43:24 +01:00
Pedro Algarvio abe0031c2b Trigger a deprecation warning for code calling "getPluginLogger".
Since the plugins namespace was merged into master, calling "logging.getLogger(__name__)" will result in a properly named logger for plugins which will allow logging filtering.
The previous workaround "getPluginLogger()", is now deprecated.
2011-06-04 09:02:53 +01:00
Pedro Algarvio 13db148a11 Now that the plugin's namespace is in use, make the plugins get their own logger instead of using `getPluginLogger()` 2011-06-03 23:10:43 +01:00
Andrew Resch 84c5078667 Merge branch 'master' of deluge-torrent.org:deluge 2011-06-03 14:55:34 -07:00
Andrew Resch cebdc89b18 Fix systemtray from stopping properly when appindicator is enabled 2011-06-03 14:53:41 -07:00
Pedro Algarvio 87e767d4c1 Merge branch 'master' into plugins-namespace 2011-06-03 17:48:22 +01:00
Calum Lind ce406674ec Update setuptools version in ez_setup 2011-06-02 21:50:38 +01:00
Andrew Resch ac5f9a2828 Fix up stopping classic mode 2011-06-02 11:55:26 -07:00
Andrew Resch 6d55c44983 Fix menubar component stopping properly 2011-06-02 11:54:53 -07:00
Andrew Resch 1557d0da1f Move the log level to the left of the module because this field is a fixed width and its easier to read this way 2011-06-02 11:53:54 -07:00
Andrew Resch 2f785216f6 Show errors when trying failing to properly stop a component 2011-06-02 11:53:34 -07:00
Pedro Algarvio 8f1730591b While clearing the search filter, restore from pre-filter if available. 2011-06-02 11:16:11 +01:00
Pedro Algarvio 9ec44894d4 Fix #1873. Re-add the files and peers tab menus. 2011-06-02 10:58:45 +01:00
Damien Churchill bb981127db spaces FTW 2011-06-01 20:29:38 +01:00
Andrew Resch a96aeed706 Fix #1869: Set the disk io read/write to bypass OS cache in Windows as suggested in http://code.google.com/p/libtorrent/issues/detail?id=166 2011-05-31 09:56:23 -07:00
Pedro Algarvio f14de6553a GTK UI search box grab_focus() on show. 2011-05-31 15:20:15 +01:00
Pedro Algarvio b521b3065b GTK UI search box pre-filter implementation.
Implement a pre-filter for the search-box which will filter the currently visible torrents while waiting for the filter request to sent to the demon. This will make the searches seem way faster :)
2011-05-31 14:36:05 +01:00
Pedro Algarvio ea438609bf GTK UI search by torrent name filter as a "toolbar".
Now, instead of permanently having a search box to filter the visible torrents by name, we now, mimic a toolbar just for that, mapped to CTRL-F. There's also a menu item in the "View" menu and a toolbar icon to toggle it. Implemented "Match Case" for the search.
2011-05-31 13:38:48 +01:00
Calum Lind 0ba51d0e51 Fix peers tab flagsos.path.join 2011-05-30 22:14:36 +01:00
Calum Lind 53370e4639 Fix peers tab flags missing 2011-05-30 21:33:17 +01:00
Calum Lind c70c8ea45d Add check to key_press_event for keyname returning None 2011-05-30 18:18:27 +01:00
Justin Noah 937b53b355 pixmaps and icons moved to ui/data, all necessary references changed. 2011-05-30 17:57:39 +01:00
Andrew Resch 27cd89c4ad Remove setting the resume_data key to '' in the add_torrent_params as this causes libtorrent 0.16 to crash 2011-05-29 18:09:04 -07:00
Pedro Algarvio c4dbf017a5 Merge branch 'master' into pieces-progress-bar
Conflicts:
	deluge/ui/gtkui/glade/main_window.glade
2011-05-29 20:00:25 +01:00
Pedro Algarvio ec74f9aae3 Merge branch 'gtkui-search-by-name' 2011-05-29 19:21:12 +01:00