fixed preference counter
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 8 Jun 2016 22:38:34 +0000 (00:38 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 8 Jun 2016 22:38:34 +0000 (00:38 +0200)
src/ui_pref.c

index cbb5986..0df9f1c 100644 (file)
@@ -183,7 +183,7 @@ void ui_pref_dialog_run(struct ui_psensor *ui)
        w_enable_launcher_counter = GTK_TOGGLE_BUTTON
                (gtk_builder_get_object(builder, "enable_launcher_counter"));
        gtk_toggle_button_set_active(w_enable_launcher_counter,
-                                    !config_is_count_visible());
+                                    config_is_count_visible());
 
        if (ui_unity_is_supported()) {
                gtk_widget_set_has_tooltip