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

noreply at xfce.org noreply at xfce.org
Mon Mar 13 19:10:40 CET 2017


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 18fd0617235af6b92e0b79a84c007821f6d7b7c2
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 e0200d5..37d68bd 100644
--- a/panel-plugin/configuration-dialog.cpp
+++ b/panel-plugin/configuration-dialog.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2015, 2016 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013, 2015, 2016, 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
@@ -597,6 +597,7 @@ GtkWidget* ConfigurationDialog::init_appearance_tab()
 	m_show_category_names = gtk_check_button_new_with_mnemonic(_("Show cate_gory names"));
 	gtk_grid_attach(menu_table, m_show_category_names, 0, 1, 2, 1);
 	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