[totem] main: Remove about menu item



commit 8634893f89793aa4e0a75e43b0ee24c1e2c30d05
Author: Bastien Nocera <hadess hadess net>
Date:   Tue May 7 10:13:52 2013 +0200

    main: Remove about menu item
    
    An about dialogue box doesn't really make sense for built-in
    applications, and the information should be available in the
    package or app manager instead.

 data/totem.ui    |    9 ---------
 src/totem-menu.c |   32 --------------------------------
 2 files changed, 0 insertions(+), 41 deletions(-)
---
diff --git a/data/totem.ui b/data/totem.ui
index 680f5be..91d044e 100644
--- a/data/totem.ui
+++ b/data/totem.ui
@@ -231,14 +231,6 @@
             </object>
             <accelerator key="F1"/>
          </child>
-         <child>
-            <object class="GtkAction" id="about">
-               <property name="label" translatable="yes">_About</property>
-               <property name="stock-id">gtk-about</property>
-               <property name="tooltip" translatable="yes">About this application</property>
-               <signal name="activate" handler="about_action_callback"/>
-            </object>
-         </child>
 
          <child>
                <object class="GtkToggleAction" id="sidebar">
@@ -415,7 +407,6 @@
          </menu>
          <menu name="help" action="help-menu">
             <menuitem name="contents" action="contents"/>
-            <menuitem name="about" action="about"/>
          </menu>
       </menubar>
       <popup name="totem-main-popup">
diff --git a/src/totem-menu.c b/src/totem-menu.c
index 3895326..27590ec 100644
--- a/src/totem-menu.c
+++ b/src/totem-menu.c
@@ -60,7 +60,6 @@ G_MODULE_EXPORT void skip_backwards_action_callback (GtkAction *action, Totem *t
 G_MODULE_EXPORT void volume_up_action_callback (GtkAction *action, Totem *totem);
 G_MODULE_EXPORT void volume_down_action_callback (GtkAction *action, Totem *totem);
 G_MODULE_EXPORT void contents_action_callback (GtkAction *action, Totem *totem);
-G_MODULE_EXPORT void about_action_callback (GtkAction *action, Totem *totem);
 G_MODULE_EXPORT void plugins_action_callback (GtkAction *action, Totem *totem);
 G_MODULE_EXPORT void show_sidebar_action_callback (GtkToggleAction *action, Totem *totem);
 G_MODULE_EXPORT void aspect_ratio_changed_callback (GtkRadioAction *action, GtkRadioAction *current, Totem 
*totem);
@@ -560,37 +559,6 @@ contents_action_callback (GtkAction *action, Totem *totem)
        totem_action_show_help (totem);
 }
 
-void
-about_action_callback (GtkAction *action, Totem *totem)
-{
-       const char *authors[] =
-       {
-               "Bastien Nocera <hadess hadess net>",
-               "Ronald Bultje <rbultje ronald bitfreak net>",
-               "Julien Moutte <julien moutte net> (GStreamer backend)",
-               "Tim-Philipp M\303\274ller <tim\100centricular\056net> (GStreamer backend)",
-               "Philip Withnall <philip tecnocode co uk>",
-               NULL
-       };
-       const char *artists[] = { "Jakub Steiner <jimmac ximian com>", NULL };
-       char *license = totem_interface_get_license ();
-
-       gtk_show_about_dialog (GTK_WINDOW (totem->win),
-                                    "version", VERSION,
-                                    "copyright", _("Copyright \xc2\xa9 2002-2009 Bastien Nocera"),
-                                    "comments", _("Videos"),
-                                    "authors", authors,
-                                    "artists", artists,
-                                    "translator-credits", _("translator-credits"),
-                                    "logo-icon-name", "totem",
-                                    "license", license,
-                                    "wrap-license", TRUE,
-                                    "website-label", _("Totem Website"),
-                                    "website", PACKAGE_URL,
-                                    NULL);
-       g_free (license);
-}
-
 static gboolean
 totem_plugins_window_delete_cb (GtkWidget *window,
                                   GdkEventAny *event,


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