[gimp] Add GIMP_STOCK_INPUT_DEVICE icons and use them for the devices dialog
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Add GIMP_STOCK_INPUT_DEVICE icons and use them for the devices dialog
- Date: Fri, 19 Feb 2010 20:25:54 +0000 (UTC)
commit 5f0255e269f30a70ab791c4b166227b480820468
Author: Michael Natterer <mitch gimp org>
Date: Fri Feb 19 21:23:02 2010 +0100
Add GIMP_STOCK_INPUT_DEVICE icons and use them for the devices dialog
From icon masta Jimmac.
app/actions/dialogs-actions.c | 2 +-
app/widgets/gimpdeviceinfo.c | 2 +-
libgimpwidgets/gimpstock.c | 3 +++
libgimpwidgets/gimpstock.h | 1 +
themes/Default/images/Makefile.am | 2 ++
themes/Default/images/stock-input-device-16.png | Bin 0 -> 843 bytes
themes/Default/images/stock-input-device-22.png | Bin 0 -> 1080 bytes
7 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/dialogs-actions.c b/app/actions/dialogs-actions.c
index 771961b..a51c7fc 100644
--- a/app/actions/dialogs-actions.c
+++ b/app/actions/dialogs-actions.c
@@ -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",
diff --git a/app/widgets/gimpdeviceinfo.c b/app/widgets/gimpdeviceinfo.c
index 38830d2..3578e3d 100644
--- a/app/widgets/gimpdeviceinfo.c
+++ b/app/widgets/gimpdeviceinfo.c
@@ -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",
diff --git a/libgimpwidgets/gimpstock.c b/libgimpwidgets/gimpstock.c
index ad5c728..ea1f399 100644
--- a/libgimpwidgets/gimpstock.c
+++ b/libgimpwidgets/gimpstock.c
@@ -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 },
diff --git a/libgimpwidgets/gimpstock.h b/libgimpwidgets/gimpstock.h
index d951e9d..5805c94 100644
--- a/libgimpwidgets/gimpstock.h
+++ b/libgimpwidgets/gimpstock.h
@@ -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"
diff --git a/themes/Default/images/Makefile.am b/themes/Default/images/Makefile.am
index d954ef3..84ea90c 100644
--- a/themes/Default/images/Makefile.am
+++ b/themes/Default/images/Makefile.am
@@ -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 \
diff --git a/themes/Default/images/stock-input-device-16.png b/themes/Default/images/stock-input-device-16.png
new file mode 100644
index 0000000..e2d4194
Binary files /dev/null and b/themes/Default/images/stock-input-device-16.png differ
diff --git a/themes/Default/images/stock-input-device-22.png b/themes/Default/images/stock-input-device-22.png
new file mode 100644
index 0000000..2267b54
Binary files /dev/null and b/themes/Default/images/stock-input-device-22.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]