View Full Version : [SOLVED] AppIndicator Mono reference
Canha
June 30th, 2012, 02:57 AM
Hello :) I want to use AppIndicator on my mono gtk# 2.0 application, which reference do I need to set/use? And I don't mean the "using AppIndicator;" instruction.
Thank you
directhex
June 30th, 2012, 10:06 AM
Install the package libappindicator0.1-cil-dev (apt:libappindicator0.1-cil-dev) and reference the assembly in your project by passing -pkg:appindicator-sharp-0.1 to the compiler (or ticking a reference on appindicator-sharp.dll in the MonoDevelop project references window)
See SparkleShare/Linux/SparkleStatusIcon.cs in the SparkleShare source code for sample usage.
Canha
June 30th, 2012, 12:36 PM
Thank you. Indeed, the key to this was not having that package installed. After installing, it is as simple as it gets, you just need to Edit references and tick the box. The sample usage tip was nice as well, kudos!
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.