title: Gnome 3 displays two icons for same app in dock
body: <p>I have created my own <code>.desktop</code> file for an application (<a href="http://www.sublimetext.com" rel="noreferrer">sublimetext</a>) in gnome 3 (fedora 16) I have succeeded in that:</p>
  
  <pre><code>[Desktop Entry]
  Version=1.0
  Name=Sublime Text 2
  Comment=Text Editor
  Terminal=false
  Exec=sublime
  Icon=/home/asher/apps/SublimeText2/Icon.png
  Type=Application
  Categories=TextEditor;Tools;
  X-Ayatana-Desktop-Shortcuts=NewWindow
  
  [NewWindow Shortcut Group]
  Name=New Window
  Exec=sublime
  </code></pre>
  
  <p>I want to add it to my favorites so it's locked to the sidebar. I did that, as you can see in the first screenshot, where no windows are open. The problem is, when I then open the program, another icon displays in the dockbar. The second icon is where the windows for the program are listed. The windows are consolidated to one icon, as you can see in the third screenshoot with two windows open (only two icons, not three).</p>
  
  <p>Is there a way to make the favorited icon be the same as the icon that shows when the app launches? Does it have to be done in the program, or is this something I can do through a gnome 3 config file?</p>
  
  <p><a href="https://picasaweb.google.com/lh/photo/6UdYhSy_crubSqd0crKw2Ud5JcUrPrLQAvBx8uOjcmQ?feat=directlink" rel="noreferrer"><img src="https://lh6.googleusercontent.com/-b4eZ5acHm90/Tw-ILay96GI/AAAAAAAA9dM/oFgph3EOtzA/s200/No%252520sublime%252520windows.png" alt="No Sublime Windows"></a>
  <a href="https://picasaweb.google.com/lh/photo/uCrsftrKA9vQZYnuiwF2bEd5JcUrPrLQAvBx8uOjcmQ?feat=directlink" rel="noreferrer"><img src="https://lh6.googleusercontent.com/-tfZmtKWN3Ek/Tw-ILTptSbI/AAAAAAAA9dA/uTnSH0q4r_M/s200/One%252520sublime%252520window.png" alt="One Sublime Windows"></a>
  <a href="https://picasaweb.google.com/lh/photo/_N3SCaRkoWBlD9AbQ0HFSUd5JcUrPrLQAvBx8uOjcmQ?feat=directlink" rel="noreferrer"><img src="https://lh4.googleusercontent.com/-QJEY-HWEMqE/Tw-ILZWrNKI/AAAAAAAA9c8/0d1-bOLVvIw/s200/Two%252520sublime%252520windows.png" alt="Two Sublime Windows"></a>
  <br></p>