[Xfce4-commits] <eatmonkey:aria2-xml-rpc> Add .aria2 files to the file selection dialog
Mike Massonnet
noreply at xfce.org
Sat Feb 27 00:44:05 CET 2010
Updating branch refs/heads/aria2-xml-rpc
to 1b8498eac4160bb9cec2996221c3f61510bffd31 (commit)
from e17c172ea6ceb9f2afe4d406556f811ffe7b1f52 (commit)
commit 1b8498eac4160bb9cec2996221c3f61510bffd31
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Fri Feb 19 22:22:22 2010 +0100
Add .aria2 files to the file selection dialog
src/eatmanager.rb | 3 ++-
src/manager.ui | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/eatmanager.rb b/src/eatmanager.rb
index 3ffab02..ba15d46 100755
--- a/src/eatmanager.rb
+++ b/src/eatmanager.rb
@@ -137,9 +137,10 @@ class Eat::Manager
# Setup new download dialog
file_filter = builder["filefilter-new-download"]
- file_filter.name = "Torrents, Metalinks"
+ file_filter.name = "Torrents, Metalinks, aria2"
file_filter.add_pattern("*.torrent")
file_filter.add_pattern("*.metalink")
+ file_filter.add_pattern("*.aria2")
@file_select_file_dialog.filter = file_filter
@file_select_file.signal_connect('clicked') do
@file_select_file_dialog.unselect_all
diff --git a/src/manager.ui b/src/manager.ui
index b7bdb1b..ed952d0 100644
--- a/src/manager.ui
+++ b/src/manager.ui
@@ -1028,7 +1028,7 @@
</object>
<object class="GtkFileChooserDialog" id="filechooserdialog-new-download">
<property name="border_width">5</property>
- <property name="title" translatable="yes">Select a file - Torrents, Metalinks</property>
+ <property name="title" translatable="yes">Select a file - Torrents, Metalinks, or aria2 files</property>
<property name="window_position">center-on-parent</property>
<property name="destroy_with_parent">True</property>
<property name="icon_name">document-open</property>
More information about the Xfce4-commits
mailing list