Hiroyuki Ikezoe
5f30ba46ea
Don't get settings unless we need them
...
Pointed out in bug 613028.
2010-04-03 20:59:15 -04:00
Jan Arne Petersen
ed9cff6fbb
Fix notify::label emmision in GtkMenuItem
...
Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
the accel-widget back to the GtkMenuItem itself when there is no action related
to the GtkMenuItem anymore.
Add test for notify::label emmisions.
Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
changed through GtkAction.
2010-04-03 20:59:15 -04:00
Tristan Van Berkom
c8ee1927a5
Refixed patch for bug 612505.
...
New patch makes sure to update the display even when
the GtkEntry's buffer is set to NULL, it also breaks the
reference to the buffer in ->dispose() instead of ->finalize().
2010-04-03 20:59:15 -04:00
Matthias Clasen
56c488e690
Improve the behaviour of automatic mnemonics
...
With this change, key events continue to go to an open menu even
when the pointer is moved over a non-selectable menuitem. The mnemonics
are shown and hidden accordingly.
2010-04-03 20:59:15 -04:00
Matthias Clasen
de1b75aabb
Fix tests
2010-04-03 20:59:14 -04:00
Matthias Clasen
9408915114
Recompute label contents when the buffer changes
...
Also reset cursor positions to avoid assertions.
This fixes bug 612505, patch by Tristan Van Berkom.
2010-04-03 20:59:14 -04:00
Christian Dywan
63d03344f9
Improve docs of gtk_notebook_set_tab_label_packing
...
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
2010-04-03 20:59:13 -04:00
Tor Lillqvist
2b1ec1b227
Check for __MINGW64__ and not __MINGW64
...
Should fix bug #612308 .
2010-04-03 20:59:12 -04:00
Javier Jardón
74c7588040
Improve GTK_WIDGET_FLAGS() deprecation documentation
...
Also, use GTK_OBJECT_FLAGS() instead.
Note that some internal code still uses GTK_WIDGET_FLAGS().
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:12 -04:00
Christian Dywan
08bce451b7
Fix definition of GTK_VOLUME_BUTTON_CLASS cast
...
There is an extra 'e' there.
2010-04-03 20:59:12 -04:00
Alan Knowles
48cc791fb2
Fix introspection on return value transfer for gtk_clipboard_get*
...
ownership transfer set to none for clipboard get methods
2010-04-03 20:59:12 -04:00
Alan Knowles
2e00e16650
Fix gtk_text_tag_table_lookup transfer introspection notes
...
transfer should be none for return value of gtk_text_tag_table_lookup
2010-04-03 20:59:12 -04:00
Matthias Clasen
7b7f8f1e5d
Remove conflicting legacy compose sequences in favour of X.org sequences
...
Patch by Jeroen Hoek. See bug 557420 for a prolonged discussion.
Quick summary of the removed sequences:
<Multi_key> <asciicircum> <0>
Consistency. <Multi_key> <asciicircum> [1..9] gives the superscript digit,
legacy sequence for zero is inconsistent.
<Multi_key> <c> <o>
<Multi_key> <c> <O>
Consistency. <Multi_key> <c> [:letter:] already gives vowel plus caron, legacy
sequence for c is inconsistent.
<Multi_key> <comma> <e>
<Multi_key> <comma> <E>
Consistency. <Multi_key> <comma> [:letter:] is for letter with cedilla,
<Multi_key> <semicolon> [:letter:] is for letter with ogolek
<Multi_key> <C> <slash>
<Multi_key> <slash> <C>
Unintuitive. ¢ is visually a vertical bar through a lowercase c, not a slash
through an uppercase C. ₡ has no alternatives, whilst ¢ can be typed as
<Multi_key> <bar> <c>.
<Multi_key> <d> <minus>
đ can be input through <Multi_key> <minus> <d>. <Multi_key> <d> <minus> is used
for ₫.
<Multi_key> <equal> <L>
<Multi_key> <L> <equal>
Unintuitive. ₤ has two dashes, £ one; therefore L + = > ₤, and L + - = £.
<Multi_key> <exclam> <s>
<Multi_key> <exclam> <S>
Consistency. <Multi_key> <exclam> [:letter:] is used for letter with dot below.
§ can be input using <Multi_key> <o> <s>.
<Multi_key> <period> <period>
Might need an alternative for ˙, but … (upstream) has no alternative either.
<Multi_key> <underscore> <a>
<Multi_key> <underscore> <A>
<Multi_key> <underscore> <o>
<Multi_key> <underscore> <O>
Consistency. <Multi_key> <underscore> [:vowel:] gives vowel with macron for ȳ ū
ī ē too.
<Multi_key> <minus> <d>
<Multi_key> <minus> <D>
<Multi_key> <o> <e>
<Multi_key> <O> <E>
Redundant. In upstream as is.
2010-04-03 20:59:08 -04:00
Matthias Clasen
04fd3f14ac
Regenerated compose tables
...
Now without non-BMP keysyms.
2010-04-03 20:59:08 -04:00
Matthias Clasen
040d8d1414
Updates to the compose-parse.py script
...
Get gdkkeysyms.h from git, instead of the outdated copy from svn.
Get Unicode 5.2.0 data. Fix a few issues with missing keysyms in
keysyms.txt. Make the filtering of non-BMP keysyms work.
2010-04-03 20:59:08 -04:00
Matthias Clasen
d50cd83fd0
Add some keysyms missing from keysyms.txt
2010-04-03 20:59:07 -04:00
Matthias Clasen
94e80bbbed
fix file permissions
2010-04-03 20:59:07 -04:00
Matthias Clasen
f185967ba1
Add some more annotation to the DND api
2010-04-03 20:59:07 -04:00
Matthias Clasen
57a3de1bcd
Fix file chooser refcounting issues
...
This was reported in bug 600992.
2010-04-03 20:59:07 -04:00
Matthias Clasen
b229aa8d5e
Add missing colons
2010-04-03 20:59:07 -04:00
Christian Dywan
4c86b6112e
Document the use of NULL in gtk_window_set_transient_for
...
This fixes bug 611319.
2010-04-03 20:59:07 -04:00
Javier Jardón
8ea37e551b
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:06 -04:00
Matthias Clasen
ca43e7d3be
Remove obsolete translator comments
...
Reported in bug 611217
2010-04-03 20:59:06 -04:00
Matthias Clasen
e566c96137
Add introspection annotations to gtk_drag_(source|dest)_set
...
Also move docs inline at the same time. Bug 610905.
2010-04-03 20:59:05 -04:00
Matthias Clasen
ba4695e8e5
Don't scroll to insert after middle-click paste
...
Patch by Ignacio Casal Quinteiro, bug 612119.
2010-04-03 20:59:05 -04:00
Matthias Clasen
0a12113d9d
Fix an infinite loop in gtk_dialog_map()
...
The new focus handling with links in labels tripped up the code
that tries to avoid focussing labels. Bug 612066
2010-04-03 20:59:05 -04:00
Michael Natterer
7eedb7a0b3
gtk: remove begin-user-action/end-user-action around copying
...
Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
2010-04-03 20:59:04 -04:00
Javier Jardón
1931a8db5d
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
2010-04-03 20:59:04 -04:00
Javier Jardón
bbf5e95c41
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
9f3d23a900
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RC_STYLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
5c2c742c8d
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_APP_PAINTABLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
a602ff82eb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
...
Use new API instead: gtk_widget_set_mapped ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e082783fbb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e2f79c33ff
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:02 -04:00
Patrick Bernaud
fe0a89e251
Move documentation to inline comments: GtkPlug
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:59:01 -04:00
Steven Harms
09e4738682
Move documentation to inline comments: GtkVBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
2010-04-03 20:59:01 -04:00
Steven Harms
0cdcfcca9f
Move documentation to inline comments: GtkVSeparator
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
2010-04-03 20:59:00 -04:00
Steven Harms
ba22b91e31
Move documentation to inline comments: GtkVScrollbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
2010-04-03 20:59:00 -04:00
Steven Harms
15a797e8e9
Update gtkvscale documentation for in code comments. Removed template document
2010-04-03 20:59:00 -04:00
Javier Jardón
cb4f39c7a8
Add version info about the deprecation of GTK_WIDGET_SENSITIVE
...
This completes the patch of
commit 64f526d34e
2010-04-03 20:59:00 -04:00
Javier Jardón
ee0bf98769
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:59 -04:00
Javier Jardón
e53efb120a
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:58 -04:00
Javier Jardón
2dc372a657
Fix gtk_widget_is_sensitive() function. Second try
...
Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
2010-04-03 20:58:23 -04:00
Javier Jardón
2dd2650215
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_SHOW_ALL)
2010-04-03 20:58:23 -04:00
Javier Jardón
e6572c0939
Fix gtk_widget_is_sensitive() function
...
The bug was introduced in
commit a27d5a2c9e
2010-04-03 20:58:23 -04:00
Javier Jardón
ec20658b51
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-04-03 20:58:22 -04:00
Javier Jardón
76943117be
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-04-03 20:58:22 -04:00
Javier Jardón
2d96f39335
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)
2010-04-03 20:58:21 -04:00
Javier Jardón
5d4af6ca80
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED)
...
Use new API instead: gtk_widget_set_double_buffered ()
2010-04-03 20:58:21 -04:00
Javier Jardón
3ebbee6958
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-04-03 20:58:21 -04:00
Javier Jardón
08d42ed8fe
Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
...
Use gtk_widget_get_sensitive() on the parent widget instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:21 -04:00
Javier Jardón
edc65ce1d2
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:20 -04:00
Javier Jardón
eb90ec7513
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
c3f8b4226d
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
c44c026ee9
Don't use GTK_WIDGET_NO_WINDOW in internal code anymore
...
Use gtk_widget_get_has_window() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
e7127daf84
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Javier Jardón
04aba4bde2
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Florian Müllner
f5aa0fad6c
Add introspection annotation for gtk_builder_get_object
2010-04-03 20:56:28 -04:00
Matthias Clasen
b23c114b95
Add some missing docs
2010-04-03 20:56:22 -04:00
Matthias Clasen
3fe334c3a8
doc fixes
2010-04-03 20:56:22 -04:00
Matthias Clasen
28dda32acc
Correct annotations for gtk_tree_view_get_path_at_pos
...
Patch by Alan Knowles, bug 609514.
2010-04-03 20:56:21 -04:00
Matthias Clasen
624ac853ba
Handle out-of-bounds parameters in gtk_assistant_get_nth_page
...
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
2010-04-03 20:56:21 -04:00
Matthias Clasen
d405d997bd
Fix a segfault in gtk_assistant_set_current_page
...
Reported by Tadej Borovšak in bug 610184
2010-04-03 20:56:21 -04:00
Matthias Clasen
f90b880ce8
Clarify the docs for gtk_info_bar_set_default_response
...
According to bug 610632
2010-04-03 20:56:20 -04:00
Matthias Clasen
d316798685
Add some padding in tool buttons
...
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
2010-04-03 20:56:20 -04:00
Carlos Garcia Campos
7edbc6b6ee
[docs] Fix GtkPlug::embedded signal documentation
...
See bug #609650 .
2010-04-03 20:56:17 -04:00
Carlos Garcia Campos
576f2770c7
Emit GtkPlug::embedded signal when plug/socket are in the same process too
...
Fixes bug #609650 .
2010-04-03 20:56:17 -04:00
Viktor Pracht
62a5e11483
[Annotations] Add array length for GtkTreeStore
...
https://bugzilla.gnome.org/show_bug.cgi?id=603923
2010-04-03 20:56:16 -04:00
Johan Dahlin
71df0c45ba
[annotations] Add allow-none for gtk_menu_popup
2010-04-03 20:56:16 -04:00
Johan Dahlin
eee7bb2b2e
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-04-03 20:56:15 -04:00
Michael Natterer
87334d465c
Bug 548026 - No accessor for GtkWidget.requisition
...
Add gtk_widget_get_requisition().
2010-04-03 20:56:15 -04:00
Stefan Kost
4b8a91bb85
widget: ensure boolean before comparing
...
Ensure boolean value like done elsewhere.
2010-04-03 20:56:13 -04:00
Stefan Kost
100c6dc513
widget: don't check before setting to avoid costly type checks
...
There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
2010-04-03 20:56:13 -04:00
Javier Jardón
501f327b56
Revert "Drop duplicate declarations"
...
The issue is already fixed in f9a3ce06cc
This reverts commit 6f566057e8
.
2010-04-03 20:56:13 -04:00
Matthias Clasen
29efd9a753
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-04-03 20:56:13 -04:00
Matthias Clasen
966b619705
Drop duplicate declarations
2010-04-03 20:56:13 -04:00
Christian Dywan
ce07f4403b
Remove duplicate definitions of gtk_widget_set/get_realized/mapped
2010-04-03 20:56:13 -04:00
Michael Natterer
800fbc513f
Allow calling gtk_widget_style_attach() only when realized
2010-04-03 20:56:12 -04:00
Javier Jardón
fc246a9305
Fix compilation warning: return FALSE instead NULL
2010-04-03 20:56:12 -04:00
Javier Jardón
c59386ba1d
Fix compilation warning: cast to GCompareFunc
2010-04-03 20:56:12 -04:00
Matthias Clasen
5438a7b608
Add some more goddamn accessors
2010-04-03 20:56:09 -04:00
Matthias Clasen
d154b115e5
Avoid overlap of scale marks
...
This was reported to be a problem in bug 608807.
2010-04-03 20:56:08 -04:00
Matthias Clasen
9983f2e551
Avoid a crash when setting a tooltip on a GtkCalendar
...
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
2010-04-03 20:56:08 -04:00
Matthias Clasen
6247ef7a32
Fix a refcounting issues in GtkPlug
...
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
2010-04-03 20:56:08 -04:00
Matthias Clasen
2c53b675c3
Allow running without any im context
...
Setting GtkSettings::im-module to gtk-im-context-none will make
GtkIMMultiContext just pass through.
2010-04-03 20:56:08 -04:00
Alan Knowles
7485d64249
Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv
2010-04-03 20:56:08 -04:00
Christian Persch
a4186b6aa5
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-04-03 20:56:08 -04:00
Tor Lillqvist
067cce5d63
Use correct processorArchitecture for x86_64 in manifest file
2010-04-03 20:56:07 -04:00
Javier Jardón
541448732d
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-04-03 20:56:07 -04:00
Christian Dywan
931ed06beb
[gtk] Deprecate GtkCurveType enum
...
It's only used by already deprecated GtkCurve and GtkGammaCurve
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:56:06 -04:00
Michael Natterer
ca9e029838
gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
...
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-04-03 20:56:06 -04:00
Cody Russell
bc01a0cbcf
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-04-03 20:56:05 -04:00
Michael Natterer
9dfadca46c
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-04-03 20:56:05 -04:00
Cody Russell
1ae55844f7
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-04-03 20:55:29 -04:00
Christian Dywan
21ef8f9ad9
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-04-03 20:55:28 -04:00
Christian Dywan
bffcae28d7
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-04-03 20:55:28 -04:00
Javier Jardón
d8453e7826
[docs] Fix GtkOffscreenWindow documentation
2010-04-03 20:55:27 -04:00
Paul Davis
1c9cc0acf0
Small memory fix
2010-04-03 20:55:23 -04:00
Michael Natterer
88977f73eb
Bug 607778 - Add accessors for GtkEntry's windows
...
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-04-03 20:55:23 -04:00
Michael Natterer
5585335dd9
Bug 607082 - Add accessors for sealed GtkRange members
...
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-04-03 20:55:23 -04:00
Claudio Saavedra
189a35fe59
GtkTreeView: plug a leaking GtkTreeRowReference
...
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.
Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-04-03 20:55:23 -04:00
Matthias Clasen
c81131ff21
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-04-03 20:55:22 -04:00
Murray Cumming
2a762bf6ca
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-04-03 20:55:21 -04:00
Javier Jardón
ef3dc5fd42
Add gtk_widget_has_rc_style() accessor
...
Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:21 -04:00
Kristian Rietveld
9743d2e83c
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-04-03 20:55:20 -04:00
Murray Cumming
eed0dd0944
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
...
* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
2010-04-03 20:55:20 -04:00
Matthias Clasen
2091807b24
Fix some issues with action widgets
...
We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.
2010-04-03 20:55:20 -04:00
Matthias Clasen
c31f02b455
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-04-03 20:55:20 -04:00
Matthias Clasen
b5061249e7
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-04-03 20:55:19 -04:00
Murray Cumming
18b7ad4182
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-04-03 20:55:18 -04:00
Michael Natterer
27f81d8918
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-04-03 20:55:18 -04:00
Javier Jardón
905edf9478
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-04-03 20:55:18 -04:00
Javier Jardón
149f5891fa
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-04-03 20:55:17 -04:00
Matthias Clasen
c0d7fe2ad4
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-04-03 20:55:17 -04:00
Christian Dywan
4285f21b3b
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-04-03 20:55:13 -04:00
Christian Dywan
43572af86e
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-04-03 20:55:13 -04:00
Christian Dywan
cad18bbfe3
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-04-03 20:55:13 -04:00
Christian Dywan
174c126b6e
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-04-03 20:55:13 -04:00
Javier Jardón
a821df1577
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-04-03 20:55:13 -04:00
Christian Persch
66882103cc
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-04-03 20:55:12 -04:00
Javier Jardón
b3e06e8302
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-04-03 20:55:12 -04:00
Jean Brefort
694bf7230e
fix critical in gtk_editable_insert_text
2010-04-03 20:55:11 -04:00
Javier Jardón
f8d1cf58af
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:11 -04:00
Javier Jardón
69de358b38
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:10 -04:00
Javier Jardón
02b2810a0e
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-04-03 20:55:09 -04:00
Christian Dywan
4b03789551
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-04-03 20:55:08 -04:00
Christian Dywan
5db40e41b3
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
2010-04-03 20:55:08 -04:00
Christian Dywan
bcb255593d
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
2010-04-03 20:55:08 -04:00
Christian Dywan
fc2cbf960c
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:07 -04:00
Christian Dywan
20dcd8a723
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-04-03 20:53:49 -04:00
Christian Dywan
ea7bd00e92
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-04-03 20:53:49 -04:00
Benjamin Otte
d3e91fbba6
Document missing signal parameter
2010-04-03 20:53:49 -04:00
Matthias Clasen
e337bd8583
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-04-03 20:53:49 -04:00
Kristian Rietveld
51f9ce390f
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-04-03 20:53:48 -04:00
Kristian Rietveld
91663e0791
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-04-03 20:53:48 -04:00
Murray Cumming
b2d6bf1526
GtkToolPalette: docs: Minor English corrections.
2010-04-03 20:53:48 -04:00
Johan Dahlin
9242d1414d
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2010-04-03 20:53:47 -04:00
Johan Dahlin
e4ac9609a2
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
753e30667f
Fix compiler warning
2010-04-03 20:53:47 -04:00
Kristian Rietveld
80a015529d
Fix memory management of types array
...
Also add autorelease pool to gtk_drag_begin_idle().
2010-04-03 20:53:47 -04:00
Kristian Rietveld
b48c8318a1
Do not leak the NSMutableSet
2010-04-03 20:53:47 -04:00
Kristian Rietveld
50c7d672c1
Unset expander_column when expander column is removed from tree view
2010-04-03 20:53:46 -04:00
Cody Russell
a739d9fb80
Documentation changes.
2010-04-03 20:53:45 -04:00
Cody Russell
2831ef6b19
Add 'Since 2.20' documentation.
2010-04-03 20:53:45 -04:00
Cody Russell
b7fd519822
Add documentation note for GtkOffscreenWindow emission of damage-event.
2010-04-03 20:53:45 -04:00
Cody Russell
4c14a043eb
Add gtk-doc section for GtkOffscreenWindow
2010-04-03 20:53:45 -04:00
Cody Russell
a078bd09b0
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
2010-04-03 20:53:45 -04:00
Cody Russell
4c4f795da9
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2010-04-03 20:53:45 -04:00
Cody Russell
e0e2c768dd
Add headers
2010-04-03 20:53:45 -04:00
Cody Russell
f76e9f5804
Add offscreen window symbols to gtk.symbols
2010-04-03 20:53:44 -04:00