1. 20 Mar, 2018 2 commits
    • Carlos Garnacho's avatar
      imwayland: Avoid TOGGLE_INPUT_PANEL requests if there's no focus · 4f78abdd
      Carlos Garnacho authored
      Fixes two things: 1) As GTK+ can be coerced into using the wayland IM
      module despite the compositor not implementing the interface, all paths
      not checking for global state before sending requests are prone to
      crashes, this one fell hit this pitfall.
      
      And 2) ensures the tap gesture only triggers TOGGLE_INPUT_PANEL if the
      widget IM is focused. This is a possibility on eg. WebKit pages, where
      its IM is only focused as long as a form element in the page is focused.
      Tapping elsewhere shouldn't toggle the OSK.
      
      https://gitlab.gnome.org/GNOME/gtk/issues/114
      
      Closes: #114
      4f78abdd
    • 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.
      6e2d1403
  2. 19 Mar, 2018 5 commits
  3. 17 Mar, 2018 3 commits
  4. 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.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=705509
      7fd9f2d3
  5. 15 Mar, 2018 4 commits
  6. 14 Mar, 2018 5 commits
  7. 13 Mar, 2018 9 commits
  8. 12 Mar, 2018 11 commits