Browse Source

remove extra defaults

CPP-GTK4
yggverse 4 months ago
parent
commit
b2ce53f6d8
  1. 6
      src/app/browser/main/tab.cpp
  2. 19
      src/app/browser/main/tab.hpp

6
src/app/browser/main/tab.cpp

@ -5,7 +5,7 @@ using namespace app::browser::main;
Tab::Tab() Tab::Tab()
{ {
set_scrollable( set_scrollable(
SCROLLABLE true
); );
} }
@ -18,7 +18,7 @@ void Tab::append(
) { ) {
// Init new tab label // Init new tab label
Gtk::Label * name = new Gtk::Label( Gtk::Label * name = new Gtk::Label(
LABEL _("New tab")
); );
// Setup label controller // Setup label controller
@ -50,7 +50,7 @@ void Tab::append(
set_tab_reorderable( set_tab_reorderable(
* data, * data,
REORDERABLE true
); );
if (focus) if (focus)

19
src/app/browser/main/tab.hpp

@ -20,25 +20,6 @@ namespace app::browser::main
public: public:
const bool SCROLLABLE = true;
const bool REORDERABLE = true;
const char * LABEL = _("New tab");
class Navbar
{
public:
Navbar();
};
class Body
{
public:
Body();
};
Tab(); Tab();
~Tab(); ~Tab();

Loading…
Cancel
Save