mirror of https://github.com/GNOME/gimp.git
gtk_tooltips_set_tips -> gtk_tooltips_set_tip conversion
-timj
This commit is contained in:
parent
10c4bc6e8c
commit
118a5668dd
|
@ -317,9 +317,10 @@ create_color_area (GtkWidget *parent)
|
|||
|
||||
col_area = color_area_create (54, 42, default_pixmap, swap_pixmap);
|
||||
gtk_container_add (GTK_CONTAINER (alignment), col_area);
|
||||
gtk_tooltips_set_tips (tool_tips, col_area, "Foreground & background colors. The small black "
|
||||
"and white squares reset colors. The small arrows swap colors. Double "
|
||||
"click to change colors.");
|
||||
gtk_tooltips_set_tip (tool_tips, col_area, "Foreground & background colors. The small black "
|
||||
"and white squares reset colors. The small arrows swap colors. Double "
|
||||
"click to change colors.",
|
||||
NULL);
|
||||
gtk_widget_show (col_area);
|
||||
gtk_widget_show (alignment);
|
||||
gtk_widget_show (frame);
|
||||
|
@ -373,7 +374,7 @@ create_tools (GtkWidget *parent)
|
|||
(GtkSignalFunc) tools_button_press,
|
||||
tool_data[i].callback_data);
|
||||
|
||||
gtk_tooltips_set_tips (tool_tips, button, tool_data[i].tool_desc);
|
||||
gtk_tooltips_set_tip (tool_tips, button, tool_data[i].tool_desc, NULL);
|
||||
|
||||
gtk_widget_show (pixmap);
|
||||
gtk_widget_show (alignment);
|
||||
|
|
|
@ -317,9 +317,10 @@ create_color_area (GtkWidget *parent)
|
|||
|
||||
col_area = color_area_create (54, 42, default_pixmap, swap_pixmap);
|
||||
gtk_container_add (GTK_CONTAINER (alignment), col_area);
|
||||
gtk_tooltips_set_tips (tool_tips, col_area, "Foreground & background colors. The small black "
|
||||
"and white squares reset colors. The small arrows swap colors. Double "
|
||||
"click to change colors.");
|
||||
gtk_tooltips_set_tip (tool_tips, col_area, "Foreground & background colors. The small black "
|
||||
"and white squares reset colors. The small arrows swap colors. Double "
|
||||
"click to change colors.",
|
||||
NULL);
|
||||
gtk_widget_show (col_area);
|
||||
gtk_widget_show (alignment);
|
||||
gtk_widget_show (frame);
|
||||
|
@ -373,7 +374,7 @@ create_tools (GtkWidget *parent)
|
|||
(GtkSignalFunc) tools_button_press,
|
||||
tool_data[i].callback_data);
|
||||
|
||||
gtk_tooltips_set_tips (tool_tips, button, tool_data[i].tool_desc);
|
||||
gtk_tooltips_set_tip (tool_tips, button, tool_data[i].tool_desc, NULL);
|
||||
|
||||
gtk_widget_show (pixmap);
|
||||
gtk_widget_show (alignment);
|
||||
|
|
|
@ -317,9 +317,10 @@ create_color_area (GtkWidget *parent)
|
|||
|
||||
col_area = color_area_create (54, 42, default_pixmap, swap_pixmap);
|
||||
gtk_container_add (GTK_CONTAINER (alignment), col_area);
|
||||
gtk_tooltips_set_tips (tool_tips, col_area, "Foreground & background colors. The small black "
|
||||
"and white squares reset colors. The small arrows swap colors. Double "
|
||||
"click to change colors.");
|
||||
gtk_tooltips_set_tip (tool_tips, col_area, "Foreground & background colors. The small black "
|
||||
"and white squares reset colors. The small arrows swap colors. Double "
|
||||
"click to change colors.",
|
||||
NULL);
|
||||
gtk_widget_show (col_area);
|
||||
gtk_widget_show (alignment);
|
||||
gtk_widget_show (frame);
|
||||
|
@ -373,7 +374,7 @@ create_tools (GtkWidget *parent)
|
|||
(GtkSignalFunc) tools_button_press,
|
||||
tool_data[i].callback_data);
|
||||
|
||||
gtk_tooltips_set_tips (tool_tips, button, tool_data[i].tool_desc);
|
||||
gtk_tooltips_set_tip (tool_tips, button, tool_data[i].tool_desc, NULL);
|
||||
|
||||
gtk_widget_show (pixmap);
|
||||
gtk_widget_show (alignment);
|
||||
|
|
|
@ -627,7 +627,7 @@ static void
|
|||
set_tooltip (GtkTooltips *tooltips, GtkWidget *widget, const char *desc)
|
||||
{
|
||||
if (desc && desc[0])
|
||||
gtk_tooltips_set_tips (tooltips, widget, (char *) desc);
|
||||
gtk_tooltips_set_tip (tooltips, widget, (char *) desc, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1498,7 +1498,7 @@ DIALOG ()
|
|||
random_sensitives[4].logic = TRUE;
|
||||
|
||||
tooltips = gtkW_tooltips_new (frame);
|
||||
gtk_tooltips_set_tips (tooltips, button, "\"Fix seed\" button is an alias of me.\nThe same seed produces the same image, if (1) the widths of images are same (this is the reason why image on drawable is different from preview), and (2) all mutation rates equal to zero.");
|
||||
gtk_tooltips_set_tip (tooltips, button, "\"Fix seed\" button is an alias of me.\nThe same seed produces the same image, if (1) the widths of images are same (this is the reason why image on drawable is different from preview), and (2) all mutation rates equal to zero.",NULL);
|
||||
gtk_tooltips_enable (tooltips);
|
||||
}
|
||||
gtk_table_attach (GTK_TABLE (table), subframe, 0, 1, index, index + 1,
|
||||
|
|
|
@ -1498,7 +1498,7 @@ DIALOG ()
|
|||
random_sensitives[4].logic = TRUE;
|
||||
|
||||
tooltips = gtkW_tooltips_new (frame);
|
||||
gtk_tooltips_set_tips (tooltips, button, "\"Fix seed\" button is an alias of me.\nThe same seed produces the same image, if (1) the widths of images are same (this is the reason why image on drawable is different from preview), and (2) all mutation rates equal to zero.");
|
||||
gtk_tooltips_set_tip (tooltips, button, "\"Fix seed\" button is an alias of me.\nThe same seed produces the same image, if (1) the widths of images are same (this is the reason why image on drawable is different from preview), and (2) all mutation rates equal to zero.",NULL);
|
||||
gtk_tooltips_enable (tooltips);
|
||||
}
|
||||
gtk_table_attach (GTK_TABLE (table), subframe, 0, 1, index, index + 1,
|
||||
|
|
|
@ -1253,5 +1253,5 @@ static void
|
|||
set_tooltip (GtkTooltips *tooltips, GtkWidget *widget, const char *desc)
|
||||
{
|
||||
if (desc && desc[0])
|
||||
gtk_tooltips_set_tips (tooltips, widget, (char *) desc);
|
||||
gtk_tooltips_set_tip (tooltips, widget, (char *) desc, NULL);
|
||||
}
|
||||
|
|
|
@ -1253,5 +1253,5 @@ static void
|
|||
set_tooltip (GtkTooltips *tooltips, GtkWidget *widget, const char *desc)
|
||||
{
|
||||
if (desc && desc[0])
|
||||
gtk_tooltips_set_tips (tooltips, widget, (char *) desc);
|
||||
gtk_tooltips_set_tip (tooltips, widget, (char *) desc, NULL);
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ void
|
|||
gpc_set_tooltip(GtkWidget *widget, const char *tip)
|
||||
{
|
||||
if (tip && tip[0])
|
||||
gtk_tooltips_set_tips(tips, widget, (char *) tip);
|
||||
gtk_tooltips_set_tip (tips, widget, (char *) tip,NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue