[gnome-clocks] Update libgd



commit 97de8589f7cfe4d20006a6a5827ac68ae1d4f732
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Mar 3 14:08:25 2013 +0100

    Update libgd

 libgd            |    2 +-
 src/alarm.vala   |    1 +
 src/timer.vala   |    2 +-
 src/widgets.vala |    3 ++-
 src/window.ui    |    1 -
 src/world.vala   |    4 +++-
 6 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/libgd b/libgd
index 4c44014..29cf577 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit 4c440146ac9714a8f718734b6333cca715244500
+Subproject commit 29cf577873b0d7d7b4b6250fbb85ee082e003bce
diff --git a/src/alarm.vala b/src/alarm.vala
index 4cbe375..28e95d8 100644
--- a/src/alarm.vala
+++ b/src/alarm.vala
@@ -617,6 +617,7 @@ public class MainPanel : Gd.Stack, Clocks.Clock {
             new_button.clicked.connect (() => {
                 activate_new ();
             });
+            new_button.show ();
             content_view.update_toolbar ();
             break;
         case Toolbar.Mode.SELECTION:
diff --git a/src/timer.vala b/src/timer.vala
index 5ba3c8f..071e5ee 100644
--- a/src/timer.vala
+++ b/src/timer.vala
@@ -45,7 +45,7 @@ public class MainPanel : Gd.Stack, Clocks.Clock {
     private GLib.Timer timer;
 
     public MainPanel (Toolbar toolbar) {
-        Object (label: _("Timer"), toolbar: toolbar);
+        Object (label: _("Timer"), toolbar: toolbar, transition_type: Gd.StackTransitionType.CROSSFADE);
 
         bell = new Utils.Bell ("complete", _("Time is up!"), _("Timer countdown finished"));
 
diff --git a/src/widgets.vala b/src/widgets.vala
index bb3857a..bdf7fec 100644
--- a/src/widgets.vala
+++ b/src/widgets.vala
@@ -571,6 +571,7 @@ public class ContentView : Gtk.Bin {
             done_button.clicked.connect (() => {
                 icon_view.mode = IconView.Mode.NORMAL;
             });
+            done_button.show ();
             break;
         case Toolbar.Mode.NORMAL:
             main_toolbar.set_labels (null, null);
@@ -579,6 +580,7 @@ public class ContentView : Gtk.Bin {
             select_button.clicked.connect (() => {
                 icon_view.mode = IconView.Mode.SELECTION;
             });
+            select_button.show ();
             bind_property ("empty", select_button, "sensitive", BindingFlags.SYNC_CREATE | 
BindingFlags.INVERT_BOOLEAN);
             break;
         }
@@ -610,7 +612,6 @@ public class AmPmToggleButton : Gtk.Button {
 
     public AmPmToggleButton () {
         stack = new Gd.Stack ();
-        stack.duration = 0;
 
         get_style_context ().add_class ("clocks-ampm-toggle-button");
 
diff --git a/src/window.ui b/src/window.ui
index 18beb36..bd293c4 100644
--- a/src/window.ui
+++ b/src/window.ui
@@ -33,7 +33,6 @@
         <child>
           <object class="GdStack" id="stack">
             <property name="visible">True</property>
-            <property name="duration">0</property>
           </object>
         </child>
       </object>
diff --git a/src/world.vala b/src/world.vala
index ef2dda5..39c0f9a 100644
--- a/src/world.vala
+++ b/src/world.vala
@@ -253,7 +253,7 @@ public class MainPanel : Gd.Stack, Clocks.Clock {
     private StandalonePanel standalone;
 
     public MainPanel (Toolbar toolbar) {
-        Object (label: _("World"), toolbar: toolbar, homogeneous: true);
+        Object (label: _("World"), toolbar: toolbar, transition_type: Gd.StackTransitionType.CROSSFADE);
 
         locations = new List<Item> ();
         settings = new GLib.Settings("org.gnome.clocks");
@@ -352,6 +352,7 @@ public class MainPanel : Gd.Stack, Clocks.Clock {
             new_button.clicked.connect (() => {
                 activate_new ();
             });
+            new_button.show ();
             content_view.update_toolbar ();
             break;
         case Toolbar.Mode.SELECTION:
@@ -364,6 +365,7 @@ public class MainPanel : Gd.Stack, Clocks.Clock {
             back_button.clicked.connect (() => {
                 visible_child = content_view;
             });
+            back_button.show ();
             break;
         default:
             assert_not_reached ();


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