diff --git a/source/window.d b/source/window.d index d4c7801..d75065a 100644 --- a/source/window.d +++ b/source/window.d @@ -43,7 +43,7 @@ class Window : MainWindow{ auto buttonSave = new Button("document-save-symbolic", GtkIconSize.MENU); auto buttonSaveAs = new Button("document-save-as-symbolic", GtkIconSize.MENU); auto buttonOpen = new Button("document-open-symbolic", GtkIconSize.MENU); - auto buttonInsert = new Button("format-text-direction-ltr-symbolic", GtkIconSize.SMALL_TOOLBAR); + auto buttonInsert = new Button("list-add-symbolic", GtkIconSize.SMALL_TOOLBAR); auto buttonDelete = new Button("user-trash-symbolic", GtkIconSize.SMALL_TOOLBAR); auto buttonRenumber = new Button("view-list-symbolic", GtkIconSize.SMALL_TOOLBAR); auto buttonNewCol = new Button("tab-new-symbolic", GtkIconSize.SMALL_TOOLBAR); @@ -187,7 +187,7 @@ class Window : MainWindow{ foreach(i ; 0..tree.getNColumns){ auto col = tree.getColumn(i); - writeln("col",i,"=",col, "(", col is null? "" : col.getTitle, ")"); + writeln("col",i,"=",col, "(", col is null? "" : col.getTitle.replace("__", "_"), ")"); } @@ -202,7 +202,7 @@ class Window : MainWindow{ storeIndex~= getColumnStoreIndex(tree, 0)>=0?getColumnStoreIndex(tree, 0):0; auto col = tree.getColumn(0); - if(col !is null) titles~= tree.getColumn(0).getTitle; + if(col !is null) titles~= tree.getColumn(0).getTitle.replace("__", "_"); else titles~= "ERR"; tree.removeColumn(tree.getColumn(0)); }