My first bug fix

Continuing on from my last post.

  • step #4 fix the problem. So it turns out that the way in which the icons were being displayed wasn’t exactly incorrect. We were just letting the “gtk-menu-images” overwrite us and not show the menu icons for the application. The solution is in gtk_image_menu_item_set_always_show_image (). This forces the display of the icons we specify. Thanks goes out to Glatzor and his comment to my original post about this issue. Thanks also goes out to kklimonda from #ubuntu-app-devel on FreeNode for helping me figure out the right syntax and areas to add this item. There was some grepping and reading involved on my part. I had the right file and was close to the right area, just didn’t have it 100% on my own.
  • step #5 submit fix to launchpad. Thanks goes out to doctormo for helping with this one. I had already used Ground Control to pull down a branch of my own to work on. Now it was just a matter of cleaning up the added files from compiling and committing my changes. After that you upload the changes to launchpad and propose the changes to be merged into the main trunk. I also linked my branch to the existing bug to keep things in order. Now I just wait for the maintainer to hopefully merge my changes and for them to make it into the next build of gSTM in some future version of ubuntu.
  • step #6 Now what I’d like to do is take my changes and the changes made in trunk that aren’t in the version of gSTM in the Ubuntu repositories, compile them all together, package them and submit them to my own PPA until they all make it into the main repositories. It’s going to be a bit pick and choose or at least involve some more bug fixing since one of the branches made a change that broke the notification icon.  I might revert these changes in my PPA build since I don’t care for the intended new icon anyway.

Daily Accomplishments:

  • fixed my first ubuntu bug!