summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* gtk/gtkapplication.c: Do not use gtk_dialog_run()Javier Jardón2012-02-271-2/+5
|
* Add a deprecation mark to draw_insertion_cursorPaolo Borelli2012-02-272-1/+2
| | | | | This function has been replaced with gtk_render_insertion_cursor, but we forgot to mark it as deprecated.
* gtk: Use versioned deprecationsMatthias Clasen2012-02-2770-191/+306
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* Correct Since: tag for gtk-application-prefer-dark-themeMatthias Clasen2012-02-261-1/+1
| | | | | | This setting was available since 2.90.x, so give it a 3.0 tag. https://bugzilla.gnome.org/show_bug.cgi?id=670832
* Set infobar css classes permanentlyPaolo Borelli2012-02-241-16/+18
| | | | | | | | | The message-type css classes must be in the widget context all the time, not only when drawing, otherwise they are not propagated to the children, for instance a label in the InfoBar must inherit the color. Add a corresponding reftest. https://bugzilla.gnome.org/show_bug.cgi?id=670555
* Init the InfoBar message_type to GTK_MESSAGE_OTHERPaolo Borelli2012-02-241-0/+5
| | | | | In this way the the code executed when the message_type property is set to its default value (which is 0) gets actually run.
* textview: Set background on the widget's windowCarlos Garnacho2012-02-231-9/+6
| | | | | | The widget window is usually covered by the bin_window. Its background color will become relevant when we introduce kinetic scrolling with overshooting.
* iconview: Set background on the widget's windowCarlos Garnacho2012-02-231-0/+1
| | | | | | The widget window is usually covered by the bin_window. Its background color will become relevant when we introduce kinetic scrolling with overshooting.
* treeview: Set background on the widget's windowCarlos Garnacho2012-02-231-0/+1
| | | | | | The widget window is usually covered by the bin_window. Its background color will become relevant when we introduce kinetic scrolling with overshooting.
* gtk: Only set widget under device on non-virtual crossing eventsCarlos Garnacho2012-02-231-6/+10
| | | | | | | _gtk_widget_set_device_window() is suppose to make accounting of the topmost widget under the device at each time, so avoid setting it on virtual crossing events as the device is already in another window.
* GtkTimeline: un-doc-commentifyMatthias Clasen2012-02-231-36/+36
| | | | | This is all private api, no need to confuse gtk-doc with doc comments for this.
* timeline: Add _gtk_timeline_get_elapsed_time()Carlos Garcia Campos2012-02-232-3/+23
| | | | To get the time in milliseconds since the last frame
* range: Don't perform a GTK+ grabCarlos Garnacho2012-02-231-9/+5
| | | | | | The implicit grab on priv->event_window already warrants that this widget is the only one getting events while the button is pressed, so avoid the extra GTK+ grab here.
* textview: Also cancel DnD on ::grab-notifyCarlos Garnacho2012-02-231-0/+8
| | | | | | If a drag operation is about to start when the drag device is grabbed somewhere else, unset drag start x/y, otherwise the drag will start anyway.
* entry: Handle ::grab-notifyCarlos Garnacho2012-02-231-4/+33
| | | | | | | Store the device, and unset private fields whenever the device is shadowed by another GTK+ grab, so popping up menus while selecting (i.e. press-and-hold) doesn't leave the entry in a confused state.
* Raleigh: Fix entry selection colorsAlexander Larsson2012-02-231-5/+10
|
* Fix some details in Raleigh lookAlexander Larsson2012-02-231-13/+10
| | | | | | | * Restores the old padding * Prelight on spin buttons * Don't have a generic prelight background selector, as that got picked up by things like images that should have a transparent bg.
* docs: GtkApplication "quit" signal is gone nowJavier Jardón2012-02-231-6/+1
|
* window: Fix typo in documentation for gtk_window_get_positionRob Bradford2012-02-231-1/+1
|
* Bug 670499-gtkthemingengine.c: Include fallback-c89.cChun-wei Fan2012-02-231-0/+2
| | | | This is due to the use of round and nearbyint() function, which are C99 functions...
* color-swatch: set/unset prelight state flag on enter/leave eventsCosimo Cecchi2012-02-211-0/+4
| | | | Allows themes to set a different style on prelight.
* entry: fix progressbar area size for interior-focus = FALSECosimo Cecchi2012-02-211-6/+0
| | | | | | No need to subtract focus line width again, since the progressbar is rendered starting at (0, 0). This also fixes the entry-progressbar-coloring reftest.
* Bug 650693 - Drawing errors in column headers when adding new columnsSebastian Keller2012-02-211-1/+1
| | | | Reset style on visible headers, not on invisible ones
* Symbol exporting fixesMatthias Clasen2012-02-213-6/+7
|
* GtkApplication: simplify session quit handlingRyan Lortie2012-02-212-41/+4
| | | | | | | | Instead of firing a 'quit' signal and expecting the application to do something that will cause it to quit, just call the new g_application_quit() API for ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=670485
* GtkApplication: remove end session APIRyan Lortie2012-02-213-136/+0
| | | | | | | | This seems a bit "too powerful" and unlikely to be used by most applications. Remove it from now, until someone comes up with a strong desire for it. https://bugzilla.gnome.org/show_bug.cgi?id=670485
* gtk_window_set_attached_to: ref(), not ref_sink() the attach_widgetMichael Natterer2012-02-211-1/+1
| | | | | The attached popup doesn't take ownership of its "parent" widget, so ref_sink() was wrong, and caused widgets to be leaked.
* color-chooser-widget: set a name on the "Add color" buttonCosimo Cecchi2012-02-201-0/+1
| | | | So we can easily catch it from the theme.
* color-swatch: make this a no-window widgetCosimo Cecchi2012-02-201-13/+77
| | | | | | Instead of having an input/output GdkWindow, make the widget no-window, and use a separate input-only window for events, and paint on the parent window directly.
* Fix padding handling in GtkViewportAlexander Larsson2012-02-201-1/+1
|
* GtkHSV: remove an unused functionCosimo Cecchi2012-02-201-75/+0
|
* entry: trim the progress bar area if the text area is resizedCosimo Cecchi2012-02-201-5/+31
| | | | | | | | | When a subclass of GtkEntry (e.g. GtkSpinButton) resizes the available text area (by overriding the get_text_area_size vfunc), we need to ensure we don't draw a possible progressbar over the part that got removed from the text area. This fixes drawing a progressbar in GtkSpinButton and in its subclasses, such as GimpSpinScale, and makes Mitch happy too!
* docs: Clarify position of gtk_list_store_insert_with_values()David King2012-02-201-3/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=612283
* gtkuimanager: clarify @pos of insert_action_groupDiego Escalante Urrelo2012-02-201-0/+4
| | | | | | | Mention that it is possible for it to be negative, or larger than the current number of action groups. https://bugzilla.gnome.org/show_bug.cgi?id=669947
* docs: fix typos in functions' descriptionsJiří Klimeš2012-02-202-3/+3
| | | | | | | gtk_tree_view_set_hover_expand() gtk_tree_view_column_set_clickable() Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
* entry: don't force zero Y coordinate for insertion cursorCosimo Cecchi2012-02-181-4/+3
| | | | | | Subclasses of GtkEntry could set a larger height request, so we need to apply the same calculations to the insertion cursors than we do on the PangoLayout to render it centered under all circumstances.
* color-swatch: don't render our active badge if background-image is setCosimo Cecchi2012-02-181-20/+33
| | | | | If the color active swatch has been set a background image from the theme, use it as an asset, and do not draw our custom thing.
* color-swatch: render a background if the swatch doesn't have a colorCosimo Cecchi2012-02-181-0/+2
| | | | | We still want to call into the background rendering code, to draw the default background.
* color-swatch: derive directly from GtkWidgetCosimo Cecchi2012-02-182-3/+32
| | | | | | Instead of GtkDrawingArea, since that calls in realize gtk_style_context_set_background(). We don't want that to happen, given that we do all the painting ourselves in _draw().
* color-editor: mark the GtkColorSwatch as not selectableCosimo Cecchi2012-02-171-0/+1
|
* color-swatch: add a "selectable" property to GtkColorSwatchCosimo Cecchi2012-02-172-4/+40
| | | | | We don't want e.g. the swatch in GtkColorEditor to get the select badge when it's clicked, so make this a property (on by default).
* GtkNotebook: and another fixClaudio Saavedra2012-02-161-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669116
* GtkNotebook: fix one child-notify emissionClaudio Saavedra2012-02-161-1/+1
| | | | | | Forgot to increase the counter in the for loop, doing it now. https://bugzilla.gnome.org/show_bug.cgi?id=669116
* docs: GtkWidget's "state-flags-changed" is a signal not a propertyJavier Jardón2012-02-151-1/+1
|
* Documentation: Correct references to properties.Murray Cumming2012-02-1515-27/+27
| | | | | | | | These should use :, not ::, though signals would use ::. See http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en and http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
* Remove obsolete reference to gtk.css.raleighRico Tzschichholz2012-02-151-1/+0
|
* GtkColorSwatch: Add accessible actionsMatthias Clasen2012-02-144-0/+160
|
* GtkNotebook: emit child-notify::position on drag 'n drop reorderClaudio Saavedra2012-02-151-4/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669116
* GtkNotebook: emit child-notify::position on page add/removalClaudio Saavedra2012-02-151-2/+17
| | | | | | | For each page added/removed, notify all the other children changing position. https://bugzilla.gnome.org/show_bug.cgi?id=669116
* color-scale: remove Adwaita GtkColorScale trough hackCosimo Cecchi2012-02-141-40/+63
| | | | | | | Instead of special-casing Adwaita, apply the half-width logic for themes that have a scale slider with vertical proportions. Also, simplify the rendering code a bit by factoring out the trough sizing logic.