SF.net SVN: geany:[3396] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Wed Dec 17 16:28:36 UTC 2008


Revision: 3396
          http://geany.svn.sourceforge.net/geany/?rev=3396&view=rev
Author:   eht16
Date:     2008-12-17 16:28:36 +0000 (Wed, 17 Dec 2008)

Log Message:
-----------
When allowing non-local locations in the File Open dialog, we should do this in the File Save dialog as well.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/dialogs.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-12-17 16:17:11 UTC (rev 3395)
+++ trunk/ChangeLog	2008-12-17 16:28:36 UTC (rev 3396)
@@ -23,6 +23,9 @@
  * geany.glade, src/interface.c:
    Re-add can_focus flag to the notebook widgets in the preferences
    dialog to make keyboard navigation easier (closes #2417200).
+ * src/dialogs.c:
+   When allowing non-local locations in the File Open dialog, we should
+   do this in the File Save dialog as well.
 
 
 2008-12-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/dialogs.c
===================================================================
--- trunk/src/dialogs.c	2008-12-17 16:17:11 UTC (rev 3395)
+++ trunk/src/dialogs.c	2008-12-17 16:28:36 UTC (rev 3396)
@@ -498,6 +498,9 @@
 	gtk_box_pack_start(GTK_BOX(vbox), check_open_new_tab, FALSE, FALSE, 0);
 	gtk_widget_show_all(vbox);
 	gtk_file_chooser_set_extra_widget(GTK_FILE_CHOOSER(ui_widgets.save_filesel), vbox);
+#if GTK_CHECK_VERSION(2, 14, 0)
+	gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(ui_widgets.save_filesel), FALSE);
+#endif
 
 	g_signal_connect(check_open_new_tab, "toggled",
 				G_CALLBACK(on_save_as_new_tab_toggled), rename_btn);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list