patches/nautilus-05-context-menu.diff
author fujiwara
Wed, 14 Feb 2007 06:32:45 +0000
changeset 9275 79e80db48461
parent 9060 c457ded950ba
child 13208 6db500836d69
permissions -rw-r--r--
2007-02-14 Takao Fujiwara <[email protected]> * control-center.spec dasher.spec ekiga.spec eog.spec evince.spec evolution.spec file-roller.spec gcalctool.spec gdm.spec gedit.spec gimp.spec glade.spec gnome-desktop.spec gnome-pilot.spec gnome-system-monitor.spec gnome-terminal.spec gok.spec gtk2.spec gtkam.spec gucharmap.spec libwnck.spec nautilus.spec sound-juicer.spec totem.spec : Added Sun translations. * patches/control-center-06-custom-keybinding.diff patches/dasher-01-menu-entry.diff patches/ekiga-06-menu-entry.diff patches/eog-02-menu-entry.diff patches/evince-01-menu-entry.diff patches/evolution-02-menu-entry.diff patches/file-roller-01-menu-entry.diff patches/gcalctool-01-menu-entry.diff patches/gdm-02-branding-general.diff patches/gedit-02-menu-entry.diff patches/gimp-01-menu-entry.diff patches/glade-01-menu-entry.diff patches/gnome-desktop-01-jds-about-branding.diff patches/gnome-pilot-07-launch-menu-item.diff patches/gnome-system-monitor-02-launch-menu-item.diff patches/gnome-terminal-02-menu-entry.diff patches/gnome-utils-02-gnome-screenshot.diff patches/gnome-utils-05-logview-launch-menu-item.diff patches/gok-03-menu-comment.diff patches/gtk+-02-fileseldlg-navbuttons.diff patches/gtk+-05-file-chooser.diff patches/gtkam-01-menu-entry.diff patches/gucharmap-01-menu-entry.diff patches/libwnck-01-trusted-extensions.diff patches/nautilus-05-context-menu.diff patches/nautilus-07-lockdown.diff patches/nautilus-09-interface-changes.diff patches/nautilus-10-acl.diff patches/nautilus-11-trusted-extensions.diff patches/sound-juicer-02-menu-entry.diff patches/totem-02-menu-entry.diff : Updated for SUN_BRANDING * po-sun/Makefile: Updated for additional modules. * po-sun/gnome-utils: Updated translations. * po-sun/control-center po-sun/dasher po-sun/ekiga po-sun/eog po-sun/evince po-sun/evolution po-sun/file-roller po-sun/gcalctool po-sun/gdm po-sun/gedit po-sun/gimp po-sun/glade po-sun/gnome-desktop po-sun/gnome-menus po-sun/gnome-panel po-sun/gnome-pilot po-sun/gnome-system-monitor po-sun/gnome-terminal po-sun/gnome-utils po-sun/gok po-sun/gtk2 po-sun/gtkam po-sun/gucharmap po-sun/libwnck po-sun/metacity po-sun/nautilus po-sun/sound-juicer po-sun/totem : Added new translations. Fixes 6485370
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     1
diff -urN nautilus-2.14.1/src/file-manager/fm-desktop-icon-view.c nautilus-2.14.1-hacked/src/file-manager/fm-desktop-icon-view.c
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     2
--- nautilus-2.14.1/src/file-manager/fm-desktop-icon-view.c	2006-03-18 19:45:15.000000000 +1300
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     3
+++ nautilus-2.14.1-hacked/src/file-manager/fm-desktop-icon-view.c	2006-05-12 15:39:56.940987000 +1200
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
     4
@@ -590,6 +590,24 @@
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     5
 }
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     6
 
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     7
 static void
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     8
+action_help_callback (GtkAction *action,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
     9
+                      gpointer data)
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    10
+{
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    11
+        GError *error = NULL;
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    12
+        g_assert (FM_DIRECTORY_VIEW (data));
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    13
+
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    14
+        gnome_help_display_desktop_on_screen (NULL, "user-guide", "user-guide.xml", NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    15
+                                              gtk_widget_get_screen (GTK_WIDGET (data)), &error);
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    16
+
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    17
+        if (error) {
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    18
+                /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    19
+                eel_show_error_dialog (_("There was an error displaying help."), error->message,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    20
+                                       NULL);
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    21
+                g_error_free (error);
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    22
+        }
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    23
+}
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    24
+
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    25
+static void
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    26
 action_new_launcher_callback (GtkAction *action, gpointer data)
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    27
 {
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    28
 	char *desktop_directory;
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    29
@@ -621,6 +639,21 @@
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    30
 }
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    31
 
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    32
 static void
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    33
+action_change_resolution_callback (GtkAction *action,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    34
+                                   gpointer data)
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    35
+{
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    36
+        g_assert (FM_DIRECTORY_VIEW (data));
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    37
+
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    38
+        nautilus_launch_application_from_command (gtk_widget_get_screen (GTK_WIDGET (data)),
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    39
+                                                  /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    40
+                                                  _("Resolution"),
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    41
+                                                  "gnome-display-properties",
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    42
+                                                  NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    43
+                                                  FALSE);
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    44
+}
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    45
+
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    46
+
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    47
+static void
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    48
 action_empty_trash_conditional_callback (GtkAction *action,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    49
 					 gpointer data)
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    50
 {
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    51
@@ -687,6 +720,15 @@
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    52
 
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    53
 static const GtkActionEntry desktop_view_entries[] = {
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    54
 	/* name, stock id */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    55
+	{ "About JDS", "gtk-help",
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    56
+	  /* label, accelerator */
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    57
+	  /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    58
+	  N_("_Help"), NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    59
+	  /* tooltip */
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    60
+	  /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    61
+	  N_("About Sun Java Desktop System"),
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    62
+	  G_CALLBACK (action_help_callback) },
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    63
+	/* name, stock id */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    64
 	{ "New Launcher Desktop", NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    65
 	  /* label, accelerator */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    66
 	  N_("Create L_auncher..."), NULL,
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    67
@@ -694,13 +736,23 @@
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    68
 	  N_("Create a new launcher"),
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    69
 	  G_CALLBACK (action_new_launcher_callback) },
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    70
 	/* name, stock id */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    71
-	{ "Change Background", NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    72
+	{ "Desktop Background", NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    73
 	  /* label, accelerator */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    74
-	  N_("Change Desktop _Background"), NULL,
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    75
+	  /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    76
+	  N_("Desktop _Background..."), NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    77
 	  /* tooltip */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    78
 	  N_("Show a window that lets you set your desktop background's pattern or color"),
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    79
 	  G_CALLBACK (action_change_background_callback) },
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    80
 	/* name, stock id */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    81
+	{ "Screen Resolution", NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    82
+	  /* label, accelerator */
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    83
+	  /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    84
+	  N_("Screen _Resolution..."), NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    85
+	  /* tooltip */
9275
79e80db48461 2007-02-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 9060
diff changeset
    86
+	  /* SUN_BRANDING */
9060
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    87
+	  N_("Show a window that lets you set your desktop screen resolution"),
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    88
+	  G_CALLBACK (action_change_resolution_callback) },
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    89
+	/* name, stock id */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    90
 	{ "Empty Trash Conditional", NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    91
 	  /* label, accelerator */
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    92
 	  N_("Empty Trash"), NULL,
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    93
diff -urN nautilus-2.14.1/src/file-manager/nautilus-desktop-icon-view-ui.xml nautilus-2.14.1-hacked/src/file-manager/nautilus-desktop-icon-view-ui.xml
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    94
--- nautilus-2.14.1/src/file-manager/nautilus-desktop-icon-view-ui.xml	2005-05-03 00:31:08.000000000 +1200
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    95
+++ nautilus-2.14.1-hacked/src/file-manager/nautilus-desktop-icon-view-ui.xml	2006-05-12 15:39:27.060581000 +1200
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    96
@@ -2,6 +2,8 @@
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    97
 <popup name="background">
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    98
         <placeholder name="Before Zoom Items">
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
    99
                 <placeholder name="New Window Items">
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   100
+                        <menuitem name="About JDS" action="About JDS"/>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   101
+                        <separator/>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   102
                 </placeholder>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   103
                 <placeholder name="New Object Items">
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   104
                         <menuitem name="New Launcher" action="New Launcher Desktop"/>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   105
@@ -9,7 +11,8 @@
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   106
         </placeholder>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   107
         <placeholder name="After Zoom Items">
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   108
                 <placeholder name="Background Items">
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   109
-                        <menuitem name="Change Background" action="Change Background"/>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   110
+                        <menuitem name="Desktop Background" action="Desktop Background"/>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   111
+			<menuitem name="Screen Resolution" action="Screen Resolution"/>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   112
                 </placeholder>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   113
         </placeholder>
c457ded950ba 2007-01-23 Stephen Browne <[email protected]>
stephen
parents:
diff changeset
   114
 </popup>