1. 26 Sep, 2010 5 commits
    • Benjamin Otte's avatar
      Move GtkSizeRequest into GtkWidget · d9c92598
      Benjamin Otte authored
      It doesn't make sense to keep them separate as GtkSizeRequest requires a
      GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
      one without the other.
      It also makes the code a lot easier because no casts are required when
      calling functions.
      Also, the names would translate to gtk_widget_get_width() and people
      agreed that this would be a too generic name, so a "preferred" was added
      to the names.
      So this patch moves the functions:
      gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
      gtk_size_request_get_width() => gtk_widget_get_preferred_width()
      gtk_size_request_get_height() => gtk_widget_get_preferred_height()
      gtk_size_request_get_size() => gtk_widget_get_preferred_size()
      gtk_size_request_get_width_for_height() =>
      gtk_size_request_get_height_for_width() =>
      ... and moves the corresponding vfuncs to the GtkWidgetClass.
      The patch also renames the implementations of the vfuncs in widgets to
      include the word "preferrred".
    • Benjamin Otte's avatar
      API: Rename gtk_cairo_paint_*() to gtk_paint_*() · 1d3f6b30
      Benjamin Otte authored
      Large patch, but just renaming.
      Indentation should still mostly be correct because I took care of
      keeping the indentation for this function name.
    • Benjamin Otte's avatar
      menuitem: Remove is_drawable() check · 6f6c81e5
      Benjamin Otte authored
    • Benjamin Otte's avatar
      menuitem: Port to draw vfunc · 475f9621
      Benjamin Otte authored
    • Benjamin Otte's avatar
  2. 21 Sep, 2010 1 commit
  3. 13 Sep, 2010 1 commit
  4. 09 Sep, 2010 1 commit
    • Matthias Clasen's avatar
      Remove GtkItem · 3bd93e5b
      Matthias Clasen authored
      With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
      derived class, and is not really adding any value as a separate class.
      Its few useful features have been merged into GtkMenuItem.
      Bug 629104
  5. 29 Aug, 2010 1 commit
    • Matthias Clasen's avatar
      Move deprectated menu enumerations to a private header · af8539bf
      Matthias Clasen authored
      The GtkSubmenuDirection and GtkSubmenuPlacement enumerations
      have been deprecated as public API for a while, but are still used
      internally in the menu code. Move them to a private header. This
      also prevents to generation of GObject boilerplate for these enums.
  6. 22 Aug, 2010 1 commit
  7. 21 Aug, 2010 1 commit
  8. 19 Aug, 2010 1 commit
  9. 22 Jul, 2010 1 commit
  10. 13 Jul, 2010 2 commits
  11. 10 Jul, 2010 1 commit
  12. 02 May, 2010 1 commit
  13. 04 Apr, 2010 11 commits
  14. 15 Mar, 2010 1 commit
    • Jan Arne Petersen's avatar
      Fix notify::label emmision in GtkMenuItem · 63c21eda
      Jan Arne Petersen authored
      Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
      Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
      the accel-widget back to the GtkMenuItem itself when there is no action related
      to the GtkMenuItem anymore.
      Add test for notify::label emmisions.
      Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
      changed through GtkAction.
  15. 06 Mar, 2010 2 commits
  16. 03 Mar, 2010 2 commits
  17. 01 Mar, 2010 3 commits
  18. 19 Feb, 2010 1 commit
  19. 20 Dec, 2009 1 commit
    • Matthias Clasen's avatar
      Only show the mnemonic underline when pressing Alt · c59f76fd
      Matthias Clasen authored
      ...and show them in menus when navigating the menu with the keyboard.
      This is similar to what other platforms do, and reduces visual clutter.
      There is a setting to control this. Most of the work on this patch was
      done by Thomas Wood. See bug 588554.
  20. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
  21. 22 Jun, 2009 1 commit
    • Tristan Van Berkom's avatar
      Accelerators failed for submenus (GNOME bug 582025) · 515a0b61
      Tristan Van Berkom authored
      gtk/gtkmenuitem.c: Override custom_tag_finished() for "accelerator" and search
      the correct toplevel GtkWindow to attach accelerators to menu items.
      gtk/gtkwidget.[ch]: Added _gtk_widget_buildable_finish_accelerator() to allow
      subclasses to specify a toplevel window to associate with when parsing <accelerator>