2002-12-19 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpwidgets-utils.[ch]: added utility functions
gimp_get_mod_name_[shift|control|alt]() and gimp_get_mod_separator()
which get the translated strings for "Shift", "Ctrl", "Alt" and "+"
from GtkAccelLabelClass to force consistency between menu
accelerators and other modifiers displayed in the GUI.
Made the format string to display the modifier ("<%s>")
translatable separately.
* app/gui/file-open-dialog.c
* 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
* app/tools/gimpmovetool.c
* app/tools/transform_options.c
* app/widgets/gimpchannellistview.c
* app/widgets/gimpdocumentview.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimpitemlistview.c
* app/widgets/gimpvectorslistview.c: use the new functions instead
of hardcoding the modifier names over and over again.
* app/tools/transform_options.c: made a scale_entry out of the
grid density spinbutton.
2002-12-19 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolordisplay.c (gimp_color_display_class_init):
initialize all class members with default values.
2002-12-18 Michael Natterer <mitch@gimp.org>
* app/tools/gimpcurvestool.c
* app/tools/gimplevelstool.c: replaced lots of "gpointer data"
parameters of local callbacks by GimpCurvesTool* and
GimpLevelsTool* pointers. Makes the code shorter and more
readable. Some random cleanup.
* app/tools/gimphistogramtool.c: fixed type of "parent_class"
pointer.
2002-12-18 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): fixed
ascii-art to match current widget hierarchy.
* app/display/gimpdisplayshell-handlers.c: fixed typos so we
actually connect to notify::monitor-[xy]resolution. Expose and
flush the display in the handler so the resolution change becomes
visible.
2002-12-18 Sven Neumann <sven@gimp.org>
* libgimp/gimpgradientmenu.c (gimp_gradient_select_widget): match
the parameter name in the header to please gtk-doc.
2002-12-18 Sven Neumann <sven@gimp.org>
* libgimp/libgimp-sections.txt: removed the functions Nathan added
since the Makefile explicitely excludes them and they shouldn't
show up in the docs until the API has settled and they are moved
out of gimpmisc.h.
* libgimp/tmpl/gimpmisc.sgml: regenerated.
2002-12-17 Manish Singh <yosh@gimp.org>
* app/core/gimpenvirontable.[ch]: added some rudimentary support
to prepend values to existing environment variables. You can do
"separator name=value" now. API change to gimp_environ_table_add
for it too. Also added some error checking.
* app/gui/gui.c: change to new above API
* plug-ins/pygimp/Makefile.am: write ": PYTHONPATH=" out to env
file
* po/POTFILES.in: add gimpenvirontable.c
2002-12-17 Sven Neumann <sven@gimp.org>
* app/main.c: merged fix for #71409 from stable branch.
* plug-ins/common/jpeg.c: merged fix for #75398 from stable branch.
2002-12-17 Michael Natterer <mitch@gimp.org>
* app/tools/gimptransformtool.c
* app/tools/transform_options.[ch]: replaced the totally unclear
(to the user) way we used to calculate the number of grid lines
from the value entered in the "Density" spinbutton by a system
where the user has the choice between the number of grid lines to
display and the spacing between the displayed grid lines. Replaced
the "Show Grid" toggle by an option menu to choose the grid type
from. (idea from drc on #gimp).
2002-12-16 Michael Natterer <mitch@gimp.org>
* plug-ins/common/CML_explorer.c
* plug-ins/common/spheredesigner.c: use g_ascii_dtostr() to
serialize floats.
2002-12-16 Michael Natterer <mitch@gimp.org>
* plug-ins/common/ps.c (save_ps_setup): applied a patch from
Henrik Brix Andersen <brix@gimp.org> which fixes bug #101263.
2002-12-16 Sven Neumann <sven@gimp.org>
* modules/cdisplay_colorblind.c: use scientific terms and added an
approximation formula for tritanopia.
2002-12-16 Sven Neumann <sven@gimp.org>
* POTFILES.in: added modules/cdisplay_colorblind.c.
* de.po: updated german translation.
2002-12-16 Michael Natterer <mitch@gimp.org>
* modules/Makefile.am
* modules/cdisplay_colorblind.c: added a display filter which will
simulate the vision of people with color-deficiency to address
bug #101256. Didn't know any scientific name or any correct formula,
so I just added the framework plus the approximation formula from
the bug report. Will need some more work to become usable.
2002-12-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/noisify.c (noisify_func): sorry, you can only
declare a variable at the beginning of a block.
2002-12-15 Sven Neumann <sven@gimp.org>
* app/gui/user-install-dialog.c: set text and base colors as well
to the user installation dialog work on dark themes. Fixes#86187.
2002-12-14 Manish Singh <yosh@gimp.org>
* app/config/gimpconfig-params.c (gimp_param_memsize_get_type):
size should be from GParamSpecULong, not GParamSpecUInt.
2002-12-14 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.[ch]
(gimp_display_shell_set_menu_sensitivity): renamed paramater
"update_popup" to "popup_only" because it's less confusing. Fixed
the function to update the popup correctly for shell = NULL.
2002-12-14 Michael Natterer <mitch@gimp.org>
* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback):
use gdisp->gimage->gimp instead of the_gimp.
* app/tools/gimpimagemaptool.c: pass update_popup == FALSE to
gimp_display_shell_set_menu_sensitivity().
2002-12-14 Sven Neumann <sven@gimp.org>
* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback): data
is not a Gimp pointer if this function is called from an image
menubar. Use the_gimp instead of crashing.
2002-12-14 Michael Natterer <mitch@gimp.org>
Changed menubar showing/hiding to work like rulers and statusbar:
* app/config/gimpconfig-blurbs.h
* app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display"
to "show_menubar". Removed GIMP_PARAM_RESTART flag.
* app/display/gimpdisplayshell.[ch]: chaged shell->item_factory to
shell->menubar_factory plus shell->popup_factory and always create
both of them. Added "gboolean update_popup" to
gimp_display_shell_set_menu_sensitivity() and call it recursively
with update_popup == TRUE if the display it is called for is the
active one.
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-callbacks.c: changed accordinly.
* app/gui/gui.c: ditto. Set the menu sensitivity of new displays.
* app/gui/menus.c: added "<Image>/View/Toggle Menubar" menu item.
Moved some factory initialization code from gimpdisplayshell.c
here.
* app/gui/view-commands.[ch]: added
view_toggle_menubar_cmd_callback(). Update the menu sensitivity
manually in all callbacks which don't call gimp_image_flush().
* app/gui/preferences-dialog.c (prefs_dialog_new): moved the "Show
Menubar" toggle to the "Appearance" frame of the "Image Windows"
page. Added an own frame for the display zoom/scaling settings.
(preferences_dialog_create): Attach config_copy and config_orig
using g_object_set_data_full() instead of just g_object_set_data()
plus a g_object_weak_ref().
(prefs_default_resolution_callback): set the resolution for both
fields of the "size_sizeentry" instead of setting it for "x"
twice.