What is the process for submitting patches?
I wrote a patch for the gmail applet to open the mail item being clicked on directly in the inbox.
Curious what the process is for submitting it?
bzr diff output:
--- Gmail/Gmail.py 2012-03-12 10:22:04 +0000
+++ Gmail/Gmail.py 2012-05-05 17:40:43 +0000
@@ -26,6 +26,7 @@
import libxml2 # used to parse XML content from Gmail inbox
import os # used to find paths and to launch 'aplay'
import sys # used to find relative paths
+import re
import SVGmaker # home-made module to edit SVG counter emblem
import gtk # used for Menu class displaying inbox
@@ -54,7 +55,7 @@
- menu_item.
+ menu_item.
# add a separator if mail is not last in list
@@ -68,11 +69,19 @@
- def open_mail(self, mail=None):
+ def open_mail(self, menu, mail=None):
""" Opens the mail URL """
- os.popen(
+ try:
+ link = mail['link']
+ match = re.search(
+ if match:
+ link = 'https:/
+ print link
+ os.popen(
+ except KeyError:
+ os.popen(
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alvin for more information if necessary.