~midori/midori/trunk

« back to all changes in this revision

Viewing changes to midori/midori-tab.vala

  • Committer: Tarmac
  • Author(s): Christian Dywan
  • Date: 2013-12-09 20:41:11 UTC
  • mfrom: (6509.3.1 midori.trunks)
  • Revision ID: tarmac-20131209204111-w5n01vtgkkze18ta
Drop unused GraniteClutter-based animation support

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    public class Tab : Gtk.VBox {
37
37
        public WebKit.WebView web_view { get; private set; }
38
38
 
39
 
        #if HAVE_GRANITE_CLUTTER
40
 
        public Granite.Widgets.NavigationBox navigation_box { get; private set; }
41
 
        #endif
42
 
 
43
39
        private string current_uri = "about:blank";
44
40
        public string uri { get {
45
41
            return current_uri;
118
114
            orientation = Gtk.Orientation.VERTICAL;
119
115
            #endif
120
116
 
121
 
            #if HAVE_GRANITE_CLUTTER
122
 
            navigation_box = new Granite.Widgets.NavigationBox ();
123
 
            #endif
124
 
 
125
117
            web_view = new WebKit.WebView ();
126
118
            /* Load something to avoid a bug where WebKit might not set a main frame */
127
119
            web_view.load_uri ("");
234
226
        }
235
227
 
236
228
        public void go_forward () {
237
 
            #if HAVE_GRANITE_CLUTTER
238
 
            navigation_box.forward ();
239
 
            #endif
240
229
            web_view.go_forward ();
241
230
        }
242
231