[gnote] Fix open in browser exported HTML



commit 8e706f5c4713b416bd6592975a89b39ad90f9467
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Sep 18 21:59:09 2010 +0300

    Fix open in browser exported HTML
    
    Fix URI, used for openning exported HTML in browser.

 src/addins/exporttohtml/exporttohtmlnoteaddin.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp b/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
index 0241f27..8ba0155 100644
--- a/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
+++ b/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
@@ -140,7 +140,7 @@ void ExportToHtmlNoteAddin::export_button_clicked()
 
     try {
       sharp::Uri output_uri(output_path);
-      gnote::utils::open_url(output_uri.get_absolute_uri());
+      gnote::utils::open_url("file://" + output_uri.get_absolute_uri());
     } 
     catch (const Glib::Exception & ex) {
       ERR_OUT ("Could not open exported note in a web browser: %s",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]