totem r6226 - in trunk: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r6226 - in trunk: . src
- Date: Wed, 1 Apr 2009 21:19:24 +0000 (UTC)
Author: hadess
Date: Wed Apr 1 21:19:24 2009
New Revision: 6226
URL: http://svn.gnome.org/viewvc/totem?rev=6226&view=rev
Log:
2009-04-01 Bastien Nocera <hadess hadess net>
* src/totem-options.c (totem_options_process_for_server):
* src/totem-options.h: Remove --print-playing, we
have a D-Bus plugin to export that data now (Closes: #512232)
Modified:
trunk/ChangeLog
trunk/src/totem-options.c
trunk/src/totem-options.h
Modified: trunk/src/totem-options.c
==============================================================================
--- trunk/src/totem-options.c (original)
+++ trunk/src/totem-options.c Wed Apr 1 21:19:24 2009
@@ -62,8 +62,6 @@
{"enqueue", '\0', 0, G_OPTION_ARG_NONE, &optionstate.enqueue, N_("Enqueue"), NULL},
{"replace", '\0', 0, G_OPTION_ARG_NONE, &optionstate.replace, N_("Replace"), NULL},
{"no-existing-session", '\0', 0, G_OPTION_ARG_NONE, &optionstate.notconnectexistingsession, N_("Don't connect to an already-running instance"), NULL},
- /* translators: this option prints the current movie's title on the command-line */
- {"printplaying", '\0', 0, G_OPTION_ARG_NONE, &optionstate.printplaying, N_("Print playing movie"), NULL},
{"seek", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_INT64, &optionstate.seek, N_("Seek"), NULL},
{"playlist-idx", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_DOUBLE, &optionstate.playlistidx, N_("Playlist index"), NULL},
{ "version", 0, G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, option_version_cb, NULL, NULL },
@@ -121,22 +119,6 @@
commands = NULL;
default_action = TOTEM_REMOTE_COMMAND_REPLACE;
- /* We can only handle "printplaying" on its own */
- if (options->printplaying)
- {
- char *line;
- GMainLoop *loop = g_main_loop_new (NULL, FALSE);
-
- line = totem_option_create_line (TOTEM_REMOTE_COMMAND_SHOW_PLAYING);
- bacon_message_connection_set_callback (conn,
- totem_print_playing_cb, loop);
- bacon_message_connection_send (conn, line);
- g_free (line);
-
- g_main_loop_run (loop);
- return;
- }
-
/* Are we quitting ? */
if (options->quit) {
char *line;
Modified: trunk/src/totem-options.h
==============================================================================
--- trunk/src/totem-options.h (original)
+++ trunk/src/totem-options.h Wed Apr 1 21:19:24 2009
@@ -49,7 +49,6 @@
gboolean quit;
gboolean enqueue;
gboolean replace;
- gboolean printplaying;
gboolean notconnectexistingsession;
gdouble playlistidx;
gint64 seek;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]