paperbox r203 - in trunk: . src



Author: markoa
Date: Tue Oct 14 12:18:18 2008
New Revision: 203
URL: http://svn.gnome.org/viewvc/paperbox?rev=203&view=rev

Log:
Require gtkmm-utils 0.3.3, for the label access

Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/src/document-tile.cc

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Oct 14 12:18:18 2008
@@ -105,7 +105,7 @@
 AC_SUBST([GIOMM_CFLAGS])
 AC_SUBST([GIOMM_LIBS])
 
-PKG_CHECK_MODULES([GTKMM_UTILS], [gtkmm-utils >= 0.3.1])
+PKG_CHECK_MODULES([GTKMM_UTILS], [gtkmm-utils >= 0.3.3])
 AC_SUBST([GTKMM_UTILS_CFLAGS])
 AC_SUBST([GTKMM_UTILS_LIBS])
 

Modified: trunk/src/document-tile.cc
==============================================================================
--- trunk/src/document-tile.cc	(original)
+++ trunk/src/document-tile.cc	Tue Oct 14 12:18:18 2008
@@ -49,6 +49,9 @@
         image_add_(Gtk::Stock::ADD, Gtk::ICON_SIZE_MENU),
         first_boot_(true)
     {
+        get_title_label().set_ellipsize(Pango::ELLIPSIZE_END);
+        get_title_label().set_max_width_chars(50);
+
         connect_thumbnailer_signals(thumbnailer);
 
         Gtk::VBox& content_vbox = get_content_vbox();



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