summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop another unused bit of configuryMatthias Clasen2014-08-141-3/+0
| | | | | pwd.h is not used anywhere in GTK+, so no need to check for it.
* Drop unused variableMatthias Clasen2014-08-141-2/+0
| | | | | Nothing is using gdk-pixbuf-csource anymore, so no need to set up the GDK_PIXBUF_CSOURCE variable.
* Fixed some object leaks in broadway_server_new() constructor.Domenico Tortorella2014-08-141-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734778
* Broadway: Make unix socket support conditionalMatthias Clasen2014-08-141-1/+6
| | | | | We need to use gio/gunixsocketaddress.h and do so only if HAVE_GIO_UNIX is defined.
* BroadwayServer support for unix socket listeningDomenico Tortorella2014-08-144-1/+65
| | | | | | | | | At the present time broadway listens only for TCP/IP incoming display connections. This patch implements the support for listening on unix domain sockets too, adding the broadway_server_on_unix_socket_new() constructor and the commandline option --unixsocket [path] to broadwayd. https://bugzilla.gnome.org/show_bug.cgi?id=734420
* Adapt to spinbutton changesMatthias Clasen2014-08-141-2/+2
|
* tests: SanitizeBenjamin Otte2014-08-151-2/+2
| | | | gcc was unhappy again.
* Updated POTFILES.skipPiotr Drąg2014-08-142-0/+4
|
* reftests: Add reftest for statusbar fixBenjamin Otte2014-08-144-1/+76
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724281
* Statusbar: Remove matching messages before poppingPhillip Wood2014-08-141-26/+16
| | | | | | | | | | | | gtk_statusbar_remove_all() was popping the top message if its context_id matched before removing other matching messages from the stack. This meant that if the context_id of the second top message matched it was still displayed when the top message was popped and then removed from the list of messages without updating the display. Fix this by removing all the matching messages below the top one before popping it if it matches. https://bugzilla.gnome.org/show_bug.cgi?id=724281
* reftests: Make gcc happyBenjamin Otte2014-08-141-1/+3
|
* GtkListBoxRow: Set clipTimm Bäder2014-08-141-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734709
* Fix a thinko in creating event masksMatthias Clasen2014-08-141-19/+19
| | | | | | | | &-ing together all the device event types yields zero, which is clearly not the intention here. Use | instead, to create the intended mask. https://bugzilla.gnome.org/show_bug.cgi?id=734641
* Add some spinbutton testsMatthias Clasen2014-08-142-0/+101
| | | | These tests check some of the changes from the previous commits.
* GtkSpinButton: Prevent public API from unsetting the adjustmentDebarshi Ray2014-08-131-4/+4
| | | | | | | | A spin button really needs an adjustment to work. So don't let the user unset the adjustment by passing NULL to gtk_spin_button_set_adjustment. https://bugzilla.gnome.org/show_bug.cgi?id=734660
* GtkSpinButton: Always emit value-changed when the adjustment is changedDebarshi Ray2014-08-131-46/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changing adjustment via the property setter would not emit value-changed, however changing it via gtk_spin_button_configure would. This inconsistency had the following side-effects: - Setting an adjustment with a different value would not update the value shown by the spin button. - Creating a spin button like this (common in GtkBuilder XML) will not show the initial value: g_object_new (GTK_TYPE_SPIN_BUTTON, "adjustment", adj, NULL); Let's use the same code path (ie. gtk_spin_button_configure) for all public facing API for setting adjustment. The code that handled the details of swapping out the old adjustment with the new has been split into an unset_adjustment method and the rest has been folded into gtk_spin_button_configure. A spin button really needs an adjustment to work, so we don't need most of the NULL checks. However we do need to check in unset_adjustment because setting a new adjustment during object creation might try to unset a non-existent one. https://bugzilla.gnome.org/show_bug.cgi?id=734660
* Fix various warningsРуслан Ижбулатов2014-08-137-21/+31
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734737
* Fix some print format warningsРуслан Ижбулатов2014-08-134-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734736
* Fix various warnings about unused thingsРуслан Ижбулатов2014-08-1315-38/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734735
* gdkwayland-window: Don't map the grab transfer menu for GtkMenuJasper St. Pierre2014-08-131-0/+13
| | | | | This is a bad idea in general, but it also means that the focus for a window drops when we pop up a menu, since the grab transfer menu exists.
* Updated Greek translationTom Tryfonidis2014-08-131-345/+335
|
* Fix the build of the native gtk-update-icon-cache when cross-compiling.Jehan2014-08-135-23/+22
| | | | | | | | | | As a noinst_PROGRAMS, the libtool generated for cross-compiling will be used, which will mess up the linking. Create a all-local target instead. Also ensure that building uses always a native version of the tool by specifying a GTK_UPDATE_ICON_CACHE automake variable. Finally "config.h" has been created to work for the target platform and causes problem when cross-compiling. So we temporarily generate a basic config.h which contains only the strict minimum.
* Bug 731013 - cross-compilation broken when building extract-stringsJehan2014-08-133-5/+5
| | | | | | It is actually a bad idea to use noinst_PROGRAMS for build tools, because it adds a $(EXEEXT). It is best to override the all target with all-local to trigger the tool build.
* places-sidebar: Refine the spacingYosef Or Boczko2014-08-131-3/+4
| | | | | Based on a patch by Yosef Or Boczko, https://bugzilla.gnome.org/show_bug.cgi?id=731443
* Adwaita: check/radio icon source override fixLapo Calamandrei2014-08-133-2/+37
|
* Adwaita: app-notification revert erroneusly committed changesLapo Calamandrei2014-08-133-4/+8
|
* Adwaita: Use -gtk-icon-source for checkmarksBenjamin Otte2014-08-133-219/+73
| | | | instead of using background-image
* css: Match state in siblings properlyBenjamin Otte2014-08-135-1/+102
| | | | | | | Previously, we always returned the state flags of the original widget and did not consider the siblings' pseudoclasses. Testcase is attached.
* widgetpath: Use CSS-like syntax in to_string()Benjamin Otte2014-08-131-3/+1
| | | | Print pseudo-classes using ':' sign.
* Adwaita: path-bar home button spacingLapo Calamandrei2014-08-133-0/+27
|
* Adwaita: saner backdrop switch for the dark variantLapo Calamandrei2014-08-133-18/+22
|
* Adwaita: saner menubarLapo Calamandrei2014-08-133-13/+10
|
* GtkPathBar: Don't hardcode spacing in buttonsMatthias Clasen2014-08-131-1/+1
| | | | The theme will be changed to provide padding.
* GtkPathBar: Make recoloring symbolics workMatthias Clasen2014-08-131-6/+8
| | | | | We were only recreating the icons the very first time the theme changed, and not every time as was intended.
* widget-factory: Avoid a compiler warningMatthias Clasen2014-08-131-1/+3
| | | | This is adjusting to the draw_layer signature change.
* widget-factory: Add a missing style classMatthias Clasen2014-08-131-0/+3
| | | | | | Unfortunately, constructing image-only buttons by just adding the image as a child does not give us the image-button style class. Add it manually.
* GtkTextView: Preserve the cairo context around draw_layerMatthias Clasen2014-08-131-2/+10
| | | | | Otherwise, draw_layer might unintentionally wreak havoc on the regular drawing that happens between the two draw_layer calls.
* GtkTextView: Change draw_layer signatureMatthias Clasen2014-08-132-4/+4
| | | | | Vfuncs should really take 'this' of the right type - the type that the vfunc is added in.
* Adwaita: widget edge for inline toolbarsLapo Calamandrei2014-08-133-3/+4
|
* widget-factory: Don't say 'Etched out' twiceMatthias Clasen2014-08-121-1/+2
| | | | | There's no difference between these shadow types anymore, but it is irritating to see the same label twice.
* widget-factory: Improve the flow box exampleMatthias Clasen2014-08-122-20/+146
| | | | | Make the selection actually do something. This is also an opportunity to test the new draw-layer vfunc in GtkTextView.
* widget-factory: Add a flowbox exampleMatthias Clasen2014-08-122-1/+135
| | | | | This is now really polished yet, but will let us work towards 'responsive grid'.
* widget-factory: Make dialogs non-resizableMatthias Clasen2014-08-121-0/+2
| | | | They have no reason to be.
* widget-factory: Don't use rules-hintMatthias Clasen2014-08-121-1/+0
|
* wayland: Initialize cursor cache earlierMatthias Clasen2014-08-121-1/+1
| | | | | | Without this, I was getting a crash because the theme change function was trying to iterate over the hash table before it was created.
* Fix symbolic-icon-translucent-color reftestAlexander Larsson2014-08-122-2/+2
| | | | | | | | | | | | When using the pre-rendered png symbolics it seems that we're off a tiny bit in a few of the pixels on the antialiased borders of a stroke. To fix this we switch the icon to media-playback-stop-symbolic which has no such antialiased borders. I don't quite understand why the pixels are off, this needs more research. https://bugzilla.gnome.org/show_bug.cgi?id=734668
* Change way alpha is used when recoloring symbolicsAlexander Larsson2014-08-121-7/+28
| | | | | | | | | | | | | | | | | If the foreground color has an alpha != 1 we used to just pass that into the svg. This is useful to e.g. render an insensitive icon. However, that is not an ideal model for symbolics. For instance, if the icon uses overlapping areas when drawing, expecting these to be opaque then the transparent color will result in a different alpha value for the overlapping area. Also, non-foreground symbolic colors are still rendered opaque, and the recoloring of pngs can't handle transparent colors. So, instead we extract any alpha from the foreground, render using the opaque colors and then apply the foreground alpha to the entire result. This means we get an even transparency, even for other colors, and we can apply alpha for the pngs too. https://bugzilla.gnome.org/show_bug.cgi?id=734668
* GtkIconHelper: Short circuit _gtk_icon_helper_get_size in some casesAlexander Larsson2014-08-121-30/+93
| | | | | | | | | | | | _gtk_icon_helper_get_size() is often used during size request and may not necessary mean that the icon will be displayed immediately. In many common cases we know the size without having to ensure a surface. In many cases this means we can avoid loading an icon until needed, and in the case of stateless IconHelpers such as GtkCellRendererPixbuf this is very important as otherwise it will constantly be reloading icons if the displayed set is larger than the in-memory icon cache. https://bugzilla.gnome.org/show_bug.cgi?id=734651
* stack: Ensure the bin window has an evmask suitable to windowless childrenCarlos Garnacho2014-08-121-0/+11
| | | | | | | | If a child has set_has_window == FALSE, it purely relies on the events set on the parent window, for which the bin window used to just ensure the exposure mask, eating all input events. https://bugzilla.gnome.org/show_bug.cgi?id=734357
* widget: Include event controllers' event mask on gtk_widget_get_events()Carlos Garnacho2014-08-121-1/+7
| | | | | | | gtk_widget_get_events() must indeed tell about events enabled purely through a GtkEventController, those events will most surely trigger event handlers. https://bugzilla.gnome.org/show_bug.cgi?id=734357