[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 02/06: Fix enabling category names checkbox when reopening dialog.

noreply at xfce.org noreply at xfce.org
Tue Apr 4 14:16:51 CEST 2017


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

gottcode pushed a commit to annotated tag v1.7.2
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 21980bbe358c39e1825afb1a9e8b0c07c44e7960
Author: Graeme Gott <graeme at gottcode.org>
Date:   Mon Mar 13 14:04:43 2017 -0400

    Fix enabling category names checkbox when reopening dialog.
---
 panel-plugin/configuration-dialog.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/configuration-dialog.cpp b/panel-plugin/configuration-dialog.cpp
index b254731..9de9734 100644
--- a/panel-plugin/configuration-dialog.cpp
+++ b/panel-plugin/configuration-dialog.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2015 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013, 2015, 2017 Graeme Gott <graeme at gottcode.org>
  *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -603,6 +603,7 @@ GtkWidget* ConfigurationDialog::init_appearance_tab()
 	m_show_category_names = gtk_check_button_new_with_mnemonic(_("Show cate_gory names"));
 	gtk_table_attach_defaults(menu_table, m_show_category_names, 0, 2, 1, 2);
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(m_show_category_names), wm_settings->category_show_name);
+	gtk_widget_set_sensitive(m_show_category_names, wm_settings->category_icon_size != -1);
 	g_signal_connect_slot(m_show_category_names, "toggled", &ConfigurationDialog::toggle_show_category_name, this);
 
 	// Add option to hide descriptions

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


More information about the Xfce4-commits mailing list