paperbox r214 - in trunk: . src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r214 - in trunk: . src
- Date: Mon, 10 Nov 2008 21:10:37 +0000 (UTC)
Author: markoa
Date: Mon Nov 10 21:10:37 2008
New Revision: 214
URL: http://svn.gnome.org/viewvc/paperbox?rev=214&view=rev
Log:
Document subject in add tag dialog's title
Modified:
trunk/ChangeLog
trunk/src/document-tile.cc
Modified: trunk/src/document-tile.cc
==============================================================================
--- trunk/src/document-tile.cc (original)
+++ trunk/src/document-tile.cc Mon Nov 10 21:10:37 2008
@@ -363,6 +363,11 @@
vector<ustring> tags;
shared_ptr<DialogTagEntry> dialog(DialogTagEntry::create());
dialog->set_default_response(Gtk::RESPONSE_OK);
+ if (! doc_->get_subject().empty()) {
+ dialog->set_title(doc_->get_subject());
+ } else {
+ dialog->set_title(doc_->get_file_name());
+ }
int response = dialog->run(tags);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]