app/config/gimpdisplayconfig.[ch] app/config/gimprc-blurbs.h added new

2006-09-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.[ch]
	* app/config/gimprc-blurbs.h
	* app/display/display-enums.[ch]: added new gimprc option
	"space-bar-action" and default to "pan". Will add a GUI for this later.

	* app/display/gimpdisplayshell-callbacks.c: respect the new option
	and either pan the display or push the move tool. Fixes bug #349903.
This commit is contained in:
Sven Neumann
2006-09-08 15:05:36 +00:00
committed by Sven Neumann
parent 2426755ba9
commit d01cef075b
7 changed files with 151 additions and 60 deletions

View File

@ -46,4 +46,16 @@ typedef enum
} GimpCanvasPaddingMode;
#define GIMP_TYPE_SPACE_BAR_ACTION (gimp_space_bar_action_get_type ())
GType gimp_space_bar_action_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_SPACE_BAR_ACTION_NONE, /*< desc="None" >*/
GIMP_SPACE_BAR_ACTION_PAN, /*< desc="Pan" >*/
GIMP_SPACE_BAR_ACTION_MOVE /*< desc="Move" >*/
} GimpSpaceBarAction;
#endif /* __DISPLAY_ENUMS_H__ */