[gnome-applets/wip/muktupavels/netspeed] netspeed: port to libgnome-panel



commit efe2bd36c89f89017ff63f631b0821381e365ba0
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Mar 29 23:49:37 2020 +0300

    netspeed: port to libgnome-panel

 Makefile.am                                        |   2 -
 configure.ac                                       |   5 +-
 gnome-applets/Makefile.am                          |   3 +
 gnome-applets/ga-module.c                          |  11 ++
 .../src => gnome-applets/netspeed}/Makefile.am     |  16 +--
 {netspeed/src => gnome-applets/netspeed}/backend.c |   0
 {netspeed/src => gnome-applets/netspeed}/backend.h |   0
 {netspeed/src => gnome-applets/netspeed}/label.c   |   0
 {netspeed/src => gnome-applets/netspeed}/label.h   |   0
 .../netspeed/netspeed-applet.c                     | 121 ++++++++++-----------
 .../netspeed/netspeed-applet.h                     |   4 +-
 gnome-applets/netspeed/netspeed-menu.xml           |  22 ++++
 .../src => gnome-applets/netspeed}/preferences.c   |   0
 .../src => gnome-applets/netspeed}/preferences.h   |   2 +-
 netspeed/Makefile.am                               |   3 -
 netspeed/data/Makefile.am                          |  30 -----
 netspeed/data/netspeed-menu.xml                    |  18 ---
 .../org.gnome.panel.Netspeed.panel-applet.in.in    |  11 --
 po/POTFILES.in                                     |   7 +-
 po/POTFILES.skip                                   |   1 -
 20 files changed, 104 insertions(+), 152 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5ef012077..033e20249 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,6 @@ always_built_SUBDIRS =  \
        geyes           \
        mini-commander \
        multiload \
-       netspeed \
        sticky-notes    \
        window-buttons \
        window-title \
@@ -47,7 +46,6 @@ DIST_SUBDIRS = \
        geyes           \
        mini-commander  \
        multiload       \
-       netspeed        \
        accessx-status  \
        sticky-notes    \
        cpufreq         \
diff --git a/configure.ac b/configure.ac
index 7307af18d..439242f11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -348,6 +348,7 @@ AC_CONFIG_FILES([
   gnome-applets/brightness/Makefile
   gnome-applets/command/Makefile
   gnome-applets/gweather/Makefile
+  gnome-applets/netspeed/Makefile
   gnome-applets/timer/Makefile
   gnome-applets/trash/Makefile
   gnome-applets/window-picker/Makefile
@@ -396,10 +397,6 @@ AC_CONFIG_FILES([
   multiload/Makefile
   multiload/src/Makefile
 
-  netspeed/data/Makefile
-  netspeed/src/Makefile
-  netspeed/Makefile
-
   sticky-notes/Makefile
   sticky-notes/data/Makefile
   sticky-notes/src/Makefile
diff --git a/gnome-applets/Makefile.am b/gnome-applets/Makefile.am
index c5a0d4d17..f07aff8e7 100644
--- a/gnome-applets/Makefile.am
+++ b/gnome-applets/Makefile.am
@@ -5,6 +5,7 @@ SUBDIRS = \
        brightness \
        command \
        gweather \
+       netspeed \
        timer \
        trash \
        window-picker \
@@ -36,6 +37,7 @@ org_gnome_gnome_applets_la_LIBADD = \
        $(top_builddir)/gnome-applets/brightness/libbrightness-applet.la \
        $(top_builddir)/gnome-applets/command/libcommand-applet.la \
        $(top_builddir)/gnome-applets/gweather/libgweather-applet.la \
+       $(top_builddir)/gnome-applets/netspeed/libnet-speed-applet.la \
        $(top_builddir)/gnome-applets/timer/libtimer-applet.la \
        $(top_builddir)/gnome-applets/trash/libtrash-applet.la \
        $(top_builddir)/gnome-applets/window-picker/libwindow-picker-applet.la \
@@ -57,6 +59,7 @@ ui_files = \
        brightness/brightness-applet-menu.xml \
        command/command-applet-menu.xml \
        gweather/gweather-applet-menu.xml \
+       netspeed/netspeed-menu.xml \
        timer/timer-applet-menu.xml \
        trash/trash-empty.ui \
        trash/trash-menu.xml \
diff --git a/gnome-applets/ga-module.c b/gnome-applets/ga-module.c
index 792d2166c..dfc0eb9bc 100644
--- a/gnome-applets/ga-module.c
+++ b/gnome-applets/ga-module.c
@@ -25,6 +25,7 @@
 #include "brightness/brightness-applet.h"
 #include "command/command-applet.h"
 #include "gweather/gweather-applet.h"
+#include "netspeed/netspeed-applet.h"
 #include "timer/timer-applet.h"
 #include "trash/trash-applet.h"
 #include "window-picker/wp-applet.h"
@@ -66,6 +67,13 @@ ga_get_applet_info (const char *id)
       description = _("Monitor the current weather conditions, and forecasts");
       icon_name = "weather-storm";
     }
+  else if (g_strcmp0 (id, "netspeed") == 0)
+    {
+      type_func = netspeed_applet_get_type;
+      name = _("Network Monitor");
+      description = _("Netspeed Applet");
+      icon_name = "netspeed-applet";
+    }
   else if (g_strcmp0 (id, "timer") == 0)
     {
       type_func = timer_applet_get_type;
@@ -109,6 +117,8 @@ ga_get_applet_id_from_iid (const char *iid)
     return "command";
   else if (g_strcmp0 (iid, "GWeatherAppletFactory::GWeatherApplet") == 0)
     return "gweather";
+  else if (g_strcmp0 (iid, "NetspeedAppletFactory::NetspeedApplet") == 0)
+    return "netspeed";
   else if (g_strcmp0 (iid, "TimerAppletFactory::TimerApplet") == 0)
     return "timer";
   else if (g_strcmp0 (iid, "WindowPickerFactory::WindowPicker") == 0 ||
@@ -137,6 +147,7 @@ gp_module_load (GpModule *module)
                             "brightness",
                             "command",
                             "gweather",
+                            "netspeed",
                             "timer",
                             "trash",
                             "window-picker",
diff --git a/netspeed/src/Makefile.am b/gnome-applets/netspeed/Makefile.am
similarity index 68%
rename from netspeed/src/Makefile.am
rename to gnome-applets/netspeed/Makefile.am
index a7b96205e..2f6b83887 100644
--- a/netspeed/src/Makefile.am
+++ b/gnome-applets/netspeed/Makefile.am
@@ -1,22 +1,17 @@
 NULL =
 
-uidir = $(pkgdatadir)/ui
-
-netspeed_applet_libdir = $(pkglibdir)
-netspeed_applet_lib_LTLIBRARIES = libnet-speed-applet.la
+noinst_LTLIBRARIES = libnet-speed-applet.la
 
 libnet_speed_applet_la_CPPFLAGS = \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.net-speed\" \
        -DG_LOG_USE_STRUCTURED=1 \
-       -DGNOMELOCALEDIR=\""$(localedir)"\" \
-       -DNETSPEED_MENU_UI_DIR=\""$(uidir)"\" \
        -DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
        -I$(top_srcdir) \
        -I$(includedir) \
        $(NULL)
 
 libnet_speed_applet_la_CFLAGS = \
-       $(GNOME_APPLETS_CFLAGS) \
+       $(GNOME_PANEL_CFLAGS) \
        $(GTOP_APPLETS_CFLAGS) \
        $(WARN_CFLAGS) \
        $(AM_CFLAGS) \
@@ -27,20 +22,19 @@ libnet_speed_applet_la_SOURCES = \
        backend.c \
        label.h \
        label.c \
-       netspeed.h \
-       netspeed.c \
+       netspeed-applet.c \
+       netspeed-applet.h \
        preferences.h \
        preferences.c \
        $(NULL)
 
 libnet_speed_applet_la_LDFLAGS = \
-       -avoid-version \
        $(WARN_LDFLAGS) \
        $(AM_LDFLAGS) \
        $(NULL)
 
 libnet_speed_applet_la_LIBADD = \
-       $(GNOME_APPLETS_LIBS) \
+       $(GNOME_PANEL_LIBS) \
        $(GTOP_APPLETS_LIBS) \
        $(IWLIB) \
        $(NULL)
diff --git a/netspeed/src/backend.c b/gnome-applets/netspeed/backend.c
similarity index 100%
rename from netspeed/src/backend.c
rename to gnome-applets/netspeed/backend.c
diff --git a/netspeed/src/backend.h b/gnome-applets/netspeed/backend.h
similarity index 100%
rename from netspeed/src/backend.h
rename to gnome-applets/netspeed/backend.h
diff --git a/netspeed/src/label.c b/gnome-applets/netspeed/label.c
similarity index 100%
rename from netspeed/src/label.c
rename to gnome-applets/netspeed/label.c
diff --git a/netspeed/src/label.h b/gnome-applets/netspeed/label.h
similarity index 100%
rename from netspeed/src/label.h
rename to gnome-applets/netspeed/label.h
diff --git a/netspeed/src/netspeed.c b/gnome-applets/netspeed/netspeed-applet.c
similarity index 94%
rename from netspeed/src/netspeed.c
rename to gnome-applets/netspeed/netspeed-applet.c
index c1c1b3a30..f019c058f 100644
--- a/netspeed/src/netspeed.c
+++ b/gnome-applets/netspeed/netspeed-applet.c
@@ -1,6 +1,4 @@
-/*  netspeed.c
- *  vim:ts=4:sw=4:noexpandtab:cindent
- *
+/*
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 2 of the License, or
@@ -18,17 +16,17 @@
  *  Netspeed Applet was writen by Jörgen Scheibengruber <mfcn gmx de>
  */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif 
+#include "netspeed-applet.h"
 
 #include <math.h>
+#include <libgnome-panel/gp-utils.h>
 #include <gtk/gtk.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
+
 #include "backend.h"
 #include "label.h"
 #include "preferences.h"
-#include "netspeed.h"
 
  /* Icons for the interfaces */
 static const char* const dev_type_icon[DEV_UNKNOWN + 1] = {
@@ -67,7 +65,7 @@ static const char LOGO_ICON[] = "netspeed-applet";
  */
 struct _NetspeedApplet
 {
-       PanelApplet     parent;
+       GpApplet        parent;
 
        gint            size;
 
@@ -123,11 +121,14 @@ struct _NetspeedApplet
        GSettings      *settings;
 };
 
-G_DEFINE_TYPE (NetspeedApplet, netspeed_applet, PANEL_TYPE_APPLET)
+G_DEFINE_TYPE (NetspeedApplet, netspeed_applet, GP_TYPE_APPLET)
 
 static void
 update_tooltip(NetspeedApplet* applet);
 
+static void
+netspeed_applet_setup (GpApplet *applet);
+
 /* Adds a Pango markup "foreground" to a bytestring
  */
 static void
@@ -143,17 +144,16 @@ add_markup_fgcolor(char **string, const char *color)
  * or just the sum
  */
 static void
-applet_change_size_or_orient(PanelApplet *applet_widget, int arg1, NetspeedApplet *applet)
+applet_change_size_or_orient (NetspeedApplet *applet,
+                              GtkOrientation  orientation)
 {
        int size;
-       PanelAppletOrient orient;
        gboolean labels_dont_shrink;
 
        g_assert(applet);
 
        size = applet->size;
-       orient = panel_applet_get_orient(applet_widget);
-       
+
        g_object_ref(applet->pix_box);
        g_object_ref(applet->in_pix);
        g_object_ref(applet->in_label);
@@ -179,8 +179,8 @@ applet_change_size_or_orient(PanelApplet *applet_widget, int arg1, NetspeedApple
                gtk_container_remove(GTK_CONTAINER(applet->box), applet->pix_box);
                gtk_widget_destroy(applet->box);
        }
-               
-       if (orient == PANEL_APPLET_ORIENT_LEFT || orient == PANEL_APPLET_ORIENT_RIGHT) {
+
+       if (orientation == GTK_ORIENTATION_VERTICAL) {
                applet->box = gtk_vbox_new(FALSE, 0);
                if (size > 64) {
                        applet->sum_box = gtk_hbox_new(FALSE, 2);
@@ -1071,9 +1071,17 @@ static const GActionEntry menu_actions [] = {
        { "details",     details_cb,     NULL, NULL, NULL },
        { "preferences", preferences_cb, NULL, NULL, NULL },
        { "help",        help_cb,        NULL, NULL, NULL },
-       { "about",       about_cb,       NULL, NULL, NULL }
+       { "about",       about_cb,       NULL, NULL, NULL },
+       { NULL }
 };
 
+static void
+netspeed_applet_constructed (GObject *object)
+{
+  G_OBJECT_CLASS (netspeed_applet_parent_class)->constructed (object);
+  netspeed_applet_setup (GP_APPLET (object));
+}
+
 static void
 netspeed_applet_finalize (GObject *object)
 {
@@ -1202,6 +1210,7 @@ netspeed_applet_class_init (NetspeedAppletClass *netspeed_class)
        object_class = G_OBJECT_CLASS (netspeed_class);
        widget_class = GTK_WIDGET_CLASS (netspeed_class);
 
+       object_class->constructed = netspeed_applet_constructed;
        object_class->finalize = netspeed_applet_finalize;
 
        widget_class->button_press_event = netspeed_applet_button_press_event;
@@ -1219,35 +1228,18 @@ netspeed_applet_init (NetspeedApplet *netspeed)
 }
 
 static void
-setup_menu (PanelApplet *applet)
+setup_menu (GpApplet *applet)
 {
-       NetspeedApplet *netspeed;
-       GSimpleActionGroup *action_group;
+       const char *menu_resource;
        GAction *action;
-       gchar *ui_path;
 
-       netspeed = NETSPEED_APPLET (applet);
+       menu_resource = GRESOURCE_PREFIX "/ui/netspeed-menu.xml";
+       gp_applet_setup_menu_from_resource (applet, menu_resource, menu_actions);
 
-       action_group = g_simple_action_group_new ();
-       g_action_map_add_action_entries (G_ACTION_MAP (action_group),
-                                        menu_actions,
-                                        G_N_ELEMENTS (menu_actions),
-                                        netspeed);
-       ui_path = g_build_filename (NETSPEED_MENU_UI_DIR, "netspeed-menu.xml", NULL);
-       panel_applet_setup_menu_from_file (applet,
-                                          ui_path, action_group,
-                                          GETTEXT_PACKAGE);
-       g_free (ui_path);
-
-       gtk_widget_insert_action_group (GTK_WIDGET (applet), "netspeed",
-                                       G_ACTION_GROUP (action_group));
-
-       action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "preferences");
+       action = gp_applet_menu_lookup_action (applet, "preferences");
        g_object_bind_property (applet, "locked-down",
                                action, "enabled",
                                G_BINDING_DEFAULT|G_BINDING_INVERT_BOOLEAN|G_BINDING_SYNC_CREATE);
-
-       g_object_unref (action_group);
 }
 
 static void
@@ -1330,8 +1322,10 @@ netspeed_applet_settings_changed (GSettings   *settings,
                                   gpointer     user_data)
 {
        NetspeedApplet *netspeed;
+       GtkOrientation orientation;
 
        netspeed = NETSPEED_APPLET (user_data);
+       orientation = gp_applet_get_orientation (GP_APPLET (netspeed));
 
        if (key == NULL || g_strcmp0 (key, "refresh-time") == 0) {
                netspeed->refresh_time = g_settings_get_int (netspeed->settings, "refresh-time");
@@ -1374,7 +1368,7 @@ netspeed_applet_settings_changed (GSettings   *settings,
                out_color_changed (netspeed);
 
        if (key != NULL) {
-               applet_change_size_or_orient (PANEL_APPLET (netspeed), -1, netspeed);
+               applet_change_size_or_orient (netspeed, orientation);
                update_applet (netspeed);
        }
 }
@@ -1385,14 +1379,14 @@ netspeed_applet_size_allocate (GtkWidget     *widget,
                                gpointer       user_data)
 {
        NetspeedApplet *netspeed;
-       PanelAppletOrient orient;
+       GtkOrientation orientation;
        gint old_size;
 
        netspeed = NETSPEED_APPLET (user_data);
-       orient = panel_applet_get_orient (PANEL_APPLET (netspeed));
+       orientation = gp_applet_get_orientation (GP_APPLET (netspeed));
        old_size = netspeed->size;
 
-       if (orient == PANEL_APPLET_ORIENT_UP || orient == PANEL_APPLET_ORIENT_DOWN)
+       if (orientation == GTK_ORIENTATION_HORIZONTAL)
                netspeed->size = allocation->height;
        else
                netspeed->size = allocation->width;
@@ -1400,21 +1394,25 @@ netspeed_applet_size_allocate (GtkWidget     *widget,
        if (old_size == netspeed->size)
                return;
 
-       applet_change_size_or_orient (PANEL_APPLET (netspeed), -1, netspeed);
+       applet_change_size_or_orient (netspeed, orientation);
 }
 
-static gboolean
-netspeed_applet_factory (PanelApplet *applet,
-                         const gchar *iid,
-                         gpointer     data)
+static void
+placement_changed_cb (GpApplet        *applet,
+                      GtkOrientation   orientation,
+                      GtkPositionType  position,
+                      NetspeedApplet  *self)
+{
+       applet_change_size_or_orient (self, orientation);
+}
+
+static void
+netspeed_applet_setup (GpApplet *applet)
 {
        NetspeedApplet *netspeed;
        int i;
        GtkWidget *spacer, *spacer_box;
 
-       if (strcmp (iid, "NetspeedApplet"))
-               return FALSE;
-
        netspeed = NETSPEED_APPLET (applet);
 
        glibtop_init();
@@ -1430,7 +1428,7 @@ netspeed_applet_factory (PanelApplet *applet,
                netspeed->out_graph[i] = -1;
        }       
 
-       netspeed->settings = panel_applet_settings_new (applet, "org.gnome.gnome-applets.netspeed");
+       netspeed->settings = gp_applet_settings_new (applet, "org.gnome.gnome-applets.netspeed");
 
        g_signal_connect (netspeed->settings, "changed",
                          G_CALLBACK (netspeed_applet_settings_changed),
@@ -1441,9 +1439,9 @@ netspeed_applet_factory (PanelApplet *applet,
        netspeed->out_label = netspeed_label_new ();
        netspeed->sum_label = netspeed_label_new ();
 
-       panel_applet_add_text_class (applet, netspeed->in_label);
-       panel_applet_add_text_class (applet, netspeed->out_label);
-       panel_applet_add_text_class (applet, netspeed->sum_label);
+       gp_add_text_color_class (netspeed->in_label);
+       gp_add_text_color_class (netspeed->out_label);
+       gp_add_text_color_class (netspeed->sum_label);
 
        netspeed->in_pix = gtk_image_new ();
        netspeed->out_pix = gtk_image_new ();
@@ -1463,11 +1461,11 @@ netspeed_applet_factory (PanelApplet *applet,
 
        init_quality_pixbufs (netspeed);
 
-       applet_change_size_or_orient (applet, -1, netspeed);
+       applet_change_size_or_orient (netspeed, gp_applet_get_orientation (applet));
        gtk_widget_show_all (GTK_WIDGET (applet));
        update_applet (netspeed);
 
-       panel_applet_set_flags (applet, PANEL_APPLET_EXPAND_MINOR);
+       gp_applet_set_flags (applet, GP_APPLET_FLAGS_EXPAND_MINOR);
 
        netspeed_applet_setup_timeout (netspeed);
 
@@ -1479,13 +1477,11 @@ netspeed_applet_factory (PanelApplet *applet,
                          G_CALLBACK (icon_theme_changed_cb),
                          netspeed);
 
-       g_signal_connect (applet, "change_orient",
-                         G_CALLBACK (applet_change_size_or_orient),
+       g_signal_connect (applet, "placement-changed",
+                         G_CALLBACK(placement_changed_cb),
                          netspeed);
 
        setup_menu (applet);
-
-       return TRUE;
 }
 
 void
@@ -1560,8 +1556,3 @@ netspeed_applet_get_auto_device_name (void)
 
        return g_strdup ("lo");
 }
-
-PANEL_APPLET_IN_PROCESS_FACTORY ("NetspeedAppletFactory",
-                                 NETSPEED_TYPE_APPLET,
-                                 netspeed_applet_factory,
-                                 NULL)
diff --git a/netspeed/src/netspeed.h b/gnome-applets/netspeed/netspeed-applet.h
similarity index 95%
rename from netspeed/src/netspeed.h
rename to gnome-applets/netspeed/netspeed-applet.h
index 7991af352..e13f607b6 100644
--- a/netspeed/src/netspeed.h
+++ b/gnome-applets/netspeed/netspeed-applet.h
@@ -21,12 +21,12 @@
 #ifndef NETSPEED_APPLET_H
 #define NETSPEED_APPLET_H
 
-#include <panel-applet.h>
+#include <libgnome-panel/gp-applet.h>
 
 #define NETSPEED_TYPE_APPLET netspeed_applet_get_type ()
 G_DECLARE_FINAL_TYPE (NetspeedApplet, netspeed_applet,
                       NETSPEED, APPLET,
-                      PanelApplet)
+                      GpApplet)
 
 void         netspeed_applet_display_help            (NetspeedApplet *netspeed,
                                                       const gchar    *section);
diff --git a/gnome-applets/netspeed/netspeed-menu.xml b/gnome-applets/netspeed/netspeed-menu.xml
new file mode 100644
index 000000000..42f2d4bd5
--- /dev/null
+++ b/gnome-applets/netspeed/netspeed-menu.xml
@@ -0,0 +1,22 @@
+<interface>
+  <menu id="netspeed-menu">
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">Device _Details</attribute>
+        <attribute name="action">netspeed.details</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">_Preferences</attribute>
+        <attribute name="action">netspeed.preferences</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">_Help</attribute>
+        <attribute name="action">netspeed.help</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">_About</attribute>
+        <attribute name="action">netspeed.about</attribute>
+      </item>
+    </section>
+  </menu>
+</interface>
diff --git a/netspeed/src/preferences.c b/gnome-applets/netspeed/preferences.c
similarity index 100%
rename from netspeed/src/preferences.c
rename to gnome-applets/netspeed/preferences.c
diff --git a/netspeed/src/preferences.h b/gnome-applets/netspeed/preferences.h
similarity index 97%
rename from netspeed/src/preferences.h
rename to gnome-applets/netspeed/preferences.h
index a716fc751..ad3881025 100644
--- a/netspeed/src/preferences.h
+++ b/gnome-applets/netspeed/preferences.h
@@ -22,7 +22,7 @@
 #define NETSPEED_PREFERENCES_H
 
 #include <gtk/gtk.h>
-#include "netspeed.h"
+#include "netspeed-applet.h"
 
 #define NETSPEED_TYPE_PREFERENCES netspeed_preferences_get_type ()
 G_DECLARE_FINAL_TYPE (NetspeedPreferences, netspeed_preferences,
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2533d763c..dc53f2295 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -51,6 +51,9 @@ gnome-applets/ga-module.c
 gnome-applets/gweather/gweather-applet.c
 gnome-applets/gweather/gweather-dialog.c
 gnome-applets/gweather/gweather-pref.c
+[type: gettext/glade]gnome-applets/netspeed/netspeed-menu.xml
+gnome-applets/netspeed/netspeed-applet.c
+gnome-applets/netspeed/preferences.c
 [type: gettext/glade]gnome-applets/timer/timer-applet-menu.xml
 gnome-applets/timer/timer-applet.c
 gnome-applets/trash/trash-applet.c
@@ -85,10 +88,6 @@ multiload/src/load-graph.c
 multiload/src/main.c
 multiload/src/netspeed.c
 multiload/src/properties.c
-[type: gettext/glade]netspeed/data/netspeed-menu.xml
-[type: gettext/ini]netspeed/data/org.gnome.panel.Netspeed.panel-applet.in.in
-netspeed/src/netspeed.c
-netspeed/src/preferences.c
 [type: gettext/ini]sticky-notes/data/org.gnome.applets.StickyNotesApplet.panel-applet.in.in
 sticky-notes/src/stickynotes_applet.c
 sticky-notes/src/stickynotes_applet_callbacks.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 6295b8e2d..852d1f53a 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -25,7 +25,6 @@ geyes/org.gnome.applets.GeyesApplet.panel-applet.in
 inhibit/org.gnome.InhibitApplet.panel-applet.in
 mini-commander/src/org.gnome.applets.MiniCommanderApplet.panel-applet.in
 multiload/org.gnome.applets.MultiLoadApplet.panel-applet.in
-netspeed/data/org.gnome.panel.Netspeed.panel-applet.in
 sticky-notes/data/org.gnome.applets.StickyNotesApplet.panel-applet.in
 tracker-search-bar/data/org.gnome.panel.SearchBar.panel-applet.in
 window-buttons/org.gnome.panel.WindowButtonsApplet.panel-applet.in


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