Commit Graph

22035 Commits

Author SHA1 Message Date
5eb76955fd style: Replace draw_diamond vfunc with Cairo calls 2010-08-10 21:02:27 +02:00
8f21b09eee tests: remove "draw drawable" button from testwindows test
draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
2010-08-10 21:02:27 +02:00
e85dfc7cc4 API: remove gdk_draw_polygon() 2010-08-10 21:02:27 +02:00
d2b1da4e84 API: remove gtk_paint_polygon()
Almost noone uses it in real applications and it's broken in most theme
engines.
2010-08-10 21:02:27 +02:00
53b9bdc3fc iconview: Remove debug drawing code
It uses APIs I'm about to deprecate.
2010-08-10 21:02:27 +02:00
1c4ce45a42 style: apply cleanup patch from bug 576988
Ideally this patch would be split up into chunks, but the git branch it
came from doesn't exist anymore. Only this patch is left in a bug
report.

It it's adapted to use accessors and contains some fixes that were
spotted while using the patch.

https://bugzilla.gnome.org/show_bug.cgi?id=576988
2010-08-10 21:02:27 +02:00
89d28eb09d API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed() 2010-08-10 21:02:27 +02:00
92f4882497 API: remove gdk_draw_trapezoids() and GdkTrapezoid struct 2010-08-10 21:02:27 +02:00
559ae63f01 API: remove gdk_draw_arc() 2010-08-10 21:02:27 +02:00
9b713fa4fd gdk: Remove testgdk code
The file wasn't build anyway and it's using all the APIs that are
getting removed.
2010-08-10 21:02:27 +02:00
14fe04ec89 API: remove GdkImage
It was unused and buggy.
2010-08-10 21:02:26 +02:00
6f5084551a API: remove gdk_drawable_copy_to_image() 2010-08-10 21:02:26 +02:00
2a72ffd4de API: remove gdk_drawable_get_image() 2010-08-10 21:02:26 +02:00
a1a1b135ac API: remove gdk_pixbuf_get_from_image() 2010-08-10 21:02:26 +02:00
7489c260eb colorsel: Use gdk_pixbuf_get_from_drawable()
Instead of fiddling with GdkImage directly.
2010-08-10 21:02:26 +02:00
84015d4d3f Implement gdk_pixbuf_get_from_drawable() with Cairo
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
2010-08-10 21:02:26 +02:00
39b47eaf25 API: Add gdk_pixbuf_get_from_surface()
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
b926ce719b API: remove gdk_draw_image() 2010-08-10 21:02:26 +02:00
d18abf42b7 API: Get rid of GdkRGB 2010-08-10 21:02:26 +02:00
17b8bee168 demos: Convert testpixbuf-save to Cairo 2010-08-10 21:02:26 +02:00
46794cc65c demos: Remove testpixbuf
Another test mainly utilizing inline pixbufs and GdkRGB, both of which
are kinda outdated.
2010-08-10 21:02:26 +02:00
638e415a6d demos: remove testpixbuf-drawable
It only tested GdkRGB, and we're about to kill that.
2010-08-10 21:02:26 +02:00
a513bdf3f7 testgtk: Remove alpha drawing test
We use Cairo for that these days.
2010-08-10 21:02:26 +02:00
8f19db7565 Replace gdk_rgb_find_color()
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
548ebc29e5 debug: remove GdkRGB debuggability
GdkRGB is on its way out, so there's no need to have a debugging
category for it.
2010-08-10 21:02:26 +02:00
119d48c89b gdk: Remove unused gdkrgb.h includes 2010-08-10 21:02:26 +02:00
d54c2cfeee API: remove gdk_screen_get_rgb_colormap/visual()
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
32c95ebe27 tests: remove testrgb test
This is in preparation for the GdkRGB removal
2010-08-10 21:02:25 +02:00
24a867f8da image: remove GdkImage as a possible image type
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
4f8dbd4a8d API: Remove gdk_draw_pixbuf() 2010-08-10 21:02:25 +02:00
11ee2abacc Add missing cairo_destroy() call 2010-08-10 21:02:25 +02:00
a66e4ebe1a docs: Add sgml goo for new notebook APIs 2010-08-10 21:02:25 +02:00
472b9d6f66 docs: Add sgml goo for new GtkExpander APIs 2010-08-10 21:02:25 +02:00
1481ab6626 docs: Add sgml goo for gdk_display_is_closed() 2010-08-10 21:02:25 +02:00
50266ca95d filechooser: Remove unused functions.
The last user is gone since 3a1ba3bd1e
2010-08-10 21:02:25 +02:00
2c40c2b7c8 Don't activate insensitive widgets
This was reported by Christian Becke in bug 626052.
2010-08-10 13:42:17 -04:00
3a1ba3bd1e bgo#625416 - Don't reload the filechooser's folder during a re-map event
Long ago, before we had file monitoring at the GIO/Glib level, we would
reload the current folder each time a file chooser gets (re)mapped.
This was basically to let the GIMP recycle the same file chooser for all
file/open or file/save operations, instead of creating a new one every time.
In that case, we reloaded the folder with each ::map() event so that the
file chooser would present an up-to-date view of the folder that was being
displayed.  Now, the folder should always be up-to-date as we do
file monitoring all the time.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-08-10 11:36:03 -05:00
316b9da873 Allow to unset the tree selection function
This is not causing problems, and seems natural. Bug 626276.
2010-08-10 07:35:54 -04:00
89d4eb6ded Updated Hebrew translation. 2010-08-10 11:35:59 +03:00
ad8f1ef85b Updated Hebrew translation. 2010-08-10 11:33:34 +03:00
7f985e760a Updated Hebrew translation. 2010-08-10 11:31:57 +03:00
3eb197b51f Bug 596125 — Property string fixes 2010-08-10 09:23:49 +01:00
fb48e023d2 Fix a sporadic segfault in treeview keynav
If a a treeview has frequent periodic additions and removals of
rows, it is possible that a page down keypress moves the cursor
out of the height of the treeview. In some of these cases, we
can be tricked into dereferencing a  NULL pointer.

Bug 612919.
2010-08-10 00:31:46 -04:00
e3bd926c1e Set translation domain for parameter_string in gtk_init_with_args
This was requested in bug 554926.
2010-08-10 00:11:40 -04:00
73030c462f about: Add :license-type property
The :license-type property of GtkAboutDialog allows using a symbolic
enumeration value that will construct a placeholder license preamble
linking to a specific URL. This allows localization of the licensing
text without using a translation of the actual license, since it would
not be valid.
Bug 336225.
2010-08-10 00:00:15 -04:00
79ef5de505 Make it possible to make the expander label fill the entire space
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
2010-08-09 23:08:39 -04:00
7844d3b8db Fix gail_notebook_get_selection_count()
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
2010-08-09 22:24:24 -04:00
f760538f17 gtkaccellabel: Remove unused class members
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=97414
2010-08-10 04:17:29 +02:00
61e34032ec Clarify the docs for gtk_widget_set_has_window()
The previous version of the docs did not make it clear that has-window
is the defaults. Pointed out by Magnus Hjorth, bug 615474.
2010-08-09 21:39:20 -04:00
2a12f74c8e Clarify memory management of tree models
It helps to be explicit about these things.
Bug 609264.
2010-08-09 21:35:26 -04:00