~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/tray.c

  • Committer: mvo
  • Date: 2005-02-08 00:25:09 UTC
  • Revision ID: gustavo@niemeyer.net-20050208002509-a211f90ce9367f80
* cleanups:
  - configure.in: no longer need libglade
  - src/update-notifier{c,h}: we no longer use dbus directly only libhal
  - src/update.c: added comment to update_check() 
  - README: reflect the latest developments (no direct dbus use etc)
  - data/Makefile.am: don't distribute the dbus helper script

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#define UPGRADE_CHECKER PACKAGE_LIB_DIR"/update-notifier/apt-check"
29
29
#define PACKAGE_MANAGER "/usr/sbin/synaptic"
30
30
 
31
 
const char * gksu_message = _("Please enter your password to start the package manager");
 
31
const char * gksu_message = _("Please enter the root password to start the package manager");
32
32
 
33
33
// tick is each (1/1000)sec 
34
34
#define TIMEOUT 1000*60*60
184
184
 
185
185
   if(num_upgrades > 0) {
186
186
      gchar *s;
187
 
      s = g_strdup_printf(ngettext("%i system upgrade available", "%i system upgrades available", num_upgrades), num_upgrades);
 
187
      s = g_strdup_printf(_("%i system upgrades available"), num_upgrades);
188
188
      gtk_tooltips_set_tip(tt, GTK_WIDGET(box), s, NULL);
189
189
      g_free(s);
190
190
      gtk_widget_show(icon);