|
|
@ -36,25 +36,25 @@ Navbar::Navbar( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Init components
|
|
|
|
// Init components
|
|
|
|
navbarBase = new navbar::Base(); |
|
|
|
navbarBase = Gtk::make_managed<navbar::Base>(); |
|
|
|
|
|
|
|
|
|
|
|
append( |
|
|
|
append( |
|
|
|
* navbarBase |
|
|
|
* navbarBase |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
navbarHistory = new navbar::History(); |
|
|
|
navbarHistory = Gtk::make_managed<navbar::History>(); |
|
|
|
|
|
|
|
|
|
|
|
append( |
|
|
|
append( |
|
|
|
* navbarHistory |
|
|
|
* navbarHistory |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
navbarUpdate = new navbar::Update(); |
|
|
|
navbarUpdate = Gtk::make_managed<navbar::Update>(); |
|
|
|
|
|
|
|
|
|
|
|
append( |
|
|
|
append( |
|
|
|
* navbarUpdate |
|
|
|
* navbarUpdate |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
navbarRequest = new navbar::Request( |
|
|
|
navbarRequest = Gtk::make_managed<navbar::Request>( |
|
|
|
REQUEST |
|
|
|
REQUEST |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ Navbar::Navbar( |
|
|
|
* navbarRequest |
|
|
|
* navbarRequest |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
navbarBookmark = new navbar::Bookmark(); |
|
|
|
navbarBookmark = Gtk::make_managed<navbar::Bookmark>(); |
|
|
|
|
|
|
|
|
|
|
|
append( |
|
|
|
append( |
|
|
|
* navbarBookmark |
|
|
|
* navbarBookmark |
|
|
@ -86,15 +86,6 @@ Navbar::Navbar( |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Navbar::~Navbar() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
delete navbarBase; |
|
|
|
|
|
|
|
delete navbarBookmark; |
|
|
|
|
|
|
|
delete navbarHistory; |
|
|
|
|
|
|
|
delete navbarRequest; |
|
|
|
|
|
|
|
delete navbarUpdate; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Actions
|
|
|
|
// Actions
|
|
|
|
void Navbar::back() |
|
|
|
void Navbar::back() |
|
|
|
{ |
|
|
|
{ |
|
|
|