[evolution/wip/webkit2] Remove calls for action that does not exist



commit bdca4eeee7d18b085d32e4cd1f8402b42a0473ce
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Jun 9 15:32:50 2016 +0200

    Remove calls for action that does not exist

 composer/e-composer-actions.h    |    2 --
 composer/e-msg-composer.c        |    5 -----
 composer/evolution-composer.ui   |    1 -
 modules/mail/em-composer-prefs.c |    6 ------
 4 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/composer/e-composer-actions.h b/composer/e-composer-actions.h
index eb8a4aa..863cc8f 100644
--- a/composer/e-composer-actions.h
+++ b/composer/e-composer-actions.h
@@ -56,8 +56,6 @@
        E_COMPOSER_ACTION ((composer), "smime-encrypt")
 #define E_COMPOSER_ACTION_SMIME_SIGN(composer) \
        E_COMPOSER_ACTION ((composer), "smime-sign")
-#define E_COMPOSER_ACTION_UNICODE_SMILEYS(composer) \
-       E_COMPOSER_ACTION ((composer), "unicode-smileys")
 #define E_COMPOSER_ACTION_TOOLBAR_PGP_ENCRYPT(composer) \
        E_COMPOSER_ACTION ((composer), "toolbar-pgp-encrypt")
 #define E_COMPOSER_ACTION_TOOLBAR_PGP_SIGN(composer) \
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 7979f7a..853ece1 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2444,11 +2444,6 @@ msg_composer_constructed (GObject *object)
        active = g_settings_get_boolean (settings, "composer-request-receipt");
        gtk_toggle_action_set_active (action, active);
 
-       action = GTK_TOGGLE_ACTION (ACTION (UNICODE_SMILEYS));
-       active = g_settings_get_boolean (settings, "composer-unicode-smileys");
-       gtk_toggle_action_set_active (action, active);
-       g_object_unref (settings);
-
        /* Clipboard Support */
 
        g_signal_connect (
diff --git a/composer/evolution-composer.ui b/composer/evolution-composer.ui
index 7acd273..b74bb30 100644
--- a/composer/evolution-composer.ui
+++ b/composer/evolution-composer.ui
@@ -51,7 +51,6 @@
       <menuitem action='request-read-receipt'/>
       <menuitem action='prioritize-message'/>
       <separator/>
-      <menuitem action='unicode-smileys'/>
       <menu action='charset-menu'/>
     </menu>
   </menubar>
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index ecdcf40..d7c5da4 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -1162,12 +1162,6 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
                widget, "active",
                G_SETTINGS_BIND_DEFAULT);
 
-       widget = e_builder_get_widget (prefs->builder, "chkUnicodeSmileys");
-       g_settings_bind (
-               settings, "composer-unicode-smileys",
-               widget, "active",
-               G_SETTINGS_BIND_DEFAULT);
-
        widget = e_builder_get_widget (prefs->builder, "chkRequestReceipt");
        g_settings_bind (
                settings, "composer-request-receipt",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]