1. 16 Dec, 2013 7 commits
    • Allison Karlitskaya's avatar
      Refactor GtkApplication · 7fd81cf1
      Allison Karlitskaya authored
      gtkapplication.c has turned into a bit of an #ifdef mess over time, and
      many of the current checks are incorrect.  As an example, if you build
      Gtk for wayland, and exclude the X11 backend, much of the functionality
      required by wayland (such as exporting menu models) will be disabled.
      
      Solve that by introducing a backend mechanism to GtkApplication (named
      GtkApplicationImpl) similar to the one in GApplication.  Add backends
      for Wayland, X11 and Quartz, with X11 and Wayland sharing a common
      'DBus' superclass.
      
                                   GtkApplicationImpl
                                            |
                             /--------------+-------------------\
                             |                                  |
                  GtkApplicationImplDBus              GtkApplicationImplQuartz
                             |
                 /-----------+-----------------\
                 |                             |
        GtkApplicationImplX11      GtkApplicationImplWayland
      
      GtkApplicationImpl itself is essentially a bunch of vfuncs that serve as
      hooks for various things that the platform-specific backends may be
      interested in doing (startup, shutdown, managing windows, inhibit, etc.)
      
      With this change, all platform specific code has been removed from
      gtkapplication.c and gtkapplicationwindow.c (both of which are now free
      of #ifdefs, except for a UNIX-specific use of GDesktopAppInfo in
      gtkapplicationwindow.c).
      
      Additionally, because of the movement of the property-setting code out
      of GtkApplicationWindow, the _GTK_APPLICATION_ID properties (and
      friends) will be set on non-GtkApplicationWindows, such as dialogs.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=720550
      7fd81cf1
    • Allison Karlitskaya's avatar
      bloatpad: test inhibit · 2841c0ec
      Allison Karlitskaya authored
      Add an inhibit for logout when there is context in the text buffer.
      2841c0ec
    • Matthias Clasen's avatar
      Fix up default csd titlebars · 8bdc3ab4
      Matthias Clasen authored
      We were forgetting to show close buttons, and the spacing
      was wrong, too.
      8bdc3ab4
    • Yosef Or Boczko's avatar
      Updated Hebrew translation · 59a1f3a0
      Yosef Or Boczko authored
      Signed-off-by: default avatarYosef Or Boczko <yoseforb@gmail.com>
      59a1f3a0
    • Marek Kašík's avatar
      gdkwindow: Handle references in "update_windows" list correctly · 1b032b18
      Marek Kašík authored
      Since update_windows list is a static variable in GdkWindow.c which
      contains pointers to windows which needs to be updated, it can happen
      that it contains a pointer to a window even after quit from a gtk_main().
      If another gtk_main() is called in the same process it tries to process
      windows in the list which leads to a crash.
      Correct reference count handling of added windows prevents such applications
      from crash.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=711552
      1b032b18
    • William Jon McCann's avatar
      bfd27445
    • William Jon McCann's avatar
  2. 15 Dec, 2013 1 commit
  3. 14 Dec, 2013 8 commits
  4. 13 Dec, 2013 18 commits
  5. 12 Dec, 2013 6 commits