retry menu entry on connection error

Asked by Alexander Eerie on 2011-01-17

once i start gnome session i has not network connection yet (needs to unlock keyring for wifi)
indicator starts with connection error.

ps. also i cant open preferences then error occurred

and you are deleting all menu on error, so since no forecast in menu

if you set_sensitive(False) menu loos grey and not readable

--- /usr/bin/indicator-weather 2011-01-16 15:45:00.000000000 +0300
+++ indicator-weather 2011-01-17 03:38:52.335852066 +0300
@@ -268,8 +268,12 @@
    self.problem_show = gtk.MenuItem(_("Connection problem"))
+ self.retry_show = gtk.MenuItem(_("Retry"))
+ self.retry_show.connect("activate", self.update_weather)

Question information

English Edit question
Weather Indicator Edit question
No assignee Edit question
Last query:
Last reply:
Vadim Rutkovsky (roignac) said : #1

The question is related to several bugs:
bug #703681: Indicator-Weather doesn't recheck for Internet connectivity
bug #703842: Menus look pale in Ambiance theme

I guess, the discussion should be continued in the related bugs

Vadim Rutkovsky (roignac) said : #2

These bugs are fixed in unstable builds