Commit Graph

22038 Commits

Author SHA1 Message Date
0ea8572d89 Drop internal function from header
Make _gtk_button_box_child_requisition static.
2010-08-16 21:58:26 -04:00
e057cb8b4d Drop some unnecessary variables 2010-08-16 21:58:26 -04:00
434b3e1072 gdk: Use gdk_window_get_background_pixmap() when setting up paint 2010-08-16 19:48:46 +02:00
2944561ba3 API: Add gdk_window_get_background_pattern()
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
2010-08-16 19:48:46 +02:00
8805b58e62 textview: Fix rendering of embedded images 2010-08-16 19:48:45 +02:00
7993ee6d0e Updated Galician translations 2010-08-16 10:26:42 +02:00
a0a302f7f7 Updated Spanish translation 2010-08-15 21:44:22 +02:00
6a88255e00 Updated Spanish translation 2010-08-15 21:01:19 +02:00
c411df5406 Updated Spanish translation 2010-08-15 21:01:12 +02:00
14cc894dd7 quartz: gdk_window_get_frame_extents() needs to get effective toplevel 2010-08-15 17:34:44 +02:00
dc7a8f9be7 tests: unbreak testwindows test
Delete code that was broken and also used the APIs I just removed.
2010-08-15 03:51:39 +02:00
0b29f4e769 Remove window background getters again
They were added as accessors for 2.22 even though querying the
background wasn't possible previously. As GTK 3.0 will change background
handling, it doesn't make sense at all to expose these getters.
2010-08-15 03:34:02 +02:00
374d5094a3 Use accessor functions to access GtkToolbar 2010-08-14 02:25:33 +02:00
83c20d4b32 GtkToolbar: move public members to private structure 2010-08-14 02:25:33 +02:00
ca7d3f9081 gdk: When using OPERATOR_SOURCE, use clip + paint instead of fill
SOURCE is unbounded, so we clear unwanted areas.
2010-08-14 01:46:04 +02:00
fc170551b6 gdk: Do final copy with OPERATOR_SOURCE in end_implicit_paint
For windows with alpha channel, the previous contents would otherwise
not be erased. Visible for example in the status icon code.

Thanks to Thomas Wood for noticing.
2010-08-13 20:48:36 +02:00
6334d13de5 Remove some leftovers of deprecated functionality
There were some vestiges of the gtk_{h,v}button_box_set_default_layout()
functionality left. These are gone now. I have also removed
the GTK_BUTTONBOX_DEFAULT value in GtkButtonBoxStyle, but the other
values have been kept at their numeric values, to avoid more serious
ABI change.
2010-08-12 23:25:10 -04:00
05e33f69eb gtk_range_set_min_slider_size() should receive an gint, not a gboolean 2010-08-13 02:49:27 +02:00
cc09ec0732 gtk-demo: update drawingarea example
Use gdk_window_create_similar_surface() instead of gdk_pixmap_new()
2010-08-12 23:43:24 +02:00
c989d3000a API: Add gdk_window_create_similar_surface() 2010-08-12 23:43:11 +02:00
97fbf97be2 GtkTextTagTable: move public members to private structure 2010-08-12 18:33:28 +02:00
1516c86ca4 Use accessor funcions to access GtkCalendar 2010-08-12 18:02:31 +02:00
e6ed4da215 GtkCalendar: move public members to private structure 2010-08-12 18:02:31 +02:00
05134768fe Revert "Added UG translation" AGAIN
This reverts commit ac94b406a1.
2010-08-12 16:18:47 +02:00
8313c7fdbb Updated Slovenian translation 2010-08-12 14:12:17 +02:00
e4a83370c4 Improve the looks of the license text in GtkAboutDialog
It is not safe to assume that copyright text in applications is
one liner, therefore it's better to split it from the program name.

Also, the license text should be in a paragraph of its own, so
add an extra '\n' above it.

https://bugzilla.gnome.org/show_bug.cgi?id=626514
2010-08-12 14:23:58 +03:00
cd00b0a490 avoid redundant recursion for executing tests
* Makefile.decl: make sure that check-local does not depend on a
  recursive target for the tests. This way check can recurse and call
  check-local in each folder which then invokes test-cwd. This will
  make sure that a toplevel check-local doesn't recurse into subfolders
  as well. The was resulting in test being run twice (for "/tests"), tree
  times (e.g. for "/gtk/tests") and potentially more often
2010-08-12 11:20:41 +02:00
8b917eeaf6 quartz: make it compile 2010-08-12 10:57:59 +02:00
159caba3e2 Add gtk_license_get_type() to gtk.symbols 2010-08-11 21:43:47 +02:00
ddc184ec79 gdk: Remove nonexistant symbols
These symbols have been deleted from the public API with the rendering
cleanup work.
2010-08-11 21:43:47 +02:00
48c34b6868 Updated galician translations 2010-08-11 18:19:34 +02:00
ac94b406a1 Added UG translation 2010-08-11 17:48:38 +02:00
aa8a1a8a8e Update Simplified Chinese UI translation. 2010-08-11 22:42:48 +08:00
a151eac4fb Update Simplified Chinese property nicks translation. 2010-08-11 22:37:13 +08:00
416d132a72 docs: Some style fixes to the migration guide
Most importantly, I decided to not capitalize "cairo".
2010-08-11 05:12:49 +02:00
2acf529b3b Beef up the migration guide
This includes a first cut at documenting the rendering cleanup changes
and the region removal.
2010-08-10 21:22:40 -04:00
eff92cb1d6 dnd: Remove default_icon_pixmap variable and friends
The functions to set them were gone already, this is just cleanup
2010-08-11 02:30:29 +02:00
bde0f9a8f6 quartz: Misc. fixes for getting offscreen windows to work
Mainly fixes to properly differentiate between toplevel and offscreen
windows, since these sometimes need different treatment.  Furthermore,
usage of gdk_window_get_effective_foo() instead of gdk_window_get_foo()
where applicable.
2010-08-10 21:02:31 +02:00
d819bc4814 Invalidate cairo surface if resizing is not supported for target
While X11 surfaces can be resized, this is not the case for Quartz
surfaces.  Instead of resizing we will invalidate the surface instead.
By giving _gdk_windowing_set_cairo_surface_size() a boolean return
value, we can signal back whether or not resizing was possible.  If not
possible, we invalidate the surface.
2010-08-10 21:02:31 +02:00
9c6696dfcc quartz: Convert default background drawing to cairo
Includes some untested (read: uncompiled) simplifications from Benjamin
Otte.
2010-08-10 21:02:31 +02:00
709e05cdb2 style: Use _gtk_pango_fill_layout() 2010-08-10 21:02:31 +02:00
ccacd3a46a style: Apply same matrix conversion as gdk_draw_layout() did
This is only necessary for GtkLabel with an angle set as no other widget
rotates text.
Note that the label code does not need these adjustments as those paths
are only taken when the label is not rotated.
2010-08-10 21:02:31 +02:00
c9d08d02e5 gdk: Remove data consructors for GdkPixmap
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
4f37e6833c x11: Create empty cursor without old functions
In particular, clear the bitmap manually instead of using
create_from_data.
2010-08-10 21:02:31 +02:00
aaf70d1327 testgtk: Use Cairo to load XBM image
This should really use GdkPixbuf, but apparently we can't load XBM
images. And I'm too lazy to convert it.
2010-08-10 21:02:31 +02:00
de285edc72 testgtk: Use Pixbufs in the shapes example 2010-08-10 21:02:31 +02:00
2513636877 testgtk: Rename pixmap => pixbuf in various places
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.
2010-08-10 21:02:31 +02:00
6b19815f87 testgtk: Use pixbufs instead of pixmaps
This is for creating a GtkImage with an icon.
2010-08-10 21:02:31 +02:00
ad571a3a5e testgtk: Make image test not use Pixmaps, but Pixbufs 2010-08-10 21:02:31 +02:00
727122b8d6 testgtk: Fix types and get rid of casting 2010-08-10 21:02:31 +02:00