[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/06: Fix category names turning off at login. (bug #13422)

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


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

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

commit 7160cdba6378be792b8aae3d2f315b6ec130ffe3
Author: Graeme Gott <graeme at gottcode.org>
Date:   Mon Mar 13 14:00:05 2017 -0400

    Fix category names turning off at login. (bug #13422)
---
 panel-plugin/settings.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/settings.cpp b/panel-plugin/settings.cpp
index e8b4784..09e8c92 100644
--- a/panel-plugin/settings.cpp
+++ b/panel-plugin/settings.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2014, 2015, 2016 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013, 2014, 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
@@ -180,7 +180,7 @@ void Settings::load(char* file)
 
 	category_hover_activate = xfce_rc_read_bool_entry(rc, "hover-switch-category", category_hover_activate);
 	category_icon_size = xfce_rc_read_int_entry(rc, "category-icon-size", category_icon_size);
-	category_show_name = xfce_rc_read_bool_entry(rc, "category-show-name", category_show_name) && (category_icon_size != -1);
+	category_show_name = xfce_rc_read_bool_entry(rc, "category-show-name", category_show_name) || (category_icon_size == -1);
 
 	load_hierarchy = xfce_rc_read_bool_entry(rc, "load-hierarchy", load_hierarchy);
 

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


More information about the Xfce4-commits mailing list