diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 1f84aed6..bdf7d282 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -30,6 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
30 | #include "gmrequest.h" | 30 | #include "gmrequest.h" |
31 | #include "gmutil.h" | 31 | #include "gmutil.h" |
32 | #include "history.h" | 32 | #include "history.h" |
33 | #include "indicatorwidget.h" | ||
33 | #include "inputwidget.h" | 34 | #include "inputwidget.h" |
34 | #include "keys.h" | 35 | #include "keys.h" |
35 | #include "labelwidget.h" | 36 | #include "labelwidget.h" |
@@ -247,6 +248,9 @@ void init_DocumentWidget(iDocumentWidget *d) { | |||
247 | addChild_Widget(w, iClob(d->scroll = new_ScrollWidget())); | 248 | addChild_Widget(w, iClob(d->scroll = new_ScrollWidget())); |
248 | d->menu = NULL; /* created when clicking */ | 249 | d->menu = NULL; /* created when clicking */ |
249 | d->playerMenu = NULL; | 250 | d->playerMenu = NULL; |
251 | addChildFlags_Widget(w, | ||
252 | iClob(new_IndicatorWidget()), | ||
253 | resizeToParentWidth_WidgetFlag | resizeToParentHeight_WidgetFlag); | ||
250 | #if !defined (iPlatformApple) /* in system menu */ | 254 | #if !defined (iPlatformApple) /* in system menu */ |
251 | addAction_Widget(w, reload_KeyShortcut, "navigate.reload"); | 255 | addAction_Widget(w, reload_KeyShortcut, "navigate.reload"); |
252 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); | 256 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); |