Commit Graph

29033 Commits

Author SHA1 Message Date
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
30100cf613 app: add new widget GimpIconPicker, ripped out of GimpTemplateEditor 2011-03-01 12:31:17 +01:00
f0f94ba6a1 app: move all GimpTemplateEditor members to private 2011-03-01 11:50:16 +01:00
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
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
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
9cac8e7b42 app: GimpDeviceStatus: don't call gdk_display_get_name() on a NULL display 2011-02-28 17:36:53 +01:00
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
a1712a0ec7 app: emit "changed" when GimpDeviceInfo's device gets (un)set 2011-02-28 16:08:12 +01:00
b21f5be73f app: use GimpDeviceInfo's accessors 2011-02-28 15:55:02 +01:00
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
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
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
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
3bf3aa55a1 Updated Swedish translation 2011-02-27 18:27:00 +01:00
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
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
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
955fecc3cd app: replace a wrong G_LIKELY() by G_UNLIKELY() in tool_events() 2011-02-27 11:08:36 +01:00
80de76006d [l10n] Updated Estonian translation 2011-02-26 17:26:19 +02:00
85af450b3c app: forgot to #include "widgets/gimpwidgets-utils.h" 2011-02-24 16:54:39 +01:00
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
ef905d4b9e app: pick another GDK_KEY_foo key name commit from gtk3-port 2011-02-24 03:29:12 +01:00
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
3c0453b3c0 app: clean up static functions in the new tool-events.c file 2011-02-24 02:15:53 +01:00
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
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
203440521a plug-ins: imagemap, init map type to the default type set in preferences 2011-02-23 23:15:01 +01:00
f78f791eaa theme: new dynamics icon from Przemysław Gołąb 2011-02-23 23:47:30 +02:00
60392ce9cf Updated Slovenian translation 2011-02-23 18:44:39 +01:00
2e3eba1c49 Updated Slovenian translation 2011-02-23 18:44:08 +01:00
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
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
8621807a9f plug-ins: imagemap, port to cairo 2011-02-23 13:17:04 +01:00
e012caf1a3 plug-ins: imagemap, tabs to spaces 2011-02-23 13:17:02 +01:00
8f294661b2 app: don't #include "core/gimpprogress.h" when not needed 2011-02-22 17:32:33 +01:00
ac9ffde880 app: formatting and other minor cleanups 2011-02-22 16:27:18 +01:00
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
ca2fde3950 app: move default icon assignment a few lines up 2011-02-22 01:57:52 +01:00
b19645db49 script-fu: Use gimp-image-select-item instead of gimp-item-to-selection
gimp-item-to-selection does not seem to exist (in the PDB), so update to the
correct function gimp-image-select-item (which also takes the image as a
parameter).
2011-02-21 00:19:38 +02:00
56dd924b9c app: add default dynamics icon 2011-02-20 18:47:40 +02:00
4030e3f446 app: make gimp_display_shell_flush_event_queue() private 2011-02-20 16:58:37 +01:00
2260b15568 plug-ins: lighting, use an expose handler and remove unneeded backbuf 2011-02-20 16:44:19 +01:00
9151899aab app: move variable to local scope in gimp_display_shell_canvas_tool_events() 2011-02-20 16:33:46 +01:00
36cc10c4dc app: rename gimp_display_shell_[un]transform_coordiante() to _coords() 2011-02-20 16:29:20 +01:00
4bf3a136e0 app: factor out GimpDisplayShell tool event retrieval and untransforming 2011-02-20 16:23:17 +01:00
7bb58aedf9 app: make input GimpCoords const in gimpdisplayshell-transform.[ch] 2011-02-20 16:11:20 +01:00
d300882401 app: factor out GimpDisplayShell cursor updating to a utility function 2011-02-20 15:38:58 +01:00
87750d993e plug-ins: tabs to spaces in map-object 2011-02-20 15:24:22 +01:00
0f1da6677c plug-ins: pass the cairo_t from expose handler to drawing functions in map-object 2011-02-20 15:24:21 +01:00