[gimp] Don't use the menubar_manager to set the quickmask toggle's tooltip



commit ac254f293d7646c72309ea603f48164c692e525f
Author: Michael Natterer <mitch gimp org>
Date:   Thu Sep 24 10:19:23 2009 +0200

    Don't use the menubar_manager to set the quickmask toggle's tooltip

 app/display/gimpdisplayshell.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 5c0a821..62177c6 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -1151,8 +1151,7 @@ gimp_display_shell_new (GimpDisplay       *display,
   gtk_container_add (GTK_CONTAINER (shell->quick_mask_button), image);
   gtk_widget_show (image);
 
-  /* FIXME image window */
-  action = gimp_ui_manager_find_action (GIMP_IMAGE_WINDOW (shell)->menubar_manager,
+  action = gimp_ui_manager_find_action (popup_manager,
                                         "quick-mask", "quick-mask-toggle");
   if (action)
     gimp_widget_set_accel_help (shell->quick_mask_button, action);



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