app/widgets/gimpcoloreditor.c in the tooltip for the hex entry, mention

2006-07-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcoloreditor.c
	* libgimpwidgets/gimpcolorselection.c: in the tooltip for the hex
	entry, mention that it also accepts CSS color names.

	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal):
	use an invisible event box for the tooltip.
This commit is contained in:
Sven Neumann 2006-07-07 11:19:52 +00:00 committed by Sven Neumann
parent f94b98ea41
commit 68f562226c
4 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2006-07-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcoloreditor.c
* libgimpwidgets/gimpcolorselection.c: in the tooltip for the hex
entry, mention that it also accepts CSS color names.
* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal):
use an invisible event box for the tooltip.
2006-07-06 Sven Neumann <sven@gimp.org> 2006-07-06 Sven Neumann <sven@gimp.org>
* app/core/gimpimage.[ch]: corrected comment (bug #346755). * app/core/gimpimage.[ch]: corrected comment (bug #346755).

View File

@ -240,8 +240,9 @@ gimp_color_editor_init (GimpColorEditor *editor)
/* The hex triplet entry */ /* The hex triplet entry */
editor->hex_entry = gimp_color_hex_entry_new (); editor->hex_entry = gimp_color_hex_entry_new ();
gimp_help_set_help_data (editor->hex_entry, gimp_help_set_help_data (editor->hex_entry,
_("Hexadecimal color notation " _("Hexadecimal color notation as used in HTML and "
"as used in HTML and CSS"), NULL); "CSS. This entry also accepts CSS color names."),
NULL);
gtk_box_pack_end (GTK_BOX (vbox), editor->hex_entry, FALSE, FALSE, 0); gtk_box_pack_end (GTK_BOX (vbox), editor->hex_entry, FALSE, FALSE, 0);
gtk_widget_show (editor->hex_entry); gtk_widget_show (editor->hex_entry);

View File

@ -260,8 +260,9 @@ gimp_color_selection_init (GimpColorSelection *selection)
/* The hex triplet entry */ /* The hex triplet entry */
entry = gimp_color_hex_entry_new (); entry = gimp_color_hex_entry_new ();
gimp_help_set_help_data (entry, gimp_help_set_help_data (entry,
_("Hexadecimal color notation " _("Hexadecimal color notation as used in HTML and "
"as used in HTML and CSS"), NULL); "CSS. This entry also accepts CSS color names."),
NULL);
gtk_box_pack_end (GTK_BOX (hbox), entry, TRUE, TRUE, 0); gtk_box_pack_end (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
gtk_widget_show (entry); gtk_widget_show (entry);

View File

@ -542,7 +542,9 @@ gimp_scale_entry_new_internal (gboolean color_scale,
if (tooltip) if (tooltip)
{ {
ebox = gtk_event_box_new (); ebox = g_object_new (GTK_TYPE_EVENT_BOX,
"visible-window", FALSE,
NULL);
gtk_table_attach (GTK_TABLE (table), ebox, gtk_table_attach (GTK_TABLE (table), ebox,
column, column + 1, row, row + 1, column, column + 1, row, row + 1,
GTK_FILL, GTK_FILL, 0, 0); GTK_FILL, GTK_FILL, 0, 0);