paperbox r202 - in trunk: . src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r202 - in trunk: . src
- Date: Tue, 14 Oct 2008 10:36:32 +0000 (UTC)
Author: markoa
Date: Tue Oct 14 10:36:32 2008
New Revision: 202
URL: http://svn.gnome.org/viewvc/paperbox?rev=202&view=rev
Log:
Corrected setting of subject
Modified:
trunk/ChangeLog
trunk/src/document-tile.cc
trunk/src/tracker-phone.cc
Modified: trunk/src/document-tile.cc
==============================================================================
--- trunk/src/document-tile.cc (original)
+++ trunk/src/document-tile.cc Tue Oct 14 10:36:32 2008
@@ -39,7 +39,7 @@
DocumentTile::DocumentTile(Thumbnailer& thumbnailer,
const shared_ptr<Document>& doc)
:
- Gtk::Util::Tile(doc->get_file_name(), doc->get_author(), false),
+ Gtk::Util::Tile(doc->get_subject(), doc->get_author(), false),
uri_(doc->get_uri()),
tag_hbox_(false, 4),
tag_labels_hbox_(false, 4),
Modified: trunk/src/tracker-phone.cc
==============================================================================
--- trunk/src/tracker-phone.cc (original)
+++ trunk/src/tracker-phone.cc Tue Oct 14 10:36:32 2008
@@ -379,9 +379,7 @@
Glib::ustring subject(keys[SUBJECT]);
document->set_subject(subject);
} else {
- document->set_subject(
- Glib::filename_display_basename(
- Glib::filename_to_uri(uri)));
+ document->set_subject(document->get_file_name());
}
if (! is_empty_string(keys[AUTHOR])) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]