paperbox r224 - in trunk: . po src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r224 - in trunk: . po src
- Date: Sat, 22 Nov 2008 20:23:05 +0000 (UTC)
Author: markoa
Date: Sat Nov 22 20:23:04 2008
New Revision: 224
URL: http://svn.gnome.org/viewvc/paperbox?rev=224&view=rev
Log:
Set tooltips on page navigation buttons
Modified:
trunk/ChangeLog
trunk/po/POTFILES.in
trunk/src/document-tile-view.cc
Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in (original)
+++ trunk/po/POTFILES.in Sat Nov 22 20:23:04 2008
@@ -3,6 +3,7 @@
src/category-editor-model.cc
src/category-view.cc
src/document-tile.cc
+src/document-tile-view.cc
src/main.cc
src/main-window.cc
ui/dialog-categories.glade
Modified: trunk/src/document-tile-view.cc
==============================================================================
--- trunk/src/document-tile-view.cc (original)
+++ trunk/src/document-tile-view.cc Sat Nov 22 20:23:04 2008
@@ -20,6 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <glib/gi18n.h>
#include "document.hh"
#include "document-tile-view.hh"
@@ -34,6 +35,11 @@
:
TileView(use_page_view)
{
+ Gtk::Util::PageNavigator& navigator = get_page_navigator();
+ navigator.get_button_first().set_tooltip_text(_("First page"));
+ navigator.get_button_previous().set_tooltip_text(_("Previous page"));
+ navigator.get_button_next().set_tooltip_text(_("Next page"));
+ navigator.get_button_last().set_tooltip_text(_("Last page"));
}
DocumentTileView::~DocumentTileView()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]