1. 13 Oct, 2010 1 commit
  2. 11 Oct, 2010 1 commit
    • Owen W. Taylor's avatar
      Fix handling of the geometry widget · 88cf5470
      Owen W. Taylor authored
      The geometry widget feature of gtk_window_set_geometry_hints() has
      never really worked right because the calculation that GTK+ did to
      compute the base size of the window only worked when the geometry
      widget had a larger minimum size than anything else in the window.
      
      Setup:
      * Move the GtkSizeGroup private functions to a new private header
        gtksizegroup-private.h
      * Add the possibilty to pass flags to _gtk_size_group_queue_resize(),
        with the flag GTK_QUEUE_RESIZE_INVALIDATE_ONLY to suppress adding
        the widget's toplevel to the resize queue.
      * _gtk_container_resize_invalidate() is added to implement that feature
      * _gtk_widget_override_size_request()/_gtk_widget_restore_size_request()
        allow temporarily forcing a large minimum size on the geometry
        widget without creating resize loops.
      
      GtkWindow:
      * Compute the extra width/height around the geometry widget
        correctly; print a warning if the computation fails.
      * Always make the minimum size at least the natural minimum
        size of the toplevel; GTK+ now fails badly with underallocation.
      * Always set the base size hint; we were failing to set it
        properly when the specified minimum size was overriden, but
        it's harmless to always set it.
      
      Tests:
      * New test 'testgeometry' that replaces the 'gridded geometry' test
        from testgtk. The new test is roughly similar but creates a bunch
        of windows showing different possibilities.
      * The testgtk test is removed. No need to have both.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=68668
      88cf5470
  3. 28 Sep, 2010 1 commit
  4. 27 Sep, 2010 1 commit
  5. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      cellrenderer: Merge GtkCellSizeRequest into GtkCellRenderer · e6612901
      Benjamin Otte authored
      This mostly goes to keep consistency with the changes to GtkSizeRequest
      in the last patch, as GtkCellSizeRequest requires GtkCellRenderer and
      GtkCellRenderer implements GtkCellSizeRequest there's no use in keeping
      them separate.
      
      This patch renames the functions:
      gtk_cell_size_request_get_request_mode()
        => gtk_cell_renderer_get_request_mode()
      gtk_cell_size_request_get_width()
        => gtk_cell_renderer_get_preferred_width()
      gtk_cell_size_request_get_height()
        => gtk_cell_renderer_get_preferred_height()
      gtk_cell_size_request_get_size()
        => gtk_cell_renderer_get_preferred_size()
      gtk_cell_size_request_get_width_for_height()
        => gtk_cell_renderer_get_preferred_width_for_height()
      gtk_cell_size_request_get_height_for_width()
        => gtk_cell_renderer_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to GtkCellRenderer.
      
      The patch also renames the implementations of these functions in cell
      renderers to include the word "preferrred".
      e6612901
  6. 18 Sep, 2010 2 commits
  7. 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
      3bd93e5b
  8. 31 Aug, 2010 1 commit
  9. 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.
      af8539bf
  10. 28 Aug, 2010 1 commit
  11. 23 Aug, 2010 4 commits
  12. 19 Aug, 2010 1 commit
  13. 18 Aug, 2010 1 commit
    • Matthias Clasen's avatar
      Make stock icons use standard icon names · f65265ff
      Matthias Clasen authored
      At least where standard names are available, instead of relying
      on a symlink forest in the icon theme directory. For directional
      variants, we look up icons by the pair ("foo-rtl", "foo") or
      ("foo-ltr", "foo"). See bug 626474.
      f65265ff
  14. 10 Aug, 2010 2 commits
  15. 03 Aug, 2010 1 commit
  16. 13 Jul, 2010 1 commit
  17. 10 Jul, 2010 3 commits
  18. 27 Jun, 2010 2 commits
  19. 26 Jun, 2010 1 commit
  20. 25 Jun, 2010 1 commit
  21. 20 Jun, 2010 1 commit
  22. 18 Jun, 2010 1 commit
    • Tristan Van Berkom's avatar
      Mass api change from GtkExtendedLayout --> GtkSizeRequest · edd57602
      Tristan Van Berkom authored
      This commit makes a few massive changes to the extended layout
      code:
        a.) gtkextendedlayout.c --> gtksizerequest.c
        b.) _is_height_for_width --> get_request_mode()
        c.) get_desired_size(), get_desired_width(), get_desired_height() -->
            get_size(), get_width(), get_height()
      
      This is the first partial commit and only effects portions
      of the tree that have already been merged in master (in order to
      easily cherry pick this commit).
      
      Conflicts:
      
      	gtk/Makefile.am
      	gtk/gtk.h
      	gtk/gtk.symbols
      	gtk/gtkextendedlayout.h
      edd57602
  23. 09 Jun, 2010 1 commit
    • Matthias Clasen's avatar
      Get rid of GtkProgress · 5e0dfed1
      Matthias Clasen authored
      The entire api was deprecated since 2.0. This patch detangles
      GtkProgress from GtkProgressBar and moves all the pieces into
      GtkProgressBar that are required for non-deprecated progressbar
      functionality.
      
      Bug #620618
      5e0dfed1
  24. 07 Jun, 2010 1 commit
    • Matthias Clasen's avatar
      Add GtkApplication · 1ae257d0
      Matthias Clasen authored
      This is a work in progress to stub out an application class. The
      primary goal is to provide a mechanism for applications to export
      GtkActions, and there is a standard "Quit" action.
      
      This is based on GApplication.
      
      Future work:
       * Add a way to say "This is my application menubar", which gets
         put into all toplevel windows on non-OS-X, and into the top
         on OS X.
       * Support session management.
       * Support application settings.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=127958
      1ae257d0
  25. 18 May, 2010 1 commit
  26. 10 May, 2010 1 commit
  27. 08 May, 2010 1 commit
    • Matthias Clasen's avatar
      Make 3.0 parallel-installable to 2.x · 7447ef0f
      Matthias Clasen authored
      In particular, rename
      
        - libraries to lib*-3.0.so
        - pc files to *-3.0.pc
        - include paths to /usr/include/gtk-3.0/*
        - module paths to /usr/lib/gtk-3.0/*
        - rc files names to gtk-3.0/gtkrc
        - commandline utilities to *-3.0
        - adjust documentation
      
      Also change the install location for unix-print headers to
      /usr/include/gtk-3.0/unix-print/gtk.
      7447ef0f
  28. 02 May, 2010 5 commits