wmshutdown: Destroy dialog window before shutting down. This is especially useful for suspending or hibernating. After turning the computer back on, the wmshutdown dialog would still be open from before, and clicking on the dockapp would n...
This commit is contained in:
parent
a01f239aca
commit
c177247360
|
@ -116,6 +116,8 @@ void handle_click(GtkWidget *widget, gpointer data)
|
||||||
|
|
||||||
gchar *method = (gchar *)data;
|
gchar *method = (gchar *)data;
|
||||||
|
|
||||||
|
fecha();
|
||||||
|
|
||||||
connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);
|
connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);
|
||||||
message = g_dbus_message_new_method_call(
|
message = g_dbus_message_new_method_call(
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in a new issue