mirror of https://github.com/GNOME/gimp.git
18 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
Sven Neumann | ff81e6c85e |
fixed usage info.
2002-01-22 Sven Neumann <sven@gimp.org> * gimptool-1.3.in: fixed usage info. * themes/Default/images/Makefile.am: should really install the stock icons defined in our gtkrc. |
|
Michael Natterer | 2a2318cee8 |
removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW
2002-01-13 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpstock.[ch]: removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW etc.). * libgimpwidgets/gimpquerybox.[ch]: moved the icon code from the boolean query box constructor to create_query_box() so it can be used for all of them. New macro GIMP_QUERY_BOX_VBOX() to pack custom widgets into the dialogs. Will probably have to make a real widget out of it to get a sane API... * app/gui/menus.c * app/gui/select-commands.c * app/widgets/gimpbufferview.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimpdocumentview.c * app/widgets/gimpdrawablelistview.c * libgimpwidgets/gimppatheditor.c * plug-ins/common/uniteditor.c: changed accordingly. * libgimpwidgets/gimpwidgets.c: register the WM icons in large -> small order. * themes/Default/Makefile.am: don't create inline pixbufs of the removed stock items' icons... * themes/Default/gtkrc: ...but simply override them here. * themes/Default/imagerc: removed them here too. |
|
Sven Neumann | 448f4b4db6 |
themes/Default/images/Makefile.am
2002-01-09 Sven Neumann <sven@gimp.org> * themes/Default/images/Makefile.am * themes/Default/images/gimp-dialog-error.png * themes/Default/images/gimp-dialog-info.png * themes/Default/images/gimp-dialog-question.png * themes/Default/images/gimp-dialog-warning.png: new stock icons to override the standard gtk-dialog icons. * themes/Default/images/gimp-dialog-icons.xcf.gz: XCF version of the new dialog icons. * themes/Default/gtkrc: override the standard gtk-dialog icons with our versions. * libgimpwidgets/gimpquerybox.[ch]: allow to pass a stock_id instead of the boolean eek. * app/widgets/gimpwidgets-utils.c: added an icon to the gimp_message dialog. We need to add an API to declare the severity of the message or allow to pass a stock_id. For now all messages habe the Info icon. * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/file-save-dialog.c * app/gui/gui.c * app/gui/image-commands.c * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c: pass a suitable(?) stock_id to gimp_query_boolean_box(). |
|
Michael Natterer | 14d0a3ff07 |
app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c
2001-12-29 Michael Natterer <mitch@gimp.org> * app/gimpprogress.c * app/nav_window.c * app/ops_buttons.c * app/undo_history.c * app/display/gimpdisplayshell.c * app/gui/about-dialog.c * app/gui/brush-editor.c * app/gui/channels-commands.c * app/gui/color-area.c * app/gui/color-notebook.c * app/gui/color-select.c * app/gui/colormap-dialog.c * app/gui/convert-dialog.c * app/gui/device-status-dialog.c * app/gui/file-new-dialog.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/gradient-editor.c * app/gui/info-dialog.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-editor.c * app/gui/palettes-commands.c * app/gui/paths-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/splash.c * app/gui/tips-dialog.c * app/gui/toolbox.c * app/gui/user-install-dialog.c * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpcurvestool.c * app/tools/gimphuesaturationtool.c * app/tools/gimpinktool.c * app/tools/gimplevelstool.c * app/tools/gimpposterizetool.c * app/tools/gimprotatetool.c * app/tools/gimpthresholdtool.c * app/tools/paint_options.c * app/tools/selection_options.c * app/widgets/gimpchannellistview.c * app/widgets/gimpcolorpanel.c * app/widgets/gimpcomponentlistitem.c * app/widgets/gimpconstrainedhwrapbox.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainerlistview.c * app/widgets/gimpcontainermenuimpl.c * app/widgets/gimpdialogfactory.c * app/widgets/gimpdnd.c * app/widgets/gimpdock.c * app/widgets/gimpdockbook.c * app/widgets/gimpdrawablelistitem.c * app/widgets/gimpdrawablelistview.c * app/widgets/gimpfontselection-dialog.c * app/widgets/gimphistogramview.c * app/widgets/gimpitemfactory.c * app/widgets/gimplayerlistitem.c * app/widgets/gimplistitem.[ch] * app/widgets/gimpmenuitem.c * app/widgets/gimppreview.[ch] * app/widgets/gtkhwrapbox.c * app/widgets/gtkvwrapbox.c * app/widgets/gtkwrapbox.c * libgimp/gimpbrushmenu.c * libgimp/gimpexport.c * libgimp/gimpgradientmenu.c * libgimp/gimpmenu.c * libgimp/gimppatternmenu.c * libgimpwidgets/gimpbutton.c * libgimpwidgets/gimpchainbutton.[ch] * libgimpwidgets/gimpcolorarea.h * libgimpwidgets/gimpcolorbutton.c * libgimpwidgets/gimpfileselection.c * libgimpwidgets/gimphelpui.c * libgimpwidgets/gimpoffsetarea.c * libgimpwidgets/gimppatheditor.c * libgimpwidgets/gimppixmap.h * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpstock.[ch] * libgimpwidgets/gimpwidgets.h * plug-ins/FractalExplorer/Dialogs.c * plug-ins/FractalExplorer/Events.c * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/Lighting/lighting_ui.c * plug-ins/MapObject/mapobject_ui.c * plug-ins/bmp/bmpwrite.c * plug-ins/dbbrowser/dbbrowser_utils.c * plug-ins/fits/fits.c * plug-ins/flame/flame.c * plug-ins/fp/fp_gtk.c * plug-ins/fp/fp_misc.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * plug-ins/gfli/gfli.c * plug-ins/gimpressionist/*.c * plug-ins/imagemap/*.[ch] * plug-ins/maze/maze_face.c * plug-ins/mosaic/mosaic.c * plug-ins/pagecurl/pagecurl.c * plug-ins/print/print_gimp.h * plug-ins/rcm/rcm_callback.c * plug-ins/rcm/rcm_dialog.c * plug-ins/rcm/rcm_misc.c * plug-ins/script-fu/script-fu-console.c * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/script-fu-server.c * plug-ins/sel2path/sel2path.c * plug-ins/sel2path/sel2path_adv_dialog.c * plug-ins/sgi/sgi.c * plug-ins/webbrowser/webbrowser.c * plug-ins/xjt/xjt.c * plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED defined. Not everything is fully ported yet, had to #undef GTK_DISABLE_DEPRECATED in many places and added #warnings when doing so. * pixmaps/Makefile.am * pixmaps/chain.xpm: removed. * themes/Default/Makefile.am * themes/Default/images/Makefile.am * themes/Default/images/stock-button-hchain-broken.png * themes/Default/images/stock-button-hchain.png * themes/Default/images/stock-button-vchain-broken.png * themes/Default/images/stock-button-vchain.png: new stock icons. |
|
Sven Neumann | 6fc486c53d |
fixed for 'make dist'.
2001-12-27 Sven Neumann <sven@gimp.org> * themes/Default/images/Makefile.am: fixed for 'make dist'. |
|
Michael Natterer | f77c7ade89 |
app/main.c moved "message_handler" from here...
2001-12-01 Michael Natterer <mitch@gimp.org> * app/main.c * app/appenv.h: moved "message_handler" from here... * app/core/gimp.[ch]: ...to here. Added gimp_message() and a "gui_message_func" pointer... * app/gui/gui.c: ...which gets set here to gui_message(). * app/errors.c: don't include any gui stuff but simply call gimp_message(). * app/app_procs.c: don't set "message_handler" here, it's done in gui.c now. * app/gui/error-console-dialog.[ch]: use gimp->message_handler. * app/gui/dialogs-constructors.c: pass a Gimp pointer to error_console_create(). * app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter of gimp_message_box() a const gchar*, not just gchar*. * tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't include "appenv.h". * app/pdb/message_cmds.c: regenerated. * app/devices.[ch]: cleanup before chopping: removed global variable "current_device", added devices_get_current(), pass lots of Gimp pointers around. * app/gimprc.c: pass a Gimp pointer to devices_rc_update(). * app/display/gimpdisplayshell-callbacks.c * app/gui/toolbox.c * app/tools/gimppainttool.c: use devices_get_current(), pass Gimp pointers to all devices_foo() functions. * app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h". |
|
Daniel Egger | d214dbdb5d |
app/core/Makefile.am libgimp/Makefile.am libgimpbase/Makefile.am
2001-12-01 Daniel Egger <degger@fhm.edu> * app/core/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am * modules/Makefile.am * themes/Default/Makefile.am: Don't try to concatenate something to a variable not used before but simply assign it. Shuts up annoying automake warnings for me. |
|
Michael Natterer | bf6e5a4b9d |
replaced the QMask radio buttons ba a single check button. Still needs
2001-11-29 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell.[ch]: replaced the QMask radio buttons ba a single check button. Still needs some tuning. * app/display/gimpdisplayshell-handlers.c * app/display/gimpdisplayshell-qmask.[ch]: changed accordingly. * app/tools/gimptool.[ch]: added "gboolean handle_empty_image" to the GimpTool structure. * app/tools/gimpmovetool.c: set it to TRUE. * app/tools/gimpfuzzyselecttool.c: don't gimp_[set|unset]_busy() while calculating the selection but set the busy cursor on the display manually (we have the pointer grabbed anyway). * app/display/gimpdisplayshell-callbacks.c: don't check for GIMP_IS_MODE_TOOL(active_tool) but look at active_tool->handle_empty_image. Removed the checks for GIMP_IS_FUZZY_SELECT_TOOL(active_tool) because fuzzy_select doesn't set GIMP busy while it's active any more. * app/tools/transform_options.[ch] * app/tools/gimptransformtool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c: added widgets for the transform tools' constraints (one more #51108 issue fixed). * app/tools/gimperasertool.c: cosmetic. * app/widgets/gimpdockbook.c: don't hardcode GtkNotebook's tab_border to 0 but add a style property for it... * themes/Default/gtkrc: ...and set it to 0 here. |
|
Michael Natterer | e9c3bb45a2 |
themes/Default/images/Makefile.am
2001-11-28 Michael Natterer <mitch@gimp.org> * themes/Default/images/Makefile.am * themes/Default/images/stock-wilber-16x16.png * themes/Default/images/stock-wilber-32x32.png * themes/Default/images/stock-wilber-48x48.png * themes/Default/images/stock-wilber-64x64.png: new files. * themes/Default/Makefile.am: create gimp-wilber-pixbufs.h * libgimpwidgets/gimpdialog.[ch]: removed gimp_dialog_set_icon(). * libgimpwidgets/gimpwidgets.[ch]: added gimp_widgets_init() which calls gimp_stock_init() and calls gtk_window_set_default_icon_list() with the above set of inlined pixbufs. * libgimp/gimpui.c * app/gui/gui.c: call gimp_widgets_init(). * app/display/gimpdisplayshell.c: removed the fallback icon stuff. * app/gui/splash.c * app/gui/user-install-dialog.c * app/widgets/gimpdock.c * app/widgets/gimpitemfactory.c * libgimpwidgets/gimphelpui.c * plug-ins/imagemap/imap_default_dialog.c * plug-ins/imagemap/imap_file.c: don't call gimp_dialog_set_icon(). * plug-ins/common/uniteditor.c: wanted to start hacking here... Nothing really changed. |
|
Michael Natterer | 54c1b2d1a3 |
added Rebecca Walter (bex).
2001-11-26 Michael Natterer <mitch@gimp.org> * tools/authorsgen/contributors: added Rebecca Walter (bex). * AUTHORS * app/gui/authors.h: regenerated. * app/widgets/widgets-types.h: added GimpPreviewSize enum. * app/gimprc.c * app/gui/menus.c * app/gui/preferences-dialog.c * app/widgets/gimpdockbook.c: use the new enum. * app/tools/gimpbucketfilltool.c * app/tools/gimpconvolvetool.c * app/tools/gimpcroptool.c * app/tools/gimpdodgeburntool.c * app/tools/gimperasertool.c * app/tools/gimpfliptool.c * app/tools/gimpmagnifytool.c: added "(<Ctrl>)" and "(<Alt>)" to some tool options strings. * app/tools/gimpmovetool.c: some more widgets for hidden tool options (#51108). * app/tools/transform_options.c: renamed to "Tool Paradigm" stuff to something more understandable. * app/widgets/gimpdock.c: added a style property for the height of the separator. * themes/Default/gtkrc: show how to use the new property. * app/widgets/gimpcontainerview.c * app/widgets/gimpdockable.c * app/widgets/gimplayerlistview.c: waste less lines when calling gtk_widget_style_get(). |
|
Michael Natterer | 958071b0c8 |
key press and release events were sent swapped to tools.
2001-11-21 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-callbacks.c: key press and release events were sent swapped to tools. * app/tools/selection_options.[ch]: added radio buttons for the selection operation (REPLACE, ADD, ...). Partly fixes #51108. * app/tools/gimpselectiontool.[ch]: honor the new tool options stuff. Do evil things in gimp_selection_tool_modifier_key(). * app/tools/gimpbycolorselecttool.[ch]: removed most of the widgets from the by_color_select window because they are all in the selection_options now. * libgimpwidgets/gimpstock.[ch]: added new stock items for the buttons. * themes/Default/Makefile.am * themes/Default/images/Makefile.am * themes/Default/images/stock-button-selection-add.png * themes/Default/images/stock-button-selection-intersect.png * themes/Default/images/stock-button-selection-replace.png * themes/Default/images/stock-button-selection-subtract.png: new stock images. |
|
Michael Natterer | 3413a9ef3c |
small fix.
2001-11-12 Michael Natterer <mitch@gimp.org> * HACKING: small fix. * configure.in: changed --disable-perl to --enable-perl because it doesn't build properly at the moment. * pixmaps/Makefile.am: removed stuff which is no longer there from EXTRA_DIST. * plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS. * app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h". * data/Makefile.am * data/brushes/Makefile.am * data/gradients/Makefile.am * data/palettes/Makefile.am * data/patterns/Makefile.am: removed the old "files" hack and put the stuff to EXTRA_DIST. * app/Makefile.am * app/base/Makefile.am * app/core/Makefile.am * app/file/Makefile.am * app/gui/Makefile.am * app/paint-funcs/Makefile.am * app/pdb/Makefile.am * app/tools/Makefile.am * app/widgets/Makefile.am * app/widgets/gimpmenuitem.c * app/xcf/Makefile.am * cursors/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am * m4macros/Makefile.am * themes/Makefile.am * themes/Default/Makefile.am * themes/Default/images/Makefile.am * themes/Default/images/tools/Makefile.am: removed "files" target. |
|
Michael Natterer | 4fa2553253 |
should set the fs.backing_store TileManager pointer to NULL after deleting
2001-11-09 Michael Natterer <mitch@gimp.org> * app/undo.c: should set the fs.backing_store TileManager pointer to NULL after deleting it. Why the heck didn't this crash before...? * app/core/Makefile.am * app/core/gimpdrawable-blend.[ch]: the blend stuff taken from the blend tool. * app/core/core-types.h: added the blend enums. * app/tools/gimpblendtool.[ch]: removed the stuff here. * tools/pdbgen/pdb/tools.pdb: changed blend wrapper accordingly. * app/pdb/tools_cmds.c: regenerated. * tools/pdbgen/Makefile.am: don't scan tools/gimpblendtool.c. * tools/pdbgen/enums.pl: regenerated. * app/tools/gimpbucketfilltool.c: fixed crash caused by my last change. * app/display/gimpdisplay.c * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell.c: removed lots of uglyness by using GtkImages for the qmask and navigation buttons. Don't realize anything before the shell is shown. Connect the realize callback and do stuff there. Don't call the realize callback from gimp_display_shell_canvas_events() any more. * pixmaps/navbutton.xpm * pixmaps/qmasknosel.xpm * pixmaps/qmasksel.xpm: removed. * themes/Default/Makefile.am * themes/Default/images/Makefile.am * themes/Default/images/stock-menu-navigation.png * themes/Default/images/stock-menu-qmask-off.png * themes/Default/images/stock-menu-qmask-on.png: new PNGs instead. * libgimpwidgets/gimpstock.[ch]: register them as stock icons. |
|
Michael Natterer | 02fde14c95 |
build display/ before tools/.
2001-11-08 Michael Natterer <mitch@gimp.org> * app/Makefile.am: build display/ before tools/. * app/devices.c: devices_check_change(): added all events which have a GdkDevice pointer. * app/gimpprogress.c: include "display-types.h" instead of "core-types.h". * app/core/Makefile.am * app/core/gimpdrawable-bucket-fill.[ch]: new files: the bucket_fill stuff taken from tools/gimpbucketfilltool.[ch]. * app/core/core-types.h: added "BucketFillMode". * app/core/gimpimage-mask-select.[ch]: cleanup. * app/core/gimpmarshal.list: added more marshallers for GimpTool's new signal signatures. * app/core/gimpmarshal.[ch]: regenerated. * app/display/Makefile.am * app/display/gimpdisplayshell-dnd.[ch] * app/display/gimpdisplayshell-layer-select.[ch]: new files: the canvas drop callbacks from gimpdisplayshell-callbacks.[ch] and the stuff formerly knows as gui/layer-select.[ch]. * app/display/gimpdisplay.h: don't include "gui/gui-types.h". * app/display/gximage.c: include "display-types.h". * app/display/gimpdisplay-foreach.c * app/display/gimpdisplayshell.[ch]: call gdsplay_delete(), don't destroy the shell widget. * app/gui/Makefile.am * app/gui/layer-select.[ch]: removed. * app/gui/gradients-commands.c: fixed "Save as POV" fprintf()s. * app/gui/preferences-dialog.c: removed the layer_select stuff because it is useless with the new preview system. * app/gui/tool-options-dialog.c: send the correct data to the close_callback. * app/gui/tools-commands.c: changed to follow the new gimp_tool_initialize() semantics (see below). Tool & canvas event handling chainsawing: * app/tools/tools-types.h: new struct GimpCoords which contains x, y, pressure, tilt etc. * app/display/gimpdisplayshell-callbacks.[ch]: added utility functions which transparently retreive the current event's GimpCoords or take it from the device directly if the event has none. Pass GimpCoords _in_image_coordinates_ to all tool functions. Most important: don't pass GdkEvents and display coordinates to tools any more. * app/tools/gimptool.[ch]: changed virtual functions to take GimpCoords, time and state separately instead of GdkEvents. * app/tools/gimpbezierselecttool.c * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.[ch] * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpconvolvetool.c * app/tools/gimpcroptool.[ch] * app/tools/gimpcurvestool.c * app/tools/gimpdodgeburntool.c * app/tools/gimpdrawtool.c * app/tools/gimpeditselectiontool.[ch] * app/tools/gimperasertool.c * app/tools/gimpfliptool.c * app/tools/gimpfreeselecttool.[ch] * app/tools/gimpfuzzyselecttool.c * app/tools/gimpinktool.c * app/tools/gimpiscissorstool.c * app/tools/gimpmagnifytool.c * app/tools/gimpmeasuretool.c * app/tools/gimpmovetool.c * app/tools/gimppainttool.c * app/tools/gimppathtool.[ch] * app/tools/gimprectselecttool.c * app/tools/gimprotatetool.c * app/tools/gimpselectiontool.[ch] * app/tools/gimpsmudgetool.c * app/tools/gimptexttool.c * app/tools/gimptransformtool.[ch] * app/tools/path_tool.[ch] * app/tools/selection_options.c: tons and tons of changes: - changed to use the new virtual function parameters. - removed zillions of gdisplay_untransform_coords(). - get the active drawable's offsets manually in many cases. (questionable, but IMHO ok because it's obvious and not simply a "TRUE" passed to some function) - reordered some functions to be consistent across tools. - some tools had to be changed to work on image coords, not display ones (esp. crop). - fixed strange rotate tool behaviour which should be backported to stable. - some stuff i came across. - indentation and other paranoia. - rounding of coordinated may be broken in some tools. - new bugs guaranteed. * app/tools/tool_manager.[ch]: new semantic of tool_manager_initialize_active() (looked at the places where it was used from and put common code together). Should be a bit better now :) * app/tools/gimpblendtool.c * app/tools/transform_options.c: use the new GTK+ feature that a widget (toggle button) can be a frame's title for this tools' tool options. * app/widgets/widgets-types.h: stuff. * themes/Default/gtkrc: s/GtkDialog/GimpDialog/. * tools/pdbgen/Makefile.am: don't scan tools/gimpbucketfilltool.h any more. * tools/pdbgen/enums.pl: regenerated. * tools/pdbgen/pdb/tools.pdb: changed bucket_fill wrapper. * app/pdb/tools_cmds.c: regenerated. |
|
Michael Natterer | 99e78c7074 |
General cleanup of the selection tools and their PDB wrappers:
2001-10-22 Michael Natterer <mitch@gimp.org> General cleanup of the selection tools and their PDB wrappers: * app/core/Makefile.am * app/core/gimpimage-contiguous-region.[ch] * app/core/gimpimage-mask-select.[ch]: new files providing a clean, uniform API for the selection functionalities. Changed order of parameters to be consistent, removed code duplication. The region returned by the "by_color" function is not really contiguous but the API is so similar to "by_seed" and it's used in the same context so it's fair enough to put them together. Also, I'm not sure if the two is_pixel_sufficiently_different() I've optimized away were meant to do *exactly* the same. Added a comment there to remember the former difference. * app/core/gimpchannel.[ch] (gimp_channel_feather): removed the "output" channel parameter and made it optionally push an undo (like the other channel operations do). * app/core/gimpimage-mask.c: call gimp_channel_feather() with "push_undo == TRUE", removed some useless comments. * app/tools/gimpbycolorselecttool.[ch] * app/tools/gimpellipseselecttool.[ch] * app/tools/gimpfreeselecttool.[ch] * app/tools/gimpfuzzyselecttool.[ch] * app/tools/gimprectselecttool.[ch]: removed all the actual selection functionality and call the new gimp_image_mask_select_*() and gimp_image_contiguous_region_*() functions instead. * app/tools/gimpbezierselecttool.c * app/tools/gimpiscissorstool.c: use new function gimp_image_mask_select_channel() instead of doing the same manually. * app/tools/gimpbucketfilltool.c: find_contiguous_region() -> gimp_image_contiguous_region_by_seed(). * tools/pdbgen/Makefile.am * tools/pdbgen/groups.pl * tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection Tools" which depends only on "core/" stuff (not on "tools/" any more, brrrr). * tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h" * tools/pdbgen/pdb/tools.pdb: removed the selection tools. * app/pdb/Makefile.am * app/pdb/selection_tools_cmds.c: new file. * app/pdb/internal_procs.c * app/pdb/text_tool_cmds.c * app/pdb/tools_cmds.c: regenerated. * libgimp/Makefile.am * libgimp/gimp_pdb.h * libgimp/gimpselectiontools_pdb.[ch]: new files. * libgimp/gimptools_pdb.[ch]: regenerated Misc cleanups: * app/app_procs.c: call splash_create() with "no_splash_image" as parameter. * app/display/gimpdisplay-render.c * app/display/gximage.c: don't include "appenv.h". * app/gui/gui.c: call session_restore() only if "restore_session" is TRUE. * app/gui/session.c: don't "if(restore_session)" here and don't include "appenv.h" * app/gui/splash.[ch]: added "gboolean show_image" parameter to splash_create(), don't include "appenv.h" * app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter to gimp_paint_tool_get_color_from_gradient(). * app/tools/gimppaintbrushtool.c: pass the gradient. * app/tools/gimpselectiontool.c * app/tools/gimptransformtool.c * app/tools/tool_manager.c: s/GDisplay/GimpDisplay/. * app/widgets/gimpcontainergridview.[ch]: removed the "white_style" class variable and don't fiddle around with colors and styles... * themes/Default/gtkrc: ...do the same here with a simple rc style. |
|
Michael Natterer | 1c9069c4ca |
cleanup.
2001-08-07 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpbutton.[ch]: cleanup. * app/Makefile.am * app/errorconsole.[ch]: removed... * app/gui/Makefile.am * app/gui/error-console-dialog.[ch]: ...added here. Lots of cleanup, create a vbox instead of a dialog. * app/gui/dialogs-constructors.c * app/gui/dialogs.c: added a dockable for the error console. * app/errors.c * app/gui/gui.c * app/gui/menus.c: changed accordingly. * app/widgets/gimpcontainerview.c: conntect "extended_clicked" to the "extended_clicked" callback, not "clicked". * app/widgets/gimplayerlistview.c: set the layer option box' spacing in "style_set". * app/widgets/gimplistitem.c: argh. * themes/Default/gtkrc: changed the default theme to set a smaller font only for the dockable because that's where saving screen estate really makes sense. May need some further tweaking. |
|
Michael Natterer | 30d2fdef07 |
configure.in themes/Default/images/Makefile.am some new Makefiles to make
2001-08-06 Michael Natterer <mitch@gimp.org> * configure.in * themes/Default/images/Makefile.am * themes/Default/images/tools/Makefile.am: some new Makefiles to make it installable. * Makefile.am * gtkrc: removed... * themes/Default/Makefile.am * themes/Default/gtkrc: ...added here. * themes/Default/imagerc: new file (not used, just for documentation) which loads the default theme's images in the same way the inlined pixbufs are registered with the stock system. * gimprc.in * gimprc.win32 * user_install * user_install.bat * app/gimprc.[ch]: added "theme-path" and "theme" gimprc variables. * app/app_procs.c: prase gimprc before initializing the GUI. * app/core/gimpdatafiles.[ch]: added support for getting only subdirectories in the callback. * libgimpbase/gimpenv.c: as a temp_hack gimp_gtkrc(); returns the default theme's gtkrc. * app/gui/gui.c: build a hash of theme directories and select the one configured in gimprc.theme. Use gimp_gtkrc()'s default value if there is no theme installed or configured. * app/gui/preferences-dialog.c: Added theme_path to the GUI. No stuff for selection the theme yet. * app/gui/menus.c: beautify <Image>/Tools/ * app/tools/gimpcroptool.c: register in <Image>/Tools/Transform Tools/ |
|
Michael Natterer | 233f8860c7 |
Makefile.am configure.in themes/.cvsignore themes/Makefile.am
2001-08-05 Michael Natterer <mitch@gimp.org> * Makefile.am * configure.in * themes/.cvsignore * themes/Makefile.am * themes/Default/.cvsignore * themes/Default/Makefile.am * themes/Default/images/.cvsignore * themes/Default/images/*.png * themes/Default/images/tools/.cvsignore * themes/Default/images/tools/*.png: new place for all images which are registered with the stock system. The default images are all inlined but we will install the default theme later along with an appropriate gtkrc as a template for custom themes. Added PNGs of all tools icons. Thanks to syngin :) * pixmaps/.cvsignore * pixmaps/Makefile.am: reverted everything to the old state. This directory will go away soon. * libgimpwidgets/gimpstock.[ch]: changed accordingly. Register stock icons in GTK_ICON_SIZE_BUTTON for all tools. * app/core/gimptoolinfo.[ch] * app/tools/tool_manager.[ch]: GimpToolInfo wants a stock_id and a pre-rendered GdkPixbuf instead of ugly icon_data now. Added some workarounds until GimpPreview is a GtkImage and uses GdkPixbuf instead of TempBuf. * app/tools/Makefile.am * app/tools/icons.h: die, uglyness, die. * app/tools/[all tools].c: register with a stock_id, not a icon_data pointer. * app/gui/dialogs-constructors.c: Oops, GIMP badly crashed on changing the image for the past few days :) * app/gui/menus.c: create the tools' menu entries with stock icons. * app/gui/toolbox.c: use GtkImages instead of GimpPreviews for the toolbox buttons. Will need to change this back as soon as GimpPreview actually _is_ a GtkImage. |