Commit deb8eaea authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

added a hint about XDS to the tooltip, but only if compiled for X11.

2005-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox-image-area.c: added a hint about XDS to
	the tooltip, but only if compiled for X11.
parent 1d8471ae
2005-03-26 Sven Neumann <sven@gimp.org>
* app/widgets/gimptoolbox-image-area.c: added a hint about XDS to
the tooltip, but only if compiled for X11.
2005-03-26 Sven Neumann <sven@gimp.org>
* modules/cdisplay_colorblind.c: use the same LUT for all color
......
......@@ -91,6 +91,7 @@ gimp_toolbox_image_area_create (GimpToolbox *toolbox,
{
GimpContext *context;
GtkWidget *image_view;
gchar *tooltip;
g_return_val_if_fail (GIMP_IS_TOOLBOX (toolbox), NULL);
......@@ -109,9 +110,19 @@ gimp_toolbox_image_area_create (GimpToolbox *toolbox,
gtk_widget_show (image_view);
gimp_help_set_help_data (image_view,
_("The active image.\n"
"Click to open the Image Dialog."), NULL);
#ifdef GDK_WINDOWING_X11
tooltip = g_strdup_printf ("%s\n%s",
_("The active image.\n"
"Click to open the Image Dialog."),
_("Drag to an XDS enabled file-manager to "
"save the image."));
#else
tooltip = g_strdup (_("The active image.\n"
"Click to open the Image Dialog."));
#endif
gimp_help_set_help_data (image_view, tooltip, NULL);
g_free (tooltip);
g_signal_connect_object (context, "image_changed",
G_CALLBACK (gimp_view_set_viewable),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment