aboutsummaryrefslogtreecommitdiff
path: root/contrib/gnunet_fs_gtk_download_as_dialog.glade
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2012-12-20 08:11:59 +0000
committerLRN <lrn1986@gmail.com>2012-12-20 08:11:59 +0000
commit2159c6ec96392bbde5f0749747eba109cc56861a (patch)
tree71384a7269824026723c84764b0080bee7693166 /contrib/gnunet_fs_gtk_download_as_dialog.glade
parent52e002de9a56d56439ce37d57bad766264f41a10 (diff)
downloadgnunet-gtk-2159c6ec96392bbde5f0749747eba109cc56861a.tar.gz
gnunet-gtk-2159c6ec96392bbde5f0749747eba109cc56861a.zip
Finish fixing #2621
Ask for overwrite confirmation in SaveAs dialog. Add a filenamechange button ("...") next to DownloadAs entry. This button calls the SaveAs dialog, but without anonymity and recursiveness widgets (they are hidden), and it does not initiate the download, just changes the names in download panel. Add vsize group for download panel widgets, they all have the same height now. SaveAs dialog, "Download" and "Download recursively" context menu items now use the same code that "Download!" button uses (start_download2, etc). Old code that they used to need is now removed. Note that this _requires_ selection to follow context menu (right-clicking on a search result MUST select that search result before popping up context menu). Fixed small bugs in get_suggested_filename_anonymity2 (proper initialization for anonymity and result). GNUNET_FS_GTK_open_change_download_name_dialog() can be used to change download name from other files (it's public, unlike direct operations on treestore). Fixed some comments. Currently selected search result is now remembered in current_selected_search_result variable. It is checked on every item update, and if selection did not change, then download panel is not re-populated (re-population would have destroyed any user changes to download panel contents; item updates are made several times per second). Don't trigger GNUNET_FS_GTK_search_treeview_cursor_changed when updated item is not currently selected. Omit the "Download recursively" context menu item for search results that are known to not to be directories.
Diffstat (limited to 'contrib/gnunet_fs_gtk_download_as_dialog.glade')
-rw-r--r--contrib/gnunet_fs_gtk_download_as_dialog.glade3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gnunet_fs_gtk_download_as_dialog.glade b/contrib/gnunet_fs_gtk_download_as_dialog.glade
index 31587f41..2fa82b48 100644
--- a/contrib/gnunet_fs_gtk_download_as_dialog.glade
+++ b/contrib/gnunet_fs_gtk_download_as_dialog.glade
@@ -19,6 +19,7 @@
19 <property name="type_hint">dialog</property> 19 <property name="type_hint">dialog</property>
20 <property name="action">save</property> 20 <property name="action">save</property>
21 <property name="use_preview_label">False</property> 21 <property name="use_preview_label">False</property>
22 <property name="do_overwrite_confirmation">True</property>
22 <property name="preview_widget_active">False</property> 23 <property name="preview_widget_active">False</property>
23 <signal name="response" handler="GNUNET_GTK_save_as_dialog_response_cb"/> 24 <signal name="response" handler="GNUNET_GTK_save_as_dialog_response_cb"/>
24 <signal name="delete_event" handler="GNUNET_GTK_save_as_dialog_delete_event_cb"/> 25 <signal name="delete_event" handler="GNUNET_GTK_save_as_dialog_delete_event_cb"/>
@@ -28,7 +29,7 @@
28 <property name="orientation">vertical</property> 29 <property name="orientation">vertical</property>
29 <property name="spacing">2</property> 30 <property name="spacing">2</property>
30 <child> 31 <child>
31 <object class="GtkHBox" id="hbox2"> 32 <object class="GtkHBox" id="GNUNET_GTK_save_as_dialog_options_hbox">
32 <property name="visible">True</property> 33 <property name="visible">True</property>
33 <child> 34 <child>
34 <object class="GtkLabel" id="GNUNET_GTK_save_as_dialog_anonymity_label"> 35 <object class="GtkLabel" id="GNUNET_GTK_save_as_dialog_anonymity_label">