paperbox r115 - in trunk: . src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r115 - in trunk: . src
- Date: Wed, 12 Mar 2008 21:21:06 +0000 (GMT)
Author: markoa
Date: Wed Mar 12 21:21:05 2008
New Revision: 115
URL: http://svn.gnome.org/viewvc/paperbox?rev=115&view=rev
Log:
Update save button after saving, selection change
Modified:
trunk/ChangeLog
trunk/src/category-editor.cc
Modified: trunk/src/category-editor.cc
==============================================================================
--- trunk/src/category-editor.cc (original)
+++ trunk/src/category-editor.cc Wed Mar 12 21:21:05 2008
@@ -259,8 +259,8 @@
try {
shared_ptr<CategoryEditorData> data(model_->get_category(cat_name));
-
text_view_.set_buffer(data->buffer);
+ check_buffer_status();
} catch (const CategoryNotFound& ex) {
// this would be rather odd, someone would need to mess with
// the files in $config, but here goes
@@ -274,6 +274,7 @@
CategoryEditor::on_button_save_clicked()
{
model_->save_category(selected_name_);
+ button_save_.set_sensitive(false);
}
bool
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]