window: Remove remaining overview mentions
There is no overview anymore -- Settings is always visualizing a panel at any given time. I just noticed that the Alt+Left shortcut was always broken too. This will be fixed in a following commit.
This commit is contained in:
parent
f109289538
commit
52469cec7c
6 changed files with 7 additions and 47 deletions
|
@ -59,7 +59,6 @@ G_DEFINE_TYPE (CcApplication, cc_application, GTK_TYPE_APPLICATION)
|
|||
const GOptionEntry all_options[] = {
|
||||
{ "version", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Display version number"), NULL },
|
||||
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, NULL, N_("Enable verbose mode"), NULL },
|
||||
{ "overview", 'o', 0, G_OPTION_ARG_NONE, NULL, N_("Show the overview"), NULL },
|
||||
{ "search", 's', 0, G_OPTION_ARG_STRING, NULL, N_("Search for the string"), "SEARCH" },
|
||||
{ "list", 'l', 0, G_OPTION_ARG_NONE, NULL, N_("List possible panel names and exit"), NULL },
|
||||
{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, NULL, N_("Panel to display"), N_("[PANEL] [ARGUMENT…]") },
|
||||
|
@ -168,10 +167,6 @@ cc_application_command_line (GApplication *application,
|
|||
{
|
||||
cc_window_set_search_item (self->window, search_str);
|
||||
}
|
||||
else if (g_variant_dict_contains (options, "overview"))
|
||||
{
|
||||
cc_window_set_overview_page (self->window);
|
||||
}
|
||||
else if (g_variant_dict_lookup (options, G_OPTION_REMAINING, "^a&ay", &start_panels))
|
||||
{
|
||||
const char *start_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue