summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* adwaita: flat theme societywip/jimmac/adwaita-martiniJakub Steiner2018-01-082-36/+15
| | | | - initial stab at simplifying buttons
* ScrolledWindow: add() before remove() in snippetDaniel Boles2018-01-071-0/+5
| | | | We can't remove() a child widget that wasn't already add()ed, of course.
* file button: Don't leak rowsMatthias Clasen2018-01-071-2/+5
| | | | | | The file chooser button manually manages the memory of data in its model, so it needs to explicitly free the rows.
* Remove a dead macroMatthias Clasen2018-01-071-1/+0
| | | | GCs have been dead for a long time.
* Make a few more code samples compileTimm Bäder2018-01-077-20/+30
|
* entry: Remove some questionable code examplesTimm Bäder2018-01-071-27/+9
|
* widget: Make all code snippets compileTimm Bäder2018-01-071-7/+20
|
* liststore: Make a code snippet compileTimm Bäder2018-01-071-2/+11
|
* searchbar: Make a code snippet compileTimm Bäder2018-01-071-4/+13
|
* menuitem: Make a code snippet compileTimm Bäder2018-01-071-0/+2
|
* expander: Make a code snippet compileTimm Bäder2018-01-071-6/+10
|
* treeviewcolumn: Make a code snippet compileTimm Bäder2018-01-071-1/+1
|
* notebook: Make a code snippet compileTimm Bäder2018-01-071-1/+2
|
* scrolledwindow: Fix code sample compilationTimm Bäder2018-01-071-1/+6
|
* Drop an unused enum valueMatthias Clasen2018-01-071-1/+0
| | | | | We haven't had a GtkWindow::frame-event since the linux-fb backends demise.
* filechooser: Add missing array annotations to add_choice()Rico Tzschichholz2018-01-061-2/+2
|
* iconview: Prevent ownership transfer of cell out-param in get_item_at_pos()Rico Tzschichholz2018-01-061-1/+1
|
* Add test for GtkActionable GtkListBoxRow.Arnaud Bonatti2018-01-022-0/+223
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741633
* Make GtkListBoxRow GtkActionable.Arnaud Bonatti2018-01-021-4/+100
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741633
* configure: Don't declare functions in AC_TRY_COMPILE and AC_LANG_PROGRAMTing-Wei Lan2018-01-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both AC_TRY_COMPILE and AC_LANG_PROGRAM put code passed to their second arguments to the body of the main function. This means that we cannot and should not declare functions there, or we end up checking whether the compiler support nested functions instead of whether a compiler or linker flag is supported. GCC supports nested functions and tests succeed. Clang doesn't support nested functions, so tests fail and -fvisibility=hidden won't be used. This means that functions which are not intended to be used by other programs, such as gtk_menu_tracker*, gtk_action_observ*, gtk_menu_muxer_*, become global symbols with default visibility. GNOME Shell has a private library libgnome-shell-menu.so, which also has symbols gtk_menu_tracker*, gtk_action_observ*, gtk_menu_muxer_* that are intended to be used by GNOME Shell itself. When GNOME Shell still used Autotools build system, the executable gnome-shell explicitly linked to libgnome-shell-menu.so, so the linker loaded libgnome-shell-menu.so before libgtk-3.so.0 and GNOME Shell used correct symbols from its private library. However, after GNOME Shell switched to Meson build system, gnome-shell executable no longer lists libgnome-shell-menu.so as its dependency. Even if we adds it to the build file, it won't be listed in DT_NEEDED of gnome-shell because Meson uses -Wl,--as-needed by default. This causes the runtime linker to load libgtk-3.so.0 before libgnome-shell-menu.so and symbols gtk_menu_tracker*, gtk_action_observ*, gtk_menu_muxer_* are bound to libgtk-3.so.0 instead of libgnome-shell-menu.so. GNOME Shell hangs when opening more than one window because it uses functions from the wrong library. This problem is already fixed in OpenBSD ports. The article describing it can be found on OpenBSD Journal with this link: https://undeadly.org/cgi?action=article;sid=20170930133438 https://bugzilla.gnome.org/show_bug.cgi?id=791943
* gtk: remove non-breaking space, probably there by mistakeArnaud Rebillout2018-01-021-1/+1
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: fix some formatting inconsistencies along the wayArnaud Rebillout2018-01-022-40/+45
| | | | | | | | Mostly spaces. Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: remove useless <para>Arnaud Rebillout2018-01-021-1/+1
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: swap border-width and border-left shorthands, to keep going clockwiseArnaud Rebillout2018-01-021-6/+6
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: Fix refentry and refnameArnaud Rebillout2018-01-022-5/+5
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: Ensure the first column does not break for every tableArnaud Rebillout2018-01-022-124/+124
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: Get rid of non-breaking hyphensArnaud Rebillout2018-01-022-112/+102
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: Get rid of non-breaking spacesArnaud Rebillout2018-01-022-11/+9
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* css docs: Fix some angle brackets for percentageArnaud Rebillout2018-01-021-2/+2
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* window: Avoid redundantly getting the GDK windowTimm Bäder2018-01-021-1/+1
| | | | | | meta-pick of commit c1573a1fda7c3b917b6809795b9668629fe58883: the variable gdk_window is used in a check, but we may as well use it again to avoid calling _gtk_widget_get_window() again unnecessarily.
* themes: Regenerate CSS to reflect recent commitsDaniel Boles2018-01-014-16/+16
|
* HighContrast: Avoid expander↔combobox interferenceDaniel Boles2018-01-011-1/+1
| | | | as per commit b4b9aa1e5fab6a1f8c27b768813ab4ed04f3cd6f
* css docs: Fix duplicate border‑right‑widthArnaud Rebillout2018-01-011-2/+2
| | | | | | Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=791710
* Adwaita: Avoid expander<>combobox interferenceMatthias Clasen2018-01-011-1/+1
| | | | | | Putting a combobox in an expander was causing the combo arrow to go sideways. Increase the specificity with which we address the expander arrow to avoid that.
* Slovenian update ...Matej Urbančič2017-12-311-560/+568
|
* Slovenian update ...Matej Urbančič2017-12-311-154/+162
|
* fontchooser: Add global keynavMatthias Clasen2017-12-273-0/+60
| | | | | Starting to type should focus the search entry and start a search.
* Add some deprecation annotationsMatthias Clasen2017-12-252-7/+7
| | | | | These functions have been removed in master, and their replacements are already available here.
* font button: Some followup cleanupsMatthias Clasen2017-12-211-3/+3
| | | | | Don't refer to the font-name property in docs either, and don't use deprecated API internally.
* font button: Deprecate the font-name propertyMatthias Clasen2017-12-212-8/+21
| | | | | It has long been redundant with the GtkFontChooser::font property.
* tests: Stop using gtk_font_button_get_font_nameMatthias Clasen2017-12-212-2/+3
| | | | We can instead use the GtkFontChooser::font property.
* Range: Fix inverted vert scrolling on vert Ranges…Daniel Boles2017-12-191-2/+3
| | | | | | | The change in the previous patch should only be applied when the Range is oriented horizontally. https://bugzilla.gnome.org/show_bug.cgi?id=737175
* Range: Fix inverted vert scrolling on horiz RangesDaniel Boles2017-12-191-1/+1
| | | | | | | | | | | | Users expect, & previous patches have tried to assure, that scrolling up over a horizontal Range will cause the value to increase & vice-versa. But the path using directions was still negating the delta & decreasing the value on scrolling up. This could be seen on Win32 or X without XI2. So, only negate the delta when scrolling down (or left), not up, so that scrolling up (or right) will make the value increase for any event type. https://bugzilla.gnome.org/show_bug.cgi?id=737175#c5
* font chooser: Stop listening to style-updatedMatthias Clasen2017-12-191-13/+0
| | | | | | | The only time a style-updated indicates we need to reload fonts is when it is synthesized by GtkSettings in response to a fontconfig timestamp change, but we are listening to those already, anyway.
* Avoid calling unsetenv too lateMatthias Clasen2017-12-171-13/+27
| | | | | | | Stash the DESKTOP_AUTOSTART_ID env var in a constructor, before any threads have been created. https://bugzilla.gnome.org/show_bug.cgi?id=790963
* wayland: Handle scale 3 for cursorsMatthias Clasen2017-12-171-1/+1
| | | | | | This is just a bandaid solution to make scale 3 work. If people seriously want to go for scales larger than that, we need a better solution.
* inspector: Allow to bump scale to 3Matthias Clasen2017-12-171-1/+1
| | | | Might as well allow this, for 'large scale testing'.
* cups: Warn only once if colord is not availableMatthias Clasen2017-12-171-1/+6
| | | | | | No need to keep complaining about this. https://bugzilla.gnome.org/show_bug.cgi?id=791650
* Revert "css: Replace _AFFECTS_TEXT with _TEXT_SIZE and _TEXT_CLIP"Matthias Clasen2017-12-178-54/+45
| | | | | | This reverts commit 492469a94af35c2b102bcf7f07046ef2d09b2b3d. People have been reporting missing invalidations with this change.
* Revert "css: Fix segfault when GtkCssStyleChange is NULL on ↵Matthias Clasen2017-12-171-5/+3
| | | | | | gtk_widget_real_style_updated()" This reverts commit 7e253f4bd3977a67cf7040ce11e24b9d06100f6a.