Michael Natterer
c550eae5e1
app: move all GimpImagefile members to private
2011-03-02 12:26:04 +01:00
Michael Natterer
5b09e61c46
app: move all GimpTemplate members to private
2011-03-02 10:16:43 +01:00
Kevin Cozens
b435e55d14
Applied modified version of second patch for bug #642939 .
...
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
Additional scripts were changed to not pass -1 to gimp-image-insert-layer.
2011-03-02 02:55:43 -05:00
Kevin Cozens
403630fd57
Applied modified version of first patch for bug #642939 .
...
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
2011-03-02 02:27:15 -05:00
Kevin Cozens
8438bc5bb7
Commiting auto-generated files with recently corrected PDB help text.
2011-03-01 17:06:59 -05:00
Kevin Cozens
b890cd39af
Correction to help text for the gimp-insert-layer-* PDB procedures.
2011-03-01 16:22:33 -05:00
Michael Natterer
7faaf4df41
libgimp: rename the newly added item parasite functions
...
gimp-item-find-parasite -> gimp-item-get-parasite
gimp-item-list-parasites -> gimp-item-get-parasite-list
Also changed the signature of gimp-item-get-parasite-list's C wrapper
in libgimp to be sane.
2011-03-01 22:19:48 +01:00
Michael Natterer
0bb5a76405
app: fix wilber dawing offset on widgets that don't have a window
2011-03-01 17:11:22 +01:00
Michael Natterer
ebe4b4102f
Bug 643587 - Opening two xcf with vectors crashes gimp
...
Fix the crash and the warning pointed out in the bug.
2011-03-01 17:05:58 +01:00
Michael Natterer
30e847c921
app: forgot to implement dragging from GimpContainerIconView
2011-03-01 15:32:08 +01:00
Michael Natterer
f45e171f09
app: place the gimpview-popup at the button event's root coordinates
...
instead of fiddling with the widget's and its window's positions.
2011-03-01 14:53:54 +01:00
Michael Natterer
f82daa557a
app: pack stuff in boxes instead of tables in GimpDeviceStatus
...
Makes the widget work correctly in all allocation situations.
2011-03-01 13:28:58 +01:00
Michael Natterer
30100cf613
app: add new widget GimpIconPicker, ripped out of GimpTemplateEditor
2011-03-01 12:31:17 +01:00
Michael Natterer
f0f94ba6a1
app: move all GimpTemplateEditor members to private
2011-03-01 11:50:16 +01:00
Michael Natterer
d3a83c9940
app: fix export and delete sensitivity in GimpSettingsEditor
...
and make sure "select-item" is emitted also when NULL is selected,
so the sensitivity is set correctly.
2011-03-01 01:29:35 +01:00
Michael Natterer
145db8d57c
Bug 639305 - Image tabs pushes toolbox to left
...
Set the notebook to scrollable. Not a final fix, but enough to fix the
immediate problem.
2011-03-01 00:56:23 +01:00
Michael Natterer
9b5dc7559a
app: set GimpFreeSelectTool active only while mouse-1 is down
...
First step towards tightening the tool state machine...
2011-02-28 21:04:42 +01:00
Michael Natterer
9cac8e7b42
app: GimpDeviceStatus: don't call gdk_display_get_name() on a NULL display
2011-02-28 17:36:53 +01:00
Michael Natterer
3a767c0c15
app: get rid of the arrow in GimpDeviceStatus
...
Instead, use an event box and set its state to SELECTED when the
device is active. Also cleaned up spacings and general appearance a
bit. Still a mess.
2011-02-28 16:43:21 +01:00
Michael Natterer
a1712a0ec7
app: emit "changed" when GimpDeviceInfo's device gets (un)set
2011-02-28 16:08:12 +01:00
Michael Natterer
b21f5be73f
app: use GimpDeviceInfo's accessors
2011-02-28 15:55:02 +01:00
Michael Natterer
c49a7113e5
app: set the device manager's sort_func via g_object_new()
...
Setting it in init() had it overwritten by NULL because it's a
construct property.
2011-02-28 15:48:13 +01:00
Michael Natterer
ee844c6395
app: GimpDeviceManager refactoring part two
...
- change gimp_devices_get_list() to gimp_devices_get_manager()
- remove gimp_devices_get_current()
- let GimpDeviceStatus connect to the manager's "notify::current-device"
directly and remove device status updating code from gui.c
- cleanup in gimpdevices.c
2011-02-28 14:37:00 +01:00
Michael Natterer
21a0e55005
app: device manager refactoring part one
...
Add a GimpDeviceManager object and take over most code from
gimpdevices.c, but leave all functions in gimpdevices.c there as
wrappers in order to make rebasing in gtk3-port simpler.
2011-02-28 12:57:15 +01:00
Michael Natterer
4f59bb3431
Bug 581338 - Layer size does not change using the pdb 'gimp-text-layer-resize'
...
Fix the fix: use box-unit, not unit, for the box extents.
2011-02-28 00:41:48 +01:00
Daniel Nylander
3bf3aa55a1
Updated Swedish translation
2011-02-27 18:27:00 +01:00
Michael Natterer
d136b9f7d2
app: redo the last commit and call proximity_in() at all logical places
...
Keep the comment at the place where calling it isn't immediately
obvious, and add checks to proximity_in() and out() so they bail out
when the proximity state is already set correctly.
2011-02-27 12:16:51 +01:00
Michael Natterer
75add92218
app: add utility functions proximity_in() and proximity_out()
...
and use them instead of manually setting proximity. Also add comments
about why we call the proximity functions where we call them (instead
of calling them where it seems more logical).
2011-02-27 12:08:09 +01:00
Michael Natterer
ca618093cf
app: don't show the line to the next free select point when not in proximity
...
like when leaving the canvas or crossing a window above (tools receive
one oper_update() with proximity = FALSE to indicate the pointer
leaving the canvas).
2011-02-27 11:49:54 +01:00
Michael Natterer
955fecc3cd
app: replace a wrong G_LIKELY() by G_UNLIKELY() in tool_events()
2011-02-27 11:08:36 +01:00
Mattias Põldaru
80de76006d
[l10n] Updated Estonian translation
2011-02-26 17:26:19 +02:00
Michael Natterer
85af450b3c
app: forgot to #include "widgets/gimpwidgets-utils.h"
2011-02-24 16:54:39 +01:00
Michael Natterer
c11b0d2a79
app: move tool event debug output to a utility function
...
to reduce clutter in gimp_display_shell_canvas_tool_events().
2011-02-24 12:34:57 +01:00
Michael Natterer
ef905d4b9e
app: pick another GDK_KEY_foo key name commit from gtk3-port
2011-02-24 03:29:12 +01:00
Michael Natterer
de8a07703a
app: name display scrollbar callbacks like the signal they are handling
...
instead of calling them all foo_update() which means absolutely nothing.
Also rename nav_button_press() to navigation_button_press().
2011-02-24 02:15:53 +01:00
Michael Natterer
3c0453b3c0
app: clean up static functions in the new tool-events.c file
2011-02-24 02:15:53 +01:00
Michael Natterer
c09ad998a4
app: split tool event handling out into an own file
...
it was simply getting too hairy in the callbacks.c file.
2011-02-24 02:15:53 +01:00
Michael Natterer
09947733d6
app: use some of the new GDK_KEY_foo #defines from GTK+ 2.22
...
and use them in gimpdisplayshell-callbacks.c so I can do some
refactoring there without making rebasing the gtk3-port branch almost
impossible.
2011-02-24 02:15:53 +01:00
Mikael Magnusson
203440521a
plug-ins: imagemap, init map type to the default type set in preferences
2011-02-23 23:15:01 +01:00
Alexia Death
f78f791eaa
theme: new dynamics icon from Przemysław Gołąb
2011-02-23 23:47:30 +02:00
Martin Srebotnjak
60392ce9cf
Updated Slovenian translation
2011-02-23 18:44:39 +01:00
Martin Srebotnjak
2e3eba1c49
Updated Slovenian translation
2011-02-23 18:44:08 +01:00
Mikael Magnusson
6ea2f4881a
plug-ins: imagemap, Don't show popup menu when button 1 is pressed
...
Showing the menu when dragging stuff around broke event handling in
various ways. Also only show the menu on right click.
2011-02-23 13:17:09 +01:00
Mikael Magnusson
cc3f1e8a24
plug-ins: imagemap, don't run execute for sash when redoing
...
It adds event handlers expecting the mouse button to be down, but it
isn't, so everything broke.
2011-02-23 13:17:05 +01:00
Mikael Magnusson
8621807a9f
plug-ins: imagemap, port to cairo
2011-02-23 13:17:04 +01:00
Mikael Magnusson
e012caf1a3
plug-ins: imagemap, tabs to spaces
2011-02-23 13:17:02 +01:00
Michael Natterer
8f294661b2
app: don't #include "core/gimpprogress.h" when not needed
2011-02-22 17:32:33 +01:00
Michael Natterer
ac9ffde880
app: formatting and other minor cleanups
2011-02-22 16:27:18 +01:00
Michael Natterer
7a8600e6bd
app: use gdk_flush() in gimp_widget_flush_expose()
...
instead of a completely bogus event processing loop which had no
effect but flushing the event queue implicitly.
2011-02-22 15:07:17 +01:00
Michael Natterer
ca2fde3950
app: move default icon assignment a few lines up
2011-02-22 01:57:52 +01:00