Use Ctrl-P as the default keyboard shortcut for Print (bug ):

2006-07-07  Sven Neumann  <sven@gimp.org>

	Use Ctrl-P as the default keyboard shortcut for Print (bug ):

	* app/actions/dialogs-actions.c: removed Ctrl-P shortcut from
	Palettes dialog.

	* etc/Makefile.am
	* etc/menurc: added a default menurc file that binds Ctrl-P to
	file-print-gtk.

	* app/core/gimp-user-install.c: install the default menurc.
This commit is contained in:
Sven Neumann 2006-07-07 15:31:21 +00:00 committed by Sven Neumann
parent 68f562226c
commit a27ae4b718
5 changed files with 22 additions and 4 deletions

View File

@ -1,3 +1,16 @@
2006-07-07 Sven Neumann <sven@gimp.org>
Use Ctrl-P as the default keyboard shortcut for Print (bug #302870):
* app/actions/dialogs-actions.c: removed Ctrl-P shortcut from
Palettes dialog.
* etc/Makefile.am
* etc/menurc: added a default menurc file that binds Ctrl-P to
file-print-gtk.
* app/core/gimp-user-install.c: install the default menurc.
2006-07-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcoloreditor.c

View File

@ -142,7 +142,7 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
GIMP_HELP_GRADIENT_DIALOG },
{ "dialogs-palettes", GIMP_STOCK_PALETTE,
N_("Pal_ettes"), "<control>P", N_("Palettes"),
N_("Pal_ettes"), NULL, N_("Palettes"),
"gimp-palette-list|gimp-palette-grid",
GIMP_HELP_PALETTE_DIALOG },

View File

@ -79,6 +79,7 @@ static const struct
gimp_user_install_items[] =
{
{ "gtkrc", USER_INSTALL_COPY },
{ "menurc", USER_INSTALL_COPY },
{ "brushes", USER_INSTALL_MKDIR },
{ "fonts", USER_INSTALL_MKDIR },
{ "gradients", USER_INSTALL_MKDIR },

View File

@ -1,13 +1,14 @@
## Makefile.am for gimp/etc
gimpsysconf_DATA = \
controllerrc \
gimprc \
gtkrc \
templaterc \
unitrc \
menurc \
ps-menurc \
sessionrc \
controllerrc
templaterc \
unitrc
EXTRA_DIST = \
$(gimpsysconf_DATA)

3
etc/menurc Normal file
View File

@ -0,0 +1,3 @@
; gimp GtkAccelMap rc-file -*- scheme -*-
;
(gtk_accel_path "<Actions>/plug-in/file-print-gtk" "<Control>p")