paperbox r108 - in trunk: . src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r108 - in trunk: . src
- Date: Sat, 8 Mar 2008 22:05:02 +0000 (GMT)
Author: markoa
Date: Sat Mar 8 22:05:01 2008
New Revision: 108
URL: http://svn.gnome.org/viewvc/paperbox?rev=108&view=rev
Log:
Use new split() from glibmm-utils, no hscrollbars for category text.
Modified:
trunk/ChangeLog
trunk/src/category-editor-model.cc
trunk/src/category-editor.cc
Modified: trunk/src/category-editor-model.cc
==============================================================================
--- trunk/src/category-editor-model.cc (original)
+++ trunk/src/category-editor-model.cc Sat Mar 8 22:05:01 2008
@@ -121,7 +121,7 @@
{
shared_ptr<CategoryEditorData> ptr = get_category(name);
vector<Glib::ustring> new_tags(
- Glib::Util::split(ptr->buffer->get_text(), " "));
+ Glib::Util::split(ptr->buffer->get_text()));
ptr->category->reset_tags(new_tags);
ptr->dirty = false;
}
Modified: trunk/src/category-editor.cc
==============================================================================
--- trunk/src/category-editor.cc (original)
+++ trunk/src/category-editor.cc Sat Mar 8 22:05:01 2008
@@ -93,7 +93,7 @@
hbox_contents_->pack_start(button_save_, false, false);
vbox_right_->pack_start(scroll_window_);
- scroll_window_.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
+ scroll_window_.set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
scroll_window_.add(text_view_);
show_all_children();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]