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
Cody Russell
cab66c128c
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
2010-04-03 20:53:44 -04:00
Cody Russell
87487cea62
GtkOffscreenWindow implementation for #604901
2010-04-03 20:53:44 -04:00
Kristian Rietveld
3e9dabbdb8
Fix call to update_prelight()
...
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
2010-04-03 20:53:43 -04:00
Jonh Wendell
3750e4fb67
Fix a memory leak in gtk_label_compose_effective_attrs()
2010-04-03 20:53:43 -04:00
Kristian Rietveld
a763546c8f
Correct problems with earlier fix for bug #480065
...
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
2010-04-03 20:53:38 -04:00
Kristian Rietveld
0cbf76ed47
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2010-04-03 20:53:38 -04:00
Matthias Clasen
58f7b084b5
Fix make check
2010-04-03 20:53:37 -04:00
Matthias Clasen
a8fcc1c482
Improve selection/arrow key behaviour in GtkTextView
...
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
2010-04-03 20:53:37 -04:00
Matthias Clasen
d1c3745b07
Try harder to handle accelerators involving virtual modifiers
...
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
2010-04-03 20:53:37 -04:00
Javier Jardón
af09dd08c1
Move documentation to inline comments: GtkMountOperation
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
dab1cacba7
Move documentation to inline comments: GtkImage
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
f746afc794
Move documentation to inline comments: GtkFileChooser
...
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Benjamin Otte
9889c4db88
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
...
Commit 9e7c91bf83
added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
2010-04-03 20:53:36 -04:00
Matthias Clasen
1f50800129
Make mnemonic hiding work for printer option widgets
...
By making the widget itself insensitive.
2010-04-03 20:53:36 -04:00
Matthias Clasen
132276fa75
More auto-mnemonics tweaks
...
When auto-mnemonics are on, hide mnemonics with insensitive target.
2010-04-03 20:53:36 -04:00
Matthias Clasen
779d3d58ea
Some improvements to the auto-mnemonics code
2010-04-03 20:53:36 -04:00
Matthias Clasen
9de876c222
Handle reading the create-folders property
2010-04-03 20:53:36 -04:00
Javier Jardón
2abf1056c9
Fix compilation warning: cast to GTK_WIDGET()
2010-04-03 20:53:36 -04:00
Matthias Clasen
d68d78de81
Only show the mnemonic underline when pressing Alt
...
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
2010-04-03 20:53:35 -04:00
Benjamin Otte
3659db3a4a
Fix up linker flags
...
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2010-04-03 20:51:57 -04:00
Benjamin Otte
71d7b97a90
Disconnect signal handlers on adjustment in destroy handler
...
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
2010-04-03 20:51:57 -04:00
Carlos Garcia Campos
acca24e9c1
Fix a crash on print preview
...
There's no printer when doing print preview so it's not possible to get
its hard margins.
2010-04-03 20:51:57 -04:00
Dan Winship
507bf6a85f
Change GtkIconSize to int in params/return values
...
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Dan Winship
750a96e4cc
Fix out/transfer annotations on GtkImage getters
...
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Matthias Clasen
b68bbbb892
Fix doc typos
...
Reported in bug 604902.
2010-04-03 20:51:56 -04:00
Javier Jardón
1abc649b8c
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
...
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
2010-04-03 20:51:56 -04:00
Hiroyuki Ikezoe
f8b8bb4bf9
[gtk] GtkCellEditable::editing-cancelled should be writable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:51:56 -04:00
Torsten Schoenfeld
600ae2db92
[docs] Add some 'Since: 2.4' tags
...
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:51:55 -04:00
Hiroyuki Ikezoe
5cb043d5dd
Use g_value_dup_string instead.
...
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
2010-04-03 20:51:55 -04:00
Johan Dahlin
3a4f027074
Use Makefile.introspection
...
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2010-04-03 20:51:54 -04:00
Johan Dahlin
6c9bfc5f39
Make sure dist check works with introspection
...
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2010-04-03 20:51:53 -04:00
Colin Walters
fcbbd763cd
[introspection] Merge in Gtk-custom.c annotations
...
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
2010-04-03 20:51:53 -04:00
Tomeu Vizoso
1ba7e8eb15
Add a few more annotations to GtkIconTheme
2010-04-03 20:51:51 -04:00
Colin Walters
41342b23e5
Build introspection data for gdk-pixbuf, gdk, and gtk
...
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2010-04-03 20:51:51 -04:00
Benjamin Otte
fb0968a99f
Revert dd511e825a
...
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
2010-04-03 20:51:50 -04:00
Matthew Barnes
52e84a9ecc
Bug 602099 - Actions can be activatable too
...
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
2010-04-03 20:51:49 -04:00
Matthias Clasen
a2a990aa0b
Fix a typo
2009-12-19 13:12:16 -05:00
Matthias Clasen
d99742e1cb
implement extended layout for GtkCellRendererText
2009-12-19 10:31:16 -05:00
Matthias Clasen
5e62f81196
implement extended layout for GtkCellView
2009-12-19 10:23:58 -05:00
Matthias Clasen
d4b1f0cadf
implement extended layout for GtkTreeView and GtkTreeViewColumn
2009-12-19 02:07:51 -05:00
Matthias Clasen
56edab3553
Implement extended layout for plug/socket
2009-12-19 01:23:58 -05:00
Matthias Clasen
9a48091064
Implement extended layout for GtkScrolledWindow
2009-12-19 00:57:49 -05:00
Matthias Clasen
5e8045b14d
Implement extended layout for GtkBin
2009-12-19 00:34:04 -05:00
Matthias Clasen
7a69bdc5f0
Make it compile
2009-12-18 23:44:43 -05:00
Johannes Schmid
24c1a4f24b
native-layout: Fix typo that brakes layout completely
2009-12-14 17:16:21 +01:00
Johannes Schmid
462dc0643b
native-layout: Bump version of GtkExtendedLayout gtk-doc comments to 2.20
2009-12-14 16:30:26 +01:00
Johannes Schmid
9724366289
native-layout: Don't expose extra gtk_widget_* function that are similar to the GtkExtendedLayout interface
2009-12-14 16:28:56 +01:00
Johannes Schmid
c659d1a505
Merge branch 'master' into native-layout
2009-12-14 15:36:22 +01:00
Johannes Schmmid
e08d04b561
native-layout: Introduce GtkExtendedLayout interface.
2009-12-14 15:32:49 +01:00
Matthias Clasen
a9cd99c15f
Fix gtk_tool_item_get_text_size_group return value
...
Reported by Kazuki Iwamoto in bug 604462.
2009-12-13 20:32:46 -05:00
Christian Dywan
b20f2d26b4
Reset the pressed state of a button when the screen changes
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=599397
2009-12-11 17:17:38 +01:00
Sven Herzberg
70440523e3
let the close button reflect the page_complete status of SUMMARY pages
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.
* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
quick manual testing of this feature
2009-12-10 22:06:30 +01:00
Johan Dahlin
6879032113
Fix the builder tests
2009-12-10 12:33:55 -02:00
Danielle Madeley
15a5f153b1
Fix GTK_TREE_MODEL_FILTER_GET_CLASS macro
2009-12-09 15:48:58 +11:00
David King
260b442462
[doc] Add error domains on functions taking a GError**
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544706
2009-12-08 05:55:21 +01:00
Christian Dywan
ae057dcd12
[doc] Fix the documentation of GtkIconEntry
...
Cast to (GFunc) in example code
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383
2009-12-08 05:45:50 +01:00
Javier Jardón
0e3e20e705
[gtk/gtkaccessible] Seal the public member of GtkAccesible
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544892
2009-12-08 02:08:35 +01:00
Carlos Garcia Campos
a3fea3f241
Fix Since tag in gtk_printer_get_default_page_size() doc
2009-12-05 15:48:46 +01:00
Adrian Johnson
6e351f9214
Set win32 printer hard margins on print context
2009-12-05 13:51:37 +01:00
Adrian Johnson
7c5e1cb703
Set hard margins to 0 when printing n-up on unix printers
2009-12-05 13:50:34 +01:00
Adrian Johnson
05bb47cc3e
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-05 13:47:31 +01:00
Adrian Johnson
48cf7d9e7e
Set unix printer hard margins on print context
2009-12-05 13:45:55 +01:00
ecyrbe
be686e2bad
Bring GtkPrintContext hard margin aware
...
See bug #468989 .
2009-12-05 13:23:44 +01:00
Javier Jardón
325bd9299a
Use GtkCellEditable::editing-canceled
...
GtkCellEditable::editing-canceled property was added in 2.19 cycle,
so we should make the code that currently uses entry->editing_canceled
directly go through the property
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599213
2009-12-04 02:50:57 +01:00
Christian Dywan
46f5ee1d0c
Store the buildable name in object data instead of the widget name
...
Widget names are used for theming which is why GtkBuilder should
use object data.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591085
2009-12-03 13:10:02 +01:00
Javier Jardón
62bfbe91d8
[gtk/gtktextview] Use {} in empty if..else blocks
2009-12-02 09:38:08 +01:00
Javier Jardón
f35c581de4
[gtk/gtktreestore] Remove useless line
2009-12-02 09:36:58 +01:00
Johannes Schmid
a8ec02c930
gtknotebook: Avoid drawing artifacts with action widgets and long tab labels (bgo#603245)
2009-12-02 09:36:53 +01:00
Javier Jardón
f332506804
Fix compilation warning: cast to GTK_LABEL()
...
This was introduced in commit 478ca88ae5
2009-12-02 02:11:59 +01:00
Christian Persch
33552c75b1
Revert "Set unix printer hard margins on print context"
...
This reverts commit 826d800b74
.
2009-12-01 19:00:58 +01:00
Christian Persch
b2602a92b9
Revert "Default to hard margins not available"
...
This reverts commit a77f209f23
.
2009-12-01 19:00:58 +01:00
Christian Persch
ab8e565740
Revert "Set hard margins to 0 when printing n-up on unix printers"
...
This reverts commit 215eb8c9f1
.
2009-12-01 19:00:58 +01:00
Christian Persch
723c16d6cd
Revert "Set win32 printer hard margins on print context"
...
This reverts commit a42107389f
.
2009-12-01 19:00:58 +01:00
Christian Persch
88bcbf4866
Revert "Add comment explaining why we set the hard margins to 0 for n-up"
...
This reverts commit 394f698e4e
.
2009-12-01 19:00:57 +01:00
Matthias Clasen
a31b5130ec
Regenerate gtkimcontextsimpleseqs.h
...
Based on the changes in the previous commit; this also pulls in
some additions fixes from the current X.org Compose.pre file.
2009-12-01 12:47:44 -05:00
Matthias Clasen
25260f9867
Make Compose-vowel-minus combinations consistent
...
Change <Multi_key>a- and <Multi_key>o- to produce āō to be consistent
with eiu. See RH bug 510741.
2009-12-01 12:29:53 -05:00
Christian Persch
394f698e4e
Add comment explaining why we set the hard margins to 0 for n-up
...
Bug #468989 comment 28.
2009-12-01 17:42:08 +01:00
Adrian Johnson
a42107389f
Set win32 printer hard margins on print context
2009-12-01 17:40:16 +01:00
Adrian Johnson
215eb8c9f1
Set hard margins to 0 when printing n-up on unix printers
2009-12-01 17:40:09 +01:00
Adrian Johnson
a77f209f23
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-01 17:39:54 +01:00
Adrian Johnson
826d800b74
Set unix printer hard margins on print context
2009-12-01 17:39:26 +01:00
Christian Persch
efa90e4182
Allow getting the printer's hard margins
...
Adds a way to get the unprintable area of the printer. Bug #468989 .
2009-12-01 17:39:01 +01:00
Matthias Clasen
1d6b7f6de8
Another make dist fix
2009-11-30 16:55:32 -05:00
Matthias Clasen
2c0dbe0a0a
Doc fixes
2009-11-30 16:14:11 -05:00
Matthias Clasen
8ecd77ffd1
Add a release note about statusbar internal hierarchy changes
2009-11-30 14:06:57 -05:00
Matthias Clasen
ba1c9ae2bc
Another make check fix
2009-11-30 13:50:39 -05:00
Matthias Clasen
9d6ddfdc51
Make dist fixes
2009-11-30 13:10:36 -05:00
Christian Dywan
6dfdf0fadf
Fallback to gtk_show_uri for print preview if the command fails
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=601682
2009-11-30 13:20:43 +01:00
Christian Dywan
cb49a28f8c
Mention exact property names in notebook tab packing deprecation
...
Follow-up for bug 596083.
2009-11-30 12:55:29 +01:00
Matthias Clasen
d0083b5df3
Whitespace fixes
2009-11-29 19:48:16 -05:00
Matthias Clasen
478ca88ae5
Use a url label instead of a link button
...
This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.
2009-11-29 19:00:28 -05:00
Matthias Clasen
6abb399ef4
Trivial doc typo fix
2009-11-29 19:00:10 -05:00
Matthias Clasen
324ff48edc
Avoid a harmless warning
...
In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.
2009-11-29 17:19:58 -05:00
Matthias Clasen
c08ed56f13
Allow holding compose key while entering a sequence
...
This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.
2009-11-28 21:47:36 -05:00
Matthias Clasen
bbb4e4910b
Make the toolbar-style and toolbar-size settings work
...
This broke when moving the setting from gtktoolbar.c to gtksettings.c.
Spotted by Christian Persch in bug 603271.
2009-11-28 21:43:59 -05:00
Matthias Clasen
d8dfad3eb9
Fix small documentation problems after the toolpalette merge
...
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.
2009-11-28 20:59:56 -05:00
Alexander Larsson
4e0b7bf6fe
Position new ui nodes correctly when existing dirty dead nodes exist
...
If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.
We handle this by detecting this case and reposition the node as if
it was new.
https://bugzilla.gnome.org/show_bug.cgi?id=603128
2009-11-28 20:49:37 -05:00
Matthew Barnes
25a8c7316d
Bug 601869 - GtkUIManager assumes too much about popup menus
...
Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.
2009-11-28 20:00:07 -05:00
Christian Persch
5bf30c2885
Make the action widgets internal children of GtkNotebook
...
So they're not included in the result of gtk_container_foreach() which
preserves it as a convenient way to get the list of all notebook content
widgets.
Bug #601409 .
2009-11-28 18:05:09 +01:00
Matthias Clasen
6dfb21e616
Rework a broken workaround for a Java bug
...
This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.
2009-11-28 10:29:35 -05:00
Matthias Clasen
53218f5c82
Improve docs of two style properties
...
See discussion in bug 561334. Based on a patch by Paul Bolle.
2009-11-28 02:17:40 -05:00
Matthias Clasen
84254039f2
Handle reparenting out of a socket
...
Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.
2009-11-27 23:49:04 -05:00
Javier Jardón
2040547d96
Move documentation to inline comments: GtkStock
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 03:05:09 +01:00
Javier Jardón
0ef8f52567
Move documentation from templates to inline comments: GtkWidget
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 02:59:06 +01:00
Christian Persch
65485cbc7c
Add UI manager attribute to always show image in menu items
...
Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842 .
2009-11-27 19:14:43 +01:00
Christian Persch
e571273d81
Add gtk_action_[sg]et_always_show_image()
...
Add a way to tell a GtkAction to have its menu item proxies always show
their image. Bug #589842 .
2009-11-27 19:14:35 +01:00
Michael Natterer
1e476186cb
Add missing single-include guards
2009-11-27 15:58:13 +01:00
Kristian Rietveld
2ef9b989bf
Bug 596473 - Second double-click of GtkTreeView row doesn't emit...
...
Rework double click handling in GtkTreeView. We cannot blindly use
the 2BUTTON_PRESS and 3BUTTON_PRESS events. In case a user does two
fast double clicks, we receive a 3BUTTON_PRESS and BUTTON_PRESS. We
cannot easily deduce two double clicks from this.
We have removed the bookkeeping using row references of the last paths
clicked. Instead we monitor event time, (x, y) coordinates and compare
against double-click-time and double-click-distance ourselves.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
dd511e825a
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
d3592dc22c
Logically re-group fields in GtkTreePrivate structure
...
This should now cause much less of a headache than before. Fields have
been properly reordered, each group has been given a comment. Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.
2009-11-27 13:48:16 +01:00
Matthias Clasen
0567ea1c18
Add customary args to gtk_style_paint_spinner()
...
...and adjust all callers.
2009-11-27 01:23:55 -05:00
Matthias Clasen
14fb7dfb7e
Fix a doc comment
2009-11-27 00:46:18 -05:00
Matthias Clasen
111dd859ba
Fix a doc comment
2009-11-27 00:45:22 -05:00
Matthias Clasen
6255df0982
Fix a doc comment
2009-11-27 00:43:51 -05:00
Matthias Clasen
927aaa43f9
Remove duplicate doc comments.
...
These can only serve to confuse gtk-doc.
2009-11-27 00:42:54 -05:00
Matthias Clasen
3faf7d0214
Fix a doc comment
2009-11-27 00:39:26 -05:00
Matthias Clasen
7ad6bb3eb6
Un-doc-commentify a comment
2009-11-27 00:37:20 -05:00
Matthias Clasen
13d5d37bc7
Fix a doc comment
2009-11-27 00:37:03 -05:00
Matthias Clasen
1f8d468123
Adjust default value for GtkToolItemGroup::label
2009-11-27 00:14:37 -05:00
Matthias Clasen
4362400018
Exclude GtkToolItemGroup::label-widget from default value test
2009-11-27 00:11:59 -05:00
Matthias Clasen
37255486d4
Merge branch 'master' into toolpalette
2009-11-26 23:54:55 -05:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Matthias Clasen
7aa1d6fcaf
Fix another doc typo
2009-11-26 18:56:25 -05:00