Michael Natterer
479082075b
app: use cairo_region_t for canvas items if cairo >= 1.10 is available
...
This is a gross hack that typedefs around between GdkRegion and
cairo_region_t and has some evil #ifdefs. This is going to die
immeditately once we can depend on cairo 1.10.
2010-10-18 20:01:05 +02:00
Sven Neumann
1130e8c890
Bug 631728 - Crash or Gtk-CRITICAL on File->Open
...
Check return value of gtk_icon_theme_lookup_by_gicon() before using it.
2010-10-18 18:28:57 +02:00
Michael Natterer
d831b9a353
libgimpwidgets: fix GimpFrame's child allocation for GSEAL_ENABLE
...
Don't override GtkFrame::compute_child_allocation() because we
completely override all functions that call this virtual function
anyway. Consequently, there is no need to store the child's allocation
in the sealed frame->child_allocation.
2010-10-18 16:40:47 +02:00
Mukund Sivaraman
9bbcf8c6b3
plug-ins/common/file-jp2-load: Check for other kinds of alpha components
...
ImageMagick seems to write out the 'matte' component (number 3).
2010-10-18 19:21:51 +05:30
Michael Natterer
5b64b83569
app: introduce enum GimpHandleAnchor as replacement for GtkAnchorType
...
because the latter is gone in GTK+ 3.0
2010-10-18 12:50:17 +02:00
Michael Natterer
0e9442b7c0
app: fix typo in comment
2010-10-18 12:44:58 +02:00
Martin Nordholts
130885e903
app/xcf: Simplify MAX_XCF_STRING_LEN
...
Simplify MAX_XCF_STRING_LEN and align sentences in warning message.
2010-10-17 21:25:46 +02:00
Mattias Põldaru
133c62327e
[l10n] Updated Estonian translation
2010-10-17 20:22:25 +03:00
Mattias Põldaru
b04348d257
[l10n] Updated Estonian translation
2010-10-17 20:21:25 +03:00
Mukund Sivaraman
83eeb724ca
plug-ins/common/screenshot: Remove extra article
2010-10-17 16:06:24 +05:30
Mukund Sivaraman
42f67f4d96
Rename WebKit's AM_CONDITIONAL
...
This is so that WebKit can be used elsewhere in GIMP.
2010-10-17 00:29:04 +05:30
Bruce Cowan
e8416a7143
Updated British English translation
2010-10-16 19:33:14 +01:00
Mukund Sivaraman
daf6456663
Fix install rule for individual plug-ins
2010-10-16 15:08:42 +05:30
Mukund Sivaraman
0ff751fd2d
Sort gimpwidgets.def entries
2010-10-16 11:53:50 +05:30
Mukund Sivaraman
8b57945ebb
Convert spaces to tab in def file
2010-10-16 11:48:48 +05:30
Mukund Sivaraman
c7f36d1546
Add missing symbols to gimpwidgets.def
2010-10-16 11:48:23 +05:30
Mukund Sivaraman
f1a7db80c9
Validate number of colors in XCF colormaps
2010-10-16 04:22:11 +05:30
Mukund Sivaraman
4855d433b0
Validate XCF string length
...
This patch limits the string length to 16 MB. If problems occur in the
future because 16 MB is small, increase the limit by modifying
MAX_XCF_STRING_LEN.
2010-10-16 04:13:27 +05:30
Mukund Sivaraman
675a9c3950
Decrement sample size just like in the gradients_sample_uniform case
2010-10-15 22:27:01 +05:30
Nils Philippsen
bec9e4b4ea
pygimp: deprecate gimpui.UnitMenu
2010-10-15 17:27:06 +02:00
Nils Philippsen
bc265758b0
pygimp: add wrapper for GimpUnit, GimpUnitComboBox
2010-10-15 17:27:06 +02:00
Nils Philippsen
b07eed8208
pygimp: fix building with deprecated GimpUnitMenu
2010-10-15 17:27:06 +02:00
Michael Natterer
628439bc31
app: simplify toolbox wilber drawing a lot
2010-10-15 16:03:36 +02:00
Michael Natterer
37effb99a4
app: use the window's allocation instead of gdk_drawable_get_size()
2010-10-15 15:17:12 +02:00
Michael Natterer
5af8cc1d40
app: translate the cr by allocation.x,y instead of doing this while drawing
2010-10-15 15:06:43 +02:00
Michael Natterer
b69eea8cd6
app: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 14:08:36 +02:00
Michael Natterer
3c18ba3497
app: implement GObject::dispose() instead of GtkWidget::destroy()
2010-10-15 13:48:36 +02:00
Michael Natterer
756b7310e7
app: cairo_translate() by allocation.x,y instead of doing that when drawing
2010-10-15 13:02:05 +02:00
Michael Natterer
1cc27bcef7
app: port gimp_view_renderer_draw() to take a cairo_t* instead of GdkWindow*
...
and pass in the cr with clipping set up from the callers instead.
2010-10-15 12:53:58 +02:00
Michael Natterer
dc39857238
app: add GimpSegment as replacement for GdkSegment
2010-10-15 12:37:36 +02:00
Michael Natterer
1948feb686
libgimp: implement GObject::dispose() instead of GtkWidget::destroy()
2010-10-15 12:17:10 +02:00
Michael Natterer
38999b7dd4
libgimp: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 12:04:36 +02:00
Michael Natterer
47c6b25f23
libgimpwidgets: transform the cr to widget coords
...
Get rid of allocation.foo and also kill all the rectangle intersection
that are not really optimizations on such a small widget.
2010-10-15 11:09:47 +02:00
Michael Natterer
3584b662a6
libgimpwidgets: transform the cr to widget coords
...
and get rid if all the allocation.x and .y
2010-10-15 10:40:37 +02:00
Michael Natterer
1de338ea9d
libgimpwidgets: port the GimpChainButton lines to cairo
...
A proper two-pixel line in FG color looks a lot less shabby...
2010-10-15 10:35:28 +02:00
Michael Natterer
84274e2230
libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 02:34:29 +02:00
Michael Natterer
b67dbdc6ca
libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 02:25:51 +02:00
Michael Natterer
a9e6297110
libgimpwidgets: implement GObject::finalize() instead of GtkObject::destroy()
2010-10-15 02:12:33 +02:00
Michael Natterer
6a10ded221
libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 02:07:55 +02:00
Michael Natterer
b25ac7b68d
libgimpwidgets: add "percent" support to GimpUnitStore
...
and enable "menu_show_percent" again in GimpSizeEntry.
2010-10-15 01:27:02 +02:00
Michael Natterer
e5faf090ca
libgimpwidgets: add gimp_unit_store_set,get_has_pixels()
...
to allow having unit combos without "pixels". Adapt GimpUnitComboBox
to not assume that the unit is equal to the index in the store and
enable "menu_has_pixels" in GimpSizeEntry again.
2010-10-15 00:15:48 +02:00
Michael Natterer
f2bd06e2d1
libgimpwidgets: move GimpUnitStore members to a private struct
2010-10-14 23:22:22 +02:00
Michael Natterer
c36f762f7d
libgimpwidgets: deprecate GimpUnitMenu and gimp_prop_unit_menu_new()
...
Add gimp_prop_unit_combo_box_new() and adapt all places using the
prop_unit_menu. Some things are broken now, like there are no pixel
digits set, resolution unit menus show "pixels" and warn badly when
pixels is selected, and file-pdf-load is not built right now.
More fixes to come...
2010-10-14 23:03:34 +02:00
Michael Natterer
74458f46ee
app/libgimpwidgets: move GimpUnitStore and GimpUnitComboBox to libgimpwidgets
2010-10-14 22:15:25 +02:00
Michael Natterer
af518f9e84
libgimpwidgets: use GObject::dispose() instead of GtkObject::destroy()
2010-10-14 17:47:48 +02:00
Michael Natterer
b24c25d317
app: don't use GET_PRIVATE() before the precondition check
2010-10-14 17:33:07 +02:00
Michael Natterer
843d9e35ad
libgimpwidgets: replace GdkGC* with gpointer for an unused struct member
2010-10-14 17:22:56 +02:00
Michael Natterer
8e0dd56feb
app: fix crashes by not trying to navigate on a NULL layout
...
Add boolean return value to gimp_text_tool_ensure_layout() and check
it where needed. Also fix the new VISUAL_POSITIONS navigation code yet
again.
2010-10-14 11:01:16 +02:00
Michael Natterer
852196eb3d
app: fix insert and overwrite cursors for RTL text
...
by using the right function to figure the location of both kinds of
cursors. Also fix crash in my last cursor movement commit: check for
error values returned by pango_layout_move_cursor_visually() and don't
try to move the cursor beyond the buffer boundaries.
2010-10-14 02:45:32 +02:00
Michael Natterer
f3c2a75e44
app: overwrite cursors can have negative widths in RTL text
2010-10-14 02:43:37 +02:00