summaryrefslogtreecommitdiff
path: root/src/totem-options.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2007-04-04 00:54:29 +0000
committerBastien Nocera <hadess@src.gnome.org>2007-04-04 00:54:29 +0000
commita75c34b0cca5e6d6e97f4d4981328df2e66b0581 (patch)
tree2c8b10cf481b14050ea1108646a9539f1a1c1c7b /src/totem-options.c
parentc6872d0c8dd03a5cca345586c647225e5157a155 (diff)
downloadtotem-a75c34b0cca5e6d6e97f4d4981328df2e66b0581.tar.gz
Patch from Michael Plump <plumpy@skylab.org> to avoid removing just added
2007-04-04 Bastien Nocera <hadess@hadess.net> * src/totem-options.c: (totem_options_process_for_server): Patch from Michael Plump <plumpy@skylab.org> to avoid removing just added files when in remote mode (Closes: #416253) svn path=/trunk/; revision=4191
Diffstat (limited to 'src/totem-options.c')
-rw-r--r--src/totem-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/totem-options.c b/src/totem-options.c
index d3f69b1d4..8d5fa98f2 100644
--- a/src/totem-options.c
+++ b/src/totem-options.c
@@ -154,6 +154,9 @@ totem_options_process_for_server (BaconMessageConnection *conn,
line = g_strdup_printf ("%03d %s", default_action,
full_path ? full_path : options->filenames[i]);
bacon_message_connection_send (conn, line);
+ /* Even if the default action is replace, we only want to replace with the
+ first file. After that, we enqueue. */
+ default_action = TOTEM_REMOTE_COMMAND_ENQUEUE;
g_free (line);
g_free (full_path);
}