1. 20 Apr, 2018 1 commit
  2. 09 Apr, 2018 1 commit
  3. 08 Apr, 2018 6 commits
  4. 04 Apr, 2018 3 commits
  5. 31 Mar, 2018 2 commits
  6. 29 Mar, 2018 4 commits
  7. 22 Mar, 2018 2 commits
  8. 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.
  9. 19 Mar, 2018 2 commits
  10. 17 Mar, 2018 1 commit
  11. 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.
  12. 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
  13. 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.
  14. 12 Mar, 2018 6 commits
  15. 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.
  16. 07 Mar, 2018 2 commits
  17. 06 Mar, 2018 1 commit
    • Timm Bäder's avatar
      expander: fix sizes in resize_toplevel · 46828f8e
      Timm Bäder authored
      We can't use gtk_widget_get_allocation for either non-anchored widgets
      (which happens with the child widget when the expander is unexpanded)
      nor toplevel windows since that will include the window decorations.
      Fixes #70 in gtk3
  18. 05 Mar, 2018 1 commit
  19. 04 Mar, 2018 1 commit
    • Tomasz Miąsko's avatar
      Include C headers in introspection file. · 91498c7d
      Tomasz Miąsko authored
      Include gtk/gtk.h and gtk/gtk-a11y.h unconditionally,
      and gtk/gtkx.h when building with X11. Ensures that
      introspection data contains complete set required
      headers, which is useful when generating C code based
      on introspection data.
      Diff for generated gir (when using X11):
         <include name="xlib" version="2.0"/>
         <package name="gtk+-3.0"/>
      +  <c:include name="gtk/gtk-a11y.h"/>
      +  <c:include name="gtk/gtk.h"/>
      +  <c:include name="gtk/gtkx.h"/>
         <namespace name="Gtk"
      Fixes issue #56.
  20. 03 Mar, 2018 1 commit