[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 439/473: Clear recent list when recent menu is emptied.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:09 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 1023b4d875b74b32ce1a8370e85a41c20125ed23
Author: Graeme Gott <graeme at gottcode.org>
Date:   Thu Dec 18 08:01:24 2014 -0500

    Clear recent list when recent menu is emptied.
---
 panel-plugin/recent-page.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/recent-page.cpp b/panel-plugin/recent-page.cpp
index 94770d7..cc2fea0 100644
--- a/panel-plugin/recent-page.cpp
+++ b/panel-plugin/recent-page.cpp
@@ -157,6 +157,7 @@ void RecentPage::extend_context_menu(GtkWidget* menu)
 void RecentPage::clear_menu()
 {
 	gtk_list_store_clear(GTK_LIST_STORE(get_view()->get_model()));
+	wm_settings->recent.clear();
 	wm_settings->set_modified();
 }
 

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


More information about the Xfce4-commits mailing list