Commit Graph

26641 Commits

Author SHA1 Message Date
Chun-wei Fan
5f14831f7d Update build/win32/vs9/README.txt
Make the build instructions and information more
up-to-date and clearer to people

Please let me know if I have missed any details that
are needed.  Thank you!
2011-04-18 00:23:58 +08:00
Benjamin Otte
be6d434f78 window: cast value so gcc shuts up 2011-04-16 22:51:28 +02:00
Benjamin Otte
a07c41dc38 menushell: Include a function in the private header
Don't copy over the implementation. This avoids a copy of the function.
Reverts 0098344f84.
2011-04-16 22:47:40 +02:00
Benjamin Otte
83678a1c59 entry: Use the new get_frame_size() argument in gtk_entry_draw_frame() 2011-04-16 22:46:06 +02:00
Benjamin Otte
44b5fe2a60 entry: Fix gtk_entry_get_icon_at_pos()
The passed in coordinates are widget-relative, not window-relative.
2011-04-16 22:45:54 +02:00
Benjamin Otte
57fd192679 entry: Add the ability to query frame size in two ways
TRUE: relative to widget->window
FALSE: relative to widget

For now, no caller has beeen changed.
2011-04-16 22:45:48 +02:00
Benjamin Otte
0cf31b35eb window: Only draw the resize grip if it is actually visible
This issue can only be seen if someone calls gtk_widget_draw() on the
window as otherwise gtk_cairo_should_draw_window() would return FALSE.
2011-04-16 22:45:34 +02:00
Benjamin Otte
f537ebf024 docs: Fix wrong description for query-tooltip
Coordinates are not relative to widget->window
2011-04-16 22:45:28 +02:00
Matthias Clasen
89fbd574ce Bump version 2011-04-15 11:48:22 -04:00
Matthias Clasen
dafdcefd17 bump version 3.0.9 2011-04-15 09:32:08 -04:00
Paolo Borelli
8eabbe2220 Free MenuPopulateData struct in all the cases.
For clarity factor out create/free functions.

https://bugzilla.gnome.org/show_bug.cgi?id=646876
2011-04-15 11:17:13 +02:00
Matthias Clasen
6fdfc879c8 Don't leak a list when activating keybindings
Patch by Rui Matos,
https://bugzilla.gnome.org/show_bug.cgi?id=647790
2011-04-14 20:23:11 -04:00
Matthias Clasen
e604efd8d3 Updates 2011-04-14 10:15:46 -04:00
Matthias Clasen
f5eee56b56 GtkMenuShell: always 'activate' menu shells
Failing to do so can leave us with a stuck grab in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=554057
2011-04-14 09:01:08 -04:00
Matthias Clasen
8990ad6a20 GtkTimeline: don't look when animations are disabled
Otherwise, we end up doing maximal work with minimal effect, and
bring the X server to 100% CPU. Note that this makes spinner widgets
look really unclear, but they really have to be changed to adapt
to enable-animations == FALSE at the widget level.
2011-04-14 08:56:07 -04:00
Javier Jardón
15de4031bc docs: Fix a typo: gtk_style_get_context -> gtk_style_has_context 2011-04-13 13:54:45 +01:00
Cosimo Cecchi
713488ed50 combobox: always give the full allocation to the button in menu mode
The button is what draws the background/frame outline of the combobox,
and padding is defined as the spacing *inside* the widget between the
border and the content.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00
Cosimo Cecchi
503466c893 combobox: rename border->padding for code clarity
https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00
Cosimo Cecchi
e94b311fbf combobox: allocate the right border to the arrow and not to the label
When the combobox is in menu mode, the right padding of the togglebutton
inside, should be allocated to its rightmost children, which is the
arrow.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00
Cosimo Cecchi
22eb1f5b91 combobox: don't use the border as a padding
This causes the combobox to behave badly from the theme.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00
Cosimo Cecchi
9f4183c453 combobox: don't add the button style class to the whole widget
It already has a toggle button inside, and this way we cannot theme them
separately.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:19 -04:00
Cosimo Cecchi
2c29311955 button: don't use the border values for padding
It's wrong, and makes it impossible to theme the button properly.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:19 -04:00
Cosimo Cecchi
29e45c4c89 button: make gtk_button_get_props() return the padding too
https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:19 -04:00
Dan Winship
00802c73e4 gtk_window_present_with_time: fix when window is not initially visible
When called on a hidden window, gtk_window_present_with_time() would
just fall back to gtk_widget_show(), completely ignoring the passed-in
timestamp. This ended up working anyway if the timestamp came from
in-process, since gdk_window_x11_show() would initialize its user_time
from the time of the most recent event. But if the timestamp came from
another process, this would result in the window being shown with an
out-of-date timestamp.

Fix this by remembering the timestamp from
gtk_window_present_with_time(), and then setting the GdkWindow's
user_time from that when it the window is realized.

https://bugzilla.gnome.org/show_bug.cgi?id=647275
2011-04-12 14:48:27 -04:00
Dan Winship
9404f77eb1 GdkDeviceManagerXI2: don't set user_time on ButtonRelease
The XI2 device manager was mistakenly setting the window user_time on
both ButtonPress and ButtonRelease, which meant that processes that
tried to launch another process based on the time of a ButtonPress
event would end up always focus-stealing-preventing the new app.

https://bugzilla.gnome.org/show_bug.cgi?id=647275
2011-04-12 14:48:02 -04:00
Dan Winship
94b9e819a0 GdkDeviceManagerXI2: process send_event core events
XSendEvent doesn't currently work with XI2 events, so add code to
translate core events when they have the send_event flag.

(We still don't actually select for core pointer/keyboard events, so
we will only receive send_event events that are sent with a 0
event_mask.)

https://bugzilla.gnome.org/show_bug.cgi?id=644847
2011-04-12 14:29:12 -04:00
Takayoshi OKANO
a0d9da7454 Updated Japanese translation. 2011-04-11 23:17:23 +09:00
Tristan Van Berkom
e21d72cf3a Fix some crashes caused by unimplemented functions in GdkOffscreenWindow
These crashes happen when accessing GtkWindow properties and the
GdkWindow is an offscreen (fixes https://bugzilla.gnome.org/show_bug.cgi?id=647244)
2011-04-09 02:03:25 +09:00
Matthias Clasen
f14a1af30e Avoid a warning out of the print dialog
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=647152
2011-04-08 20:46:57 -04:00
Cosimo Cecchi
dcaafb1bc1 themingengine: don't set a line width before saving the cairo context
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:34:16 -04:00
Cosimo Cecchi
e5ae44bd1b separator: call gtk_style_context_restore() after drawing
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:34:16 -04:00
Cosimo Cecchi
ccc1739161 calendar: make sure to call gtk_style_context_restore()
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:34:15 -04:00
Paolo Borelli
68c2bac9b1 Do not leak list when drawing notebook.
When we construct the list in the other order we must free it.

https://bugzilla.gnome.org/show_bug.cgi?id=646886
2011-04-08 20:20:33 -04:00
Manoj Kumar Giri
f6cfd6a862 Updated Oriya Translation 2011-04-07 15:32:41 +05:30
Manoj Kumar Giri
ffda85161c Updated Oriya Translation 2011-04-07 14:38:13 +05:30
Manoj Kumar Giri
4e514b5b62 Updated Oriya Translation 2011-04-07 14:36:31 +05:30
Matthias Clasen
32428d8c12 GtkColorButton: Don't leak references
https://bugzilla.gnome.org/show_bug.cgi?id=646815
2011-04-06 00:58:38 -04:00
Matthias Clasen
be19d1ae14 GtkGrid: Add forgotten RTL flipping
How did we manage to add a non-RTL savy container in GTK+ 3.0 ?
2011-04-06 00:58:19 -04:00
Petr Kovar
0da77d180d Update Czech translation 2011-04-06 03:43:06 +02:00
Jordi Serratosa
845066293c [l10n]Fixes on Catalan translation 2011-04-04 21:53:00 +02:00
Jordi Serratosa
76a4f1ed31 [l10n]Fixes on Catalan translation 2011-04-04 21:50:08 +02:00
Jamil Ahmed
68653d113f Updated Bengali translation 2011-04-05 01:40:43 +06:00
Chao-Hsiung Liao
e0b5853a0f Updated Traditional Chinese translation (Hong Kong and Taiwan) 2011-04-04 20:31:41 +08:00
Jamil Ahmed
234802e0df Updated Bengali translation 2011-04-04 16:44:56 +06:00
Amitakhya Phukan
56a53bb5ba Updated Assamese translations 2011-04-04 11:20:11 +05:30
Daniel Korostil
9ae29b3214 Uploaded Ukranian 2011-04-04 03:32:50 +03:00
Gil Forcada
0a0687a476 [l10n]Updated Catalan translation 2011-04-04 01:07:43 +02:00
Matthias Clasen
fbf8bc4b51 Update for 3.0.8 3.0.8 2011-04-03 17:54:34 -04:00
Matthias Clasen
9c1b238bf9 Make gdk_x11_window_set_theme_variant do nothing for non-toplevels
This avoids problems when calling this e.g. on offscreen windows.
2011-04-03 17:41:29 -04:00
Matthias Clasen
62053dbe47 Keymap: properly initialize lock state
We need to get explicitly lock state initially, before we can
rely on state changed events to track it.
https://bugzilla.gnome.org/show_bug.cgi?id=645341
2011-04-03 17:38:55 -04:00