summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* window: Allow resizing by clicking on the borderMatthias Clasen2013-03-171-24/+376
| | | | | | We also change cursors to indicate what interactions are possible in various window regions. Double clicking on the titlebar maximizes the window.
* window: Allow theme control over window buttonsMatthias Clasen2013-03-171-43/+162
| | | | | | | | | | Add a style property to control the presence and order of window buttons. We allow buttons at the left and right side, they can be specified like this: icon,close:minimize,maximize. Also, change the default button layout back to have just a close button on the right, use icons in buttons, and set style classes on the buttons, to allow better theming.
* Add icons for frame buttonsMatthias Clasen2013-03-175-0/+4
| | | | | | | | | | | Add window-minimize, window-maximize, window-restore and window-delete icons to the builtin icon theme. These will be used for icons in the window buttons, and the expectation is that the icon theme will provide icons matching the desired decoration style. window-delete is used instead of window-close, since window-close is also used for GTK_STOCK_CLOSE, and the two may require different styles when used inside the application vs in the window frame.
* window: Hide frame buttons when appropriateMatthias Clasen2013-03-171-0/+63
| | | | | | | | Hide the close button if the window is not deletable, hide the maximize button if the window is not resizable, and hide all buttons if the window is a dialog. Update buttons when the window state changes.
* window: Use same title fallback mechanism as X backendMatthias Clasen2013-03-171-1/+18
| | | | | This looks at the application name or program name and uses that as the title if gtk_window_set_title has not been called.
* window: Add support for enabling client decorations on non-WaylandMatthias Clasen2013-03-171-7/+17
| | | | | | | | | Client side decorations can be enabled on non-Wayland platforms by setting the GTK_CSD="1" environment variable. We must ensure we have a GdkVisual that has an alpha channel since the decorations rely on transparency. If we cannot get a visual with an alpha channel then we do not enable client side decorations.
* window: Hide the decorations on fullscreenRob Bradford2013-03-171-10/+31
| | | | This is expected behaviour for fullscreen windows.
* window: Don't set a background pattern/colour when client decoratedRob Bradford2013-03-171-4/+13
| | | | | | Otherwise we'll potentially get some background sticking through our rounded corners in our decorations. The actual background will get drawn as part of the decoration drawing.
* window: Add initial support for client-side decorations under WaylandKristian Høgsberg2013-03-171-27/+594
| | | | | | | | | | | | This change comprises four main parts: * the creation of the widgets that form the decorations, * implementation of get_preferred_height/width, and the for_width/for_height variants, * taking the decorations into account when allocating, * and drawing the decorations themselves. Kristian did the bulk of the original work on this but any bugs are almost certainly mine through the many refactorings and rebasings.
* Add GtkHeaderBarMatthias Clasen2013-03-177-0/+1321
| | | | | | This widget has been developed as GdHeaderBar in libgd. The copy here has been renamed and changed to use GTK+ internals.
* window: Allow _gtk_window_set_allocation to return a modified allocationRob Bradford2013-03-173-14/+31
| | | | | | | | | | | Update the documentation and users of this function to handle the future case that that we have some internal decorations to the window and useable allocation is thus smaller. By having a separate out parameter there is no need to have an in/out function and allows for greater robustness. The current implementation simply returns the allocation provided.
* Add an index for 3.10 api additionsMatthias Clasen2013-03-171-0/+4
|
* Define 3.10 version macrosMatthias Clasen2013-03-171-0/+24
|
* Bump version to 3.9.0Matthias Clasen2013-03-171-2/+2
| | | | Needed so that GDK_AVAILABLE_IN_3_10 works.
* Updated Belarusian translation.Ihar Hrachyshka2013-03-171-273/+397
|
* gdk_{pointer,keyboard}_grab are deprecatedGuido Günther2013-03-171-2/+2
| | | | so mention the non deprecated gdk_device_grab as well
* Updated Danish translation of the propertiesAsk H. Larsen2013-03-171-981/+1058
|
* Updated Danish translationAsk H. Larsen2013-03-171-355/+497
|
* Small API doc fixesSébastien Wilmet2013-03-162-5/+5
| | | | | | For gtk_text_iter_get_char(), due to the "Returns" at the beginning of the description, the description was not visible. So the first sentence has been reworded.
* GtkGrid: Tweak size allocationMatthias Clasen2013-03-151-1/+14
| | | | | | | | | | If there are rows that contain only spanning children, our algorithm was unnecessarily distributing extra space to the other rows, even if they contain only non-expanding children. We improve the behaviour by treating rows containing only spanning children as expanding.
* Add another grid sizing reftestMatthias Clasen2013-03-153-0/+223
| | | | | This test exercises spanning children such that there are rows which contain only spanning cells.
* stylecontext: Do invalidation on first resize containerBenjamin Otte2013-03-161-3/+3
| | | | | | | | ... instead of taking the last one we find. This is necessary as attached widgets (mostly menus) can be attached to an invisible widget, but we still want to invalidate styles for them. https://bugzilla.gnome.org/show_bug.cgi?id=695772
* Updated po-properties French translationClaude Paroz2013-03-151-971/+1044
| | | | Forward-port from gtk-3-8 branch.
* docs: Typo fixChristian Persch2013-03-151-1/+1
|
* reftests: Add reftest for separator fixesBenjamin Otte2013-03-153-0/+304
| | | | | | | Reftest for 61c4425161be3146c0c753a766f35442549bfe72. Includes a workaround for a grid bug which should be removed once GtkGrid is fixed.
* separator: Don't use padding and borders wronglyBenjamin Otte2013-03-151-19/+7
| | | | | | | Borders for size requests and padding for drawing? Really? Removed them, as that is the least invasive fix shortly before a release.
* wayland: Rename GdkDeviceManagerCore to GdkWaylandDeviceManagerMatthias Clasen2013-03-151-41/+41
| | | | | | The 'core' naming is just an artifact of having several generations of input extensions in X11, no need to propagate that into other backends.
* Include config.h in gdkenumtypes.c.templateMatthias Clasen2013-03-151-1/+1
| | | | | At the same time, drop the GDK_ENABLE_BROKEN define. Nothing broken in GDK broken anymore :-)
* Updated Galician translationsFran Diéguez2013-03-152-1073/+1258
| | | | | Conflicts: po/gl.po
* Assamese translation updated for gnome 3.8Nilamdyuti Goswami2013-03-151-272/+411
|
* Assamese translation updated for gnome 3.8Nilamdyuti Goswami2013-03-151-704/+752
|
* Minor doc cleanupMatthias Clasen2013-03-141-2/+2
| | | | | | Remove widget references from interface docs. https://bugzilla.gnome.org/show_bug.cgi?id=695874
* a11y: Emit text-changed signals directlyBenjamin Otte2013-03-154-50/+77
| | | | | | | | When setting new text on the label, the text-changed::delete signal needs to be emitted before deleting the text (so that atk-bridge can query the old text) while the text-changed::insert event needs to happen afterwards (for the same reason). The old code using the notify signal was only emitted after changing the text.
* GtkApplication: Allow passing windows on non-X11 targetsBastien Nocera2013-03-141-1/+3
| | | | | | | | It's not the application's fault that we don't do anything with the passed GtkWindow on non-X11, so don't try to get an XID on non-X11. https://bugzilla.gnome.org/show_bug.cgi?id=695783
* Updated Indonesian translationAndika Triwidada2013-03-141-275/+398
|
* Updated Korean translationChangwoo Ryu2013-03-132-1017/+1190
|
* printing: Use DBus calls instead of Avahi APIMarek Kasik2013-03-135-321/+374
| | | | | | | Converts usage of Avahi API to DBus calls. This change allows us to remove dependency on avahi-gobject and avoids of possible circular dependency. Lists printers if Gtk+ is compiled with CUPS 1.6 or newer.
* printing: Remove usage of GError in connection testMarek Kasik2013-03-131-1/+1
| | | | | | | Really remove usage of error in previous commit. Related to https://bugzilla.gnome.org/show_bug.cgi?id=695714
* printing: Don't hang when getting info for Avahi printerMarek Kasik2013-03-131-17/+78
| | | | | | | | Asynchronously create testing connection to address returned by GaServiceResolver. Don't request info for such printer if the connection fails. https://bugzilla.gnome.org/show_bug.cgi?id=695714
* Add a missing runtime checkMatthias Clasen2013-03-131-21/+24
| | | | | | | The cursor theme and size settting code was ifdefed to only be compiled with the X11 backend, but it didn't check for running under X at runtime. Fix that. http://bugzilla.gnome.org/695495
* printing: Show Avahi printers on IPv6 networkMarek Kasik2013-03-131-2/+8
| | | | Create correct URIs for printers on IPv6 networks.
* gdk/gdkwindow.c, gtk/gtkwidget.c: Include fallback-c89.cChun-wei Fan2013-03-132-0/+6
| | | | | | | | Both of them started to make use of round(), a C99 function. So, include fallback-c89.c to provide a fallback implementation for round() for compilers that don't have round() https://bugzilla.gnome.org/show_bug.cgi?id=694339
* gdk/fallback-c89.c: Add fallback for round()Chun-wei Fan2013-03-131-0/+12
| | | | | | This is essentially done by simply copying from gtk/fallback-c89.c https://bugzilla.gnome.org/show_bug.cgi?id=694339
* treeview: Don't emit cursor-changed in destructionJohn Lindgren2013-03-131-1/+2
| | | | | | | | This is a workaround until we have a good idea on how we want to handle signal disconnection before/during/after dispose and destroy vfunc calls. https://bugzilla.gnome.org/show_bug.cgi?id=671939
* reftests: Add animation loading testBenjamin Otte2013-03-135-7/+471
| | | | | | XPM files weren't loaded properly. https://bugzilla.gnome.org/show_bug.cgi?id=695228
* Drop the Motif DND protocolMatthias Clasen2013-03-123-1472/+6
| | | | | | | The implementation is not working and unused, since XDND is the de-facto standard under X nowadays. https://bugzilla.gnome.org/show_bug.cgi?id=695476
* filechooserbutton: Duh, remove all the timeouts after testsFederico Mena Quintero2013-03-121-4/+16
| | | | | | Otherwise tests may start failing if they start after an old timeout triggers. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* filechooserbutton: Add a description string to assertions about emitted signalsFederico Mena Quintero2013-03-121-6/+6
| | | | | | On failed tests, this lets us more easily see see which assertion failed. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* filechooserbutton: Give proper names to the SELECT_FOLDER tests with ↵Federico Mena Quintero2013-03-121-21/+119
| | | | | | cancelled dialog Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* filechooserbutton: Don't duplicate tests for GTK_RESPONSE_DELETE_EVENTFederico Mena Quintero2013-03-121-289/+19
| | | | | | Instead, re-run tests made for GTK_RESPONSE_CANCEL with the delete-event response. Signed-off-by: Federico Mena Quintero <federico@gnome.org>