]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agogtk-demo: Convert drawingarea example to Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:18:35 +0000 (00:18 +0200)]
gtk-demo: Convert drawingarea example to Cairo

13 years agogtk-demo: Make pixbufs demo use Cairo
Benjamin Otte [Tue, 13 Jul 2010 13:57:18 +0000 (15:57 +0200)]
gtk-demo: Make pixbufs demo use Cairo

13 years agodemos: No need to set the rgb colormap here
Benjamin Otte [Tue, 13 Jul 2010 15:14:14 +0000 (17:14 +0200)]
demos: No need to set the rgb colormap here

13 years agodemos: Convert to drawing with Cairo instead of GdkRGB
Benjamin Otte [Tue, 13 Jul 2010 15:17:19 +0000 (17:17 +0200)]
demos: Convert to drawing with Cairo instead of GdkRGB

13 years agodemos: Use Cairo instead of gdk_draw_pixbuf()
Benjamin Otte [Mon, 12 Jul 2010 14:48:53 +0000 (16:48 +0200)]
demos: Use Cairo instead of gdk_draw_pixbuf()

13 years agotestgtk: Remove unused variable
Benjamin Otte [Thu, 22 Jul 2010 00:28:19 +0000 (02:28 +0200)]
testgtk: Remove unused variable

13 years agotestgtk: Draw rotated text example with pangocairo
Benjamin Otte [Wed, 21 Jul 2010 23:51:59 +0000 (01:51 +0200)]
testgtk: Draw rotated text example with pangocairo

13 years agotestgtk: Replace gdk_draw_rectangle() with Cairo
Benjamin Otte [Thu, 15 Jul 2010 17:05:46 +0000 (19:05 +0200)]
testgtk: Replace gdk_draw_rectangle() with Cairo

13 years agotest: Convert testinput to Cairo
Benjamin Otte [Thu, 15 Jul 2010 16:37:08 +0000 (18:37 +0200)]
test: Convert testinput to Cairo

The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.

13 years agotests: Make testoffscreen use Cairo
Benjamin Otte [Thu, 15 Jul 2010 16:18:27 +0000 (18:18 +0200)]
tests: Make testoffscreen use Cairo

13 years agotests: replace gdk_draw_drawable() with Cairo calls in testinput
Benjamin Otte [Wed, 14 Jul 2010 21:10:31 +0000 (23:10 +0200)]
tests: replace gdk_draw_drawable() with Cairo calls in testinput

13 years agotests: Use gdk_screen_get_default_colormap()
Benjamin Otte [Tue, 13 Jul 2010 00:38:21 +0000 (02:38 +0200)]
tests: Use gdk_screen_get_default_colormap()

We don't need the RGB colormap here.

13 years agotests: Use GdkPixbuf for taking a screenshot, not GdkImage
Benjamin Otte [Tue, 13 Jul 2010 00:17:48 +0000 (02:17 +0200)]
tests: Use GdkPixbuf for taking a screenshot, not GdkImage

13 years agotests: Remove gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:45:12 +0000 (15:45 +0200)]
tests: Remove gdk_draw_pixbuf() with Cairo equivalent

13 years agopixbuf-engine: Draw mask with Cairo
Benjamin Otte [Thu, 15 Jul 2010 13:44:24 +0000 (15:44 +0200)]
pixbuf-engine: Draw mask with Cairo

No more gdk_pixbuf_render_threshold_alpha()

13 years agopixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:44:32 +0000 (15:44 +0200)]
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent

13 years agopixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:41:27 +0000 (15:41 +0200)]
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent

This replaces the tiled fill call only.

13 years agoimcontextxim: Draw with Cairo
Benjamin Otte [Sat, 17 Jul 2010 02:41:58 +0000 (04:41 +0200)]
imcontextxim: Draw with Cairo

13 years agodecorations: Draw text with Cairo
Benjamin Otte [Wed, 21 Jul 2010 11:20:22 +0000 (13:20 +0200)]
decorations: Draw text with Cairo

13 years agodecorate: Draw decorations using Cairo
Benjamin Otte [Thu, 15 Jul 2010 11:05:57 +0000 (13:05 +0200)]
decorate: Draw decorations using Cairo

Patch is untested, is there an example using this?

13 years agohsv: Remove unused variable
Benjamin Otte [Thu, 15 Jul 2010 03:40:05 +0000 (05:40 +0200)]
hsv: Remove unused variable

13 years agotreeview: Draw the dnd pixmaps with Cairo
Benjamin Otte [Thu, 15 Jul 2010 03:18:33 +0000 (05:18 +0200)]
treeview: Draw the dnd pixmaps with Cairo

13 years agotreeview: Draw lines with Cairo
Benjamin Otte [Thu, 15 Jul 2010 03:04:46 +0000 (05:04 +0200)]
treeview: Draw lines with Cairo

13 years agotreeview: Unify all line drawing into the same function
Benjamin Otte [Thu, 15 Jul 2010 01:36:07 +0000 (03:36 +0200)]
treeview: Unify all line drawing into the same function

This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.

13 years agotreeview: Draw column reordering arrows with Cairo
Benjamin Otte [Thu, 15 Jul 2010 01:02:59 +0000 (03:02 +0200)]
treeview: Draw column reordering arrows with Cairo

13 years agoruler: Replace gdk_draw_drawable calls with Cairo
Benjamin Otte [Wed, 14 Jul 2010 20:43:08 +0000 (22:43 +0200)]
ruler: Replace gdk_draw_drawable calls with Cairo

and get rid of the custom GC

13 years agomenu: replace gdk_draw_drawable() call with Cairo equivalent
Benjamin Otte [Wed, 14 Jul 2010 19:56:15 +0000 (21:56 +0200)]
menu: replace gdk_draw_drawable() call with Cairo equivalent

13 years agofilechooser: Remove commented out code
Benjamin Otte [Wed, 14 Jul 2010 12:47:10 +0000 (14:47 +0200)]
filechooser: Remove commented out code

It wouldn't compile with current APIs anyway

13 years agoprogressbar: Use cairo instead of gdk_draw_drawable()
Benjamin Otte [Wed, 14 Jul 2010 16:28:49 +0000 (18:28 +0200)]
progressbar: Use cairo instead of gdk_draw_drawable()

13 years agospinner: We want the default colormap, not the RGB colormap
Benjamin Otte [Tue, 13 Jul 2010 00:22:40 +0000 (02:22 +0200)]
spinner: We want the default colormap, not the RGB colormap

GtkSpinner doesn't use GdkRGB

13 years agoimage: Use Cairo instead of gdk_draw_drawable()
Benjamin Otte [Wed, 14 Jul 2010 17:46:58 +0000 (19:46 +0200)]
image: Use Cairo instead of gdk_draw_drawable()

13 years agoimage: replace gdk_draw_pixbuf() call with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 12:25:53 +0000 (14:25 +0200)]
image: replace gdk_draw_pixbuf() call with Cairo equivalent

13 years agotextview: draw dnd icon with Pango
Benjamin Otte [Wed, 21 Jul 2010 10:37:35 +0000 (12:37 +0200)]
textview: draw dnd icon with Pango

13 years agotextview: Draw selection background with Cairo
Benjamin Otte [Fri, 16 Jul 2010 21:56:20 +0000 (23:56 +0200)]
textview: Draw selection background with Cairo

13 years agotextview: Draw drag icons using Cairo
Benjamin Otte [Thu, 15 Jul 2010 23:45:06 +0000 (01:45 +0200)]
textview: Draw drag icons using Cairo

13 years agotextview: Use _gtk_widget_get_cursor_color() and Cairo
Benjamin Otte [Thu, 15 Jul 2010 12:50:36 +0000 (14:50 +0200)]
textview: Use _gtk_widget_get_cursor_color() and Cairo

Previously the code was using _gtk_widget_get_cursor_gc()

13 years agotextview: Draw empty shape logo with Cairo
Benjamin Otte [Thu, 15 Jul 2010 12:04:19 +0000 (14:04 +0200)]
textview: Draw empty shape logo with Cairo

13 years agotextview: replace gdk_draw_pixbuf() call with Cairo version
Benjamin Otte [Sun, 11 Jul 2010 23:40:30 +0000 (01:40 +0200)]
textview: replace gdk_draw_pixbuf() call with Cairo version

13 years agocolorbutton: Render with Cairo
Benjamin Otte [Sun, 11 Jul 2010 23:10:08 +0000 (01:10 +0200)]
colorbutton: Render with Cairo

In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.

13 years agoentry: replace gdk_draw_pixbuf() call with Cairo version
Benjamin Otte [Sun, 11 Jul 2010 22:00:07 +0000 (00:00 +0200)]
entry: replace gdk_draw_pixbuf() call with Cairo version

13 years agogdk: Revert making get_size optional
Benjamin Otte [Mon, 19 Jul 2010 11:24:30 +0000 (13:24 +0200)]
gdk: Revert making get_size optional

49a0ec6e95408e3484397602ad46e274cedbf98b added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.

In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.

The correct fix is to call impl->wrapper instead.

13 years agox11: Query size on real drawable
Benjamin Otte [Mon, 19 Jul 2010 11:15:10 +0000 (13:15 +0200)]
x11: Query size on real drawable

The X11 drawable does not have a clue about the real size of the
surface.

This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574

13 years agodocs: Fix sgml file to add gdk_keymap_get_num_lock_state()
Benjamin Otte [Tue, 13 Jul 2010 16:05:07 +0000 (18:05 +0200)]
docs: Fix sgml file to add gdk_keymap_get_num_lock_state()

13 years agocups: Fix cast warnings
Benjamin Otte [Mon, 12 Jul 2010 12:40:04 +0000 (14:40 +0200)]
cups: Fix cast warnings

13 years agoUpdated Slovenian translation
Klemen Košir [Mon, 26 Jul 2010 12:45:57 +0000 (14:45 +0200)]
Updated Slovenian translation

13 years agoMoved the drawing of horizontal grid lines after cell drawing.
Szilárd Pfeiffer [Sun, 25 Jul 2010 12:46:57 +0000 (14:46 +0200)]
Moved the drawing of horizontal grid lines after cell drawing.

Without the change if the cell background is set the horizontal
grid line cannot be seen.

13 years agoAdd gdk_cursor_get_cursor_type
John Stowers [Wed, 14 Jul 2010 09:55:27 +0000 (21:55 +1200)]
Add gdk_cursor_get_cursor_type

https://bugzilla.gnome.org/show_bug.cgi?id=624087

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Sat, 24 Jul 2010 05:15:32 +0000 (13:15 +0800)]
Update Simplified Chinese translation.

13 years agoClarify what the @event is used for when calling gtk_drag_begin()
Federico Mena Quintero [Fri, 23 Jul 2010 16:51:23 +0000 (11:51 -0500)]
Clarify what the @event is used for when calling gtk_drag_begin()

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoCorrect marshaller for switch-page and adjust emission from menu
Christian Dywan [Mon, 19 Jul 2010 09:04:56 +0000 (11:04 +0200)]
Correct marshaller for switch-page and adjust emission from menu

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
13 years agoFix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
Stanislav Brabec [Thu, 22 Jul 2010 21:19:49 +0000 (16:19 -0500)]
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()

If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time().  If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().

For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865

13 years agoCheck if childs actually exists before using it
Javier Jardón [Thu, 22 Jul 2010 14:43:23 +0000 (16:43 +0200)]
Check if childs actually exists before using it

Check seems to have gone lost during GtkBin sealing in commit 4427760b

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707

13 years agoUpdated Galician translations
Fran Diéguez [Thu, 22 Jul 2010 14:28:52 +0000 (16:28 +0200)]
Updated Galician translations

13 years agoUpdate Simplified Chinese translations.
Tao Wang [Wed, 21 Jul 2010 04:04:06 +0000 (12:04 +0800)]
Update Simplified Chinese translations.

13 years agoUpdated Galician translations
Fran Diéguez [Tue, 20 Jul 2010 10:26:38 +0000 (12:26 +0200)]
Updated Galician translations

13 years agoMove GtkBoxChild from the public .h to gtkbox.c
Javier Jardón [Wed, 14 Jul 2010 22:54:41 +0000 (00:54 +0200)]
Move GtkBoxChild from the public .h to gtkbox.c

https://bugzilla.gnome.org/show_bug.cgi?id=624397

13 years agoDo not use GtkBoxChild in GtkStatusBar
Javier Jardón [Wed, 14 Jul 2010 22:46:22 +0000 (00:46 +0200)]
Do not use GtkBoxChild in GtkStatusBar

https://bugzilla.gnome.org/show_bug.cgi?id=624397

13 years agogtkentrycompletion: check return value because It can be non-UTF8
Javier Jardón [Mon, 19 Jul 2010 18:45:25 +0000 (20:45 +0200)]
gtkentrycompletion: check return value because It can be non-UTF8

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 19 Jul 2010 19:38:04 +0000 (21:38 +0200)]
Updated Norwegian bokmål translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Mon, 19 Jul 2010 18:39:43 +0000 (21:39 +0300)]
Updated Hebrew translation.

13 years agoGtkWindowGroup: Add guards to some gtk_window_group_* functions
Javier Jardón [Thu, 24 Jun 2010 16:38:16 +0000 (18:38 +0200)]
GtkWindowGroup: Add guards to some gtk_window_group_* functions

13 years agoAdd _gtk_check_menu_item_set_active() internal function
Javier Jardón [Thu, 15 Jul 2010 14:49:45 +0000 (16:49 +0200)]
Add _gtk_check_menu_item_set_active() internal function

It's needed by gtkradiomenuitem

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432

13 years agogtknotebook: Fix critical warnings on scroll events
Christian Persch [Tue, 23 Mar 2010 13:45:07 +0000 (14:45 +0100)]
gtknotebook: Fix critical warnings on scroll events

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391

13 years agogtkstock: Adding a File label stock item.
Ted Gould [Thu, 24 Jun 2010 19:51:38 +0000 (14:51 -0500)]
gtkstock: Adding a File label stock item.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658

13 years agoAdd _gtk_toggle_action_set_active() internal function
Javier Jardón [Fri, 16 Jul 2010 16:34:46 +0000 (18:34 +0200)]
Add _gtk_toggle_action_set_active() internal function

It's needed in gtkradioaction

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540

13 years agoGtkWindow: keep a reference of the widget on focus change.
Carlos Garnacho [Mon, 19 Jul 2010 13:01:04 +0000 (15:01 +0200)]
GtkWindow: keep a reference of the widget on focus change.

Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.

13 years agogtktextbuffer: Remove GET_PRIVATE macro
Javier Jardón [Mon, 19 Jul 2010 13:01:02 +0000 (15:01 +0200)]
gtktextbuffer: Remove GET_PRIVATE macro

It's only needed one time and should not be used again in the code.

13 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 18 Jul 2010 18:35:06 +0000 (20:35 +0200)]
[i18n] Updated German translation

13 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 18 Jul 2010 18:31:28 +0000 (20:31 +0200)]
[i18n] Updated German translation

13 years agoUpdated Spanish translation
Jorge González [Sun, 18 Jul 2010 10:03:33 +0000 (12:03 +0200)]
Updated Spanish translation

13 years agoUpdated Indonesian translation after reapply newest POT
Andika Triwidada [Sun, 18 Jul 2010 05:00:22 +0000 (12:00 +0700)]
Updated Indonesian translation after reapply newest POT

13 years agoUpdated Indonesian translation
Andika Triwidada [Sun, 18 Jul 2010 04:55:39 +0000 (11:55 +0700)]
Updated Indonesian translation

13 years agoMove GtkTextBuffer sealed attributes to private struct.
Ignacio Casal Quinteiro [Tue, 13 Jul 2010 09:23:57 +0000 (11:23 +0200)]
Move GtkTextBuffer sealed attributes to private struct.

13 years agogail-util: Constify gchar argument
Emmanuele Bassi [Wed, 14 Jul 2010 15:01:45 +0000 (16:01 +0100)]
gail-util: Constify gchar argument

And avoid a compiler warning.

https://bugzilla.gnome.org/show_bug.cgi?id=624349

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 16 Jul 2010 14:17:13 +0000 (17:17 +0300)]
Updated Hebrew translation.

13 years agoRemove accidental addition
Matthias Clasen [Fri, 16 Jul 2010 05:22:01 +0000 (01:22 -0400)]
Remove accidental addition

13 years agoAllow windows to be dragged by clicking on empty areas
Matthias Clasen [Fri, 16 Jul 2010 05:15:47 +0000 (01:15 -0400)]
Allow windows to be dragged by clicking on empty areas

Allow windows to be dragged by clicking on empty areas in menubars
and toolbars. This is under theme control, via the GtkWidget::window-dragging
style property. The idea is that it makes sense to turn this on if a
theme makes the window frame and the menubar/toolbar appear visually
contiguous.

The main patch was written by Cody Russell, with a contribution by
Ayan George. See bug 611313.

13 years agoBack down glib requires
Matthias Clasen [Fri, 16 Jul 2010 03:42:04 +0000 (23:42 -0400)]
Back down glib requires

We really only need 2.25.11 after all.

13 years agoDo not use GtkBoxChild in GtkButtonBox.
Paolo Borelli [Wed, 14 Jul 2010 20:23:14 +0000 (22:23 +0200)]
Do not use GtkBoxChild in GtkButtonBox.

Do not store the is_secondary bit in the deprecated parent struct, use a
simple flag on the object instead. Fixes bug #624367.

13 years agodocs: gitignore GtkRecentManager .sgml template
Javier Jardón [Thu, 15 Jul 2010 13:42:41 +0000 (15:42 +0200)]
docs: gitignore GtkRecentManager .sgml template

THis completes commit 8eeeb97de6f65e3d6653063e51435a422919d378

13 years agodocs: Inline GtkRecentManager documentation
Emmanuele Bassi [Thu, 15 Jul 2010 08:10:55 +0000 (09:10 +0100)]
docs: Inline GtkRecentManager documentation

13 years agoRemove GtkRecenManager:limit deprecated property
Javier Jardón [Thu, 15 Jul 2010 01:04:50 +0000 (03:04 +0200)]
Remove GtkRecenManager:limit deprecated property

13 years agoDeprecate GtkRecenManager::limit property
Javier Jardón [Wed, 14 Jul 2010 15:35:08 +0000 (17:35 +0200)]
Deprecate GtkRecenManager::limit property

The :limit property of GtkRecentManager does not serve any useful
purpose: the length of the list should be managed by the view
(implementing GtkRecentChooser), and not by the model (the recent
manager).

https://bugzilla.gnome.org/show_bug.cgi?id=624333

13 years agoDo not access an invalid ActionGroup. Closes #624362.
Jonh Wendell [Wed, 14 Jul 2010 17:45:42 +0000 (14:45 -0300)]
Do not access an invalid ActionGroup. Closes #624362.

13 years agoUpdated Traditional Chinese translation (Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 14 Jul 2010 11:25:57 +0000 (19:25 +0800)]
Updated Traditional Chinese translation (Hong Kong and Taiwan)

13 years agoGtkTreeView: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:21:28 +0000 (02:21 +0200)]
GtkTreeView: unseal private pointer

13 years agoGtkTreeModelFilter: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:19:36 +0000 (02:19 +0200)]
GtkTreeModelFilter: unseal private pointer

13 years agoGtkToolItem: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:15:25 +0000 (02:15 +0200)]
GtkToolItem: unseal private pointer

13 years agoGtkToggleToolButton: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:13:29 +0000 (02:13 +0200)]
GtkToggleToolButton: unseal private pointer

13 years agoGtkPrintUnixDialog: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:11:00 +0000 (02:11 +0200)]
GtkPrintUnixDialog: unseal private pointer

13 years agoGtkPrintOperation: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:07:04 +0000 (02:07 +0200)]
GtkPrintOperation: unseal private pointer

13 years agoGtkExpander: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:01:20 +0000 (02:01 +0200)]
GtkExpander: unseal private pointer

13 years agoGtkToolButton: unseal private pointer
Javier Jardón [Tue, 13 Jul 2010 23:58:29 +0000 (01:58 +0200)]
GtkToolButton: unseal private pointer

13 years agoGtkAlignment: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 23:38:00 +0000 (01:38 +0200)]
GtkAlignment: move public members to private structure

13 years agoUse accessor functions to access GtkAlignment
Javier Jardón [Tue, 13 Jul 2010 23:45:55 +0000 (01:45 +0200)]
Use accessor functions to access GtkAlignment

13 years agoGtkViewport: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 21:20:38 +0000 (23:20 +0200)]
GtkViewport: move public members to private structure

13 years agogtkuimanager: unseal private pointer
Javier Jardón [Tue, 13 Jul 2010 20:44:53 +0000 (22:44 +0200)]
gtkuimanager: unseal private pointer

13 years agogtktoggleaction: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 18:27:16 +0000 (20:27 +0200)]
gtktoggleaction: move public members to private structure

13 years agoUse accessor functions to access GtkToggleAction
Javier Jardón [Tue, 13 Jul 2010 18:40:42 +0000 (20:40 +0200)]
Use accessor functions to access GtkToggleAction

13 years agogtktearoffmenuitem: Move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 18:09:59 +0000 (20:09 +0200)]
gtktearoffmenuitem: Move public members to private structure