[gnote] Ensure the notebook button has a label in the mode "icon + text on the side"



commit 65aa46ab7aa1dab3e3edfda5859e0ee17100076d
Author: Hubert Figuiere <hub figuiere net>
Date:   Wed Jul 29 12:59:26 2009 -0400

    Ensure the notebook button has a label in the mode "icon + text on the side"

 src/notebooks/notebooknoteaddin.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/notebooks/notebooknoteaddin.cpp b/src/notebooks/notebooknoteaddin.cpp
index cc9bd1f..6a5f696 100644
--- a/src/notebooks/notebooknoteaddin.cpp
+++ b/src/notebooks/notebooknoteaddin.cpp
@@ -77,6 +77,7 @@ namespace notebooks {
     l->set_ellipsize(Pango::ELLIPSIZE_END);
     l->show_all ();
     m_toolButton->set_label_widget(*l);
+    m_toolButton->set_is_important(true);
     m_toolButton->set_homogeneous(false);
     m_toolButton->set_tooltip_text(_("Place this note into a notebook"));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]