~ubuntu-branches/ubuntu/natty/lxpanel/natty

« back to all changes in this revision

Viewing changes to src/plugins/netstatus/netstatus-iface.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2009-05-30 00:48:18 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090530004818-7cmv8ncb2aloio9o
Tags: 0.4.1+svn20090524-1
* New upstream release (Closes: #516603, #511001, #493242, #486284, 
  #515633, #484606, #495924, #517858)
  - A whole new application menu generated according to 
    freedesktop.org menu spec. (faster and more standard-compliant. 
    has tooltips for menu items)
  - Enhanced "Run" dialog.
  - Auto resize of application launcher buttons when panel size gets 
    changed.
  - The problematic netstat plugin is now turned off by default. It 
    will be moved to a separate project later.
  - Building dynamic panel plugins outside the source tree of lxpanel 
    is now possible.
  - Fix icon display problems under 64-bit systems.
  - Fixes to work with minimization animation provided by window 
    manager.
  - Fix RTL problems of the task list.
  - Launch console applications in terminal properly
  - Add new temperature monitor plugin by Daniel Kesler
  - Size of icons now can automatically be automatically adjusted 
    according to the height of the panel.
* debian/control:
  - Build-depends on libmenu-cache0
  - lxpanel-netstat-plugin become a dummy package to help transition 
    to wicd or network-manage package.
  - Update descriptions. Thanks Phil Miller <phildebian@mailinator.com>
    (Closes: #513009)

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
 
126
126
static void
127
127
netstatus_iface_instance_init (NetstatusIface      *iface,
128
 
                               NetstatusIfaceClass *klass)
 
128
                               NetstatusIfaceClass *klass __attribute__((unused)))
129
129
{
130
130
  iface->priv = g_new0 (NetstatusIfacePrivate, 1);
131
131
  iface->priv->state = NETSTATUS_STATE_DISCONNECTED;
1021
1021
  static struct HwType *hw_type = NULL;
1022
1022
  struct ifreq          if_req;
1023
1023
  int                   fd;
1024
 
  int                   i;
 
1024
  unsigned int                   i;
1025
1025
 
1026
1026
  if (hw_addr)
1027
1027
    *hw_addr = NULL;