[california] Return to calendar manager after adding new calendar



commit 091a524f60904540450e535843bf5397a4efd413
Author: Jim Nelson <jim yorba org>
Date:   Fri Sep 12 12:27:30 2014 -0700

    Return to calendar manager after adding new calendar
    
    Previously, the calendar manager would close after adding one.

 src/activator/generic/generic-subscribe.vala       |    2 +-
 .../google/google-calendar-list-pane.vala          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/activator/generic/generic-subscribe.vala b/src/activator/generic/generic-subscribe.vala
index 762f9dd..0bda6a6 100644
--- a/src/activator/generic/generic-subscribe.vala
+++ b/src/activator/generic/generic-subscribe.vala
@@ -92,7 +92,7 @@ internal abstract class Subscribe : Gtk.Grid, Toolkit.Card {
         Toolkit.set_unbusy(this, cursor);
         
         if (subscribe_err == null) {
-            notify_success();
+            jump_home();
         } else {
             notify_failure(_("Unable to subscribe to calendar at %s: %s").printf(url_entry.text,
                 subscribe_err.message));
diff --git a/src/activator/google/google-calendar-list-pane.vala 
b/src/activator/google/google-calendar-list-pane.vala
index 234e2d4..3ffa98d 100644
--- a/src/activator/google/google-calendar-list-pane.vala
+++ b/src/activator/google/google-calendar-list-pane.vala
@@ -183,7 +183,7 @@ public class CalendarListPane : Gtk.Grid, Toolkit.Card {
         Toolkit.set_unbusy(this, cursor);
         
         if (subscribe_err == null)
-            notify_success();
+            jump_home();
         else
             notify_failure(_("Unable to subscribe to %s: %s").printf(calendar.title, subscribe_err.message));
     }


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