1. 14 Sep, 2018 1 commit
  2. 13 Sep, 2018 1 commit
  3. 11 Sep, 2018 1 commit
    • Chun-wei Fan's avatar
      builds: Fix introspection with MSVC builds · 5d903cb0
      Chun-wei Fan authored
      For building the introspection dumper program on Visual Studio, leave out
      the G_LOG_DOMAIN as g-ir-scanner does not like it when it constructs the
      compiler command line for Visual Studio.
      
      Also ensure that we are looking for the freshly-built libraries by looking
      for the .lib's from the output directories of the Visual Studio project files.
      5d903cb0
  4. 10 Sep, 2018 2 commits
    • Adrien Plazas's avatar
      Adwaita: Fix sidebar separator styling · f893e668
      Adrien Plazas authored
      Simplify the styling of sidebar separators by not setting their borders
      and margins rather than trying to drop it afterward, which was actually
      not working anyway.
      f893e668
    • Adrien Plazas's avatar
      Adwaita: Fix dropping the backgroud on nested headerbars · a0acdcd0
      Adrien Plazas authored
      Make the selector less greedy to not remove the background on
      non-titlebar headerbars contained in non-headerbar titlebars and only to
      the ones contained in headerbar titlebars. This avoid issues in some
      applications.
      
      Also make dropping the background more agressive to actually remove it.
      a0acdcd0
  5. 07 Sep, 2018 3 commits
    • Adrien Plazas's avatar
      Adwaita: Set selection mode to headerbars if it's on ancestors · 43c458f4
      Adrien Plazas authored
      This allows to set the container of the headerbars in selection mode
      rather than having to set the mode to each element of the title bar.
      43c458f4
    • Adrien Plazas's avatar
      Adwaita: Drop the background of nested headerbars · f0696dfa
      Adrien Plazas authored
      This is needed to work around headerbar sliding animation issues without
      refactoring Adwaita's support of titlebars and headerbars as it may
      break applications.
      
      #1264
      f0696dfa
    • Adrien Plazas's avatar
      Adwaita: Style separator.sidebar · f9ba3061
      Adrien Plazas authored
      Let separators be declared as sidebars to have the same style as those
      drawn by GtkStackSidebar. This also let them handle the selection-mode
      class, whether they are assigned it or they descend from something in
      selection mode.
      
      This is convenient when building a custom sidebar using a GtkSeparator
      and to extend a sidebar to the title bar.
      f9ba3061
  6. 05 Sep, 2018 2 commits
  7. 02 Sep, 2018 1 commit
  8. 31 Aug, 2018 6 commits
  9. 28 Aug, 2018 5 commits
  10. 26 Aug, 2018 1 commit
  11. 22 Aug, 2018 1 commit
    • Benjamin Otte's avatar
      Don't deprecate gtk_widget_show_all() · da8994f9
      Benjamin Otte authored
      After discussions on IRC, the conclusion was reached that deprecations
      only make sense if an action can be taken to not use the deprecated code
      that makes the code more current and simplifies a later port to a newer
      GTK version.
      
      In this particular case, the suitable action would be adding
      gtk_widget_show() calls whenever a widget is created, so that a call to
      show_all() is not necessary.
      However, in GTK4 these calls would not be necessary and end up just
      bloating the codebase unnecessarily.
      
      So it was decided the better solution would be to not deprecate the API
      and instead leave this work to be done during potential GTK4 ports of
      applications.
      
      This reverts commit 4d71d230.
      
      Fixes !1282
      da8994f9
  12. 20 Aug, 2018 1 commit
  13. 17 Aug, 2018 1 commit
    • Iain Lane's avatar
      colorpickershell: Unpack the tuple returned from PickColor() · dce33fa8
      Iain Lane authored
      When calling PickColor on org.gnome.Shell, we get back an "a{sv}", which
      GDBus provides to us as "(a{sv})".
      
      At the minute we're not unpacking this tuple, and so picking fails with
      messages like:
      
        GLib-CRITICAL **: 13:38:19.439: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed
      
        Gtk-WARNING **: 13:38:19.439: Picking color failed: No color received
      
      Let's unpack it.
      dce33fa8
  14. 10 Aug, 2018 1 commit
    • Jonas Ådahl's avatar
      tooltip: Implement positioning using gdk_window_move_to_rect() · 14d22cb3
      Jonas Ådahl authored
      In order to make tooltip positioning portable, make use of the
      move_to_rect API. Some semantical changes are made, as identical
      semantics cannot be implemented using the move-to-rect API.
      
      Primarily the implemented semantics are:
      
      Position the tooltip in the center pixels slightly below (defaults to 4
      units below) the tooltipped widget. This is always the case for keyboard
      driven tooltips; the case where it tries to avoid the pointer cursor is
      not implemented.
      
      For pointer position triggered tooltips, implement the following
      additional semantics:
      
      Use the current cursor size to determine the padding used to enlarge the
      anchor rectangle. This is to try to avoid the cursor overlapping the
      tooltip.
      
      If the anchor rectangle is too tall (meaning if we'd be constrained
      and flip on the Y axis, it'd flip too far away from the originally
      intended position), rely only on the pointer position to position the
      tooltip. The approximate pointer cursor rectangle is used as a anchor
      rectangle. Ideally we should use the actual pointer cursor rectangle
      (image used as well as hotspot coordinate), but we don't have API to
      get that information.
      
      If the anchor rectangle isn't to tall, just make sure the tooltip isn't
      too far away from the pointer position on the X axis.
      
      Closes: #134
      Closes: #432
      Closes: #574
      Closes: #579
      Closes: #878
      14d22cb3
  15. 05 Aug, 2018 4 commits
  16. 04 Aug, 2018 1 commit
  17. 31 Jul, 2018 3 commits
  18. 30 Jul, 2018 5 commits