Adding a Sidebar Icon to my FinderSync extension - macos

I'm developing a FinderSync extension based on the following documentation:
https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Finder.html
I'm failing to add a sidebar icon.
I've followed the steps: Created the .iconset folder and filled it with the requested PNGs. Added the folder to my info.plist etc.
But I don't see any icon in the sidebar on my monitored folders.
Context menu, toolbar button and badges works fine.
What could I be missing? Is there any limitation that the documentation fails to mention? Anything tricky with step 4?

Apparently its indeed extremely important to obey Apple's constraints regarding the icons:
they must be
"monochromatic images that are drawn just using black and
transparency"
To my surprise, when a designer gave me pngs that complied with the mentioned above, everything worked like a charm.
Please comment if you encounter any other difficulty, as the documentation is very lacking.

The documentation mentions several exceptions where your app icon will not replace the folder's icon:
The sidebar icons you provide will replace the default folder icons in the Finder’s sidebar for any of the root folders that your extension is monitoring.
This icon does not replace the icon for any folders contained by your monitored folder.
It also does not replace the icon for any system folders that you may be monitoring (for example, Documents, Desktop, Applications, and Downloads).
https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Finder.html

Related

Xcode 5 doesn't let me adding Icons and Launch Images

I am using Xocde 5 , in my Phone Project I am working on I am having some problem on adding Icons and Launch Images to my project. I don't use storyboard and asset catalog , so I always delete them after creating a new project.
Usually, when "Don't use asset catalog" is selected in the Launch Images and Icons section in general tab of project settings , I see there's option for adding images for different screen sizes. But currently, I don't get that options. "Don't use asset catalog" is selected here , but there's no other things on that menu and right arrow icon beside that does nothing when I click that. So, It seems there's no way I can add launch images and app icons to my project.
Can anyone give me some hint , how can I resolve that. I have to add Launch Images and App Icons. Thanks in advance for your help.
I have managed to solve it. I have copied Images.xcassets file from another project and added to my project. Then I got the options to add images in the place I mentioned in the attached image in the question. So, I have deleted the images that came from other projects in the asset catalog and add the necessary files there from my project. Now everything is fine.
Another solution might be by adding a 'New App Icon' and/or 'New Launchimage' in the Assets Catalog and then select the created image sets in project settings.

Plone 4.2 - how can I change the logo in a diazo theme?

I have just installed a theme in Plone called beyondskins.responsive. Now I want to change the logo so that it uses the logo for my site and not the default Plone logo. I've spent an hour googling this problem and I have not found a solution.
One of the places I looked was here: http://pypi.python.org/pypi/plone.app.theming#modifying-the-theme This site tells me "You can modify a theme by clicking Modify theme underneath a theme in the Themes tab of the Theming control panel." However, I don't know how to find the "Theming control panel" that they are speaking of. When I go to "Site Setup" after logging in as admin I see an option called "Diazo theme" and another option called "Themes" (just the fact that there are two annoys me...) but neither of these options has a "Modify theme" option.
Another place I looked was here: http://quintagroup.com/services/support/tutorials/index_html#plone-visual-design These guys have separate tutorials for each of about 30 different themes (one tutorial for customizing the Estate theme, another tutorial for customizing the Estate Classic theme, another tutorial for customizing the Coral theme, and so on...) The theme I am interested isn't listed, but all the tutorials seem to be similar and the first thing they address is how to change the logo. For instance, here are the instructions for changing the SkyCream theme logo: http://quintagroup.com/services/support/tutorials/skycream/diazo/logo
They tell me: "You can replace this logo with yours via ZMI. Open portal_skins -> sunburst_images folder, there is logo.png image. To set your own logo press Customize button." However, my system, which is running Plone 4.2 does not have a Customize button at this location. Perhaps these tutorials are aimed at Plone 4.1.
I'm starting to feel like I could have written my own theme from scratch faster than figuring out how Plone works. Please help.
UPDATE: Ok, so if I go to: mysite:8080/manage_main I get a list of the stuff at the Zope root. From there I click on my Plone site. From there I click on "Portal Skins". From there I click on "Sunburst Images". I then see a page with links to logo.png and pb_close.png. I then click on "logo.png". At the bottom of that page there is a button called "Customize". I click on it and it takes me to a page with the title "Image at /myplonesite/portal_skins/custom/logo.png" and gives me an option to choose an image file to upload. So I upload the image file that I would like to use as my logo. I then click "Save Changes". Now, my image file is larger than the original Plone logo. So it shows a larger logo, my logo, on this page after I complete the upload. I then go to my site to see my new logo. What I see instead, however, is the original Plone logo, but this time it is blown up much bigger!!! So it didn't change to a new logo -- it just kept the same logo but used the sizing information for the bigger image. I would much prefer to just deal with the HTML/CSS directly as opposed to working through a GUI, but I can't figure out where the html/css files are stored for the theme -- they appear to be packaged in a .egg file.
I'm going to assume that the theme is using the static HTML file (as referenced by the rule in rules.xml) to place the logo, rather than pulling Plone's standard logo through using a rule. In this case, you simply edit the theme HTML file (usually theme.html or index.html) and/or replace the image file it references.
In other words: if you know how to do this with HTML and CSS, you know how to edit the theme.
As a side note: In Plone 4.3, we'll ship with an in-Plone theme editor that should make this even easier. You'll get an option to make a new, in-Plone editable copy of a theme with a rich HTML editor that you can use to modify the markup easily.

Adding a toolbar button to a Thundebird Compose Message window

Anyone had any luck adding a custom toolbar button to the Compose window of Thunderbird or know of an example plugin that does it? I'm new to Thunderbird development and haven't had any luck getting https://developer.mozilla.org/en/Custom_Toolbar_Button to work for the Compose window.
What Mr. Jonathan pointed out is a good tip, and that particular extension does have an example of what you are looking for.
Open up your own chrome manifest file and make sure your code is telling Thunderbird which of your own xul files to "align" with its own xul files. In these examples, we will assume that your xul file is named overlay.xul and it has the code for both the button in the toolbar, as well as anything you want to do in the message-compose window.
If you find that your button won't show in the "customize toolbar" dialogue, it is because the xul is mismatched in your chrome manifest.
Make sure this in your chrome.manifest:
#THIS will use your xul file for the message-composing window
overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://youraddon/content/overlay.xul
#If you want a button, too, make sure this is in your file, too.
overlay chrome://global/content/customizeToolbar.xul chrome://youraddon/content/overlay.xul
You should look at the code of addons that perform (succesfully) a similar task, e.g. https://addons.mozilla.org/en-US/thunderbird/addon/latex-it/. In particular, look at the chrome.manifest file and the overlay.css and overlay.xul files.
Please keep in mind that the toolbar button will not appear by default, you'll first have to right-click on the toolbar then hit "customize".

Source of Thunderbird's Default Theme by Arvid Axelsson

I need to edit the original icons from Thunderbird's Default Theme by Arvid Axelsson.
Does Mozilla provides an SVG version?
I need to know the style of the icons, because they're really specific (inner-shadow etc). It's not a simple -moz-effect (CSS). Does anybody know where to find or download the real skin-source or how to view files inside chrome://global/skin?
There are actually three default themes - Windows, Linux and Mac OS X. You seem to be talking about the Windows theme which is indeed being attributed to Arvid Axelsson even though he doesn't seem to be working on it (looks like he created the theme around Thunderbird 1.0 and other people took over since).
Looking at the source code repository, the icons are there but their source code isn't. I also checked the bugs associated with icon changes and the source code of these icons indeed doesn't seem to be public. Which means that the only way for you would be contacting the person who designed the icons. That would be Andreas Nilsson, click his name in bug 671236 to send him a mail.

How do you create icons/images at address bar

This is a pretty staright question I guess,How do we create images over the left of address bar like images or icons. Few examples are mentioned here Joel whose personal image is embeded on far left of address bar and
Mashable you can see 'M'. Surprisingly these images/Icons are only displayed in Firefox. Do we need to use any special tags or something.
Thanks
EDIT
In chrome for some reason you can see the icon only if the tab is not in focus. This is not the case in Firefox.
You want to add a favicon to your project.
This in an image file (usually named 'favicon.ico') that lives in the root directory of your website.
Most browsers will automatically display this image in the address bar if it exists in the root directory.
There is lots of tools for creating a favicon. Here is one I found via a quick search for 'favicon' - http://www.favicon.cc/

Resources