First Patch!

By awsoonn

I have to say, a first post is awkward to say the least, I mean if someone starts a blog they obviously think they have something to say, right? I’m just documenting my own experience with the Linux community in hopes that later, reading back in my own blog after I’m rich and powerful, I might be able to use my own experiences to make changes so that there is less of a barrier for other newcomers to the Linux community. That is the mindset right now, I wonder what I’ll be thinking a few months from now…

What has led me to start a blog today? What is different today from yesterday or the day before that? I finally decided to use my free time this summer to do something of worth and submitted my first patch for Rhythmbox.

Index: shell/rb-tray-icon.c
===================================================================
— shell/rb-tray-icon.c (revision 5715)
+++ shell/rb-tray-icon.c (working copy)
@@ -552,10 +552,10 @@

switch (event->scroll.direction) {
case GDK_SCROLL_UP:
- adjust = 0.1;
+ adjust = 0.02;
break;
case GDK_SCROLL_DOWN:
- adjust = -0.1;
+ adjust = -0.02;
break;
default:
return;

I know, two whole BIG CHANGES! :p It is something that has annoyed me to no end in Rythmbox for a long time; adjusting the volume with the mouse scroll wheel in the application and using the try icon had different levels of sensitivity…. FIXED!

The sad part is that I feel that the change is too small to be noticed or cared about by anyone that has powers to get it in the source tree for everyone to enjoy the fine-grain control, but it is a good first patch I think.

Of course, my thanks go out to seb128 and ivazquez for putting up with me in IRC today as well as I learned how things work.

~Dereck

Leave a Reply