Mirsal Ennaime
1607efc0b5
Add an accessor for the GSEALed Gtkbutton's event_window attribute
...
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
(cherry picked from commit 23a61525f6
)
2010-06-26 21:22:48 -04:00
Matthias Clasen
47f0af6092
Add context to detail strings when drawing steppers
...
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.
See bug 621250
(cherry picked from commit e73a2e5654
)
2010-06-26 21:10:41 -04:00
Tristan Van Berkom
1adba9e908
Exposed GtkTreeView's internal GtkTreeSelection for builder files
...
(cherry picked from commit 17516dc83c
)
2010-06-26 14:27:15 -04:00
Matthias Clasen
63a276654d
Make the message area available in gtkbuilder as well
...
See bug 32069.
2010-06-26 14:24:59 -04:00
Ignacio Casal Quinteiro
eb1ec05da3
Fix annotation of gtk_text_iter_(forward/backward)_search.
...
(cherry picked from commit 7e3e2bf29a
)
2010-06-26 14:24:49 -04:00
Javier Jardón
081eaf4484
Remove unnused variable
...
(cherry picked from commit 7ea1556cd0
)
2010-06-26 14:17:30 -04:00
Chris Kühl
85ed525682
[docs] Fixes issue with GtkEntryBuffer signal documentation
...
(cherry picked from commit 078da34a26
)
2010-06-26 14:11:00 -04:00
Stanislas Marquis
82c89e9456
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org>
(cherry picked from commit a14c820aa9
)
2010-06-26 14:09:53 -04:00
Javier Jardón
6eebe91b7a
[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
...
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
(cherry picked from commit 318fa1e179
)
2010-06-26 14:06:48 -04:00
Thomas Wood
a9b778931c
GtkCalendar: some functions always return TRUE, so change them to void
...
Certain functions for GtkCalendar always return the same value. Therefore
they do not actually need to return a value at all.
Bug #621136 .
(cherry picked from commit e19c50b538
)
2010-06-26 14:03:32 -04:00
Paolo Borelli
ace3ea4a89
Annotate the methods to get TextBuffer iters
...
(cherry picked from commit cf14d4f368
)
2010-06-26 14:03:00 -04:00
John (J5) Palmieri
95b7dca983
annotate gtk_color_selection_get_current_color color param as out
...
(cherry picked from commit 76db7d69f1
)
2010-06-26 13:53:15 -04:00
Matthias Clasen
cb29d27707
Make GTK+ build against an external gdk-pixbuf
2010-06-26 02:29:29 -04:00
Matthias Clasen
fa7ace866c
Fix the build
...
Forgot to update callers of _gtk_window_group_get_current_grab.
2010-06-24 13:06:29 -04:00
Javier Jardón
7d6d1af7a1
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:13:17 +02:00
Javier Jardón
022f88a6ac
[GtkTable] Add gtk_table_get_size()
...
Add accessor function to retrieve the number of rows and columns
in the table.
2010-06-24 17:49:30 +02:00
Matthias Clasen
5c93288199
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:21:29 -04:00
Javier Jardón
c0c4ab0946
[gtk] Add gtk_font_selection_dialog_get_font_selection()
...
This is needed to access the fontsel sealed member.
2010-06-23 01:38:36 +02:00
Javier Jardón
a39c3b43b2
[test] Exclude message-area as it's a object property
2010-06-22 22:46:29 +02:00
Javier Jardón
8ceef86cf8
Add new api to gtk.symbols
...
Add newly added api gtk_accessible_set_widget() and
gtk_message_dialog_get_message_area()
2010-06-22 21:52:48 +02:00
Javier Jardón
200896e9b9
Use the correct guards in gtk_accessible_set_widget()
...
Also, allow the widget variable to be NULL
2010-06-22 21:13:41 +02:00
Federico Mena Quintero
ce504e2217
bgo#328069 - Add gtk_message_dialog_get_message_area()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-22 13:10:52 -05:00
Vincent Untz
49943be22b
bgo#622371 - Add gtk_accessible_set_widget() - the widget field was GSEAL()ed.
...
https://bugzilla.gnome.org/show_bug.cgi?id=622371
2010-06-22 12:22:38 -05:00
Yaakov Selkowitz
6922490fa5
Do not dist gir_DATA
...
GIR files contain a shared-library attribute which varies per platform,
and therefore must not be disted; see bug 621611 for rationale.
https://bugzilla.gnome.org/show_bug.cgi?id=621719
2010-06-20 08:26:26 +02:00
Matthias Clasen
cbb01e6063
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk3-only symbol, error out early.
2010-06-18 22:40:50 -04:00
Javier Jardón
606180b746
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-06-16 20:50:29 +02:00
Benjamin Otte
a8e3ce6bb4
Can't select file on file browser after changing sort order
...
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.
https://bugzilla.gnome.org/show_bug.cgi?id=621414
2010-06-16 12:41:40 +02:00
Benjamin Otte
6138f23f5b
Make declaration return a boolean when the function does that
2010-06-16 11:54:41 +02:00
Johan Dahlin
05dad359e7
[gtktreeview] Add a couple of annotations
...
(cherry picked from commit 5c283cacbe
)
2010-06-10 09:11:40 -04:00
Cosimo Cecchi
54e959ef96
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:23:20 +02:00
Steve Frécinaux
1a00cb9df5
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:38:40 +02:00
Benjamin Otte
af7f95207e
menu: Fix wrong comparison causing navigation region to not get removed
...
The navigation region that got created for right-facing submenus when
moving the cursor up would have two negative values which caused the
check to go wrong.
I refactored the code to make that check into a separate function as it
makes the check not only harder to get wrong, but also the code easier
to read.
http://bugzilla.gnome.org/show_bug.cgi?id=620863
2010-06-08 21:56:28 +02:00
Federico Mena Quintero
4acbc2fdb0
bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
...
... Although I think the HIG gets things backwards anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-08 12:11:00 -05:00
John (J5) Palmieri
3b50f22873
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:38:21 -04:00
Steve Frécinaux
88dbf5cabf
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
...
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:04:26 +02:00
John (J5) Palmieri
1bd94d731b
annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param
2010-06-07 16:17:31 -04:00
John (J5) Palmieri
5ac10f45f1
add allow-none annotation to gtk_clipboard_set_can_store's targets parameter
2010-06-07 13:20:01 -04:00
Stanislas Marquis
f14fc8bc37
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-05 00:47:16 +02:00
Javier Jardón
e4ece66c9c
gtktoolshell: Fix some "Since" tags
...
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20, not 2.14.
Reported by Stanislas Marquis on IRC.
2010-06-04 17:55:38 +02:00
Matthew Barnes
01e2fc5b5a
Bug 596428 - GtkAssistant: Support ending with a progress page
...
- Add gtk_assistant_commit()
This function discards the visited pages list so the back button is not
shown on the current page, and removes the cancel button from subsequent
pages. Use this when information provided thus far cannot be revisited.
- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
the last page (according to the forward page function).
- Append a progress page to the GtkAssistant demo.
2010-06-03 17:27:34 -04:00
Garrett Regier
75e48d68bc
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:57:25 +02:00
Matthias Clasen
4451536712
Fix the build
...
One hunk got lost when cherry-picking the icon view keynav changes.
2010-05-30 02:56:16 -04:00
Sebastian Dröge
39f3d5e182
Don't include __bss_start, _edata and _end symbols in the abichecks
...
They are added by the binutils gold linker.
2010-05-30 02:26:32 -04:00
Javier Jardón
6abc512298
Fix typo in gtkprintoperation
...
Reported by Andika Triwidada in
https://bugzilla.gnome.org/show_bug.cgi?id=618093
(cherry picked from commit 7b2024c1bd
)
2010-05-30 02:22:09 -04:00
Matthias Clasen
5cededa0aa
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:19:50 -04:00
Michael Natterer
cb8c076321
Bug 607628 - DnD operation doesn't work when using offscreen
...
Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
2010-05-29 05:04:54 +02:00
John (J5) Palmieri
3e16fd9967
gtk_tree_selection_get_selected: added transfer none annotation to model out arg
2010-05-27 18:38:18 -04:00
John (J5) Palmieri
84e9c08a40
gtk_tree_view_get_model: return value annotated transfer none
2010-05-27 17:00:51 -04:00
John (J5) Palmieri
e89187fc87
annotation fixes
...
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
2010-05-27 17:00:31 -04:00
Javier Jardón
b0359fb944
Deprecate GTK_NO_REPARENT
2010-05-27 19:19:07 +02:00