]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoDon't allocate space for "" in scale marks
Matthias Clasen [Thu, 5 Aug 2010 01:47:54 +0000 (21:47 -0400)]
Don't allocate space for "" in scale marks

Turns out GtkBuilder ends up creating marks with non-NULL
empty texts, so ignore those. Bug 614443, reported by Filippo Argiolas.

13 years agoAdd (transfer none) annotation to gtk_tree_selection_get_selected_rows()
Philip Withnall [Fri, 30 Jul 2010 11:55:56 +0000 (13:55 +0200)]
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()

Closes: bgo#625650
13 years agoAdd (inout) annotation to gtk_tree_model_iter_next()
Philip Withnall [Fri, 30 Jul 2010 11:51:39 +0000 (13:51 +0200)]
Add (inout) annotation to gtk_tree_model_iter_next()

Closes: bgo#625650
13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Wed, 4 Aug 2010 23:02:03 +0000 (02:02 +0300)]
Updated Romanian translation

13 years agoAnnotate GtkTextBuffer insert methods
Paolo Borelli [Sat, 31 Jul 2010 12:01:41 +0000 (14:01 +0200)]
Annotate GtkTextBuffer insert methods

13 years agoUpdate git.mk from pango
Pablo Castellano [Tue, 3 Aug 2010 17:52:18 +0000 (19:52 +0200)]
Update git.mk from pango

13 years agoChange GtkCalendar's inner border and separator values from hard-coded
Cody Russell [Tue, 3 Aug 2010 15:45:14 +0000 (10:45 -0500)]
Change GtkCalendar's inner border and separator values from hard-coded
ones to using style properties.

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

13 years agoRemove some unused variables
Javier Jardón [Tue, 3 Aug 2010 10:44:52 +0000 (12:44 +0200)]
Remove some unused variables

13 years agoFix 32-bit Windows build using mingw-w64 toolchain
Fridrich Štrba [Tue, 3 Aug 2010 01:01:49 +0000 (03:01 +0200)]
Fix 32-bit Windows build using mingw-w64 toolchain

13 years agoMake the Windows manifest correspond to the name of the binary
Fridrich Štrba [Tue, 3 Aug 2010 00:49:01 +0000 (02:49 +0200)]
Make the Windows manifest correspond to the name of the binary

13 years agoPOTFILES.in: Add some missing files
Javier Jardón [Mon, 19 Jul 2010 14:29:01 +0000 (16:29 +0200)]
POTFILES.in: Add some missing files

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

13 years agoprogressbar: Remove act_mode_enter vfunc
Benjamin Otte [Sat, 31 Jul 2010 14:09:11 +0000 (16:09 +0200)]
progressbar: Remove act_mode_enter vfunc

It doesn't make sense to have a vfunc for this.

13 years agoprogressbar: Remove offscreen pixmap
Benjamin Otte [Sat, 31 Jul 2010 13:57:08 +0000 (15:57 +0200)]
progressbar: Remove offscreen pixmap

Why did the progressbar keep an offscreen pixmap anyway? It didn't even
double buffer...

13 years agoprogressbar: Remove paint vfunc
Benjamin Otte [Sat, 31 Jul 2010 13:32:33 +0000 (15:32 +0200)]
progressbar: Remove paint vfunc

Unconditionally call gtk_progress_bar_paint() instead. It was called in
various places instead of the vfunc already anyway.

13 years agoprogressbar: Remove unused update vfunc
Benjamin Otte [Sat, 31 Jul 2010 13:24:12 +0000 (15:24 +0200)]
progressbar: Remove unused update vfunc

13 years agodocs: Add gdk_cursor_get_cursor_type() template
Benjamin Otte [Sat, 31 Jul 2010 12:59:16 +0000 (14:59 +0200)]
docs: Add gdk_cursor_get_cursor_type() template

13 years agodocs: Remove GtkNotebookPage from docs
Benjamin Otte [Sat, 31 Jul 2010 12:57:11 +0000 (14:57 +0200)]
docs: Remove GtkNotebookPage from docs

13 years agopaned: Remove unused GdkGC
Benjamin Otte [Sat, 31 Jul 2010 12:36:04 +0000 (14:36 +0200)]
paned: Remove unused GdkGC

13 years agoadd the transfer and element-type annotation to gdk_device_manager_list_devices
John (J5) Palmieri [Thu, 29 Jul 2010 08:50:52 +0000 (04:50 -0400)]
add the transfer and element-type annotation to gdk_device_manager_list_devices

13 years agoAnnotate gdk_rectangle_intersect
Tomeu Vizoso [Wed, 28 Jul 2010 14:53:14 +0000 (16:53 +0200)]
Annotate gdk_rectangle_intersect

13 years agoUpdated asturian translation
Xandru Armesto [Wed, 28 Jul 2010 10:53:24 +0000 (12:53 +0200)]
Updated asturian translation

13 years agoUpdated asturian translation
Xandru Armesto [Wed, 28 Jul 2010 10:47:57 +0000 (12:47 +0200)]
Updated asturian translation

13 years agoUpdated Spanish translation
Jorge González [Mon, 26 Jul 2010 18:59:11 +0000 (20:59 +0200)]
Updated Spanish translation

13 years agogdk: Flush implicit paints with Cairo
Benjamin Otte [Mon, 19 Jul 2010 10:24:17 +0000 (12:24 +0200)]
gdk: Flush implicit paints with Cairo

13 years agogdk: Do DEBUG_UPDATES drawing with Cairo
Benjamin Otte [Sat, 17 Jul 2010 02:28:40 +0000 (04:28 +0200)]
gdk: Do DEBUG_UPDATES drawing with Cairo

13 years agooffscreenwindow: Copy old to new pixmap using Cairo
Benjamin Otte [Sat, 17 Jul 2010 01:15:33 +0000 (03:15 +0200)]
offscreenwindow: Copy old to new pixmap using Cairo

13 years agogdk: Create solid mask with Cairo
Benjamin Otte [Sat, 17 Jul 2010 00:52:59 +0000 (02:52 +0200)]
gdk: Create solid mask with Cairo

13 years agogdk: Always clear backing store with Cairo
Benjamin Otte [Sun, 25 Jul 2010 16:13:19 +0000 (18:13 +0200)]
gdk: Always clear backing store with Cairo

The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...

13 years agogdkgc: Draw clip mask with Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:42:15 +0000 (00:42 +0200)]
gdkgc: Draw clip mask with Cairo

13 years agogdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo
Benjamin Otte [Thu, 15 Jul 2010 15:49:08 +0000 (17:49 +0200)]
gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo

13 years agodocs: Remove mention of gdk_draw_drawable()
Benjamin Otte [Wed, 14 Jul 2010 21:14:33 +0000 (23:14 +0200)]
docs: Remove mention of gdk_draw_drawable()

That function is about to die.

13 years agogdk: Use the system colormap, not the rgb colormap
Benjamin Otte [Tue, 13 Jul 2010 00:47:04 +0000 (02:47 +0200)]
gdk: Use the system colormap, not the rgb colormap

RGB colormaps are on their way out.

13 years agogdk: Get rid of GdkRGB usage
Benjamin Otte [Mon, 12 Jul 2010 21:09:53 +0000 (23:09 +0200)]
gdk: Get rid of GdkRGB usage

Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.

13 years agogdk: Get rid of gdk_draw_pixbuf() call
Benjamin Otte [Mon, 12 Jul 2010 11:27:41 +0000 (13:27 +0200)]
gdk: Get rid of gdk_draw_pixbuf() call

Use Cairo code instead.

13 years agostyle: Draw insertion cursor with Cairo
Benjamin Otte [Sun, 25 Jul 2010 16:09:06 +0000 (18:09 +0200)]
style: Draw insertion cursor with Cairo

13 years agoRemove _gtk_widget_get_cursor_gc() function
Benjamin Otte [Thu, 15 Jul 2010 12:53:42 +0000 (14:53 +0200)]
Remove _gtk_widget_get_cursor_gc() function

It's unused now.

13 years agotesting: Use Cairo calls instead of gdk_draw_line() to test server sync
Benjamin Otte [Wed, 14 Jul 2010 23:08:03 +0000 (01:08 +0200)]
testing: Use Cairo calls instead of gdk_draw_line() to test server sync

13 years agogtk-demo: Blit backing pixmap using Cairo
Benjamin Otte [Mon, 19 Jul 2010 10:15:58 +0000 (12:15 +0200)]
gtk-demo: Blit backing pixmap using Cairo

13 years agogtk-demo: Convert color selection example to Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:18:57 +0000 (00:18 +0200)]
gtk-demo: Convert color selection example to Cairo

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