[gimp/gimp-2-10] app: make GimpCursorView fit narrow docks



commit 35710903b65377849b72b90dcee9e0317715a304
Author: Michael Natterer <mitch gimp org>
Date:   Thu Jun 14 12:32:40 2018 +0200

    app: make GimpCursorView fit narrow docks
    
    Replace "Selection Bounding Box" by simply "Selection" and add a tooltip
    to the frame that says it's the bounding box.
    
    Addressed Issue #1223.
    
    (cherry picked from commit 33d2595d2241441e78094807e0d9496a9606b7ac)

 app/display/gimpcursorview.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/app/display/gimpcursorview.c b/app/display/gimpcursorview.c
index 6ec54da09b..93f6b73108 100644
--- a/app/display/gimpcursorview.c
+++ b/app/display/gimpcursorview.c
@@ -262,10 +262,12 @@ gimp_cursor_view_init (GimpCursorView *view)
 
   /* Selection Bounding Box */
 
-  frame = gimp_frame_new (_("Selection Bounding Box"));
+  frame = gimp_frame_new (_("Selection"));
   gtk_box_pack_start (GTK_BOX (view->priv->selection_hbox), frame, TRUE, TRUE, 0);
   gtk_widget_show (frame);
 
+  gimp_help_set_help_data (frame, _("The selection's bounding box"), NULL);
+
   table = gtk_table_new (2, 2, FALSE);
   gtk_table_set_col_spacings (GTK_TABLE (table), 6);
   gtk_table_set_row_spacings (GTK_TABLE (table), 2);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]