Commit b6c56ff9 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

app/Makefile.am removed.

2002-05-07  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/nav_window.[ch]: removed.

	* app/display/Makefile.am
	* app/display/display-types.h
	* app/display/gimpnavigationview.[ch]: new widget partially based
	on the removed nav_window.

	* libgimpproxy/gimpproxytypes.h: regnenerated.

	* app/display/gimpdisplay-foreach.[ch]: removed
	gdisplays_nav_preview_resized(). The new config system will allow
	us to get notified of changes.

	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
	signals.

	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
	"scrolled" appropriately. Removed nav_window stuff.

	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c
	* app/gui/menus.c: made the navigation dialog dockable.

	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.

	* app/gui/preferences-dialog.c
	* app/gimprc.[ch]
	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
	as it's now a dockable and it's state is saved in sessionrc.

	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
	mouse cursors.

	* app/widgets/gimpimagedock.c: made it capable of holding
	display-related dialogs (like GimpNavigationView) by connecting
	to the context's "display_changed" signal.

	* app/widgets/widgets-types.h: removed inclusion of
	"display/display-types.h".

	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimpdrawablelistview.c
	* app/widgets/gimpitemlistitem.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c
	* app/widgets/gimppreview.c
	* app/widgets/gimpvectorslistview.c: warn about inclusion of
	"display/display-types.h".
parent 8b53758d
2002-05-07 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* app/nav_window.[ch]: removed.
* app/display/Makefile.am
* app/display/display-types.h
* app/display/gimpnavigationview.[ch]: new widget partially based
on the removed nav_window.
* libgimpproxy/gimpproxytypes.h: regnenerated.
* app/display/gimpdisplay-foreach.[ch]: removed
gdisplays_nav_preview_resized(). The new config system will allow
us to get notified of changes.
* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
signals.
* app/display/gimpdisplayshell-scale.c
* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
"scrolled" appropriately. Removed nav_window stuff.
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
* app/gui/dialogs-constructors.[ch]
* app/gui/dialogs.c
* app/gui/menus.c: made the navigation dialog dockable.
* app/gui/view-commands.c: changed the nav_dialog callback accordingly.
* app/gui/preferences-dialog.c
* app/gimprc.[ch]
* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
as it's now a dockable and it's state is saved in sessionrc.
* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
mouse cursors.
* app/widgets/gimpimagedock.c: made it capable of holding
display-related dialogs (like GimpNavigationView) by connecting
to the context's "display_changed" signal.
* app/widgets/widgets-types.h: removed inclusion of
"display/display-types.h".
* app/widgets/gimpbufferview.c
* app/widgets/gimpchannellistview.c
* app/widgets/gimpcolormapeditor.c
* app/widgets/gimpcomponentlistitem.c
* app/widgets/gimpdocumentview.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimpdrawablelistview.c
* app/widgets/gimpitemlistitem.c
* app/widgets/gimpitemlistview.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c
* app/widgets/gimppreview.c
* app/widgets/gimpvectorslistview.c: warn about inclusion of
"display/display-types.h".
2002-05-07 Sven Neumann <sven@gimp.org>
 
Moved slovenian translation to the stable branch where they should
......
......@@ -24,8 +24,6 @@ bin_PROGRAMS = gimp-1.3
## gui stuff for gui/, display/ or widgets/
##
gui_sources = \
nav_window.c \
nav_window.h \
undo_history.c \
undo_history.h
......
......@@ -42,7 +42,6 @@
#include "view-commands.h"
#include "gimprc.h"
#include "nav_window.h"
#define return_if_no_display(gdisp, data) \
......@@ -136,17 +135,8 @@ view_navigation_window_cmd_callback (GtkWidget *widget,
shell = GIMP_DISPLAY_SHELL (gdisp->shell);
if (gimprc.nav_window_per_display)
{
if (! shell->nav_dialog)
shell->nav_dialog = nav_dialog_create (shell);
nav_dialog_show (shell->nav_dialog);
}
else
{
nav_dialog_show_auto (gdisp->gimage->gimp);
}
gimp_dialog_factory_dialog_raise (global_dock_factory,
"gimp-navigation-view", -1);
}
void
......
......@@ -52,7 +52,6 @@ enum
PROP_PERFECT_MOUSE,
PROP_DEFAULT_THRESHOLD,
PROP_NAV_PREVIEW_SIZE,
PROP_NAV_WINDOW_PER_DISPLAY,
PROP_INFO_WINDOW_PER_DISPLAY,
PROP_TRUST_DIRTY_FLAG,
PROP_SAVE_DEVICE_STATUS,
......@@ -130,9 +129,6 @@ gimp_gui_config_class_init (GimpGuiConfigClass *klass)
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_NAV_PREVIEW_SIZE,
"navigation-preview-size",
GIMP_TYPE_PREVIEW_SIZE, GIMP_PREVIEW_SIZE_HUGE);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_NAV_WINDOW_PER_DISPLAY,
"navigation-window-per-display",
FALSE);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_INFO_WINDOW_PER_DISPLAY,
"info-window-per-display",
FALSE);
......@@ -218,9 +214,6 @@ gimp_gui_config_set_property (GObject *object,
case PROP_NAV_PREVIEW_SIZE:
gui_config->nav_preview_size = g_value_get_enum (value);
break;
case PROP_NAV_WINDOW_PER_DISPLAY:
gui_config->nav_window_per_display = g_value_get_boolean (value);
break;
case PROP_INFO_WINDOW_PER_DISPLAY:
gui_config->info_window_per_display = g_value_get_boolean (value);
break;
......@@ -299,9 +292,6 @@ gimp_gui_config_get_property (GObject *object,
case PROP_NAV_PREVIEW_SIZE:
g_value_set_enum (value, gui_config->nav_preview_size);
break;
case PROP_NAV_WINDOW_PER_DISPLAY:
g_value_set_boolean (value, gui_config->nav_window_per_display);
break;
case PROP_INFO_WINDOW_PER_DISPLAY:
g_value_set_boolean (value, gui_config->info_window_per_display);
break;
......
......@@ -47,7 +47,6 @@ struct _GimpGuiConfig
gboolean perfect_mouse;
gint default_threshold;
GimpPreviewSize nav_preview_size;
gboolean nav_window_per_display;
gboolean info_window_per_display;
gboolean trust_dirty_flag;
gboolean save_device_status;
......
......@@ -41,7 +41,6 @@
#include "gimpdisplayshell-handlers.h"
#include "gimprc.h"
#include "nav_window.h"
#include "libgimp/gimpintl.h"
......
......@@ -64,6 +64,7 @@
#include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h"
#include "display/gimpdisplayshell-filter-dialog.h"
#include "display/gimpnavigationview.h"
#include "about-dialog.h"
#include "brushes-commands.h"
......@@ -126,6 +127,8 @@ static void dialogs_set_path_context_func (GimpDockable *dockable,
GimpContext *context);
static void dialogs_set_indexed_palette_context_func (GimpDockable *dockable,
GimpContext *context);
static void dialogs_set_navigation_context_func (GimpDockable *dockable,
GimpContext *context);
static GtkWidget * dialogs_dockable_new (GtkWidget *widget,
const gchar *name,
......@@ -142,6 +145,9 @@ static void dialogs_path_view_image_changed (GimpContext *context,
static void dialogs_indexed_palette_image_changed (GimpContext *context,
GimpImage *gimage,
GimpColormapEditor *editor);
static void dialogs_navigation_display_changed (GimpContext *context,
GimpDisplay *gdisp,
GimpNavigationView *view);
/**********************/
......@@ -900,6 +906,31 @@ dialogs_edit_palette_func (GimpData *data)
}
/* display views */
GtkWidget *
dialogs_navigation_view_new (GimpDialogFactory *factory,
GimpContext *context,
gint preview_size)
{
GimpDisplay *gdisp;
GimpDisplayShell *shell = NULL;
GtkWidget *view;
gdisp = gimp_context_get_display (context);
if (gdisp)
shell = GIMP_DISPLAY_SHELL (gdisp->shell);
view = gimp_navigation_view_new (shell);
return dialogs_dockable_new (view,
_("Display Navigation"), _("Navigation"),
NULL,
dialogs_set_navigation_context_func);
}
/* private functions */
static void
......@@ -1243,6 +1274,41 @@ dialogs_set_indexed_palette_context_func (GimpDockable *dockable,
}
}
static void
dialogs_set_navigation_context_func (GimpDockable *dockable,
GimpContext *context)
{
GimpNavigationView *view;
view = (GimpNavigationView *) g_object_get_data (G_OBJECT (dockable),
"gimp-dialogs-view");
if (view)
{
if (dockable->context)
{
g_signal_handlers_disconnect_by_func (G_OBJECT (dockable->context),
dialogs_navigation_display_changed,
view);
}
if (context)
{
g_signal_connect (G_OBJECT (context), "display_changed",
G_CALLBACK (dialogs_navigation_display_changed),
view);
dialogs_navigation_display_changed (context,
gimp_context_get_display (context),
view);
}
else
{
dialogs_navigation_display_changed (NULL, NULL, view);
}
}
}
static GtkWidget *
dialogs_dockable_new (GtkWidget *widget,
const gchar *name,
......@@ -1287,3 +1353,16 @@ dialogs_indexed_palette_image_changed (GimpContext *context,
{
gimp_colormap_editor_set_image (editor, gimage);
}
static void
dialogs_navigation_display_changed (GimpContext *context,
GimpDisplay *gdisp,
GimpNavigationView *view)
{
GimpDisplayShell *shell = NULL;
if (gdisp)
shell = GIMP_DISPLAY_SHELL (gdisp->shell);
gimp_navigation_view_set_shell (view, shell);
}
......@@ -143,5 +143,9 @@ GtkWidget * dialogs_palette_editor_get (GimpDialogFactory *factory,
gint preview_size);
void dialogs_edit_palette_func (GimpData *data);
GtkWidget * dialogs_navigation_view_new (GimpDialogFactory *factory,
GimpContext *context,
gint preview_size);
#endif /* __DIALOGS_CONSTRUCTORS_H__ */
......@@ -79,7 +79,9 @@ static const GimpDialogFactoryEntry dock_entries[] =
{ "gimp-brush-editor", dialogs_brush_editor_get, 0, TRUE, FALSE, FALSE, TRUE },
{ "gimp-gradient-editor", dialogs_gradient_editor_get, 0, TRUE, FALSE, FALSE, TRUE },
{ "gimp-palette-editor", dialogs_palette_editor_get, 0, TRUE, FALSE, FALSE, TRUE }
{ "gimp-palette-editor", dialogs_palette_editor_get, 0, TRUE, FALSE, FALSE, TRUE },
{ "gimp-navigation-view", dialogs_navigation_view_new, 0, FALSE, FALSE, FALSE, TRUE }
};
......
......@@ -172,7 +172,6 @@ static guint old_max_new_image_size;
static GimpThumbnailSize old_thumbnail_size;
static gboolean old_trust_dirty_flag;
static gboolean old_use_help;
static gboolean old_nav_window_per_display;
static gboolean old_info_window_follows_mouse;
static gint old_help_browser;
static gint old_cursor_mode;
......@@ -185,7 +184,6 @@ static gint edit_min_colors;
static gboolean edit_install_cmap;
static gboolean edit_cycled_marching_ants;
static gint edit_last_opened_size;
static gboolean edit_nav_window_per_display;
static gboolean edit_info_window_follows_mouse;
static gboolean edit_disable_tearoff_menus;
static gchar * edit_temp_path = NULL;
......@@ -368,7 +366,6 @@ prefs_check_settings (Gimp *gimp)
edit_install_cmap != old_install_cmap ||
edit_cycled_marching_ants != old_cycled_marching_ants ||
edit_last_opened_size != old_last_opened_size ||
edit_nav_window_per_display != old_nav_window_per_display ||
edit_info_window_follows_mouse != old_info_window_follows_mouse ||
edit_disable_tearoff_menus != old_disable_tearoff_menus ||
......@@ -506,7 +503,6 @@ prefs_save_callback (GtkWidget *widget,
gboolean save_install_cmap;
gboolean save_cycled_marching_ants;
gint save_last_opened_size;
gboolean save_nav_window_per_display;
gboolean save_info_window_follows_mouse;
gchar *save_temp_path;
gchar *save_swap_path;
......@@ -557,7 +553,6 @@ prefs_save_callback (GtkWidget *widget,
save_install_cmap = gimprc.install_cmap;
save_cycled_marching_ants = gimprc.cycled_marching_ants;
save_last_opened_size = gimprc.last_opened_size;
save_nav_window_per_display = gimprc.nav_window_per_display;
save_info_window_follows_mouse = gimprc.info_window_follows_mouse;
save_temp_path = base_config->temp_path;
......@@ -779,12 +774,6 @@ prefs_save_callback (GtkWidget *widget,
gimprc.last_opened_size = edit_last_opened_size;
update = g_list_append (update, "last-opened-size");
}
if (edit_nav_window_per_display != old_nav_window_per_display)
{
gimprc.nav_window_per_display = edit_nav_window_per_display;
update = g_list_append (update, "nav-window-per-display");
remove = g_list_append (remove, "nav-window-follows-auto");
}
if (edit_info_window_follows_mouse != old_info_window_follows_mouse)
{
gimprc.info_window_follows_mouse = edit_info_window_follows_mouse;
......@@ -869,7 +858,6 @@ prefs_save_callback (GtkWidget *widget,
gimprc.install_cmap = save_install_cmap;
gimprc.cycled_marching_ants = save_cycled_marching_ants;
gimprc.last_opened_size = save_last_opened_size;
gimprc.nav_window_per_display = save_nav_window_per_display;
gimprc.info_window_follows_mouse = save_info_window_follows_mouse;
base_config->temp_path = save_temp_path;
......@@ -952,7 +940,9 @@ prefs_cancel_callback (GtkWidget *widget,
if (gimprc.nav_preview_size != old_nav_preview_size)
{
gimprc.nav_preview_size = old_nav_preview_size;
#if 0
gdisplays_nav_preview_resized ();
#endif
}
if ((gimprc.transparency_type != old_transparency_type) ||
(gimprc.transparency_size != old_transparency_size))
......@@ -980,7 +970,6 @@ prefs_cancel_callback (GtkWidget *widget,
edit_install_cmap = old_install_cmap;
edit_cycled_marching_ants = old_cycled_marching_ants;
edit_last_opened_size = old_last_opened_size;
edit_nav_window_per_display = old_nav_window_per_display;
edit_info_window_follows_mouse = old_info_window_follows_mouse;
edit_disable_tearoff_menus = old_disable_tearoff_menus;
......@@ -1041,7 +1030,6 @@ prefs_toggle_callback (GtkWidget *widget,
data == &edit_stingy_memory_use ||
data == &edit_install_cmap ||
data == &edit_cycled_marching_ants ||
data == &edit_nav_window_per_display ||
data == &edit_info_window_follows_mouse ||
data == &edit_disable_tearoff_menus)
{
......@@ -1105,7 +1093,9 @@ prefs_nav_preview_size_callback (GtkWidget *widget,
{
gimp_menu_item_update (widget, data);
#if 0
gdisplays_nav_preview_resized ();
#endif
}
static void
......@@ -1643,7 +1633,6 @@ preferences_dialog_create (Gimp *gimp)
edit_install_cmap = gimprc.install_cmap;
edit_cycled_marching_ants = gimprc.cycled_marching_ants;
edit_last_opened_size = gimprc.last_opened_size;
edit_nav_window_per_display = gimprc.nav_window_per_display;
edit_info_window_follows_mouse = gimprc.info_window_follows_mouse;
edit_disable_tearoff_menus = gimprc.disable_tearoff_menus;
......@@ -1718,7 +1707,6 @@ preferences_dialog_create (Gimp *gimp)
old_install_cmap = edit_install_cmap;
old_cycled_marching_ants = edit_cycled_marching_ants;
old_last_opened_size = edit_last_opened_size;
old_nav_window_per_display = edit_nav_window_per_display;
old_info_window_follows_mouse = edit_info_window_follows_mouse;
old_disable_tearoff_menus = edit_disable_tearoff_menus;
......@@ -2102,8 +2090,6 @@ preferences_dialog_create (Gimp *gimp)
/* Dialog Bahaviour */
vbox2 = prefs_frame_new (_("Dialog Behavior"), GTK_CONTAINER (vbox));
prefs_check_button_new (_("Navigation Window per Display"),
&edit_nav_window_per_display, GTK_BOX (vbox2));
prefs_check_button_new (_("Info Window Follows Mouse"),
&edit_info_window_follows_mouse, GTK_BOX (vbox2));
......
......@@ -49,6 +49,8 @@ libappdisplay_a_sources = @STRIP_BEGIN@ \
gimpdisplayshell-scroll.h \
gimpdisplayshell-selection.c \
gimpdisplayshell-selection.h \
gimpnavigationview.c \
gimpnavigationview.h \
gimpprogress.c \
gimpprogress.h \
gimpstatusbar.c \
......
......@@ -26,13 +26,14 @@
#include "display/display-enums.h"
typedef struct _GimpDisplay GimpDisplay; /*< proxy-resume >*/
typedef struct _GimpDisplayShell GimpDisplayShell;
typedef struct _GimpDisplay GimpDisplay; /*< proxy-resume >*/
typedef struct _GimpDisplayShell GimpDisplayShell;
typedef struct _GimpStatusbar GimpStatusbar; /*< proxy-skip >*/
typedef struct _GimpNavigationView GimpNavigationView; /*< proxy-skip >*/
typedef struct _GimpStatusbar GimpStatusbar;
typedef struct _NavigationDialog NavigationDialog;
typedef struct _Selection Selection;
typedef struct _NavigationDialog NavigationDialog;
typedef struct _Selection Selection;
#endif /* __DISPLAY_TYPES_H__ */
......@@ -28,8 +28,6 @@
#include "gimpdisplay-foreach.h"
#include "gimpdisplayshell.h"
#include "nav_window.h"
void
gdisplays_foreach (GFunc func,
......@@ -52,27 +50,6 @@ gdisplays_expose_full (void)
}
}
void
gdisplays_nav_preview_resized (void)
{
GimpDisplayShell *shell;
GSList *list;
for (list = display_list; list; list = g_slist_next (list))
{
shell = GIMP_DISPLAY_SHELL (GIMP_DISPLAY (list->data)->shell);
if (shell->nav_dialog)
nav_dialog_preview_resized (shell->nav_dialog);
if (shell->nav_popup)
{
nav_dialog_free (NULL, shell->nav_popup);
shell->nav_popup = NULL;
}
}
}
gboolean
gdisplays_dirty (void)
{
......
......@@ -31,7 +31,6 @@ gboolean gdisplays_dirty (void);
void gdisplays_delete (void);
void gdisplays_flush (void);
void gdisplays_finish_draw (void);
void gdisplays_nav_preview_resized (void);
void gdisplays_set_busy (void);
void gdisplays_unset_busy (void);
......
......@@ -41,7 +41,6 @@
#include "gimpdisplayshell-handlers.h"
#include "gimprc.h"
#include "nav_window.h"
#include "libgimp/gimpintl.h"
......
......@@ -57,10 +57,10 @@
#include "gimpdisplayshell-scale.h"
#include "gimpdisplayshell-scroll.h"
#include "gimpdisplayshell-selection.h"
#include "gimpnavigationview.h"
#include "gimpstatusbar.h"
#include "gimprc.h"
#include "nav_window.h"
#include "libgimp/gimpintl.h"
......@@ -1241,7 +1241,7 @@ gimp_display_shell_nav_button_press (GtkWidget *widget,
{
if ((bevent->type == GDK_BUTTON_PRESS) && (bevent->button == 1))
{
nav_dialog_create_popup (shell, widget, bevent->x, bevent->y);
gimp_navigation_view_popup (shell, widget, bevent->x, bevent->y);
}
return TRUE;
......
......@@ -41,6 +41,7 @@
#include "core/gimpimage-new.h"
#include "core/gimplayer.h"
#include "core/gimplayermask.h"
#include "core/gimpmarshal.h"
#include "core/gimppattern.h"
#include "file/file-utils.h"
......@@ -70,7 +71,6 @@
#include "gimpstatusbar.h"
#include "gimprc.h"
#include "nav_window.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
......@@ -78,6 +78,13 @@
#define MAX_TITLE_BUF 256
enum
{
SCALED,
SCROLLED,
LAST_SIGNAL
};
/* local function prototypes */
......@@ -114,6 +121,8 @@ static void gimp_display_shell_close_warning_callback (GtkWidget *widget
gpointer data);
static guint display_shell_signals[LAST_SIGNAL] = { 0 };
static GtkWindowClass *parent_class = NULL;
......@@ -167,6 +176,24 @@ gimp_display_shell_class_init (GimpDisplayShellClass *klass)
parent_class = g_type_class_peek_parent (klass);
display_shell_signals[SCALED] =
g_signal_new ("scaled",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GimpDisplayShellClass, scaled),
NULL, NULL,
gimp_marshal_VOID__VOID,
G_TYPE_NONE, 0);
display_shell_signals[SCROLLED] =
g_signal_new ("scrolled",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GimpDisplayShellClass, scrolled),
NULL, NULL,
gimp_marshal_VOID__VOID,
G_TYPE_NONE, 0);
object_class->destroy = gimp_display_shell_destroy;
widget_class->delete_event = gimp_display_shell_delete_event;
......@@ -234,7 +261,6 @@ gimp_display_shell_init (GimpDisplayShell *shell)
shell->warning_dialog = NULL;
shell->info_dialog = NULL;
shell->nav_dialog = NULL;
shell->nav_popup = NULL;
shell->filters = NULL;
......@@ -336,15 +362,9 @@ gimp_display_shell_destroy (GtkObject *object)
shell->info_dialog = NULL;
}
/* free the nav_dialog unconditionally because nav_dialog_free(shell,NULL)
* acts as notification for the global nav dialog
*/
nav_dialog_free (shell, shell->nav_dialog);
shell->nav_dialog = NULL;
if (shell->nav_popup)
{
nav_dialog_free (shell, shell->nav_popup);
gtk_widget_destroy (shell->nav_popup);
shell->nav_popup = NULL;
}
......@@ -784,6 +804,22 @@ gimp_display_shell_reconnect (GimpDisplayShell *shell)
gimp_display_shell_shrink_wrap (shell);
}
void
gimp_display_shell_scaled (GimpDisplayShell *shell)
{
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_signal_emit (G_OBJECT (shell), display_shell_signals[SCALED], 0);
}
void
gimp_display_shell_scrolled (GimpDisplayShell *shell)