[evolution-patches] [Fwd: patch for bug 47875, please review it. thanks.]



Hi, there,

Well, resend this mail since no response for a week. Please review this patch. Thanks.

Calvin

-------- Original Message --------
Subject: patch for bug 47875, please review it. thanks.
Date: Mon, 25 Aug 2003 19:45:45 +0800
From: calvin liu <calvin liu sun com>
Reply-To: calvin liu sun com
Organization: SCERI
To: evolution-patches ximian com
References: <200308251126 h7PBQmh24892 phys-sport-1 PRC Sun COM>


> Hi, there,
> 
> This the small patch for bug 47875 
> (http://bugzilla.ximian.com/show_bug.cgi?id=47875).
> Please review it.
> 
> Thanks.
> Calvin
> 
> ______________________________________________________________________
> Index: e-shortcuts.c
> ===================================================================
> RCS file: /cvs/gnome/evolution/shell/e-shortcuts.c,v
> retrieving revision 1.70
> diff -u -r1.70 e-shortcuts.c
> --- e-shortcuts.c	18 Feb 2003 20:52:38 -0000	1.70
> +++ e-shortcuts.c	25 Aug 2003 11:24:28 -0000
> @@ -1079,12 +1079,12 @@
>  e_shortcuts_add_default_shortcuts (EShortcuts *shortcuts,
>  				   int group_num)
>  {
> -	e_shortcuts_add_shortcut (shortcuts, 0, -1, E_SUMMARY_URI, _("Summary"), 0, "summary", NULL);
> +	e_shortcuts_add_shortcut (shortcuts, group_num, -1, E_SUMMARY_URI, _("Summary"), 0, "summary", NULL);
>  
> -	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:mail", _("Inbox"), 0, "mail", "inbox");
> -	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:calendar", _("Calendar"), 0, "calendar", NULL);
> -	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:tasks", _("Tasks"), 0, "tasks", NULL);
> -	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:contacts", _("Contacts"), 0, "contacts", NULL);
> +	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:mail", _("Inbox"), 0, "mail", "inbox");
> +	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:calendar", _("Calendar"), 0, "calendar", NULL);
> +	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:tasks", _("Tasks"), 0, "tasks", NULL);
> +	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:contacts", _("Contacts"), 0, "contacts", NULL);
>  }
>  
>  void

Index: e-shortcuts.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shortcuts.c,v
retrieving revision 1.70
diff -u -r1.70 e-shortcuts.c
--- e-shortcuts.c	18 Feb 2003 20:52:38 -0000	1.70
+++ e-shortcuts.c	25 Aug 2003 11:24:28 -0000
@@ -1079,12 +1079,12 @@
 e_shortcuts_add_default_shortcuts (EShortcuts *shortcuts,
 				   int group_num)
 {
-	e_shortcuts_add_shortcut (shortcuts, 0, -1, E_SUMMARY_URI, _("Summary"), 0, "summary", NULL);
+	e_shortcuts_add_shortcut (shortcuts, group_num, -1, E_SUMMARY_URI, _("Summary"), 0, "summary", NULL);
 
-	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:mail", _("Inbox"), 0, "mail", "inbox");
-	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:calendar", _("Calendar"), 0, "calendar", NULL);
-	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:tasks", _("Tasks"), 0, "tasks", NULL);
-	e_shortcuts_add_shortcut (shortcuts, 0, -1, "default:contacts", _("Contacts"), 0, "contacts", NULL);
+	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:mail", _("Inbox"), 0, "mail", "inbox");
+	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:calendar", _("Calendar"), 0, "calendar", NULL);
+	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:tasks", _("Tasks"), 0, "tasks", NULL);
+	e_shortcuts_add_shortcut (shortcuts, group_num, -1, "default:contacts", _("Contacts"), 0, "contacts", NULL);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]