public
Fork of ebassi/tweet
Description: A Clutter-based Twitter client
Clone URL: git://github.com/patoh/tweet.git
Reset the adjustments when changing the model
Emmanuele Bassi (author)
Fri May 23 05:52:57 -0700 2008
commit  d8fdf963f325fdfd5e1c84801051f8bd862f257c
tree    2b3c4f0513b47a0a1b79062a324274a61e026dae
parent  003716071fa1544772c2d3bf03c32646bd637101
...
1316
1317
1318
 
 
 
 
 
 
1319
1320
1321
...
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
0
@@ -1316,6 +1316,12 @@ tidy_list_view_set_model (TidyListView *view,
0
       priv->model = NULL;
0
     }
0
 
0
+ if (priv->hadjustment)
0
+ tidy_adjustment_set_value (priv->hadjustment, 0.0);
0
+
0
+ if (priv->vadjustment)
0
+ tidy_adjustment_set_value (priv->vadjustment, 0.0);
0
+
0
   if (model)
0
     {
0
       TidyListViewClass *klass = TIDY_LIST_VIEW_GET_CLASS (view);

Comments

    No one has commented yet.