summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Fix the buildMatthias Clasen2010-05-301-1/+4
| | | | One hunk got lost when cherry-picking the icon view keynav changes.
* Don't include __bss_start, _edata and _end symbols in the abichecksSebastian Dröge2010-05-301-1/+1
| | | | They are added by the binutils gold linker.
* Fix typo in gtkprintoperationJavier Jardón2010-05-301-1/+1
| | | | | | Reported by Andika Triwidada in https://bugzilla.gnome.org/show_bug.cgi?id=618093 (cherry picked from commit 7b2024c1bd4a9b013cec4e4885211c04522a96ab)
* Improved icon view keynavMatthias Clasen2010-05-303-4/+93
| | | | | | | | 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.
* Bug 607628 - DnD operation doesn't work when using offscreenMichael Natterer2010-05-291-160/+105
| | | | | | | | 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.
* gtk_tree_selection_get_selected: added transfer none annotation to model out argJohn (J5) Palmieri2010-05-271-1/+1
|
* gtk_tree_view_get_model: return value annotated transfer noneJohn (J5) Palmieri2010-05-271-1/+1
|
* annotation fixesJohn (J5) Palmieri2010-05-271-2/+2
| | | | | | * 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
* Deprecate GTK_NO_REPARENTJavier Jardón2010-05-271-0/+2
|
* Bug 607628 - DnD operation doesn't work when using offscreenMichael Natterer2010-05-262-17/+25
| | | | | | | Turn find_widget_under_pointer() into internal API _gtk_widget_find_at_coords() which is needed for fixing above bug. This should actually be a public utility function, and will be moved to another file when its final API has been decided.
* GtkWindow: Add gtk_window_has_group()Carlos Garcia Campos2010-05-263-0/+20
| | | | | | To check whether the window has an explicit group Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271
* Revert "Deprecate the GdkRegion API"Benjamin Otte2010-05-267-63/+65
| | | | This reverts commit 821dd33918d80a28a7e47a2aaa2aaaf100b51c1b.
* add a transfer none annotation to gtk_tree_view_get_selectionJohn (J5) Palmieri2010-05-251-1/+1
| | | | * it returns the selection from its priv structure without reffing
* Deprecate the GdkRegion APIBenjamin Otte2010-05-237-65/+63
| | | | | | | | | | Includes fixing all callers to use the cairo region API instead. This is usually just replacing the function names, the only difference is gdk_region_get_rectangles() being replaced by cairo_region_num_rectangles() and cairo_region_get_rectangle() which required a bit more work. https://bugzilla.gnome.org/show_bug.cgi?id=613284
* Get rid of navigation region in GtkMenuBenjamin Otte2010-05-232-62/+67
| | | | | | | | | This completes the move to get rid of using a GdkRegion for the navigation region and the only user of gdk_region_polygon(). We keep track of the triangle and compute in/out points ourselves now. Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work using cairo, so I removed it completely.
* Create the navigation region without flippingBenjamin Otte2010-05-231-52/+5
| | | | | Gets rid of some code in preparation to switching to do the computation completely without GdkRegion.
* Deprecate GtkBoxChildMatthias Clasen2010-05-221-2/+27
| | | | | | | | This was discussed in bug 613132. Conflicts: gtk/gtkbox.h
* Update list of US Letter localesMarek Kasik2010-05-211-4/+5
| | | | Sync paper size fallbacks with the latest 1.8.1 CLDR table (#618000).
* GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.Jan Arne Petersen2010-05-181-1/+3
| | | | | | | * gtk/gtkrange.c: (gtk_range_adjustment_value_change): Queue the draw also if the range is a scale and the value is drawn, fixing bug #533946 (Markus Brinkmann), when two HScales use one adjustment.
* Bug 565559 - Incorrect leave-notify signals for treeviewKristian Rietveld2010-05-121-0/+2
| | | | | | Set enter and leave notify mask on header window. Extract from a patch by Hans van Hintum.
* Correct a Since: tagMatthias Clasen2010-05-071-1/+1
|
* Use event instead key in the previous patchJavier Jardón2010-05-054-6/+6
|
* Added api to reset the im context in GtkTextView and GtkEntryJavier Jardón2010-05-055-2/+120
| | | | | | | | | | | | Also, added api to allow an input method to internally handle key press and release events in the GtkTextView and GtkEntry cases. This is simply a wrapper to the gtk_im_context_filter_keypress() function, but It's added to not access the ->im_context directly. Based on a Christian Dywan patch Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
* filechooser: Fix a crash when removing filesBenjamin Otte2010-05-021-0/+1
| | | | | | | | | | | The file removal code was not properly clearing the file=>array index cache, so later lookups into that cache would return invalid array indexes. The easiest way to reproduce it is to create a directory with two files and deleting both of them. Reported-by: Javier Jardón <jjardon@gnome.org>
* Move documentation to inline comments: GtkHBoxJavier Jardón2010-04-281-0/+25
|
* Move documentation to inline comments: Testing utilitiesJavier Jardón2010-04-281-1/+6
|
* Allow NULL as 'icon_widget' in gtk_tool_button_new()Javier Jardón2010-04-271-1/+1
| | | | | This completes the patch of commit b8ec73a52fe3dc3012db78f45bfcafa2cb3e14ae
* Deprecate GTK_WIDGET_*SET_FLAGS() macroJavier Jardón2010-04-271-0/+12
| | | | | | | The macro GTK_WIDGET_SET_FLAGS(w, GTK_VISIBLE) should still be fixed internally. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Add accessors for GtkTextView adjustmentsMirsal Ennaime2010-04-273-0/+41
| | | | | | | | | GtkTextView is missing accessors for its sealed hadjustment and vadjustment members. This patch adds gtk_text_view_get_hadjustment() and gtk_text_view_get_vadjustment() to GtkTextView Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616053
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)Javier Jardón2010-04-263-6/+18
| | | | | | Introduce internal _gtk_widget_set_has_default() for this Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614515
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)Javier Jardón2010-04-265-7/+24
| | | | | | Introduce internal _gtk_widget_set_is_toplvel() for this Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)Javier Jardón2010-04-263-2/+14
| | | | | | Introduce internal _gtk_widget_set_has_grab() for this Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614513
* Only a GtkMisc widget should be passed to gtk_tool_button_new()Javier Jardón2010-04-261-1/+3
| | | | | Reported by Hernando Torque here: https://bugzilla.gnome.org/show_bug.cgi?id=616851
* tree-view: Use gtk_widget_send_focus_change()Emmanuele Bassi2010-04-261-13/+3
| | | | | | Remove the second (and last) internal user of the GTK_HAS_FOCUS flag. https://bugzilla.gnome.org/show_bug.cgi?id=593671
* window: Use gtk_widget_send_focus_change()Emmanuele Bassi2010-04-261-13/+3
| | | | | | Remove the original user of the GTK_HAS_FOCUS flags. https://bugzilla.gnome.org/show_bug.cgi?id=593671
* widget: Add send_focus_change()Emmanuele Bassi2010-04-263-0/+69
| | | | | | | | | | | | | | | | | | | Currently the only users of the GTK_HAS_FOCUS flag are setting it before sending a focus change event. This is normally needed by GtkWindow, but there are widgets that require controlling the focus of widgets that are semantically their children even though they are parented to another top-level. Case in point: the quick search entry for GtkTreeView. Over the years people have been hacking the focus change out of gtkwindow.c and gtktreeview.c, thus leaking the direct access of the GTK_HAS_FOCUS flag. The simplest way to avoid that is to add a function that sends the focus change event and controls the setting of the flag, thus removing the need for external widgets to do the same. https://bugzilla.gnome.org/show_bug.cgi?id=593671
* Move documentation to inline comments: GtkMessageDialogJavier Jardón2010-04-213-9/+85
| | | | | | | Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG. https://bugzilla.gnome.org/show_bug.cgi?id=597865
* [docs] Move documentation to inline comments: GtkArrowJavier Jardón2010-04-181-0/+37
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611957 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkVButtonBoxSteven Harms2010-04-181-13/+67
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611833 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkAssistantTadej Borovšak2010-04-182-1/+53
| | | | Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkBuildableTadej Borovšak2010-04-182-0/+66
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611741 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkBinTadej Borovšak2010-04-181-0/+13
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612351 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkAspectFrameTadej Borovšak2010-04-181-0/+46
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611958 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkAlignment.Tadej Borovšak2010-04-181-0/+54
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611956 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkActionTadej Borovšak2010-04-181-0/+39
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611952 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkVRulerSteven Harms2010-04-181-0/+29
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611656 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkVolumeButtonSteven Harms2010-04-181-0/+10
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611827 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkViewportSteven Harms2010-04-181-0/+19
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611829x Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkVPanedSteven Harms2010-04-181-0/+18
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611634 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* [docs] Move documentation to inline comments: GtkSocketPatrick Bernaud2010-04-181-0/+71
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=611707