[gyrus] Remove reference to preferences in the code
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gyrus] Remove reference to preferences in the code
- Date: Sun, 26 Dec 2010 15:30:05 +0000 (UTC)
commit 686ebe823df09ce4c811ae2e5c42425fe7f4ea6d
Author: Claudio Saavedra <csaavedra igalia com>
Date: Sun Dec 26 14:46:51 2010 +0200
Remove reference to preferences in the code
Since it doesn't exist and it's unlikely to be needed any time soon.
po/POTFILES.in | 1 -
src/gyrus-main-app.c | 12 ------------
src/gyrus-preferences.c | 47 -----------------------------------------------
src/gyrus-preferences.h | 37 -------------------------------------
4 files changed, 0 insertions(+), 97 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index db25f1c..cb09d90 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,7 +5,6 @@ gyrus.desktop.in.in
src/glade/create_mailbox.glade
src/glade/find.glade
src/glade/page.glade
-src/glade/preferences.glade
src/glade/report.glade
src/glade/sessions.glade
src/gyrus-admin-acl.c
diff --git a/src/gyrus-main-app.c b/src/gyrus-main-app.c
index 6f31cf2..7d6d873 100644
--- a/src/gyrus-main-app.c
+++ b/src/gyrus-main-app.c
@@ -33,7 +33,6 @@
#include "gyrus-dialog-find-mailbox.h"
#include "gyrus-main-app.h"
#include "gyrus-session.h"
-#include "gyrus-preferences.h"
#include "gyrus-admin-mailbox.h"
#include "gyrus-report.h"
@@ -157,13 +156,6 @@ gyrus_main_app_on_edit_mailbox_remove (GtkWidget *widget G_GNUC_UNUSED,
}
static void
-gyrus_main_app_on_edit_preferences (GtkWidget *widget G_GNUC_UNUSED,
- gpointer user_data)
-{
- gyrus_preferences_show_dialog ();
-}
-
-static void
gyrus_main_app_on_acl_entry_delete (GtkWidget *widget G_GNUC_UNUSED,
gpointer user_data)
{
@@ -358,8 +350,6 @@ static const char *ui_description =
" </menu>\n"
" <menu action='EditMenu'>\n"
" <menuitem action='Find'/>\n"
-/*" <separator/>\n"
- " <menuitem action='Preferences'/>\n"*/
" </menu>\n"
" <menu action='AclMenu'>\n"
" <menuitem action='EntryNew'/>\n"
@@ -401,8 +391,6 @@ static const GtkActionEntry entries_window[] = {
G_CALLBACK (gyrus_main_app_on_file_exit) },
{ "About", GTK_STOCK_ABOUT, NULL, NULL, NULL,
G_CALLBACK (gyrus_main_app_on_help_about) }
-/* { "Preferences", GTK_STOCK_PREFERENCES, N_("_Preferences"), NULL,
- N_("Show the program preferences"), gyrus_main_app_on_edit_preferences } */
};
static const GtkActionEntry entries_server[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]