[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 444/473: Invert checkbox for including favorites in recently used.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:14 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 a705ec89deb905a5d0d3e6abc1905c45ecfbc63c
Author: Graeme Gott <graeme at gottcode.org>
Date:   Sun Dec 21 09:25:35 2014 -0500

    Invert checkbox for including favorites in recently used.
---
 panel-plugin/configuration-dialog.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/configuration-dialog.cpp b/panel-plugin/configuration-dialog.cpp
index c769b92..95151c7 100644
--- a/panel-plugin/configuration-dialog.cpp
+++ b/panel-plugin/configuration-dialog.cpp
@@ -251,7 +251,7 @@ void ConfigurationDialog::recent_items_max_changed(GtkSpinButton* button)
 
 void ConfigurationDialog::toggle_remember_favorites(GtkToggleButton* button)
 {
-	wm_settings->favorites_in_recent = gtk_toggle_button_get_active(button);
+	wm_settings->favorites_in_recent = !gtk_toggle_button_get_active(button);
 	wm_settings->set_modified();
 }
 
@@ -656,9 +656,9 @@ GtkWidget* ConfigurationDialog::init_behavior_tab()
 	g_signal_connect_slot(m_recent_items_max, "value-changed", &ConfigurationDialog::recent_items_max_changed, this);
 
 	// Add option to remember favorites
-	m_remember_favorites = gtk_check_button_new_with_mnemonic(_("Include _favorites"));
+	m_remember_favorites = gtk_check_button_new_with_mnemonic(_("Ignore _favorites"));
 	gtk_box_pack_start(recent_vbox, m_remember_favorites, true, true, 0);
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(m_remember_favorites), wm_settings->favorites_in_recent);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(m_remember_favorites), !wm_settings->favorites_in_recent);
 	g_signal_connect_slot(m_remember_favorites, "toggled", &ConfigurationDialog::toggle_remember_favorites, this);
 
 	// Add option to display recently used

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


More information about the Xfce4-commits mailing list