glom r1669 - in trunk: . glom/utility_widgets po
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1669 - in trunk: . glom/utility_widgets po
- Date: Wed, 27 Aug 2008 08:40:17 +0000 (UTC)
Author: murrayc
Date: Wed Aug 27 08:40:16 2008
New Revision: 1669
URL: http://svn.gnome.org/viewvc/glom?rev=1669&view=rev
Log:
2008-08-27 Murray Cumming <murrayc murrayc com>
* glom/utility_widgets/layouttoolbar.cc:
Improve the tooltips text.
* glom/utility_widgets/layouttoolbar.h:
* po/POTFILES.in: Mention renamed files.
Modified:
trunk/ChangeLog
trunk/glom/utility_widgets/layouttoolbar.cc
trunk/glom/utility_widgets/layouttoolbar.h
trunk/po/POTFILES.in
Modified: trunk/glom/utility_widgets/layouttoolbar.cc
==============================================================================
--- trunk/glom/utility_widgets/layouttoolbar.cc (original)
+++ trunk/glom/utility_widgets/layouttoolbar.cc Wed Aug 27 08:40:16 2008
@@ -29,19 +29,21 @@
namespace
{
- Glib::ustring get_icon_path(const Glib::ustring& filename)
- {
+
+Glib::ustring get_icon_path(const Glib::ustring& filename)
+{
#ifdef G_OS_WIN32
- gchar* basepath = g_win32_get_package_installation_subdirectory(NULL, NULL, "share/glom/pixmaps");
- Glib::ustring result = Glib::build_filename(basepath, filename);
- g_free(basepath);
- return result;
+ gchar* basepath = g_win32_get_package_installation_subdirectory(NULL, NULL, "share/glom/pixmaps");
+ Glib::ustring result = Glib::build_filename(basepath, filename);
+ g_free(basepath);
+ return result;
#else
- return Glib::build_filename(GLOM_ICON_DIR, filename);
+ return Glib::build_filename(GLOM_ICON_DIR, filename);
#endif
- }
}
+} //anonymous namespace
+
namespace Glom
{
@@ -66,23 +68,23 @@
LayoutToolbarButton* drag_group =
Gtk::manage(new LayoutToolbarButton(*image_group, LayoutWidgetBase::TYPE_GROUP,
- _("Group"), _("Drag to document to add a new group")));
+ _("Group"), _("Drag this to the layout to add a new group.")));
LayoutToolbarButton* drag_notebook =
Gtk::manage(new LayoutToolbarButton(*image_notebook, LayoutWidgetBase::TYPE_NOTEBOOK,
- _("Notebook"), _("Drag to document to add a new notebook")));
+ _("Notebook"), _("Drag this to the layout to add a new notebook.")));
LayoutToolbarButton* drag_item =
Gtk::manage(new LayoutToolbarButton(*image_item, LayoutWidgetBase::TYPE_FIELD,
- _("Database field"), _("Drag to document to add a new database field")));
+ _("Database field"), _("Drag this to the layout to add a new database field.")));
LayoutToolbarButton* drag_button =
Gtk::manage(new LayoutToolbarButton(*image_button, LayoutWidgetBase::TYPE_BUTTON,
- _("Button"), _("Drag to document to cadd a new button")));
+ _("Button"), _("Drag this to the layout to cadd a new button.")));
LayoutToolbarButton* drag_text =
Gtk::manage(new LayoutToolbarButton(*image_text, LayoutWidgetBase::TYPE_TEXT,
- _("Group"), _("Drag to document to add a new text box")));
+ _("Group"), _("Drag this to the layout to add a new static text box.")));
LayoutToolbarButton* drag_image =
Gtk::manage(new LayoutToolbarButton(*image_image, LayoutWidgetBase::TYPE_IMAGE,
- _("Image"), _("Drag to document to add a new image")));
+ _("Image"), _("Drag this to the layout to add a new static image.")));
//Note for translators: These are container layout items, containing child layout items, like container widgets in GTK+.
GtkContainer* container_group = GTK_CONTAINER(egg_tool_item_group_new(_("Containers")));
Modified: trunk/glom/utility_widgets/layouttoolbar.h
==============================================================================
--- trunk/glom/utility_widgets/layouttoolbar.h (original)
+++ trunk/glom/utility_widgets/layouttoolbar.h Wed Aug 27 08:40:16 2008
@@ -1,6 +1,6 @@
/* Glom
*
- * Copyright (C) 2007 Johannes Schmid <johannes schmid openismus com>
+ * Copyright (C) 2007, 2008 Openismus GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in (original)
+++ trunk/po/POTFILES.in Wed Aug 27 08:40:16 2008
@@ -102,7 +102,6 @@
glom/utility_widgets/datawidget.cc
glom/utility_widgets/db_adddel/db_adddel.cc
glom/utility_widgets/dialog_choose_id.cc
-glom/utility_widgets/dragbar.cc
glom/utility_widgets/egg/toolpalette/eggenumaction.c
glom/utility_widgets/egg/toolpalette/eggtoolitemgroup.c
glom/utility_widgets/egg/toolpalette/eggtoolpalette.c
@@ -110,6 +109,8 @@
glom/utility_widgets/entryglom.cc
glom/utility_widgets/filechooserdialog_saveextras.cc
glom/utility_widgets/imageglom.cc
+glom/utility_widgets/layouttoolbar.cc
+glom/utility_widgets/layouttoolbarbutton.cc
glom/utility_widgets/layoutwidgetbase.cc
glom/utility_widgets/layoutwidgetmenu.cc
glom/utility_widgets/layoutwidgetutils.cc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]