1. 04 Feb, 2014 3 commits
  2. 03 Feb, 2014 1 commit
  3. 02 Feb, 2014 3 commits
  4. 29 Jan, 2014 2 commits
  5. 21 Jan, 2014 1 commit
  6. 04 Jan, 2014 4 commits
  7. 04 Nov, 2013 1 commit
  8. 29 Aug, 2013 1 commit
  9. 23 Aug, 2013 3 commits
  10. 18 Aug, 2013 1 commit
    • Matthias Clasen's avatar
      Add a style class for context menus · 624ec0fb
      Matthias Clasen authored
      Attached widgets inherit from the style of the widget they are
      attached to. This can sometimes have unintended consequences,
      like a context menu in the main view of gedit inheriting the font
      that is configured for documents, or the context menu of the preview
      in the font chooser coming up with humongous font size.
      To fix this problem, we introduce a context menu style class
      and use it for all menus that are used like that. The theme
      can then set a font for this style class.
  11. 14 Aug, 2013 1 commit
    • Jasper St. Pierre's avatar
      gtkdnd: Introduce a new API for more accurate drag origin data · 030b62d1
      Jasper St. Pierre authored
      When trying to drag, we currently the position of the first motion
      event to determine where the drag came from. This might be alright
      in the case of the old animation, but the data will be inaccurate
      if the user has moved the pointer quite a bit since pressing the
      cursor to start dragging. While we could monkey patch the GdkEvent
      at the widget layer, this is unintuitive and strange.
      Add a new API that takes a set of pointer coordinates describing
      the origin of the drag. Additionally, adapt most widgets to use
      it and use it with correct coordinates.
  12. 20 Jul, 2013 2 commits
    • Matthias Clasen's avatar
      Drop some unnecessary includes · 2f1fa7cd
      Matthias Clasen authored
      Drop includes of deprecated headers where they are
      no longer needed.
    • Matthias Clasen's avatar
      Move wholly deprecated classes to gtk/deprecated/ · 0aa57d26
      Matthias Clasen authored
      We've recently a number of classes wholly. For these cases,
      move the headers and sources to gtk/deprecated/ and adjust
      Makefiles and includes accordingly.
      Affected classes:
  13. 09 Jul, 2013 1 commit
  14. 26 Jun, 2013 1 commit
  15. 25 Jun, 2013 1 commit
  16. 08 May, 2013 1 commit
  17. 23 Apr, 2013 2 commits
  18. 24 Mar, 2013 1 commit
  19. 21 Mar, 2013 1 commit
  20. 17 Mar, 2013 1 commit
    • Sébastien Wilmet's avatar
      GtkLabel: fix mnemonic-keyval when use-markup is true · 8e65fa1b
      Sébastien Wilmet authored
      To extract the mnemonic key value, the string must contain the
      underscore. But when the "gtk-auto-mnemonics" setting is true and when
      the Alt key is not pressed, the underscore must not be displayed. The
      problem was that the 'new_str' variable was used for both purposes:
      extract the text to display, and extract the accelerator character.
      When the underscore must not be visible, the underscores were removed
      from the 'new_str' variable before extracting the accelerator character.
      Now there are two strings, one for each purpose.
  21. 14 Mar, 2013 1 commit
    • Benjamin Otte's avatar
      a11y: Emit text-changed signals directly · feb64f40
      Benjamin Otte authored
      When setting new text on the label, the text-changed::delete signal
      needs to be emitted before deleting the text (so that atk-bridge can
      query the old text) while the text-changed::insert event needs to happen
      afterwards (for the same reason). The old code using the notify signal
      was only emitted after changing the text.
  22. 12 Mar, 2013 2 commits
  23. 07 Feb, 2013 1 commit
    • Alexander Larsson's avatar
      Add gtk_widget_(un)register_window · 3d4cd4db
      Alexander Larsson authored
      This replaces the previously hardcoded calls to gdk_window_set_user_data,
      and also lets us track which windows are a part of a widget. Old code
      should continue working as is, but new features that require the
      windows may not work perfectly.
      We need this for the transparent widget support to work, as we need
      to specially mark the windows of child widgets.
  24. 06 Dec, 2012 2 commits
    • Alexander Larsson's avatar
      GtkLabel: Rely on the new pango support for context change tracking · bf35c2f0
      Alexander Larsson authored
      Now that Pango tracks changes to the context automatically there is
      no need to do it manually in e.g. style-updated or direction-changed,
      in fact the only case we have to care about is when we re-create
      the PangoContext due to a screen change, so we only have to clear
      the layouts in GtkLabel in screen-changed.
      This means we're not clearing all the layouts whenever the state changes,
      which happens to every widget when the window is unfocused, which helps
      performance a lot.
    • Benjamin Otte's avatar
      gtk: Use context's font · 7747910b
      Benjamin Otte authored
      Instead of using gtk_style_context_get_font() in
      pango_context_get_metrics(), use pango_context_get_font_description().
      The context contains the font description we are about to use after all.
  25. 30 Nov, 2012 1 commit
  26. 08 Nov, 2012 1 commit