diff dynamin/gui/x_folder_dialog.d @ 106:acdbb30fee7e

Port to D2. Most of the effort was dealing with immutable and const.
author Jordan Miner <jminer7@gmail.com>
date Mon, 17 Dec 2012 23:41:50 -0600
parents 73060bc3f004
children
line wrap: on
line diff
--- a/dynamin/gui/x_folder_dialog.d	Sat Nov 24 10:21:50 2012 -0600
+++ b/dynamin/gui/x_folder_dialog.d	Mon Dec 17 23:41:50 2012 -0600
@@ -16,7 +16,7 @@
 
 template FolderDialogBackend() {
 	DialogResult backend_showDialog() {
-		string title = text ? text : "Select Folder";
+		mstring title = text ? text : "Select Folder";
 		auto dialog = gtk_file_chooser_dialog_new(toCharPtr(title), null,
 			GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
 			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,