- 29 Oct, 2010 1 commit
-
-
Michael Natterer authored
Reserve only a width. The height gets ignored by GTK+ 2.x and breaks layout positioning in GTK+ 3.x which uses pango-cairo for all text rendering.
-
- 14 Oct, 2010 1 commit
-
-
Michael Natterer authored
-
- 26 Sep, 2010 1 commit
-
-
Michael Natterer authored
-
- 30 Jul, 2010 1 commit
-
-
Michael Natterer authored
-
- 20 Apr, 2010 1 commit
-
-
Michael Natterer authored
Instead keep a pointer to the statusbar's label around in our own object struct. Also remove conditional compilation based in GTK+ version.
-
- 21 Feb, 2010 1 commit
-
-
Michael Natterer authored
and get rid of the brainfuck idea that app/ has to use _gimp_unit_foo() functions, passing a gimp pointer. Instead, simply use the libgimpbase API all over the place. Should we ever allow more than one gimp instance, they will simply have to share one unit database.
-
- 11 Feb, 2010 3 commits
-
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
Actually use the hbox that is provided via gtk_statusbar_get_message_area() since GTK+ 2.19.1 instead of always replacing it by our own.
-
- 30 Nov, 2009 2 commits
-
-
Martin Nordholts authored
-
Martin Nordholts authored
Use more proper API in gimp_statusbar_init() when we rearrange widgets to get rid of warnings. Requires an up to date GTK+, max 2 weeks old or so, for gtk_statusbar_get_message_area(). This makes app/tests run again since there are no warnings about wrong widget parent.
-
- 03 Nov, 2009 1 commit
-
-
Michael Natterer authored
Don't replace anything if the status message didn't change. Gets rid of quite some statusbar invalidations in many tools.
-
- 17 Oct, 2009 2 commits
-
-
Michael Natterer authored
-
Martin Nordholts authored
In places where the pattern if (show) gtk_widget_show (widget); else gtk_widget_hide (widget); is used, change to gtk_widget_set_visible (widget, show); Also do some other minor cleanups.
-
- 06 Oct, 2009 1 commit
-
-
Michael Natterer authored
-
- 04 Oct, 2009 1 commit
-
-
Michael Natterer authored
Keeping it in GimpImageWindow was a bad idea because - it wasted space - it produced evil code because - it conceptually didn't belong there
-
- 29 Sep, 2009 1 commit
-
-
Michael Natterer authored
The prefix was needed because GtkWindow also has "icon" and "title" properties.
-
- 28 Sep, 2009 4 commits
-
-
Michael Natterer authored
-
Michael Natterer authored
Which sets/unsets the title of an iconified toplevel image window to the current progress message (if any). Use the new functions when the window is (de)iconified. Not exactly the high art of programming, but much better than the hacks in gimpdisplayshell-progress.c that are now removed.
-
Michael Natterer authored
-
Michael Natterer authored
Reconnect signals when a new shell is set; reorganize internal code to not set up permanent connections to one specific shell.
-
- 04 Aug, 2009 1 commit
-
-
Sven Neumann authored
-
- 15 Jul, 2009 1 commit
-
-
Michael Natterer authored
-
- 20 Feb, 2009 1 commit
-
-
Michael Natterer authored
2009-02-20 Michael Natterer <mitch@gimp.org> Bug 572156 – top left pixel position/coordinate is not 0,0 but 1,1 * app/display/gimpstatusbar.c (gimp_statusbar_push_coords) (gimp_statusbar_update_cursor): fix braino for GIMP_CURSOR_PRECISION_PIXEL_CENTER: going to the pixel's center doesn't need any rounding, it simply needs clipping the coordinates' fractional parts, gah... Review all tools' cursor precision: * app/tools/gimpblendtool.c (gimp_blend_tool_init): set cursor precision to SUBPIXEL. * app/tools/gimptexttool.c (gimp_text_tool_init) * app/tools/gimpmeasuretool.c (gimp_measure_tool_init) * app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_init): set cursor precision to PIXEL_BORDER. svn path=/trunk/; revision=28053
-
- 17 Jan, 2009 1 commit
-
-
Michael Natterer authored
2009-01-17 Michael Natterer <mitch@gimp.org> * all files with a GPL header and all COPYING files: Change licence to GPLv3 (and to LGPLv3 for libgimp). Cleaned up some copyright headers and regenerated the parsers in the ImageMap plugin. svn path=/trunk/; revision=27913
-
- 09 Oct, 2008 1 commit
-
-
Michael Natterer authored
2008-10-09 Michael Natterer <mitch@gimp.org> Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a GEGL dependency (they will have in the next commit, but I wanted to keep the commit separate). * app/dialogs/Makefile.am * app/file/Makefile.am * app/gui/Makefile.am * app/menus/Makefile.am * app/paint/Makefile.am * app/plug-in/Makefile.am * app/text/Makefile.am * app/vectors/Makefile.am * app/widgets/Makefile.am * app/xcf/Makefile.am: add GEGL_CFLAGS. * app/actions/*.c * app/core/*.c * app/dialogs/*.c * app/display/*.c * app/file/*.c * app/gui/*.c * app/menus/*.c * app/paint/*.c * app/pdb/gimppdb-utils.c * app/pdb/gimpprocedure.c * app/plug-in/*.c * app/text/*.c * app/tools/*.c * app/vectors/*.c * app/widgets/*.c * app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h> to all files which include a drawable subclass or gimpimage.h * tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h> in all generated files. * app/pdb/*-cmds.c: regenerated. * data/images/gimp-splash.png: the goat is still sleeping. By Aurore Derriennic. svn path=/trunk/; revision=27202
-
- 02 Oct, 2008 1 commit
-
-
Martin Nordholts authored
to 100% * app/display/display-enums.h: Added a GimpZoomFocus enum with 'best guess', 'pointer' or 'image center' values. * app/display/gimpdisplayshell-scale.[ch] (gimp_display_shell_scale): Take a GimpZoomFocus parameter and pass it on to (gimp_display_shell_scale_get_zoom_focus): which returns the requested zoom focus point if one was given, else makes a best guess. * app/actions/view-commands.c * app/display/gimpstatusbar.c * app/display/gimpnavigationeditor.c * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-scale-dialog.c: For explicit-zoom commands like "zoom to 100%", always use the image center as the zoom focus point. For all other zooming, continue to use the best-guess method. * app/display/display-enums.c: Regenerated. svn path=/trunk/; revision=27104
-
- 02 Sep, 2008 1 commit
-
-
Michael Natterer authored
2008-09-02 Michael Natterer <mitch@gimp.org> * app/display/gimpstatusbar.c: use gtk_widget_get_style() instead of widget->style. svn path=/trunk/; revision=26837
-
- 20 Aug, 2008 1 commit
-
-
Michael Natterer authored
2008-08-20 Michael Natterer <mitch@gimp.org> Bug 496772 – Position shown in the statusbar needs more precision (for some tools) * app/display/display-enums.[ch]: add enum GimpCursorPrecision which can be one of { PIXEL_CENTER, PIXEL_BORDER, SUBPIXEL }. * app/display/gimpdisplayshell-cursor.[ch]: add "precision" parameter to gimp_display_shell_update_cursor() and pass it on to the statusbar. * app/display/gimpstatusbar.[ch]: add "precision" parameters to the cursor coordinates APIs, offset the passed coords accordingly and display them with one decimal point if SUBPIXEL is requested and the display's unit is PIXEL. Keep a second floating-point format string around at any time. * app/tools/gimptoolcontrol.[ch]: add a "precision" member and API so tools can configure the precision they need. Defalt to PIXEL_CENTER since that's right for almost all tools. * app/display/gimpdisplayshell-callbacks.c: pass the tool's precision to gimp_display_shell_update_cursor(). * app/tools/gimptool.[ch]: add "precision" parameter to gimp_tool_push_status_coords() and pass it on to the statusbar. * app/tools/gimpaligntool.c * app/tools/gimpblendtool.c * app/tools/gimpcolortool.c * app/tools/gimpcroptool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpfliptool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpmovetool.c * app/tools/gimppainttool.c * app/tools/gimpperspectiveclonetool.c * app/tools/gimprectangleselecttool.c * app/tools/gimprectangletool.c * app/tools/gimptransformtool.c * app/tools/gimpvectortool.c: set precision in init() where needed. Adjust the precision in the fly when needed, e.g. while moving guides or when toggling hard-edge on paint tools. Also pass an appropriate precision to gimp_tool_push_status_coords(), which is not always the tool's precision as used for cursor display. svn path=/trunk/; revision=26681
-
- 15 Aug, 2008 1 commit
-
-
Sven Neumann authored
2008-08-15 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.[ch]: added some logic to avoid that an info message replaces a warning. Allow info messages to replaced other info messages. * app/display/gimpdisplay-handlers.c: changed accordingly. svn path=/trunk/; revision=26572
-
- 09 Jul, 2008 1 commit
-
-
Sven Neumann authored
2008-07-09 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c (gimp_statusbar_progress_message): don't accept a progress message if the status bar is already showing a temporary message. svn path=/trunk/; revision=26094
-
- 29 Apr, 2008 1 commit
-
-
Sven Neumann authored
2008-04-29 Sven Neumann <sven@gimp.org> * app/display/gimpscalecombobox.[ch]: added signal "entry-activated". * app/display/gimpstatusbar.c (gimp_statusbar_new): connect to the new signal and move the focus to the canvas. * app/display/gimpdisplayshell.c (gimp_display_shell_new): comment. svn path=/trunk/; revision=25549
-
- 22 Apr, 2008 1 commit
-
-
Sven Neumann authored
2008-04-22 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c (gimp_statusbar_frame_size_request): take vertical padding into account to avoid resizing the statusbar. svn path=/trunk/; revision=25512
-
- 14 Apr, 2008 6 commits
-
-
Sven Neumann authored
2008-04-14 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c: introduced a #define for the spacing between the icon and the statusbar label. svn path=/trunk/; revision=25484
-
Sven Neumann authored
2008-04-14 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c (gimp_statusbar_label_expose): fixed icon placement for right-to-left render direction. svn path=/trunk/; revision=25482
-
Sven Neumann authored
2008-04-14 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.[ch]: rewritten the code that draws the icon in the statusbar label. The new code gives nicer spacing. svn path=/trunk/; revision=25481
-
Sven Neumann authored
2008-04-14 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip) * app/display/gimpstatusbar.c (gimp_statusbar_progress_start) * app/gui/gui.c (gui_menu_show_tooltip): push a NULL stock-id. svn path=/trunk/; revision=25479
-
Sven Neumann authored
2008-04-14 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c (gimp_statusbar_label_expose): added a sanity check. * app/display/gimpdisplayshell-layer-select.c: formatting. svn path=/trunk/; revision=25478
-
Sven Neumann authored
2008-04-14 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.[ch]: added stock-id parameters to all statusbar setters. * app/display/gimpdisplayshell-title.c: pass NULL as stock-id. * app/tools/gimptool.c: pass the tool icon to the statusbar. * app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start): inherit the tool-info from the parent tool. svn path=/trunk/; revision=25477
-
- 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
-