- 24 Nov, 2004 1 commit
-
-
Michael Natterer authored
2004-11-24 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpcontroller.[ch]: guarded the whole header with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION because it's no fixed API yet. Added a "state" property bacause "name" was abused as the controller's state. Added "help_domain" to the controller class. * libgimpwidgets/gimpwidgets.h: don't include gimpcontroller.h * modules/controller_linux_input.c * modules/controller_midi.c: set the "name" property to the name retrieved from the device, or to a default string if no name is available. Store the status in the "state" property. Added and changed some strings, but it's better to have the controller strings untranslated than to have no tooltips at all or misleading labels. * app/widgets/gimpcontrollerkeyboard.c * app/widgets/gimpcontrollerwheel.c: set default strings for both. * app/widgets/gimpcontrollereditor.c: added a GUI for the "state" property. * app/widgets/gimpcontrollerkeyboard.h * app/widgets/gimpcontrollerwheel.h * app/widgets/gimpcontrollerinfo.c * app/widgets/gimpcontrollers.c: #define GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION (just as in all files above). * app/widgets/gimphelp-ids.h: added the IDs of all controller modules and also of all other modules. The defines are not actually used, but this file is the canonical place to collect all the core's help IDs.
-
- 13 Nov, 2004 1 commit
-
-
Sven Neumann authored
2004-11-13 Sven Neumann <sven@gimp.org> * app/dialogs/Makefile.am * app/dialogs/print-size-dialog.[ch]: new files for the Print Size dialog that is still missing. Still work in progress... * app/actions/image-actions.c * app/actions/image-commands.[ch] * app/widgets/gimphelp-ids.h * menus/image-menu.xml.in: integrate the new dialog.
-
- 29 Oct, 2004 1 commit
-
-
Øyvind Kolås authored
-
- 04 Oct, 2004 1 commit
-
-
Sven Neumann authored
2004-10-04 Sven Neumann <sven@gimp.org> * app/config/gimpguiconfig.[ch] * app/config/gimprc-blurbs.h: added gimprc option "show-help-button". * app/dialogs/preferences-dialog.c: added a GUI for it. * app/dialogs/file-save-dialog.c * app/dialogs/image-new-dialog.c * app/dialogs/quit-dialog.c * app/display/gimpdisplayshell-close.c * app/widgets/gimphelp-ids.h: don't set help-ids on confirmation dialogs. * libgimpbase/gimpprotocol.[ch] * libgimp/gimp.[ch]: added boolean "show_help_button" to the config message. * app/plug-in/plug-in-run.c: pass the new preference to the plug-in. * libgimpwidgets/gimpdialog.[ch]: added new function that allows to set whether new dialogs should get a help button added. * app/gui/gui.c * libgimp/gimpui.c: call gimp_dialogs_show_help_button() according to the gimprc settings.
-
- 21 Sep, 2004 1 commit
-
-
Michael Natterer authored
2004-09-21 Michael Natterer <mitch@gimp.org> For the sake of completeness, added a GUI for the hidden "Open as Layer" feature: * app/actions/file-actions.c * app/actions/file-commands.[ch]: added "file-open-as-layer" action and callback. Abuse the "gimage" field of GimpFileDialog to indicate layer opening (it's otherwise unused for file-open). * app/dialogs/file-open-dialog.c: if dialog->gimage is non-NULL, open the selected files as layers for that image. * app/widgets/gimphelp-ids.h: added GIMP_HELP_FILE_OPEN_AS_LAYER. * menus/image-menu.xml.in: added it to the menu.
-
- 15 Sep, 2004 1 commit
-
-
Michael Natterer authored
2004-09-15 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: added help IDs for the drawable- and vectors-visible and -liked actions as well as for the layer mask property action. * app/actions/drawable-actions.c * app/actions/vectors-actions.c: use them. * app/actions/layers-actions.c * app/actions/layers-commands.[ch]: ditto. Use GIMP_STOCK_TRANSPARENCY for all layer opacity actions. Replaced "paint_mode" by "mode" in all action and function/variable names because this is the layer mode, not a paint mode. * app/actions/channels-commands.c * app/actions/layers-commands.c * app/actions/vectors-commands.c: set the "activates-default" property on the name entry in all "New Foo" and "Edit Foo Attributes" dialogs except in the "New Layer" dialog. Addresses bug #148026. * menus/image-menu.xml.in: added a (commented out) layer properties menu containing all the new actions.
-
- 04 Sep, 2004 1 commit
-
-
Simon Budig authored
2004-09-05 Simon Budig <simon@gimp.org> * app/core/gimpimage-resize.[ch]: Implement function to resize the image to contain all layers completely. Untabified. * app/actions/image-actions.c * app/actions/image-commands.[ch] * app/widgets/gimphelp-ids.h * menus/image-menu.xml.in: Make it available in the GUI. * tools/pdbgen/pdb/image.pdb: Make it available in the PDB. * app/pdb/image_cmds.c * app/pdb/internal_procs.c * libgimp/gimpimage_pdb.[ch]: regenerated.
-
- 28 Aug, 2004 1 commit
-
-
Sven Neumann authored
2004-08-28 Sven Neumann <sven@gimp.org> * app/widgets/gimphelp-ids.h * app/widgets/gimptoolbox.c (toolbox_create_image_area): added a help-id for the image area.
-
- 18 Aug, 2004 1 commit
-
-
Sven Neumann authored
2004-08-18 Sven Neumann <sven@gimp.org> * app/widgets/gimphelp-ids.h: define GIMP_HELP_DOCK_SEPARATOR. * app/widgets/gimpdock.c * app/widgets/gimpdockable.c: help-ids are never used directly, use the defines from app/widgets/gimphelp-ids.h instead.
-
- 27 Jul, 2004 1 commit
-
-
Sven Neumann authored
2004-07-27 Sven Neumann <sven@gimp.org> * app/widgets/gimphelp-ids.h removed unused help IDs GIMP_HELP_FILE_OPEN_XCF and GIMP_HELP_FILE_SAVE_XCF. The help IDs for these entries are generated from the procedure names.
-
- 26 Jul, 2004 1 commit
-
-
Michael Natterer authored
2004-07-26 Michael Natterer <mitch@gimp.org> * app/pdb/procedural_db.[ch] (procedural_db_free_data): new function which clears the whole list of data set by plug-ins. (procedural_db_free): use it. * app/actions/plug-in-actions.c * app/actions/plug-in-commands.[ch]: added action, callback and confirmation dialog for "Reset all filters to default values". Somehow addresses bug #81015. * app/widgets/gimphelp-ids.h: added a help ID for the new action. * menus/image-menu.xml.in: added it to the "Filters" submenu.
-
- 17 Jul, 2004 2 commits
-
-
Michael Natterer authored
2004-07-17 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: added the removed help IDs back. * app/widgets/gimpfileprocview.[ch]: cache all file_procs' help IDs and added gimp_file_proc_view_get_help_id() which returns the selected item's help ID. * app/widgets/gimpfiledialog.c: added a custom help func which shows the help for the selected file_proc if the proc_view has the focus.
-
Sven Neumann authored
2004-07-17 Sven Neumann <sven@gimp.org> * app/actions/file-actions.c (file_actions): use GIMP_STOCK_WEB for "file-open-location". * app/widgets/gimpfiledialog.c: create the scrolled window with shadow_type GTK_SHADOW_IN. * app/widgets/gimpfileprocview.c (gimp_file_proc_view_new): skip procedures that register a prefix (the URL loader). * app/widgets/gimphelp-ids.h: removed help IDs that used to be used from the file-open and file-save menus. * plug-ins/common/xwd.c (query): "X window dump" seems to be more appropriate than "X window image".
-
- 22 Jun, 2004 1 commit
-
-
Michael Natterer authored
2004-06-22 Michael Natterer <mitch@gimp.org> * app/actions/view-actions.c * app/actions/view-commands.[ch]: added actions & callbacks to configure the canvas padding color. * app/widgets/gimphelp-ids.h * menus/image-menu.xml.in: added the actions' help IDs and menu entries. * app/display/display-enums.h: added /*< skip >*/'ed enum value GIMP_CANVAS_PADDING_MODE_RESET. * app/display/gimpdisplayshell-appearance.c * app/display/gimpdisplayshell-callbacks.[ch] * app/display/gimpdisplayshell-handlers.c * app/display/gimpdisplayshell.[ch]: removed the canvas padding button and its popup menu (fixes bug #142996). Instead, added a toggle button which allows to zoom the image when the window is resized (as known from sodipodi, except it doesn't work as nice yet :-) improvements to the algorithm are welcome). Cleaned up the GimpDisplayShell struct a bit and renamed some of its members. * libgimpwidgets/gimpstock.[ch] * themes/Default/images/Makefile.am * themes/Default/images/stock-zoom-follow-window-12.png: added new icon for the new display toggle button.
-
- 20 Jun, 2004 1 commit
-
-
Philip Lafleur authored
2004-06-20 Philip Lafleur <plafleur@cvs.gnome.org> * app/display/gimpdisplayshell-scale.[ch]: * app/display/gimpnavigationview.[ch]: * app/actions/view-actions.c: * app/actions/view-commands.[ch]: * app/widgets/gimphelp-ids.h: * menus/image-menu.xml.in: Changed "Zoom to Fit Window" command to "Fit Image in Window" and added another command, "Fit Image to Window", that zooms according to the opposite dimension. Fixes bug #144597.
-
- 17 Jun, 2004 1 commit
-
-
Michael Natterer authored
2004-06-17 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpcontroller.[ch]: removed "enabled" property. Removed GIMP_CONTROLLER_PARAM_RERIALIZE from the "name" property because it's the hardware-determined name of this controller instance. * app/widgets/gimpcontrollerwheel.c * modules/controller_linux_input.c: set the name. * libgimpwidgets/gimpwidgets.h: #include gimpcontroller.h. * app/widgets/gimpcontrollerinfo.[ch]: added "enabled" here instead. Don't dispatch events if the controller is disabled. Made everything work (not crash) with info->mapping being NULL. * etc/controllerrc: updated again with the changed format. * app/widgets/gimpcontrollers.[ch]: added gimp_controllers_get_list() which returns the container of controllers. * app/widgets/gimphelp-ids.h * app/gui/preferences-dialog.c: added controller configuration (can't change anything yet, just view the current settings). Resurrected the "Input Devices" page and removed the "Session" page by moving its widgets to other pages. Pack the various "Save now"/"Clear now" buttons vertically, not horizontally. Fixes bug #139069. * themes/Default/images/preferences/Makefile.am * themes/Default/images/preferences/controllers.png * themes/Default/images/preferences/theme.png: new icons for new prefs pages. Someone needs to make them nice...
-
- 09 Jun, 2004 1 commit
-
-
Sven Neumann authored
2004-06-10 Sven Neumann <sven@gimp.org> * app/widgets/gimptemplateeditor.[ch]: added an API to expand/collapse the "Advanced Options" frame. * app/gui/preferences-dialog.c * app/widgets/gimphelp-ids.h: applied a patch done by William Skaggs that cleans up and reorganizes the Preferences dialog (bug #144060).
-
- 31 May, 2004 2 commits
-
-
Michael Natterer authored
2004-05-31 Michael Natterer <mitch@gimp.org> * app/widgets/Makefile.am * app/widgets/gimptoolbox-image-area.[ch]: new toolbox area which shows the active image. * app/config/gimpguiconfig.[ch] * app/config/gimprc-blurbs.h: added config options to control the visibility of the toolbox' color, indicator and image areas. * app/widgets/gimptoolbox.[ch]: added the image area and honor the new config options. Put the various areas into their own wrap box. * app/widgets/gimptoolbox-dnd.c: changed accordingly. * app/widgets/gimphelp-ids.h: added a help ID for the image area. * app/widgets/gimptoolbox-indicator-area.c: made the previews a bit larger, cleanup. * app/gui/preferences-dialog.c: added a "Toolbox" page as GUI for the new config options. * themes/Default/images/preferences/Makefile.am * themes/Default/images/preferences/toolbox.png: a (wrong) icon for the "Toolbox" prefs page. Needs to be replaced.
-
Sven Neumann authored
2004-05-31 Sven Neumann <sven@gimp.org> * app/Makefile.am * app/actions/file-actions.c * app/actions/file-commands.[ch] * app/gui/Makefile.am * app/gui/file-open-location-dialog.[ch] * app/widgets/gimphelp-ids.h * menus/image-menu.xml.in * menus/toolbox-menu.xml.in: added a rudimentary "Open Location" dialog.
-
- 04 May, 2004 1 commit
-
-
Michael Natterer authored
2004-05-04 Michael Natterer <mitch@gimp.org> * app/core/gimpimage.c (gimp_image_undo_freeze,thaw): emit the "undo-freeze" and "undo-thaw" signals only on the first freeze and last thaw, not on any of them. * app/widgets/gimphelp-ids.h: added GIMP_HELP_EDIT_UNDO_CLEAR. * app/widgets/gimpundoeditor.[ch]: added a "Clear Undo History" button. Fixes bug #136300. Also don't attach to the image's undo stack if the image's undo is disabled and set the buttons' sensitivity accordingly. Should fix all kinds of unpredictable undo history brokenness.
-
- 28 Jan, 2004 1 commit
-
-
Michael Natterer authored
2004-01-28 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: updated help IDs for new/reordered pages in the prefs dialog. * app/gui/preferences-dialog.c (prefs_dialog_new): changed accordingly.
-
- 20 Jan, 2004 1 commit
-
-
Michael Natterer authored
2004-01-20 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: added help IDs for the libgimp export and unit dialogs. * libgimp/gimpexport.c * libgimpwidgets/gimpunitmenu.c: replaced html links by the new help IDs. * plug-ins/*/*.c: replaced all html help links by help IDs. A plug-in's help ID is its procedure name with '_' relaced by '-'. (e.g. file_tiff_save's help ID is file-tiff-save) Did some random indentation and whitespace cleanup.
-
- 05 Jan, 2004 1 commit
-
-
Sven Neumann authored
2004-01-05 Sven Neumann <sven@gimp.org> * app/core/core-enums.[ch]: added GIMP_UNDO_TEXT_LAYER to GimpUndoType enum. * app/core/gimpimage-undo-push.[ch]: added new undo function gimp_image_undo_push_text_layer(). * app/text/gimptextlayer.[ch]: renamed gimp_text_layer_render() to gimp_layer_text_layer_flush(). Added new function gimp_text_layer_discard(). * app/text/gimptextlayer-transform.c: changed accordingly. * app/gui/image-menu.c * app/gui/layers-commands.[ch] * app/gui/layers-menu.c: added menu entries that allow to discard the text information of a text layer (bug #118547). * app/widgets/gimppreviewrendererlayer.c (gimp_preview_renderer_layer_render): treat text layers without a text object like ordinary layers. * app/widgets/gimppreviewrenderer-utils.c: include gimplayer.h instead of gimptextlayer.h.
-
- 21 Nov, 2003 1 commit
-
-
Henrik Brix Andersen authored
2003-11-21 Henrik Brix Andersen <brix@gimp.org> * app/widgets/gimphelp-ids.h * app/gui/preferences-dialog.c: changed "Window Manager" to "Window Management" and "Decorations" to "Window Type Hints" * themes/Default/images/preferences/window-manager.png: removed... * themes/Default/images/preferences/Makefile.am * themes/Default/images/preferences/window-management.png: ... and added under a new name.
-
- 20 Nov, 2003 1 commit
-
-
Henrik Brix Andersen authored
2003-11-20 Henrik Brix Andersen <brix@gimp.org> * app/gui/preferences-dialog.c * app/widgets/gimphelp-ids.h: Added Window Manager tab exposing the window manager hint settings to the user, moved the activate-on-focus setting to this tab as well. * themes/Default/images/preferences/window-manager.png * themes/Default/images/preferences/Makefile.am: added empty placeholder for Window Manager preferences icon.
-
- 12 Nov, 2003 1 commit
-
-
Michael Natterer authored
2003-11-12 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell.c * app/widgets/gimplayertreeview.c * app/widgets/gimphelp-ids.h: replaced the last few html help links in app/ by help IDs.
-
- 10 Nov, 2003 1 commit
-
-
Michael Natterer authored
2003-11-10 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-callbacks.c: removed the "Move to Screen" hack. * app/gui/dialogs-commands.[ch] * app/gui/view-commands.[ch] * app/gui/dialogs-menu.c * app/gui/image-menu.c: added proper menu items to the <Image>/View and the <Dialogs> menus so all image windows and docks can be sent to other screens. Hide the menu items when there is just one screen. * app/widgets/gimphelp-ids.h: new help IDd for the new menu items.
-
- 07 Nov, 2003 1 commit
-
-
Simon Budig authored
2003-11-07 Simon Budig <simon@gimp.org> * app/vectors/gimpvectors.[ch]: New function that appends a duplicate of the source vectors strokes to the list of strokes of a target vectors object. * app/core/gimpimage-merge.[ch] * app/core/core-enums.h: Use this new function to merge the visible vectors in an Image. New Undo type for vectors merging. * app/core/core-enums.c: regenerated. * app/gui/vectors-menu.c * app/gui/vectors-commands.[ch] * app/widgets/gimphelp-ids.h: New Menu entry + callback to invoke the merge functionality. New Help ID for the menu entry.
-
- 01 Nov, 2003 1 commit
-
-
Sven Neumann authored
2003-11-01 Sven Neumann <sven@gimp.org> Replaced the histogram tool by a histogram dialog: * themes/Default/images/Makefile.am * themes/Default/images/tools/stock-tool-histogram-[16|22].png: removed here ... * themes/Default/images/stock-histogram-[16|22].png: ,,, and added under these new names. * libgimpwidgets/gimpstock.[ch]: register the icons as GIMP_STOCK_HISTOGRAM and removed the histogram tool stock icons. * app/base/gimphistogram.c: don't crash when uncalculated values are requested from a GimpHistogram. Allow to reset the histogram by calling gimp_histogram_calculate() with a NULL region. * app/widgets/gimphistogrambox.[ch]: renamed the GimpHistogramView struct member to "view". * app/tools/gimpthresholdtool.c: changed accordingly. * app/widgets/gimphistogramview.[ch] (gimp_histogram_view_events): return TRUE when events were handled. * app/tools/Makefile.am * app/tools/gimp-tools.c * app/tools/gimphistogramtool.[ch]: removed the histogram tool. * app/widgets/Makefile.am * app/widgets/gimphelp-ids.h * app/widgets/widgets-types.h * app/widgets/gimphistogrameditor.[ch]: added GimpHistogramEditor. Has some rough edges still... * app/gui/dialogs-constructors.[ch] * app/gui/dialogs.c * app/gui/image-menu.c: register the new dialog instead of the histogram tool.
-
- 26 Oct, 2003 1 commit
-
-
Henrik Brix Andersen authored
2003-10-26 Henrik Brix Andersen <brix@gimp.org> * gimp/app/widgets/gimphelp-ids.h * gimp/app/gui/preferences-dialog.c: - moved all session related settings to a new Session Management page - moved Web Browser setting to Help System page - changed Configure Input Devices to Configure Extended Input Devices * gimp/themes/Default/images/preferences/Makefile.am * gimp/themes/Default/images/preferences/session.png: re-added session.png * gimp/app/widgets/gimpdevices.h * gimp/app/widgets/gimpdevices.c (gimp_devices_clear): function added to be consistent with the rest of the session management routines. This function needs to be filled in. * gimp/app/widgets/gimptemplateeditor.c * gimp/app/widgets/gimpgrideditor.c: fixed spacing between widgets
-
- 23 Oct, 2003 1 commit
-
-
Sven Neumann authored
2003-10-23 Sven Neumann <sven@gimp.org> * themes/Default/images/Makefile.am * themes/Default/images/stock-tools-[16|24].png * themes/Default/images/stock-device-status-24.png * themes/Default/images/stock-tool-options-24.png: new icons drawn by Jimmac. * libgimpwidgets/gimpstock.[ch]: register the new icons. * app/gui/dialogs-constructors.c * app/gui/dialogs-menu.c: use the new GIMP_STOCK_TOOLS icon. * app/gui/image-menu.c * app/gui/toolbox-menu.c: add the Tools dialog entry here as well. * app/widgets/gimphelp-ids: s/TOOL_DIALOG/TOOLS_DIALOG/.
-
- 18 Oct, 2003 1 commit
-
-
Michael Natterer authored
2003-10-18 Michael Natterer <mitch@gimp.org> * app/text/gimp-fonts.c (gimp_fonts_load): added gimp_container_freeze() / _thaw() around font list reloading. * app/tools/gimp-tools.c (gimp_tools_init): added missing gimp_container_freeze(). * app/widgets/gimpcontainerview.c: connect to the container's "freeze" and "thaw" signals and empty / refill the view accordingly. Ignore "add", "remove" and "reorder" signals while the container is frozen. Fixes font list sorting after refresh and speeds up refreshing of fonts, brushes, patterns etc. * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpfontview.[ch]: new widget for the font list/grid. * app/widgets/gimphelp-ids.h: added GIMP_HELP_FONT_REFRESH. * app/gui/dialogs-constructors.c: changed accordingly. * app/gui/Makefile.am * app/gui/fonts-commands.[ch] * app/gui/fonts-menu.[ch]: new files: a menu for the font view. * app/gui/menus.c (menus_init): register the new <Fonts> menu. * app/gui/preferences-dialog.c (prefs_dialog_new): removed the fonts refreshing hack from the "Environment" page.
-
- 10 Oct, 2003 1 commit
-
-
Henrik Brix Andersen authored
2003-10-10 Henrik Brix Andersen <brix@gimp.org> * app/core/gimpimage-grid.[ch]: removed the grid parasite related functions from here ... * app/core/gimpgrid.[ch]: ... and added them here. While I was at it I also changed PROP_TYPE to PROP_STYLE and added blurbs to the properties * app/xcf/xcf-load.c * app/display/gimpdisplayshell.c: changed accordingly * app/widgets/Makefile.am * po/POTFILES.in * app/widgets/widgets-types.h * app/widgets/gimpgrideditor.[ch]: added a new GimpGridEditor widget - with a work-around for the fact that gimp_prop_coordinated_new() doesn't accept boundaries * app/gui/grid-dialog.h * app/gui/grid-dialog.c (grid_dialog_new): use the new GimpGridEditor widget, take a GimpImage as function parameter, assume GimpImages always have a GimpGrid. This simplifies the grid dialog. * app/gui/image-commands.c (image_configure_grid_cmd_callback): changed accordingly * app/core/core-types.h: moved typedef GimpGrid from here ... * app/config/config-types.h: ... to here to be able to use it in GimpCoreConfig * app/config/gimprc-blurbs.h * app/config/gimpcoreconfig.[ch]: added default_grid member * app/widgets/gimphelp-ids.h * themes/Default/images/preferences/Makefile.am * themes/Default/images/default-grid.png * app/gui/preferences-dialog.c: added UI for specifying default image grid * app/core/gimpimage.c (gimp_image_new): create a GimpGrid from core_config->default_grid * app/gui/image-menu.c (image_menu_update): the grid/guide entries in <Image>/View/ should always be sensitive ... * app/display/gimpdisplayshell.c (gimp_display_shell_init): ... but the grid entries should be disabled by default
-
- 30 Sep, 2003 1 commit
-
-
Michael Natterer authored
2003-09-30 Michael Natterer <mitch@gimp.org> * app/gui/tool-options-menu.c: added a "Rename Saved Options" submenu and factored on-the-fly submenu creation out to a utility function. * app/gui/tool-options-commands.[ch]: added rename callback. * app/widgets/gimphelp-ids.h: added GIMP_HELP_TOOL_OPTIONS_RENAME. * app/widgets/gimptooloptionseditor.c (gimp_tool_options_editor_menu_popup): pass "button = 0" to gtk_menu_popup() because we show the menu on button_release, not on button_press.
-
- 29 Sep, 2003 2 commits
-
-
Michael Natterer authored
2003-09-30 Michael Natterer <mitch@gimp.org> * app/gui/tool-options-menu.[ch] (tool_options_menu_setup): new function for stuff which needs to be done once, not on every tool_options_menu_update(). Cleanup. * app/gui/menus.c: register it as setup_func of <ToolOptions>. * app/gui/tool-options-commands.c: removed the "Reset" implementations and activate GimpToolOptionsEditor's buttons accordingly. * app/widgets/gimphelp-ids.h: added GIMP_HELP_TOOL_OPTIONS_DELETE. * app/widgets/gimptooloptionseditor.[ch]: moved "Reset" implementations to this file. Added "Delete" button. Pop up the "Save", "Restore" and "Delete" submenus of the <ToolOptions> item_factory when the resp. buttons are clicked.
-
Michael Natterer authored
2003-09-29 Michael Natterer <mitch@gimp.org> * app/core/gimptoolinfo.[ch]: added a GimpContainer of tool options presets. * app/core/gimptooloptions.[ch] (gimp_tool_options_set_property): silently accept setting the *same* tool_info again. (gimp_tool_options_build_filename): is public now. * app/tools/gimp-tools.c (gimp_tools_restore,save): load and save the presets container. * app/gui/tool-options-dialog.[ch]: removed. * app/gui/tool-options-commands.[ch] * app/gui/tool-options-menu.[ch]: new files implementing a menu for the new GimpToolOptionsEditor widget. Has submenus for saving, loading, and deleting tool options to/from the tool_info->options_presets container. * app/gui/Makefile.am * app/gui/dialogs-constructors.c * app/gui/menus.c: changed accordingly. * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimptooloptionseditor.[ch]: the tool options dialog as proper widget. The "Load" and "Save" buttons still do the same stuff as before. Will make them use the new presets since making them do something useful was the reason for this whole change. * app/widgets/gimphelp-ids.h: added missing help IDs for the tool options dialog.
-
- 23 Sep, 2003 1 commit
-
-
Michael Natterer authored
2003-09-23 Michael Natterer <mitch@gimp.org> * app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is registered with each menu. * app/widgets/gimpitemfactory.[ch]: added the title to the constructor and to the GimpItemFactory struct. * app/gui/menus.c: register titles with all menus. * app/widgets/gimpdockable.[ch]: show the tab menu, not the contained dialog's menu when clicking on the menu button. Embed the dialog's menu as submenu. Use the item_factory's title and the dockable's stock_id for the submenu entry. * app/widgets/gimpeditor.c: removed GtkWidget:popup_menu() implementation since that's done by GimpDockable now. * app/widgets/gimpdockbook.c: set the new menu item invisible when showing the menu as tab menu. * app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_TAB_DETACH and renamed _TAB_REMOVE to _TAB_CLOSE. * app/gui/dialogs-menu.c: added the new menu entry for showing the dialog's sub-menu. Added a "Detach" menu item, renamed "Remove" to "Close". Accept both a GimpDockbook and a GimpDockable pointer as "data" in dialogs_menu_update(). * app/gui/dialogs-commands.[ch]: changed accordingly. Never use gtk_item_factory_popup_data_from_widget() but always the "data" passed to the callbacks. Take care to not set the already active preview_size, tab_style and list/grid type in the resp. callbacks to avoid being called from dialogs_menu_update(). * app/gui/dialogs-constructors.c: removed separate set_context_funcs and get_menu_funcs for GimpContainerView and GimpContainerEditor widgets and simply use gimp_container_view_get_by_dockable() to find the right widget.
-
- 19 Sep, 2003 1 commit
-
-
Michael Natterer authored
2003-09-19 Michael Natterer <mitch@gimp.org> Fix for bug #122695: * app/widgets/gimpcolormapeditor.c (gimp_colormap_hex_entry_activate): call gimp_image_flush() after gimp_image_set_colormap_entry() so the projection gets updated. Cleanup / consistency with other dialogs: * app/widgets/gimphelp-ids.h: added help IDs for the colormap editor's menu items and buttons. * app/gui/colormap-editor-menu.c (colormap_editor_menu_entries): use the new help IDs. * app/widgets/gimpcolormapeditor.[ch]: added buttons for "Edit Color" and "Add Color" and moved the color_notebook code to this file. * app/gui/colormap-editor-commands.[ch]: removed almost all code and simply emit "clicked" from the editor's buttons so their callbacks are invoked.
-
- 26 Aug, 2003 2 commits
-
-
Michael Natterer authored
2003-08-26 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: added some toolbox and dock related help IDs. * app/gui/dialogs-menu.c * app/widgets/gimpimagedock.c * app/widgets/gimptoolbox.c: use them.
-
Michael Natterer authored
2003-08-26 Michael Natterer <mitch@gimp.org> Bye bye, "crappy/foo.html": * app/widgets/gimphelp-ids.h: replaced "crappy/foo.html" by "gimp-proper-identifier". * app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id): added "const gchar *help_path" parameter and return a help ID ready for attaching to a menu item. The help ID is no longer constructed from the plug-in's executable name but from the *procedure* name with '_' replaced by '-'. This means we can now have help for each script-fu script and for each of a plug-in's individual procedures. * app/gui/plug-in-menus.c: removed even more duplicated wrong code since plug_in_proc_def_get_help_id() is implemented correctly now. * app/gui/file-open-menu.c * app/gui/file-save-menu.c: ditto. Reorder the "XCF" menu item before the separator and added GIMP_STOCK_WILBER. * app/gui/file-dialog-utils.c: added a mnemonic to the "Determine File Type:" label.
-