default to showing the background tab if wallpapers were given on the

2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main): default to showing the background tab
	if wallpapers were given on the command line

svn path=/trunk/; revision=7930
This commit is contained in:
Jens Granseuer 2007-07-29 20:21:10 +00:00 committed by Jens Granseuer
parent 59e5742370
commit ebff839891
2 changed files with 9 additions and 0 deletions

View file

@ -159,6 +159,10 @@ main (int argc, char **argv)
g_signal_connect_after (G_OBJECT (w), "response",
G_CALLBACK (main_window_response), data);
/* default to background page if files were given on the command line */
if (wallpaper_files && !install_filename && !start_page)
start_page = g_strdup ("background");
if (start_page != NULL) {
gchar *page_name;