themes/Default/images/Makefile.am

2004-02-19  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-display-filter-16.png
	* themes/Default/images/stock-display-filter-24.png
	* libgimpwidgets/gimpstock.[ch]: added Jimmac's glasses.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/gui/image-menu.c: and use them.
This commit is contained in:
Michael Natterer 2004-02-19 16:51:44 +00:00 committed by Michael Natterer
parent c33e0e8bc0
commit 799ea1f107
9 changed files with 37 additions and 11 deletions

View File

@ -1,3 +1,13 @@
2004-02-19 Michael Natterer <mitch@gimp.org>
* themes/Default/images/Makefile.am
* themes/Default/images/stock-display-filter-16.png
* themes/Default/images/stock-display-filter-24.png
* libgimpwidgets/gimpstock.[ch]: added Jimmac's glasses.
* app/display/gimpdisplayshell-filter-dialog.c
* app/gui/image-menu.c: and use them.
2004-02-19 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdasheditor.[ch]: removed static variables, don't

View File

@ -24,9 +24,13 @@
#include "display-types.h"
#include "core/gimpviewable.h"
#include "widgets/gimpcolordisplayeditor.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpviewabledialog.h"
#include "gimpdisplay.h"
#include "gimpdisplayshell.h"
#include "gimpdisplayshell-filter.h"
#include "gimpdisplayshell-filter-dialog.h"
@ -65,17 +69,21 @@ gimp_display_shell_filter_dialog_new (GimpDisplayShell *shell)
cdd = g_new0 (ColorDisplayDialog, 1);
cdd->shell = shell;
cdd->dialog = gimp_dialog_new (_("Color Display Filters"),
"gimp-display-filters",
GTK_WIDGET (cdd->shell),
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func,
GIMP_HELP_DISPLAY_FILTER_DIALOG,
cdd->dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (shell->gdisp->gimage),
_("Color Display Filters"),
"gimp-display-filters",
GIMP_STOCK_DISPLAY_FILTER,
_("Configure Color Display Filters"),
GTK_WIDGET (cdd->shell),
gimp_standard_help_func,
GIMP_HELP_DISPLAY_FILTER_DIALOG,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_destroy_with_parent (GTK_WINDOW (cdd->dialog), TRUE);
g_object_weak_ref (G_OBJECT (cdd->dialog), (GWeakNotify) g_free, cdd);

View File

@ -437,7 +437,8 @@ GimpItemFactoryEntry image_menu_entries[] =
NULL,
GIMP_HELP_NAVIGATION_DIALOG, NULL },
{ { N_("/View/Display _Filters..."), NULL,
view_display_filters_cmd_callback, 0 },
view_display_filters_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_DISPLAY_FILTER },
NULL,
GIMP_HELP_DISPLAY_FILTER_DIALOG, NULL },

View File

@ -437,7 +437,8 @@ GimpItemFactoryEntry image_menu_entries[] =
NULL,
GIMP_HELP_NAVIGATION_DIALOG, NULL },
{ { N_("/View/Display _Filters..."), NULL,
view_display_filters_cmd_callback, 0 },
view_display_filters_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_DISPLAY_FILTER },
NULL,
GIMP_HELP_DISPLAY_FILTER_DIALOG, NULL },

View File

@ -193,6 +193,7 @@ static 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_DISPLAY_FILTER, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_IMAGE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_LAYER, NULL, 0, 0, LIBGIMP_DOMAIN },
@ -348,6 +349,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_DISPLAY_FILTER, stock_display_filter_24 },
{ GIMP_STOCK_CHANNEL, stock_channel_24 },
{ GIMP_STOCK_CHANNEL_RED, stock_channel_red_24 },
@ -448,6 +450,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_DISPLAY_FILTER, stock_display_filter_16 },
{ GIMP_STOCK_CHANNEL, stock_channel_16 },
{ GIMP_STOCK_CHANNEL_RED, stock_channel_red_16 },

View File

@ -195,6 +195,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_DISPLAY_FILTER "gimp-display-filter"
#define GIMP_STOCK_LIST "gimp-list"
#define GIMP_STOCK_GRID "gimp-grid"

View File

@ -49,6 +49,7 @@ STOCK_MENU_IMAGES = \
stock-convert-rgb-16.png \
stock-default-colors-12.png \
stock-device-status-16.png \
stock-display-filter-16.png \
stock-eye-12.png \
stock-flip-horizontal-16.png \
stock-flip-vertical-16.png \
@ -136,6 +137,7 @@ STOCK_BUTTON_IMAGES = \
stock-curve-free-16.png \
stock-curve-smooth-16.png \
stock-device-status-24.png \
stock-display-filter-24.png \
stock-duplicate-16.png \
stock-edit-16.png \
stock-eye-20.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B