1. 17 Apr, 2018 3 commits
  2. 11 Apr, 2018 2 commits
    • Benjamin Otte's avatar
      widget: Add a frameclock_connected boolean · b47bdda2
      Benjamin Otte authored
      ... and use it to not connect anything to the frameclock if it isn't
      This gets around the problem that the frame clock is disconnected before
      GtkWidgetClass.unrealize() is called but the widget is still marked as
      realized and the frame clock is available during the vfunc, which makes
      calls like gtk_widget_queue_resize() reconnect to the frame clock.
      Closes #168
    • Benjamin Otte's avatar
      colorutils: Remove unused macro · 5a0759bc
      Benjamin Otte authored
  3. 09 Apr, 2018 1 commit
  4. 08 Apr, 2018 6 commits
  5. 04 Apr, 2018 3 commits
  6. 31 Mar, 2018 2 commits
  7. 29 Mar, 2018 4 commits
  8. 22 Mar, 2018 2 commits
  9. 20 Mar, 2018 1 commit
    • Peter Bloomfield's avatar
      gtkimmodule: make match_backend() query · 6e2d1403
      Peter Bloomfield authored
      …the wayland registry.
      Wnen _gtk_im_module_get_default_context_id calls
      match_backend (context_id) and the default GdkDisplay
      is wayland, match_backend() should return TRUE only if
      gdk_wayland_display_query_registry (display, "gtk_text_input_manager")
      returns TRUE.
  10. 19 Mar, 2018 2 commits
  11. 17 Mar, 2018 1 commit
  12. 16 Mar, 2018 1 commit
    • Daniel Boles's avatar
      Notebook: Don’t show raw underline/markup in popup · 7fd9f2d3
      Daniel Boles authored
      If @menu_label == NULL, we create a default page->menu_label. This took
      @tab_label.get_label() and passed that to page->menu_label.set_text().
      This is wrong because we set the plain text of the menu_label from the
      rich text of @tab_label. So, if @tab_label used mnemonics or markup, our
      menu_label got the raw underline or markup tags shown in it as raw text.
      As we call set_text() on the menu Label, the fix is to be symmetric: use
      @tab_label’s get_text() as source, as that strips underlines and markup.
      It’s not worth making the default Label ‘inherit’ :use-underline/markup;
      that’s a slippery slope, and users wanting such things can just create a
      fully fledged GtkLabel to pass as @menu_label to suppress the default.
  13. 14 Mar, 2018 2 commits
    • Daniel Boles's avatar
      SpinButton: Redraw +/- buttons after :wrap changes · 0a032381
      Daniel Boles authored
      Otherwise, the + or - button might change sensitivity based on whether
      it can be used to wrap, but without ensuring we update its state, the
      ability to :wrap isn't reflected until something else triggers a draw.
    • Jonas Ådahl's avatar
      entrycompletion: Realize popup after setting screen · ba83a2c4
      Jonas Ådahl authored
      Realization is done as a side effect of calling
      _gtk_entry_completion_resize_popup(), but if this is done before the
      GdkScreen of the GtkWindow is set up correctly, it may result in the
      widget being unrealized when the screen is updated. This may happen
      when the file dialog parent window is not using the default GdkDisplay.
      To avoid this issue, realize the popup after the screen has been
      properly set up.
      Fixes #83 in gtk3
  14. 13 Mar, 2018 1 commit
    • Daniel Boles's avatar
      FileChooserWidget: Fix leaks in .get_subtitle() · 0f3396d7
      Daniel Boles authored
      Now that subtitle's default value "Searching" for OPERATION_MODE_SEARCH
      is duplicated as it should be, we cannot reassign other strings to it
      anymore, as that resulted in the original dupe of "Searching" leaking.
      Fix this by only assigning the dup'd "Searching" after trying to get
      more specific values, not before. We therefore need to set it to NULL
      during its declaration, and that means we needn't in the final else.
  15. 12 Mar, 2018 6 commits
  16. 09 Mar, 2018 1 commit
    • Nikita Churaev's avatar
      Tidy up the search bar double border fix · 4e2f59ad
      Nikita Churaev authored
      Match "box" instead of "*", as already done for the search bar GTK4 and
      for the action box in GTK3. Also clarify which widget property is
      causing the margin which needs to be undone.
  17. 07 Mar, 2018 2 commits