[gnome-calendar] gcal-aplication: cleaning some code
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] gcal-aplication: cleaning some code
- Date: Thu, 4 Dec 2014 22:25:51 +0000 (UTC)
commit 20390c14433d241c387fb9d933f3cac319402246
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Thu Jun 20 17:21:17 2013 -0400
gcal-aplication: cleaning some code
Don't think a user will use shorcuts for changing views.
src/gcal-application.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 931b36d..d2001c4 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -282,8 +282,6 @@ gcal_application_set_app_menu (GApplication *app)
GSimpleAction *about;
GSimpleAction *quit;
- GVariant *va;
-
g_return_if_fail (GCAL_IS_APPLICATION (app));
priv = GCAL_APPLICATION (app)->priv;
@@ -336,13 +334,6 @@ gcal_application_set_app_menu (GApplication *app)
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Primary>n", "app.new_event", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Primary>f", "app.search", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Primary>q", "app.quit", NULL);
-
- va = g_variant_new_string ("month");
- gtk_application_add_accelerator (GTK_APPLICATION (app), "<Primary>m", "app.view", va);
- g_variant_unref (va);
- va = g_variant_new_string ("year");
- gtk_application_add_accelerator (GTK_APPLICATION (app), "<Primary>y", "app.view", va);
- g_variant_unref (va);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]