[Xfce4-commits] <postler:master> Remove unused Preferences button from composer

Christian Dywan noreply at xfce.org
Thu Dec 16 02:30:01 CET 2010


Updating branch refs/heads/master
         to 1f8a1efa37c15d4ff7018b3bcd37d435c1d919b2 (commit)
       from 8fd1001f4fbb8db6cb159426a8e24cb2a2678876 (commit)

commit 1f8a1efa37c15d4ff7018b3bcd37d435c1d919b2
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Dec 16 02:13:28 2010 +0100

    Remove unused Preferences button from composer
    
    Fixes: https://bugs.launchpad.net/postler/+bug/690504

 postler/postler-composer.vala |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/postler/postler-composer.vala b/postler/postler-composer.vala
index cb6ffb5..3a5fd55 100644
--- a/postler/postler-composer.vala
+++ b/postler/postler-composer.vala
@@ -48,8 +48,6 @@ public class Postler.Composer : Gtk.Window {
                     <menuitem action="InsertEmoticonSad"/>
                     <separator/>
                     <menuitem action="AddressBook"/>
-                    <separator/>
-                    <menuitem action="Preferences"/>
                 </menu>
             </menubar>
             <toolbar>
@@ -59,7 +57,6 @@ public class Postler.Composer : Gtk.Window {
                 <toolitem action="FileAttach"/>
                 <separator/>
                 <toolitem action="AddressBook"/>
-                <toolitem action="Preferences"/>
                 <separator expand="true"/>
                 <toolitem action="Quote"/>
                 <toolitem action="InsertEmoticonSmileBig"/>
@@ -216,10 +213,6 @@ public class Postler.Composer : Gtk.Window {
         }
     }
 
-    void action_preferences () {
-        /* TODO */
-    }
-
     void action_close () {
         if (!window_not_closed ())
             destroy ();
@@ -323,8 +316,6 @@ public class Postler.Composer : Gtk.Window {
         { "Edit", null, N_("_Edit") },
         { "AddressBook", STOCK_ADDRESSBOOK, null, "<Ctrl><Shift>a",
           N_("Open the addressbook"), action_address_book },
-        { "Preferences", Gtk.STOCK_PREFERENCES, null, "<Ctrl><Alt>p",
-          N_("Configure the application preferences"), action_preferences },
         { "Quote", Gtk.STOCK_INDENT, N_("_Quote the selected text"), "",
           N_("Mark the selected text as a quote"), action_quote },
         { "InsertEmoticonSmileBig", STOCK_FACE_SMILE_BIG, N_("Insert Big _Smile"), "",



More information about the Xfce4-commits mailing list