[gimp/cage: 80/130] app: change icon for brush size reset button and add tooltip
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/cage: 80/130] app: change icon for brush size reset button and add tooltip
- Date: Thu, 30 Dec 2010 17:54:42 +0000 (UTC)
commit 0339a71ccbecb0ec55afa74a741b8891824aa7ac
Author: Michael Natterer <mitch gimp org>
Date: Wed Nov 24 22:31:56 2010 +0100
app: change icon for brush size reset button and add tooltip
app/tools/gimppaintoptions-gui.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimppaintoptions-gui.c b/app/tools/gimppaintoptions-gui.c
index 335c396..b1b3741 100644
--- a/app/tools/gimppaintoptions-gui.c
+++ b/app/tools/gimppaintoptions-gui.c
@@ -139,10 +139,10 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
gtk_box_pack_start (GTK_BOX (hbox), scale, TRUE, TRUE, 0);
gtk_widget_show (scale);
- button = gimp_stock_button_new (GTK_STOCK_REFRESH, NULL);
+ button = gimp_stock_button_new (GIMP_STOCK_RESET, NULL);
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_image_set_from_stock (GTK_IMAGE (gtk_bin_get_child (GTK_BIN (button))),
- GTK_STOCK_REFRESH, GTK_ICON_SIZE_MENU);
+ GIMP_STOCK_RESET, GTK_ICON_SIZE_MENU);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
@@ -150,6 +150,9 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
G_CALLBACK (gimp_paint_options_gui_reset_size),
options);
+ gimp_help_set_help_data (button,
+ _("Reset size to brush's native size"), NULL);
+
scale = gimp_prop_spin_scale_new (config, "brush-aspect-ratio",
_("Aspect Ratio"),
0.01, 0.1, 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]