StatusIcon.vala
authorAlan Knowles <alan@roojs.com>
Sat, 23 Sep 2017 05:14:23 +0000 (13:14 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 23 Sep 2017 05:14:23 +0000 (13:14 +0800)
StatusIcon.vala

index d88ce96..417a15d 100644 (file)
@@ -322,10 +322,12 @@ public class StatusIconA : StatusIcon {
                                        }
                                        if (total < 1) {
                                        var notification = new Notify.Notification( 
-                                            "Updated " + repo.name,
+                                            "Pull completed ",
                                             str,
-                                              "dialog-information"
+                                          dialog-information"
                                        );
+                                        notification.set_timeout(20);
+                        n   otification.show();
                                statusicon.set_tooltip_text("Gitlive");
                              
                             
@@ -335,8 +337,7 @@ public class StatusIconA : StatusIcon {
                                 // do not care if it's already in sycn..
                         
                     
-                        notification.set_timeout(20);
-                        notification.show();
+                       
                                  
                     //} catch(Error e) {
                    //     print("notification or push errror- probably to many in queue..");