[glom/glom-1-22] Deal with minor TODOs
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-22] Deal with minor TODOs
- Date: Mon, 22 Jul 2013 08:20:31 +0000 (UTC)
commit a857d5b15e3e41966a01b1e5756e12a33e0b7887
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Apr 1 19:53:02 2013 +0200
Deal with minor TODOs
glom/bakery/appwindow_withdoc_gtk.cc | 8 +-------
.../layout/report_parts/layoutitem_groupby.h | 1 -
2 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/glom/bakery/appwindow_withdoc_gtk.cc b/glom/bakery/appwindow_withdoc_gtk.cc
index 6aeaaee..a5661c7 100644
--- a/glom/bakery/appwindow_withdoc_gtk.cc
+++ b/glom/bakery/appwindow_withdoc_gtk.cc
@@ -552,13 +552,7 @@ void AppWindow_WithDoc_Gtk::document_history_add(const Glib::ustring& file_uri)
if(!file_exists(file_uri))
return;
- {
- //TODO: Wrap gnome_vfs_escape_path_string() in gnome-vfsmm.
- //Glib::ustring filename_e = Gnome::Vfs::escape_path_string(file_uri);
- const Glib::ustring uri = file_uri; // "file://" + filename_e;
-
- Gtk::RecentManager::get_default()->add_item(uri);
- }
+ Gtk::RecentManager::get_default()->add_item(file_uri);
}
void AppWindow_WithDoc_Gtk::document_history_remove(const Glib::ustring& file_uri)
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
index 8b0e141..850d2c2 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
@@ -71,7 +71,6 @@ public:
sharedptr<LayoutGroup> get_secondary_fields();
sharedptr<const LayoutGroup> get_secondary_fields() const;
- //TODO: Is this used by anything?
type_list_sort_fields get_sort_by() const;
void set_sort_by(const type_list_sort_fields& sort_by);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]