[gnome-commander] Removed broken configure MIME types feature



commit 678f1db0b41678f25f1affe48269230419a60bfb
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Tue Feb 4 11:22:03 2014 +0100

    Removed broken configure MIME types feature

 doc/C/gnome-commander.xml     |   15 ++++++++-------
 src/gnome-cmd-main-menu.cc    |    6 ------
 src/gnome-cmd-user-actions.cc |    5 ++---
 src/gnome-cmd-user-actions.h  |    1 -
 4 files changed, 10 insertions(+), 17 deletions(-)
---
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 62edbfd..61a78a2 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -367,9 +367,6 @@
         <para>One instance mode</para>
       </listitem>
       <listitem>
-        <para>GNOME MIME types</para>
-      </listitem>
-      <listitem>
         <para>Remote connections using GnomeVFS: FTP, SFTP (SSH+FTP), WebDAV and SMB/CIFS (Samba)</para>
       </listitem>
       <listitem>
@@ -6789,10 +6786,6 @@
                         <entry><para>Maximize panel size</para></entry>
                     </row>
                     <row valign="top">
-                        <entry><para>MIME types</para></entry>
-                        <entry><para>Configure MIME types</para></entry>
-                    </row>
-                    <row valign="top">
                         <entry><para>Move files</para></entry>
                         <entry><para>Move files</para></entry>
                     </row>
@@ -7220,6 +7213,14 @@
             </listitem>
           </itemizedlist>
     </sect2>
+       <sect2 id="gnome-commander-mime-types">
+         <title>Handling MIME types</title>
+         <note><para>Since GNOME has changed to follow the freedesktop.org standard of handling mimetypes, 
the editing 
+         of preferred programs in GNOME Commander is broken (since v1.1.7). You have still some 
possibilities 
+         to change preferred default programs. For more informations please have a look at the 
+         <ulink type="http" url="http://gcmd.github.io/doc.html#mime";>Tips and Tricks section</ulink> of 
+         the &app; home page.</para></note>
+       </sect2>
   </sect1>
 
 <!-- ============= Installation =========================== -->
diff --git a/src/gnome-cmd-main-menu.cc b/src/gnome-cmd-main-menu.cc
index 6880c16..57cd079 100644
--- a/src/gnome-cmd-main-menu.cc
+++ b/src/gnome-cmd-main-menu.cc
@@ -744,12 +744,6 @@ static void init (GnomeCmdMainMenu *main_menu)
             GNOME_APP_PIXMAP_STOCK, GTK_STOCK_ITALIC,
             NULL
         },
-        {
-            MENU_TYPE_ITEM, _("_MIME Types..."), "", NULL,
-            (gpointer) options_edit_mime_types, NULL,
-            GNOME_APP_PIXMAP_NONE, 0,
-            NULL
-        },
         MENUTYPE_END
     };
 
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 8ddc323..05f744e 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -196,7 +196,6 @@ static UserActionData user_actions_data[] = {
                                              {mark_unselect_all, "mark.unselect_all", N_("Unselect all")},
                                              {no_action, "no.action", N_("Do nothing")},
                                              {options_edit, "options.edit", N_("Options")},
-                                             {options_edit_mime_types, "options.edit_mime_types", N_("MIME 
types")},
                                              {options_edit_shortcuts, "options.shortcuts", N_("Keyboard 
shortcuts")},
                                              {plugins_configure, "plugins.configure", N_("Configure 
plugins")},
                                              {plugins_execute_python, "plugins.execute_python", N_("Execute 
Python plugin")},
@@ -1823,12 +1822,12 @@ void options_edit_shortcuts (GtkMenuItem *menuitem, gpointer not_used)
     gnome_cmd_key_shortcuts_dialog_new (gcmd_user_actions);
 }
 
-
+/* // commented out since it might be used again far in the future again
 void options_edit_mime_types (GtkMenuItem *menuitem, gpointer not_used)
 {
     edit_mimetypes (NULL, FALSE);
 }
-
+*/
 
 /************** Connections Menu **************/
 void connections_open (GtkMenuItem *menuitem, gpointer not_used)
diff --git a/src/gnome-cmd-user-actions.h b/src/gnome-cmd-user-actions.h
index fbb8672..a194cb6 100644
--- a/src/gnome-cmd-user-actions.h
+++ b/src/gnome-cmd-user-actions.h
@@ -319,7 +319,6 @@ GNOME_CMD_USER_ACTION(bookmarks_goto);
 
 /************** Options Menu **************/
 GNOME_CMD_USER_ACTION(options_edit);
-GNOME_CMD_USER_ACTION(options_edit_mime_types);
 GNOME_CMD_USER_ACTION(options_edit_shortcuts);
 
 /************** Connections Menu **************/


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