Add GIMP_STOCK_INPUT_DEVICE icons and use them for the devices dialog

From icon masta Jimmac.
This commit is contained in:
Michael Natterer 2010-02-19 21:23:02 +01:00
parent eb244f208a
commit 5f0255e269
7 changed files with 8 additions and 2 deletions

View File

@ -213,7 +213,7 @@ static const GimpStringActionEntry dialogs_toplevel_actions[] =
"gimp-preferences-dialog",
GIMP_HELP_PREFS_DIALOG },
{ "dialogs-input-devices", GIMP_STOCK_DEVICE_STATUS, /* FIXME stock-id */
{ "dialogs-input-devices", GIMP_STOCK_INPUT_DEVICE,
NC_("dialogs-action", "_Input Devices"), NULL,
NC_("dialogs-action", "Open the input devices editor"),
"gimp-input-devices-dialog",

View File

@ -103,7 +103,7 @@ gimp_device_info_class_init (GimpDeviceInfoClass *klass)
object_class->set_property = gimp_device_info_set_property;
object_class->get_property = gimp_device_info_get_property;
viewable_class->default_stock_id = GIMP_STOCK_DEVICE_STATUS; /* FIXME */
viewable_class->default_stock_id = GIMP_STOCK_INPUT_DEVICE;
g_object_class_install_property (object_class, PROP_DEVICE,
g_param_spec_object ("device",

View File

@ -197,6 +197,7 @@ static const GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_TOOLS, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_TOOL_OPTIONS, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_DEVICE_STATUS, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_INPUT_DEVICE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CURSOR, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_SAMPLE_POINT, NULL, 0, 0, LIBGIMP_DOMAIN },
@ -390,6 +391,7 @@ gimp_stock_button_pixbufs[] =
{ GIMP_STOCK_TOOLS, stock_tools_24 },
{ GIMP_STOCK_TOOL_OPTIONS, stock_tool_options_24 },
{ GIMP_STOCK_DEVICE_STATUS, stock_device_status_24 },
{ GIMP_STOCK_INPUT_DEVICE, stock_input_device_22 },
{ GIMP_STOCK_CURSOR, stock_cursor_24 },
{ GIMP_STOCK_SAMPLE_POINT, stock_sample_point_24 },
@ -516,6 +518,7 @@ gimp_stock_menu_pixbufs[] =
{ GIMP_STOCK_TOOLS, stock_tools_16 },
{ GIMP_STOCK_TOOL_OPTIONS, stock_tool_options_16 },
{ GIMP_STOCK_DEVICE_STATUS, stock_device_status_16 },
{ GIMP_STOCK_INPUT_DEVICE, stock_input_device_16 },
{ GIMP_STOCK_CURSOR, stock_cursor_16 },
{ GIMP_STOCK_SAMPLE_POINT, stock_sample_point_16 },

View File

@ -214,6 +214,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_TOOLS "gimp-tools"
#define GIMP_STOCK_TOOL_OPTIONS "gimp-tool-options"
#define GIMP_STOCK_DEVICE_STATUS "gimp-device-status"
#define GIMP_STOCK_INPUT_DEVICE "gimp-input-device"
#define GIMP_STOCK_CURSOR "gimp-cursor"
#define GIMP_STOCK_SAMPLE_POINT "gimp-sample-point"

View File

@ -71,6 +71,7 @@ STOCK_MENU_IMAGES = \
stock-image-16.png \
stock-images-16.png \
stock-info-16.png \
stock-input-device-16.png \
stock-invert-16.png \
stock-join-bevel-16.png \
stock-join-miter-16.png \
@ -177,6 +178,7 @@ STOCK_BUTTON_IMAGES = \
stock-image-24.png \
stock-images-24.png \
stock-info-24.png \
stock-input-device-22.png \
stock-layer-24.png \
stock-layer-mask-24.png \
stock-layers-24.png \

Binary file not shown.

After

(image error) Size: 843 B

Binary file not shown.

After

(image error) Size: 1.1 KiB