]>
Pileus Git - ~andy/gtk/log
Gabor Kelemen [Sat, 21 Aug 2010 14:43:05 +0000 (16:43 +0200)]
Updated Hungarian translation
Chao-Hsiung Liao [Sat, 21 Aug 2010 11:50:06 +0000 (19:50 +0800)]
Updated Traditional Chinese translation (Hong Kong and Taiwan)
Jorge González [Sat, 21 Aug 2010 11:01:34 +0000 (13:01 +0200)]
Updated Spanish translation
Kjartan Maraas [Sat, 21 Aug 2010 09:18:59 +0000 (11:18 +0200)]
Updated Norwegian bokmål translation
Yaron Shahrabani [Sat, 21 Aug 2010 08:55:22 +0000 (11:55 +0300)]
Updated Hebrew translation.
Tristan Van Berkom [Sat, 21 Aug 2010 01:15:35 +0000 (21:15 -0400)]
Fixed oversized menus allocated offscreen
Removed the old toplevel window size-request signal and
do the clamping in gtk_menu_get_height_for_width() instead,
also make sure to invalidate the size before doing a new
request just after invoking the delegate menu position func.
Tristan Van Berkom [Sat, 21 Aug 2010 01:15:01 +0000 (21:15 -0400)]
Fixed GtkMenuItem to not access the menu->requisition but get the minimum size request instead.
Javier Jardón [Sat, 21 Aug 2010 01:08:15 +0000 (03:08 +0200)]
Use standard icon names in demos and tests
Tristan Van Berkom [Fri, 20 Aug 2010 23:24:54 +0000 (19:24 -0400)]
Changed combo box's menu position function to use child menu
item's allocation instead of a complex calculation to guess
it's height for width.
Tristan Van Berkom [Fri, 20 Aug 2010 23:23:00 +0000 (19:23 -0400)]
Added GtkCellRendererText::max-width-chars property
Added a property to limit the minimum/natural size request
of a text cell renderer.
Matthias Clasen [Fri, 20 Aug 2010 21:32:21 +0000 (17:32 -0400)]
Remove leftover debug spew
Jonh Wendell [Fri, 20 Aug 2010 17:20:51 +0000 (14:20 -0300)]
Drop one duplicated function header
Jonh Wendell [Fri, 20 Aug 2010 17:11:05 +0000 (14:11 -0300)]
Use an acessor function instead of a deprecated macro
Matthias Clasen [Fri, 20 Aug 2010 12:48:07 +0000 (08:48 -0400)]
Fix gtk_widget_queue_draw
The draw-border removal did not get it right for !no-window widgets.
Bug 627445.
Tristan Van Berkom [Thu, 19 Aug 2010 23:01:45 +0000 (19:01 -0400)]
Prevent file filter name sizes from expanding the dialog (bgo #527499).
Made GtkFileChooser file filter combobox ellipsize.
Fabrício Godoy [Thu, 19 Aug 2010 14:54:38 +0000 (11:54 -0300)]
Updated Brazilian Portuguese Translation
Khaled Hosny [Thu, 19 Aug 2010 15:53:26 +0000 (17:53 +0200)]
Updated Arabic translation
Sandeep Shedmake [Thu, 19 Aug 2010 15:34:14 +0000 (21:04 +0530)]
fixed incorrect spelling of calender; corrected to calendar
krishnababu k [Thu, 19 Aug 2010 15:04:34 +0000 (20:34 +0530)]
Updated telugu transaltions
Benjamin Otte [Thu, 19 Aug 2010 10:07:24 +0000 (12:07 +0200)]
textview: Make cursor display again
The code for initializing the clip rectangle was accidentally deleted in
a previous patch. Put it back.
Stefan Kost [Tue, 17 Aug 2010 20:29:15 +0000 (23:29 +0300)]
[filechooserentry] don't show misplaced completion popup
Override the key-press-event instead of overriding the focus method.
Fixes #627139
Yaron Shahrabani [Thu, 19 Aug 2010 06:28:39 +0000 (09:28 +0300)]
Updated Hebrew translation.
Tristan Van Berkom [Wed, 18 Aug 2010 23:43:34 +0000 (19:43 -0400)]
Added test case to testheightforwidth.c to show GtkComboBox/GtkMenu wrapping in action
Tristan Van Berkom [Wed, 18 Aug 2010 23:42:02 +0000 (19:42 -0400)]
Implemented height-for-width geometry management for menus
Now GtkMenu/GtkMenuItem request/allocate in height-for-width
manner... to reduce the height of the menu one must explicitly
set the requested minimum width of the menu to a greater value
(using gtk_widget_set_size_request()).
Tristan Van Berkom [Wed, 18 Aug 2010 23:39:59 +0000 (19:39 -0400)]
Added height-for-width management for GtkComboBox/GtkCellView
now GtkComboBox (and GtkCellView) request and allocate children/cells
in a height-for-width manner.
Tristan Van Berkom [Wed, 18 Aug 2010 23:38:35 +0000 (19:38 -0400)]
Added GtkCellSizeRequest bits to makefile, gtk/gtk.h and gtk/gtk.symbols.
Tristan Van Berkom [Wed, 18 Aug 2010 23:36:51 +0000 (19:36 -0400)]
Added/Implemented GtkCellSizeRequestIface
This patch adds height-for-width geometry management
for cell renderers while still responding to the old
gtk_cell_renderer_get_size() apis with virtual return values
(obtained by soliciting the new height-for-width cell renderer
apis).
Tristan Van Berkom [Wed, 18 Aug 2010 23:33:53 +0000 (19:33 -0400)]
Fixed accel label to do its derived work in ->get_width() instead of the old ->size_request()
Tristan Van Berkom [Wed, 18 Aug 2010 23:32:25 +0000 (19:32 -0400)]
GtkBox: Clipped values passed to gtk_distribute_natural_allocation() incase allocated less than requested.
Tristan Van Berkom [Wed, 18 Aug 2010 23:31:53 +0000 (19:31 -0400)]
Added return_if_fail guard to gtk_distribute_natural_allocation()
Matthias Clasen [Tue, 10 Aug 2010 00:09:02 +0000 (20:09 -0400)]
Make print backends use standard icon names for printers
This is to make the print dialog work with the previous commit.
See bug 626474.
Matthias Clasen [Mon, 9 Aug 2010 19:03:42 +0000 (15:03 -0400)]
Make stock icons use standard icon names
At least where standard names are available, instead of relying
on a symlink forest in the icon theme directory. For directional
variants, we look up icons by the pair ("foo-rtl", "foo") or
("foo-ltr", "foo"). See bug 626474.
Matthias Clasen [Wed, 18 Aug 2010 16:46:57 +0000 (12:46 -0400)]
Remove GtkWidget::draw-border
This is a never-used style property that came out of some old
themeing experiments, and handling it has some performance
overhead. Bug 426924
Christian Persch [Tue, 27 Apr 2010 11:31:23 +0000 (13:31 +0200)]
Use G_DEFINE_BOXED_TYPE
Bug #627214.
Javier Jardón [Wed, 18 Aug 2010 03:29:17 +0000 (05:29 +0200)]
docs: gtk_window_group_get_current_device_grab() was added in 3.0
Fran Diéguez [Tue, 17 Aug 2010 16:35:35 +0000 (18:35 +0200)]
Updated Galician translations
Tomeu Vizoso [Tue, 17 Aug 2010 15:57:58 +0000 (17:57 +0200)]
The 'len' argument of gtk_text_buffer_insert and gtk_text_buffer_insert_at_cursor isn't really the length of the 'text' argument
Tomeu Vizoso [Tue, 17 Aug 2010 15:42:50 +0000 (17:42 +0200)]
gtk_tree_model_iter_next's iter is (in), not (inout)
Matthias Clasen [Tue, 17 Aug 2010 15:41:01 +0000 (11:41 -0400)]
Bump version to 2.90.7
Jorge González [Tue, 17 Aug 2010 15:39:26 +0000 (17:39 +0200)]
Updated Spanish translation
Carlos Garnacho [Tue, 17 Aug 2010 13:43:08 +0000 (15:43 +0200)]
GtkButton: Also handle activate from mouse events.
Carlos Garnacho [Tue, 17 Aug 2010 13:39:03 +0000 (15:39 +0200)]
GdkWindow: Check device cursor first in update_cursor().
Matthias Clasen [Tue, 17 Aug 2010 12:56:07 +0000 (08:56 -0400)]
Remove no-longer-existing file from POTFILES.in
Matthias Clasen [Tue, 17 Aug 2010 12:56:07 +0000 (08:56 -0400)]
Remove no-longer-existing file from POTFILES.in
Matthias Clasen [Tue, 17 Aug 2010 04:04:10 +0000 (00:04 -0400)]
Remove a dangling reference
Matthias Clasen [Tue, 17 Aug 2010 03:52:03 +0000 (23:52 -0400)]
Fix some documentation issues
Matthias Clasen [Tue, 17 Aug 2010 03:28:35 +0000 (23:28 -0400)]
NEWS for 2.90.6
Matthias Clasen [Fri, 13 Aug 2010 04:54:31 +0000 (00:54 -0400)]
Drop internal function from header
Make _gtk_button_box_child_requisition static.
Matthias Clasen [Fri, 13 Aug 2010 04:53:49 +0000 (00:53 -0400)]
Drop some unnecessary variables
Benjamin Otte [Sun, 15 Aug 2010 22:08:58 +0000 (00:08 +0200)]
gdk: Use gdk_window_get_background_pixmap() when setting up paint
Benjamin Otte [Sun, 15 Aug 2010 21:50:02 +0000 (23:50 +0200)]
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.
Benjamin Otte [Sun, 15 Aug 2010 20:50:22 +0000 (22:50 +0200)]
textview: Fix rendering of embedded images
Fran Diéguez [Mon, 16 Aug 2010 08:26:42 +0000 (10:26 +0200)]
Updated Galician translations
Jorge González [Sun, 15 Aug 2010 19:44:22 +0000 (21:44 +0200)]
Updated Spanish translation
Jorge González [Sun, 15 Aug 2010 19:01:19 +0000 (21:01 +0200)]
Updated Spanish translation
Jorge González [Sun, 15 Aug 2010 19:01:12 +0000 (21:01 +0200)]
Updated Spanish translation
Kristian Rietveld [Sun, 15 Aug 2010 11:30:55 +0000 (13:30 +0200)]
quartz: gdk_window_get_frame_extents() needs to get effective toplevel
Benjamin Otte [Sun, 15 Aug 2010 01:51:39 +0000 (03:51 +0200)]
tests: unbreak testwindows test
Delete code that was broken and also used the APIs I just removed.
Benjamin Otte [Sun, 15 Aug 2010 01:31:37 +0000 (03:31 +0200)]
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.
Javier Jardón [Sat, 14 Aug 2010 00:17:59 +0000 (02:17 +0200)]
Use accessor functions to access GtkToolbar
Javier Jardón [Sat, 14 Aug 2010 00:00:14 +0000 (02:00 +0200)]
GtkToolbar: move public members to private structure
Benjamin Otte [Fri, 13 Aug 2010 23:46:04 +0000 (01:46 +0200)]
gdk: When using OPERATOR_SOURCE, use clip + paint instead of fill
SOURCE is unbounded, so we clear unwanted areas.
Benjamin Otte [Fri, 13 Aug 2010 18:46:12 +0000 (20:46 +0200)]
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.
Matthias Clasen [Fri, 13 Aug 2010 03:22:07 +0000 (23:22 -0400)]
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.
Javier Jardón [Fri, 13 Aug 2010 00:49:27 +0000 (02:49 +0200)]
gtk_range_set_min_slider_size() should receive an gint, not a gboolean
Benjamin Otte [Thu, 12 Aug 2010 21:38:17 +0000 (23:38 +0200)]
gtk-demo: update drawingarea example
Use gdk_window_create_similar_surface() instead of gdk_pixmap_new()
Benjamin Otte [Thu, 12 Aug 2010 21:43:11 +0000 (23:43 +0200)]
API: Add gdk_window_create_similar_surface()
Javier Jardón [Thu, 12 Aug 2010 16:33:28 +0000 (18:33 +0200)]
GtkTextTagTable: move public members to private structure
Javier Jardón [Thu, 12 Aug 2010 15:59:32 +0000 (17:59 +0200)]
Use accessor funcions to access GtkCalendar
Javier Jardón [Thu, 12 Aug 2010 15:14:51 +0000 (17:14 +0200)]
GtkCalendar: move public members to private structure
Christian Persch [Thu, 12 Aug 2010 14:18:47 +0000 (16:18 +0200)]
Revert "Added UG translation" AGAIN
This reverts commit
ac94b406a1a1965a5788e84d119e48f07701b899 .
Klemen Košir [Thu, 12 Aug 2010 12:12:17 +0000 (14:12 +0200)]
Updated Slovenian translation
Claudio Saavedra [Thu, 12 Aug 2010 10:15:20 +0000 (13:15 +0300)]
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
Sven Herzberg [Thu, 12 Aug 2010 09:20:41 +0000 (11:20 +0200)]
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
Kristian Rietveld [Thu, 12 Aug 2010 08:57:59 +0000 (10:57 +0200)]
quartz: make it compile
Benjamin Otte [Wed, 11 Aug 2010 19:42:23 +0000 (21:42 +0200)]
Add gtk_license_get_type() to gtk.symbols
Benjamin Otte [Wed, 11 Aug 2010 19:36:46 +0000 (21:36 +0200)]
gdk: Remove nonexistant symbols
These symbols have been deleted from the public API with the rendering
cleanup work.
Fran Diéguez [Wed, 11 Aug 2010 16:19:34 +0000 (18:19 +0200)]
Updated galician translations
Sahran [Wed, 11 Aug 2010 15:48:38 +0000 (17:48 +0200)]
Added UG translation
Yinghua Wang [Wed, 11 Aug 2010 14:42:48 +0000 (22:42 +0800)]
Update Simplified Chinese UI translation.
Yinghua Wang [Wed, 11 Aug 2010 14:37:13 +0000 (22:37 +0800)]
Update Simplified Chinese property nicks translation.
Benjamin Otte [Wed, 11 Aug 2010 03:12:49 +0000 (05:12 +0200)]
docs: Some style fixes to the migration guide
Most importantly, I decided to not capitalize "cairo".
Matthias Clasen [Wed, 11 Aug 2010 01:21:01 +0000 (21:21 -0400)]
Beef up the migration guide
This includes a first cut at documenting the rendering cleanup changes
and the region removal.
Benjamin Otte [Wed, 11 Aug 2010 00:30:29 +0000 (02:30 +0200)]
dnd: Remove default_icon_pixmap variable and friends
The functions to set them were gone already, this is just cleanup
Kristian Rietveld [Sun, 8 Aug 2010 16:22:51 +0000 (18:22 +0200)]
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.
Kristian Rietveld [Sun, 8 Aug 2010 16:17:29 +0000 (18:17 +0200)]
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.
Kristian Rietveld [Sun, 8 Aug 2010 16:02:04 +0000 (18:02 +0200)]
quartz: Convert default background drawing to cairo
Includes some untested (read: uncompiled) simplifications from Benjamin
Otte.
Benjamin Otte [Sat, 7 Aug 2010 00:18:06 +0000 (02:18 +0200)]
style: Use _gtk_pango_fill_layout()
Benjamin Otte [Sat, 7 Aug 2010 00:14:10 +0000 (02:14 +0200)]
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.
Benjamin Otte [Fri, 6 Aug 2010 21:27:09 +0000 (23:27 +0200)]
gdk: Remove data consructors for GdkPixmap
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
Benjamin Otte [Fri, 6 Aug 2010 20:41:21 +0000 (22:41 +0200)]
x11: Create empty cursor without old functions
In particular, clear the bitmap manually instead of using
create_from_data.
Benjamin Otte [Fri, 6 Aug 2010 20:37:34 +0000 (22:37 +0200)]
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.
Benjamin Otte [Fri, 6 Aug 2010 20:28:09 +0000 (22:28 +0200)]
testgtk: Use Pixbufs in the shapes example
Benjamin Otte [Fri, 6 Aug 2010 20:12:24 +0000 (22:12 +0200)]
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.
Benjamin Otte [Fri, 6 Aug 2010 20:09:08 +0000 (22:09 +0200)]
testgtk: Use pixbufs instead of pixmaps
This is for creating a GtkImage with an icon.
Benjamin Otte [Fri, 6 Aug 2010 19:54:16 +0000 (21:54 +0200)]
testgtk: Make image test not use Pixmaps, but Pixbufs
Benjamin Otte [Fri, 6 Aug 2010 18:37:48 +0000 (20:37 +0200)]
testgtk: Fix types and get rid of casting
Benjamin Otte [Fri, 6 Aug 2010 18:33:57 +0000 (20:33 +0200)]
testdnd: Convert to use pixbufs as icons
Using Pixmaps is outdated.
Benjamin Otte [Fri, 6 Aug 2010 18:11:45 +0000 (20:11 +0200)]
x11: Make fallback pixbuf-cursor code not use old constructors
These bitmap constructors are about to die. The replacement is painting
with Cairo image surfaces and that's what we do here.
Benjamin Otte [Fri, 6 Aug 2010 16:03:18 +0000 (18:03 +0200)]
colorsel: Create cursor image using Cairo