~ubuntu-branches/ubuntu/karmic/gnome-games/karmic-proposed

« back to all changes in this revision

Viewing changes to libgames-support/eggsmclient.c

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2009-04-14 12:31:51 UTC
  • mfrom: (1.1.65)
  • Revision ID: package-import@ubuntu.com-20090414123151-v18w2slnw6nx1f4d
Tags: 1:2.26.1-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
static gboolean sm_client_disable = FALSE;
179
179
static char *sm_client_state_file = NULL;
180
180
static char *sm_client_id = NULL;
 
181
static char *sm_config_prefix = NULL;
181
182
 
182
183
static gboolean
183
184
sm_client_post_parse_func (GOptionContext  *context,
228
229
    { "sm-client-id", 0, 0,
229
230
      G_OPTION_ARG_STRING, &sm_client_id,
230
231
      N_("Specify session management ID"), N_("ID") },
231
 
    /* Compatibility options */
 
232
    /* GnomeClient compatibility option */
232
233
    { "sm-disable", 0, G_OPTION_FLAG_HIDDEN,
233
234
      G_OPTION_ARG_NONE, &sm_client_disable,
234
235
      NULL, NULL },
 
236
    /* GnomeClient compatibility option. This is a dummy option that only
 
237
     * exists so that sessions saved by apps with GnomeClient can be restored
 
238
     * later when they've switched to EggSMClient. See bug #575308.
 
239
     */
 
240
    { "sm-config-prefix", 0, G_OPTION_FLAG_HIDDEN,
 
241
      G_OPTION_ARG_STRING, &sm_config_prefix,
 
242
      NULL, NULL },
235
243
    { NULL }
236
244
  };
237
245
  GOptionGroup *group;