- 18 May, 2004 2 commits
-
-
Michael Natterer authored
2004-05-18 Michael Natterer <mitch@gimp.org> * app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_label): new function which returns a newly allocated string which is the menu item's name stripped of mnemonics an ellipses. * app/actions/plug-in-actions.c (plug_in_actions_update) * app/plug-in/plug-in.c (plug_in_get_undo_desc): use the function instead of implementing the same twice slightly different.
-
Dmitry Mastrukov authored
-
- 17 May, 2004 9 commits
-
-
Sven Neumann authored
2004-05-17 Sven Neumann <sven@gimp.org> * plug-ins/common/CEL.c * plug-ins/common/CML_explorer.c: ported to GtkFileChooser and HIG-ified.
-
Sven Neumann authored
2004-05-17 Sven Neumann <sven@gimp.org> * plug-ins/common/AlienMap2.c: HIG-ified (more or less).
-
Michael Natterer authored
2004-05-17 Michael Natterer <mitch@gimp.org> * menus/menus.xsl: put the image popup menu into a dummy menubar to work around the silly GtkUIManager restriction that popup menus can't have tearoff items. * app/menus/menus.c * app/menus/image-menu.c * app/display/gimpdisplayshell-callbacks.c * app/gui/gui-vtable.c * app/menus/plug-in-menus.c: changed accordingly. * app/gui/gui.c (gui_restore_after_callback): connect to "notify::tearoff-menus" of GimpGuiConfig and reconfigure the global image UI manager accordingly. * app/config/gimpguiconfig.c: removed GIMP_PARAM_RESTART from the "tearoff-menus" property because GtkUIManager can change this on the fly. * app/display/gimpdisplayshell.[ch]: added the menubar to the GimpDisplayShell struct. Some cleanup in gimp_display_shell_new(). * app/display/gimpdisplayshell-appearance.c (gimp_display_shell_set_show_menubar): use shell->menubar instead of asking the UI manager. * app/widgets/gimpuimanager.[ch]: changed gimp_ui_manager_ui_get() to transparently load the XML files even if a sub-widget was requested. Reordered parameters of gimp_ui_manager_ui_popup(). Lots of internal cleanups. * app/widgets/gimpdockable.c * app/widgets/gimptooloptionseditor.c: simplified accordingly. * app/widgets/gimpeditor.[ch]: added new function gimp_editor_popup_menu() which takes a GimpMenuPositionFunc and updates/shows the editor's menu. * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainereditor.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainertreeview.c * app/widgets/gimperrorconsole.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpitemtreeview.c * app/widgets/gimppaletteeditor.c: use gimp_editor_popup_menu(). * app/widgets/gimptoolbox.c: moved all code from gimp_toolbox_new() to GObject::constructor().
-
Michael Natterer authored
2004-05-17 Michael Natterer <mitch@gimp.org> * app/actions/tool-options-actions.c: added icons to the Save, Load, Rename and Delete submenus.
-
Michael Natterer authored
2004-05-17 Michael Natterer <mitch@gimp.org> * app/actions/edit-actions.c (edit_actions_update): don't forget to set the sensitivity of "edit-named-copy".
-
Marco Ciampa authored
-
Sven Neumann authored
2004-05-17 Sven Neumann <sven@gimp.org> * app/core/gimpimage.c (gimp_image_init): initialize the image unit to GIMP_UNIT_PIXEL. * app/pdb/image_cmds.c * tools/pdbgen/pdb/image.pdb: allow GIMP_UNIT_PIXEL to be used in the gimp_image_set_unit() PDB call.
-
Marco Ciampa authored
-
Marco Ciampa authored
-
- 16 May, 2004 1 commit
-
-
Sven Neumann authored
2004-05-16 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/scripts/old-photo.scm: fixed wrong use of layer ID; bug #142326.
-
- 15 May, 2004 2 commits
-
-
Sven Neumann authored
2004-05-15 Sven Neumann <sven@gimp.org> * app/tools/gimpcurvestool.c: fixed position of vertical line indicating the picked color. Patch from William Skaggs and Søren Wedel Nielsen; fixes bug #142506.
-
Michael Natterer authored
2004-05-15 Michael Natterer <mitch@gimp.org> * app/plug-in/plug-in-params.c (plug_in_proc_args_check): changed warnings to include the invalid menu path. Added check that makes sure menu paths are either "<Prefix>" or "<Prefix>/foo" but *not* "<Prefix>foo". * app/actions/plug-in-actions.c: added function plug_in_actions_check_translation() which validates both the original and translated menu paths and spits detailed error messages if any of them is broken. Made action creation simpler (?) and more robust. * app/menus/plug-in-menus.c: argh, the translated menu path must be a sorting criteria *only*. Fixed the whole stuff to always use the original menu path because translation is done entirely by plug-in-actions.c. Fixes bad crashes for all locales. Added boolean return value to plug_in_menus_build_path() and don't try to create the menu item in an invalid location if creating the submenus failed.
-
- 14 May, 2004 7 commits
-
-
Sven Neumann authored
2004-05-14 Sven Neumann <sven@gimp.org> * libgimp/libgimp-sections.txt: added gimp_register_file_handler_mime(). * libgimp/tmpl/gimpfileops.sgml: regenerated.
-
Sven Neumann authored
2004-05-14 Sven Neumann <sven@gimp.org> * app/menus/file-dialog-menu.c: check if the file procedure registered a menu path at all. The menu should probably be created from the registered menu path, not from gimp->[load|save]_procs. * app/plug-in/plug-in-proc.[ch] * app/plug-in/plug-ins.c: removed broken code that used to sort the file procedures. * plug-ins/common/CEL.c * plug-ins/common/bz2.c * plug-ins/common/gz.c * plug-ins/common/pcx.c * plug-ins/common/pix.c * plug-ins/common/sunras.c * plug-ins/sgi/sgi.c * plug-ins/xjt/xjt.c: register a mimetype, set a translatable action name (mostly taken from shared-mime-info) and register to the <Load> and <Save> menus using gimp_plugin_menu_register().
-
Michael Natterer authored
2004-05-14 Michael Natterer <mitch@gimp.org> * app/pdb/fileops_cmds.c * libgimp/gimpfileops_pdb.c: regenerated.
-
Michael Natterer authored
2004-05-14 Michael Natterer <mitch@gimp.org> * app/actions/select-actions.c (select_actions_update): don't make "select-invert" insensitive if there is no selection.
-
Marco Ciampa authored
-
Sven Neumann authored
2004-05-14 Sven Neumann <sven@gimp.org> * plug-ins/common/aa.c * plug-ins/common/gbr.c * plug-ins/common/gih.c * plug-ins/common/gtm.c * plug-ins/common/header.c * plug-ins/common/pat.c * plug-ins/common/pnm.c * plug-ins/common/psp.c * plug-ins/fits/fits.c * plug-ins/gfli/gfli.c: register a mimetype, set a translatable action name (mostly taken from shared-mime-info) and register to the <Load> and <Save> menus using gimp_plugin_menu_register().
-
Sven Neumann authored
2004-05-14 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/fileops.pdb: added new PDB function gimp_register_file_handler_mime() that allows to associate a MIME type with a file procecdurre. * app/pdb/fileops_cmds.c * app/pdb/internal_procs.c * libgimp/gimpfileops_pdb.[ch]: regenerated. * app/plug-in/plug-in-proc.[ch] * app/plug-in/plug-in-rc.c * app/plug-in/plug-ins.[ch]: store a mimetype with file procedures. * app/actions/file-commands.c * app/core/gimpdocumentlist.[ch] * app/core/gimpimagefile.[ch] * app/file/file-open.[ch] * app/file/file-save.c: set the thumbnail's mimetype from the file procedure used to load/save the image. * app/xcf/xcf.c * plug-ins/bmp/bmp.c * plug-ins/common/csource.c * plug-ins/common/dicom.c * plug-ins/common/gif.c * plug-ins/common/gifload.c * plug-ins/common/jpeg.c * plug-ins/common/mng.c * plug-ins/common/png.c * plug-ins/common/postscript.c * plug-ins/common/psd.c * plug-ins/common/psd_save.c * plug-ins/common/sunras.c * plug-ins/common/svg.c * plug-ins/common/tga.c * plug-ins/common/tiff.c * plug-ins/common/wmf.c * plug-ins/common/xbm.c * plug-ins/common/xpm.c * plug-ins/common/xwd.c * plug-ins/faxg3/faxg3.c * plug-ins/winicon/main.c: register a mimetype, set a translatable action name (taken from shared-mime-info) and register to the <Load> and <Save> menus using gimp_plugin_menu_register().
-
- 13 May, 2004 11 commits
-
-
Sven Neumann authored
2004-05-13 Sven Neumann <sven@gimp.org> * tools/pdbgen/lib.pl * tools/pdbgen/pdbgen.pl: added new procedure variable 'since' that allows to specify when a new function was added. Use that info to generate an appropriate gtk-doc comment. * tools/pdbgen/pdb/plug_in.pdb: set since = '2.2' for the new function gimp_plugin_menu_register(). * libgimp/gimpplugin_pdb.c: regenerated.
-
Michael Natterer authored
2004-05-13 Michael Natterer <mitch@gimp.org> * menus/tool-options-menu.xml: added "name" attributes to all submenus. * app/menus/tool-options-menu.c: use the menu names instead of the overly long action names. * app/actions/colormap-editor-commands.c * app/actions/tool-options-commands.c: added some callback implementations. * app/widgets/gimpcolormapeditor.c * app/widgets/gimptooloptionseditor.c: removed the callbacks here and use action buttons. * app/actions/actions.c * app/actions/colormap-editor-actions.c * app/actions/edit-actions.c: code review / cleanup.
-
Michael Natterer authored
2004-05-13 Michael Natterer <mitch@gimp.org> * app/core/gimpcontainer.c (gimp_container_add_handler): don't try to lookup detailed "notify::foo" signal specs.
-
Michael Natterer authored
2004-05-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimptoolview.[ch]: if in list mode, add an "eye" column which toggles tool visibility.
-
Michael Natterer authored
2004-05-13 Michael Natterer <mitch@gimp.org> * app/actions/tools-actions.c (tools_actions_update): don't use action_data_get_context() to update the "tools" action group because it may return NULL. Use gimp_get_user_context() instead because the active tool is global regardless of the action group's context. Fixes accidential tool hiding when closing the last display.
-
Sven Neumann authored
2004-05-13 Sven Neumann <sven@gimp.org> * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save_thumb): oops.
-
Michael Natterer authored
2004-05-13 Michael Natterer <mitch@gimp.org> Added GimpViewable infrastructure which enables migrating from TempBuf to GdkPixbuf for both providing and getting previews: * app/core/gimpviewable.[ch]: added new virtual functions GimpViewable::get_pixbuf() and GimpViewable::get_new_pixbuf() which are implemented exactly as get_preview() and get_new_preview() except that get_new_pixbuf() has a default implementation which creates the pixbuf from a TempBuf. Renamed public functions _get_preview_pixbuf() and _get_new_preview_pixbuf() to _get_pixbuf() and _get_new_pixbuf(). Added gimp_viewable_get_dummy_pixbuf() and use it from gimp_viewable_get_dummy_preview(). * app/core/gimpimagefile.c (gimp_imagefile_save_thumb) * app/display/gimpdisplayshell.c (gimp_display_shell_update_icon) * app/gui/resize-dialog.c (resize_dialog_new): changed accordingly.
-
Sven Neumann authored
2004-05-13 Sven Neumann <sven@gimp.org> * libgimpthumb/tmpl/gimpthumbnail.sgml: regenerated.
-
Sven Neumann authored
2004-05-13 Sven Neumann <sven@gimp.org> * libgimpthumb/gimpthumbnail.[ch]: added mime-type support.
-
Michael Natterer authored
2004-05-13 Michael Natterer <mitch@gimp.org> * app/menus/Makefile.am: added file-menu.[ch] and file-dialog-menu.[ch] * app/menus/menus.[ch]: removed menus_open_recent_add()... * app/menus/file-menu.[ch]: ...and added it here as file_menu_setup(). * app/menus/image-menu.c * app/menus/toolbox-menu.c: changed accordingly. * app/menus/file-dialog-menu.[ch]: added factored out code from the file-open and file-save menus as file_dialog_menu_setup(). * app/menus/file-open-menu.c * app/menus/file-save-menu.c: call file_dialog_menu_setup().
-
Sven Neumann authored
2004-05-13 Sven Neumann <sven@gimp.org> * de.po: fixed wrong translation of format strings that caused bug #142400.
-
- 12 May, 2004 6 commits
-
-
Marco Ciampa authored
-
Marco Ciampa authored
-
Michael Natterer authored
2004-05-12 Michael Natterer <mitch@gimp.org> * app/actions/documents-actions.c * app/actions/documents-commands.c * app/actions/edit-actions.c * app/actions/edit-commands.[ch] * app/actions/layers-actions.c * app/actions/layers-commands.c * app/actions/select-actions.c * app/actions/select-commands.[ch] * app/actions/vectors-actions.c * app/actions/vectors-commands.[ch]: added tooltips for actions which are now used for dialog buttons, added callback implementations which formerly lived in various widgets, moved some actions around and did some general cleanups. * menus/image-menu.xml.in: s/edit-stroke/select-stroke/ * menus/Makefile.am * menus/selection-editor-menu.xml: new popup menu. * app/menus/menus.c: register <SelectionEditor> and <UndoEditor> UI managers. * app/widgets/gimpeditor.[ch]: added construct properties "menu-factory", "menu-identifier", "ui-path" and "popup-data". Implement GObject::constructor() and create the UI manager if all needed properties were set. Enables creating action buttons at widget construction time because they need a UI manager. (gimp_editor_add_action_button): changed to take a va_list of "extended" actions which are invoked if the resp. button emits "extended_clicked". Store the actions and their modifier masks in a list attached to the button. * app/widgets/gimpcontainerview.c (gimp_container_view_item_selected): if the view has container *and* context, simply change the context and return. (gimp_container_view_context_changed): don't emit "select_item" manually but simply call gimp_container_view_select_item(). (gimp_container_view_viewable_dropped): use gimp_container_view_item_selected() instead of changing the context directly. * app/widgets/gimpcontainereditor.c (gimp_container_editor_select_item): update the UI manager. * app/widgets/gimpdockable.c: don't try to fiddle with the dialog's menu if it doesn't have a ui_path (happens if the UI manager is just a collection of actions for the dialog buttons and has no menu registered). * app/widgets/gimpimageeditor.c: connect to the image's "flush" signal and update the UI manager in the callback. * app/widgets/gimpitemtreeview.c: use GimpEditor's construct properties to create the UI manager so GimpItemTreeView subclasses can have action buttons. Update the UI manager in gimp_item_tree_view_select_item(). * app/widgets/gimpbufferview.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimpfontview.c * app/widgets/gimpimageview.c * app/widgets/gimptemplateview.c * app/widgets/gimptoolview.c: changed calls to gimp_editor_add_action_button() accordingly and removed some unneeded select_item() implementations. * app/widgets/gimpchanneltreeview.c * app/widgets/gimpvectorstreeview.[ch] * app/widgets/gimpdocumentview.[ch] * app/widgets/gimplayertreeview.c * app/widgets/gimpselectioneditor.[ch] * app/widgets/gimpundoeditor.[ch]: use action buttons and removed lots of callbacks which went to the resp. action callbacks. * app/widgets/widgets-types.h: removed some now unneeded function prototypes. * app/gui/dialogs-constructors.c: changed (simplified) many dialog constructors accordingly.
-
Sven Neumann authored
2004-05-12 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) * app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock): left-align the label. * app/actions/channels-commands.c * app/actions/layers-commands.c * app/actions/qmask-commands.c * app/actions/vectors-commands.c * app/display/gimpdisplayshell-scale.c * app/gui/brush-select.c * app/gui/file-new-dialog.c * app/gui/info-dialog.c * app/gui/info-window.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.c * app/tools/gimpblendoptions.c * app/tools/gimpcroptool.c * app/tools/gimpmeasuretool.c * app/tools/gimppaintoptions-gui.c * app/tools/gimpscaletool.c * app/tools/gimpselectionoptions.c * app/tools/gimpsheartool.c * app/tools/gimptextoptions.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimpgrideditor.c * app/widgets/gimphistogrameditor.c * app/widgets/gimplayertreeview.c * app/widgets/gimpstrokeeditor.c * app/widgets/gimpwidgets-utils.c: left-align labels as suggested by the HIG.
-
Michael Natterer authored
2004-05-12 Michael Natterer <mitch@gimp.org> * app/config/gimpconfig-deserialize.c * app/config/gimpscanner.c * app/core/gimp-edit.c * app/core/gimpchannel-combine.c * app/core/gimpcontainer.c * app/core/gimpdrawable-bucket-fill.c * app/core/gimpdrawable-combine.c * app/core/gimpdrawable.c * app/core/gimpgradient.c * app/core/gimpimage-flip.c * app/core/gimpimage-merge.c * app/core/gimpimage-projection.c * app/core/gimpimage.c * app/display/gimpdisplay-handlers.c * app/display/gimpdisplayshell-callbacks.c * app/display/gimpprogress.c * app/gui/info-dialog.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/plug-in/plug-in.c * app/tools/gimpdrawtool.c * app/tools/tool_manager.c * app/widgets/gimpactiongroup.c * app/widgets/gimpdialogfactory.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpitemfactory.c * app/widgets/gimppropwidgets.c * app/widgets/gimpwidgets-utils.c * app/xcf/xcf-save.c * libgimp/gimpexport.c * libgimpwidgets/gimphelpui.c * libgimpwidgets/gimppixmap.c * libgimpwidgets/gimpunitmenu.c: replaced G_GNUC_FUNCTION, G_GNUC_PRETTY_FUNCTION, G_STRLOC and hardcoded function names in g_warning()s by G_STRFUNC.
-
Dmitry Mastrukov authored
-
- 11 May, 2004 2 commits
-
-
Sven Neumann authored
-
Sven Neumann authored
2004-05-12 Sven Neumann <sven@gimp.org> * app/Makefile.am: make it compile again. * app/app-sections.txt * app/app.types: some minor updates, needs a lot more work.
-