[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 473/473: Fix broken menu when closed by window manager.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:43 CET 2015


This is an automated email from the git hooks/post-receive script.

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 225218ae14aca64b11a011277d4d180233aa11c6
Author: Graeme Gott <graeme at gottcode.org>
Date:   Sun Feb 15 15:39:49 2015 -0500

    Fix broken menu when closed by window manager.
---
 panel-plugin/window.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 7b353aa..70e6ab0 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -71,6 +71,7 @@ WhiskerMenu::Window::Window() :
 	g_signal_connect_slot(m_window, "key-press-event", &Window::on_key_press_event_after, this, true);
 	g_signal_connect_slot(m_window, "map-event", &Window::on_map_event, this);
 	g_signal_connect_slot(m_window, "configure-event", &Window::on_configure_event, this);
+	g_signal_connect(m_window, "delete_event", G_CALLBACK(gtk_widget_hide_on_delete), NULL);
 
 	m_window_box = GTK_BOX(gtk_vbox_new(false, 0));
 	gtk_container_add(GTK_CONTAINER(m_window), GTK_WIDGET(m_window_box));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list