- 17 May, 2008 2 commits
-
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: add help IDs for the stuff in the Windows menu. * app/actions/windows-actions.c: use them. svn path=/trunk/; revision=25687
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * app/actions/windows-actions.c: add tooltips to the menu items of open and recently closed docks. * app/widgets/gimpaction.c: connect to "notify::tooltip" and make sure gimp_help_set_help_data() gets called when the action's tooltip changes. svn path=/trunk/; revision=25684
-
- 16 May, 2008 1 commit
-
-
Michael Natterer authored
2008-05-16 Michael Natterer <mitch@gimp.org> Implement the presistent menu of recently closed docks, still somewhat hackish but fully functional. Fixes bug #132744. * app/actions/dialogs-actions.c * app/actions/dialogs-commands.[ch] * menus/image-menu.xml.in: remove the menu items that were creating the hardcoded preconfigured docks. * app/dialogs/dialogs.[ch]: add GimpContainer of recently closed docks and API to load and save it. * app/gui/session.c: call the recent dock load and save functions. * app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface and (de)serialize via proper interface methods. * app/gui/session.c * app/widgets/gimpdialogfactory.c: use the GimpConfig API to (de)serialize session infos and added the code that was formerly in the info's (de)serialize functions but didn't belong there. * app/widgets/gimpaction.[ch]: add "max-width-chars" property and set it on proxy menu item labels. * app/actions/windows-actions.[ch] * app/actions/windows-commands.[ch] * app/menus/windows-menu.c: add actions and menu of recently closed docks and code to restore the dock when the menu items are selected. Use above new action property to ensure a minimum width of the menu. * app/widgets/gimpmenudock.c: use '-' instead of '|' for separating notebooks in the window title. Menu items don't like '|'. * app/widgets/gimpdock.c: removed the confirmation dialog when closing docks and simply add them to the recent docks container. This code is totally misplaced and will move to another file soon. svn path=/trunk/; revision=25671
-
- 14 May, 2008 2 commits
-
-
Sven Neumann authored
2008-05-14 Sven Neumann <sven@gimp.org> * app/widgets/gimpcurveview.c (gimp_curve_view_motion_notify): fixed use of uninitialized value. svn path=/trunk/; revision=25668
-
Michael Natterer authored
2008-05-14 Michael Natterer <mitch@gimp.org> * app/widgets/gimpsessioninfo-book.[ch]: remove widget member from struct GimpSessionInfoBook. Return the created GimpDockbook from restore(). * app/widgets/gimpsessioninfo-dock.c (restore): use the returned book instead of the struct member. svn path=/trunk/; revision=25658
-
- 13 May, 2008 3 commits
-
-
Michael Natterer authored
2008-05-14 Michael Natterer <mitch@gimp.org> Made session info serialization independent from widgets so it can be used on stored dock layouts which are not open: * app/widgets/gimpsessioninfo-book.[ch] * app/widgets/gimpsessioninfo-dock.[ch] * app/widgets/gimpsessioninfo-dockable.[ch]: add from_widget() functions which return newly allocated session info structs. Changed serialize() functions to take these structs instead of widgets. Changed deserialize() functions to return the structs instead of appending them to lists in their parent structs. Don't free anything in restore(). * app/widgets/gimpsessioninfo-aux.[ch] (gimp_session_info_aux_serialize): take a GList of aux_info instead of a widget. * app/widgets/gimpsessioninfo.[ch]: add new functions get_info() which collects above session info details from dialogs and clear_info() which clears that info. Call clear_info() from finalize(). Don't free anything in restore(). * app/widgets/gimpdialogfactory.c (gimp_dialog_factories_save_foreach): collect the session info detials from the dialogs before serializing because serialize() doesn't know about the widget any longer. Clear the infos after serializing. (gimp_dialog_factories_restore_foreach): clear the session info details after creating the dialogs because restore() doesn't clear the info by itself any longer. svn path=/trunk/; revision=25657
-
Michael Natterer authored
2008-05-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpsessioninfo.c: turn "info != NULL" checks into "GIMP_IS_SESSION_INFO (info)". svn path=/trunk/; revision=25656
-
Michael Natterer authored
2008-05-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpsessioninfo.[ch]: turn into a GimpObject subclass. No logical changes yet. * app/widgets/widgets-types.h * app/widgets/gimpdialogfactory.c: changed accordingly. svn path=/trunk/; revision=25655
-
- 12 May, 2008 1 commit
-
-
Simon Budig authored
2008-05-12 Simon Budig <simon@gimp.org> * app/vectors/gimpvectors.[ch] * app/vectors/gimpstroke.[ch] * app/vectors/gimpbezierstroke.c: Implement functionality to get a bezier description a la moveto/curveto/closepath. * app/vectors/vectors-types.h: implement an evil hack to avoid the inclusion of cairo.h in most C files... * app/vectors/Makefile.am: link against cairo * app/widgets/gimpviewrenderervectors.c: use the new functionality for preview rendering. svn path=/trunk/; revision=25645
-
- 11 May, 2008 4 commits
-
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/core/Makefile.am * app/core/gimpcurve.[ch]: * app/core/gimpcurve-map.[ch]: split curve map functions into seperate files. * app/gegl/gimpoperationcurves.c * app/tools/gimpcurvestool.c * app/widgets/gimpcurveview.c: changed accordingly. * app/Makefile.am (AM_LDFLAGS): make it link. svn path=/trunk/; revision=25642
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/core/gimpcurve.[ch]: renamed gimp_curve_map() to gimp_curve_map_value(). Added new function gimp_curve_map_pixels() which will allow for better optimization. * app/gegl/gimpoperationcurves.c (gimp_operation_curves_process): use gimp_curve_map_pixels(). * app/tools/gimpcurvestool.c * app/widgets/gimpcurveview.c: follow API change. svn path=/trunk/; revision=25641
-
Michael Natterer authored
2008-05-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimpaction.[ch]: add an "ellipsize" property that is applied to all proxy menu items' labels. * app/actions/windows-actions.c: set the dock actions to PANGO_ELLIPSIZE_END because their labels can be insanely long. svn path=/trunk/; revision=25635
-
Michael Natterer authored
2008-05-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup. svn path=/trunk/; revision=25634
-
- 10 May, 2008 3 commits
-
-
Michael Natterer authored
2008-05-10 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdialogfactory.[ch]: add signals "dock-added" and "dock-removed". (gimp_dialog_factory_add_dialog) (gimp_dialog_factory_remove_dialog): emit them when docks get added and removed. svn path=/trunk/; revision=25629
-
Michael Natterer authored
2008-05-10 Michael Natterer <mitch@gimp.org> * app/widgets/gimpactiongroup.h: fix parameter name. svn path=/trunk/; revision=25625
-
Sven Neumann authored
2008-05-10 Sven Neumann <sven@gimp.org> * app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw): reset the translation on the cairo context. Resurrects brush emblems which were drawn in the wrong position. * app/widgets/gimpviewrendererbrush.c (gimp_view_renderer_brush_draw): formatting. svn path=/trunk/; revision=25614
-
- 08 May, 2008 3 commits
-
-
Sven Neumann authored
2008-05-08 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_events): move the focus to the canvas on button-press events. * app/widgets/gimpwindow.c (gimp_window_key_press_event): removed a use of G_UNLIKELY() that is somewhat bogus here. svn path=/trunk/; revision=25587
-
Sven Neumann authored
2008-05-08 Sven Neumann <sven@gimp.org> * app/widgets/gimpfiledialog.[ch]: added infrastructure to access and set some state information of the GtkFileChooser. * app/dialogs/file-open-dialog.c * app/dialogs/file-save-dialog.c: don't keep the file-chooser dialogs around. Instead keep the state attached to the Gimp object (one state for load, one for save dialogs). Closes bug #528811. svn path=/trunk/; revision=25586
-
Sven Neumann authored
2008-05-08 Sven Neumann <sven@gimp.org> * app/widgets/widgets-types.h * app/widgets/gimpfiledialog.c: formatting. svn path=/trunk/; revision=25585
-
- 29 Apr, 2008 1 commit
-
-
Sven Neumann authored
2008-04-29 Sven Neumann <sven@gimp.org> * app/widgets/gimpwindow.c (gimp_window_key_press_event): formatting. svn path=/trunk/; revision=25548
-
- 28 Apr, 2008 1 commit
-
-
Sven Neumann authored
2008-04-28 Sven Neumann <sven@gimp.org> * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpwindow.[ch]: added GimpWindow class and moved key-press-event handler from GimpDock to this class. * app/widgets/gimpdock.[ch]: * app/display/gimpdisplayshell.[ch]: derive from GimpWindow. svn path=/trunk/; revision=25541
-
- 25 Apr, 2008 2 commits
-
-
Michael Natterer authored
2008-04-25 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdock.c * libgimpwidgets/gimpcellrenderertoggle.c: minor cosmetics. svn path=/trunk/; revision=25522
-
Sven Neumann authored
2008-04-25 Sven Neumann <sven@gimp.org> * app/widgets/gimptoolbox.c: do not any longer accept middle-mouse-button paste on the toolbox buttons but use the toolbox drop area for that. svn path=/trunk/; revision=25521
-
- 13 Apr, 2008 1 commit
-
-
Sven Neumann authored
2008-04-13 Sven Neumann <sven@gimp.org> * app/widgets/gimpunitcombobox.c: added "label-scale" style property. * app/display/gimpscalecombobox.[ch]: ditto. Also removed the support for extra action items. * app/display/gimpstatusbar.c: changed accordingly. * themes/Default/gtkrc * themes/Small/gtkrc: use a smaller font for the combo-box labels in the statusbar. svn path=/trunk/; revision=25475
-
- 12 Apr, 2008 1 commit
-
-
Martin Nordholts authored
2008-04-12 Martin Nordholts <martinn@svn.gnome.org> Applied modified patch from Daniel Hornung that changes the mouse cursor to a "clicking will create a selection"-icon when hovering the center of a pending Scissors Select Tool selection (bug #493370) * app/tools/gimpiscissorstool.c (gimp_iscissors_tool_cursor_update): Use the new cursor icon. * cursors/modifier-select.png * cursors/xbm/modifier-select.xbm * cursors/xbm/modifier-select-mask.xbm: New cursor icon. * cursors/makefile.msc * cursors/Makefile.am * app/widgets/gimpcursor.c * app/widgets/widgets-enums.h: Changed accordingly. svn path=/trunk/; revision=25473
-
- 10 Apr, 2008 1 commit
-
-
Michael Natterer authored
2008-04-10 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcomponenteditor.c: implement GimpDocked::set_context() and set the GimpViewRenderers' contexts. Unclear how this could have been missed since it warned badly about NULL contexts. svn path=/trunk/; revision=25460
-
- 09 Apr, 2008 2 commits
-
-
Sven Neumann authored
2008-04-09 Sven Neumann <sven@gimp.org> * app/widgets/gimptexteditor.c (gimp_text_editor_new): disabled the language entry until it works. svn path=/trunk/; revision=25432
-
Sven Neumann authored
2008-04-09 Sven Neumann <sven@gimp.org> * app/core/gimpcontainer.[ch]: added new methods gimp_container_get_{first,last}_child(). * app/actions/file-actions.c (file_actions_close_all_update) * app/dialogs/layer-add-mask-dialog.c (layer_add_mask_dialog_new) * app/dialogs/palette-import-dialog.c (palette_import_image_callback) * app/gui/gui-vtable.c (gui_get_empty_display): * app/widgets/gimpmenudock.c (gimp_menu_dock_image_changed): use the new GimpContainer methods. * app/core/gimpundostack.c: use the new GimpContainer methods and cleaned up the code. svn path=/trunk/; revision=25426
-
- 08 Apr, 2008 1 commit
-
-
Michael Natterer authored
2008-04-08 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdialogfactory.c (gimp_dialog_factory_set_user_pos): set GDK_HINT_MIN_SIZE on dialogs which had no previous sessionrc entry. Fixes the minimum size of the very first empty display of a new GIMP installation and shouldn't have any ill effects on other windows. svn path=/trunk/; revision=25409
-
- 05 Apr, 2008 2 commits
-
-
Sven Neumann authored
svn path=/trunk/; revision=25372
-
Sven Neumann authored
2008-04-05 Sven Neumann <sven@gimp.org> * app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw): corrected fix for bug #511926. svn path=/trunk/; revision=25371
-
- 31 Mar, 2008 1 commit
-
-
Michael Natterer authored
2008-03-31 Michael Natterer <mitch@gimp.org> * app/widgets/gimpbrusheditor.c (gimp_brush_editor_notify_brush): Add missing code for the "spacing" property. Spotted by Jerry Baker. svn path=/trunk/; revision=25323
-
- 30 Mar, 2008 2 commits
-
-
Martin Nordholts authored
2008-03-30 Martin Nordholts <martinn@svn.gnome.org> * app/widgets/gimpcontainertreeview-dnd.c (gimp_container_tree_view_drag_drop): Make all code paths result in a call to gtk_drag_finish() if we return TRUE. Fixes bug #317992. svn path=/trunk/; revision=25320
-
Sven Neumann authored
2008-03-30 Sven Neumann <sven@gimp.org> * app/widgets/gimpcontainertreeview.c: added a finalizer that frees the memory allocated for the cell lists. svn path=/trunk/; revision=25316
-
- 29 Mar, 2008 2 commits
-
-
Michael Natterer authored
2008-03-30 Michael Natterer <mitch@gimp.org> * app/display/gimpcanvas.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcolorframe.c * app/widgets/gimpcursorview.c * app/widgets/gimpcurveview.c * app/widgets/gimpdataeditor.c * app/widgets/gimpdock.c * app/widgets/gimpdockable.c * app/widgets/gimpdockbook.c * app/widgets/gimpdockseparator.c * app/widgets/gimpeditor.c * app/widgets/gimplayertreeview.c * app/widgets/gimpmenudock.c * app/widgets/gimpsamplepointeditor.c * app/widgets/gimptoolbox.c: chain up unconditionally in GtkWidget::style_set() because there is has a default implementation. svn path=/trunk/; revision=25307
-
Michael Natterer authored
2008-03-29 Michael Natterer <mitch@gimp.org> * app/widgets/gimpmenudock.c (gimp_menu_dock_auto_clicked): when the "Auto" button gets enabled, always copy both display and image to the local context (because there can be displays without image now). svn path=/trunk/; revision=25306
-
- 28 Mar, 2008 1 commit
-
-
Sven Neumann authored
2008-03-28 Sven Neumann <sven@gimp.org> * libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string() in favor of g_format_size_for_display(). * app/actions/edit-commands.c * app/core/gimpimagefile.c * app/dialogs/image-new-dialog.c * app/dialogs/image-scale-dialog.c * app/display/gimpdisplayshell-title.c * app/widgets/gimpimagepropview.c * app/widgets/gimptemplateeditor.c * app/widgets/gimpthumbbox.c * plug-ins/uri/uri-backend-gnomevfs.c * plug-ins/uri/uri-backend-gvfs.c * plug-ins/uri/uri-backend-libcurl.c * plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display() instead of gimp_memsize_to_string(). svn path=/trunk/; revision=25285
-
- 27 Mar, 2008 1 commit
-
-
Sven Neumann authored
2008-03-27 Sven Neumann <sven@gimp.org> * app/widgets/gimpdockable.c (gimp_dockable_detach): open the new dock window at the mouse pointer position. svn path=/trunk/; revision=25262
-
- 26 Mar, 2008 2 commits
-
-
Michael Natterer authored
2008-03-26 Michael Natterer <mitch@gimp.org> * app/widgets/gimptoolbox.c: make the wilber area a bit smaller. svn path=/trunk/; revision=25251
-
Michael Natterer authored
2008-03-26 Michael Natterer <mitch@gimp.org> * app/widgets/gimptoolbox.[ch]: store the toolbox area's vbox in the widget struct. * app/widgets/gimptoolbox-dnd.c (gimp_toolbox_dnd_init): use it as DND target instead of the wbox with the tool buttons. svn path=/trunk/; revision=25250
-