| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This will allow to refer to specific GtkApplicationWindows remotely by ID.
https://bugzilla.gnome.org/show_bug.cgi?id=674409
|
| |
|
|
|
|
|
|
|
| |
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.
|
|
|
|
|
|
|
|
| |
Instead of firing a 'quit' signal and expecting the application to do
something that will cause it to quit, just call the new
g_application_quit() API for ourselves.
https://bugzilla.gnome.org/show_bug.cgi?id=670485
|
|
|
|
|
|
|
|
| |
This seems a bit "too powerful" and unlikely to be used by most
applications. Remove it from now, until someone comes up with a strong
desire for it.
https://bugzilla.gnome.org/show_bug.cgi?id=670485
|
|
|
|
|
|
|
| |
App menu and menubar are now properties of GtkApplication and their bus
location is exported using X window properties.
https://bugzilla.gnome.org/show_bug.cgi?id=668118
|
|
|
|
| |
Call it EndSession to make it clearer what this is about.
|
|
|
|
|
|
|
|
|
| |
We don't expose ::quit-requested as API anymore. Instead, we expect
users to register inhibitors when needed. Without quit-requested,
there is no need for ::quit-cancelled and gtk_application_quit_response
anymore.
We still emit ::quit when the application is about to quit.
|
|
|
|
|
| |
This function allows applications to request that
the user session be ended by logout/shutdown/reboot.
|
|
|
|
|
|
| |
This lets applications block logout and similar actions ahead
of time. Currently only implemented for D-Bus, but Windows has
very similar API since Vista.
|
|
|
|
|
|
|
|
|
| |
This is fairly basic, allowing applications to learn when
the session manager is about to end the session, and possibly
block this. The only implementation at this point is using the
org.gnome.SessionManager D-Bus interface of gnome-session. It should
be straightforward to port the EggSMClient implementations for
Windows and OS X.
|
|
|
|
|
|
|
| |
We add the app-menu and menubar public APIs to GtkApplication while
leaving the implementation in GApplication.
The actual implementation will be moved soon.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This function either returns a GtkMenu or NULL.
Still to do: detect if the app menu is externally handled.
|
| |
|
|
|
|
|
|
|
| |
This is useful to let unrelated parts of an application (or
plugins) learn about the windows of an application. Based
on a patch by Matt Barnes,
https://bugzilla.gnome.org/show_bug.cgi?id=641087
|
|
|
|
|
|
| |
Sorry for this late ABI break, but the newly added style classes
definitely need padding, so I can just as well add missing padding
globally.
|
|
|
|
|
| |
Remove no-longer-needed vfuncs, no longer existing functions,
and improve the docs here and there.
|
|
|
|
|
| |
Return a GList of the GtkWindow objects for each window that has the
application set as its "application" property.
|
| |
|
| |
|
|
|
|
| |
Closes #623598.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sub-classes of GtkApplication might want to override the way an
application window is created - for instance, to hook into GtkBuilder
or to set up some basic UI or state.
A new GtkApplication::create_window() virtual function is added to the
GtkApplicationClass vtable, which returns the newly created GtkWindow.
The gtk_application_create_window() function calls the vfunc and adds
the returned window to the list of windows managed by the application
instance.
Calling gtk_application_add_window() will also set the default window,
if one is not already set.
This commit also removes a spurious g_object_ref_sink() on the newly
created GtkWindow.
|
|
|
|
| |
Move appid parameter first to match GApplication.
|
|
|
|
|
|
| |
We now implement "quit" and "action" signals here.
https://bugzilla.gnome.org/show_bug.cgi?id=621003
|
|
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
|