mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
use icon
This commit is contained in:
parent
3fe3468696
commit
e089acca6c
@ -12,11 +12,18 @@ namespace app::browser::header
|
||||
// Init GTK
|
||||
this->gtk = gtk_button_new();
|
||||
|
||||
gtk_button_set_label (
|
||||
gtk_button_set_icon_name(
|
||||
GTK_BUTTON(
|
||||
this->gtk
|
||||
),
|
||||
Tab::LABEL
|
||||
Tab::ICON
|
||||
);
|
||||
|
||||
gtk_widget_set_tooltip_text(
|
||||
GTK_WIDGET(
|
||||
this->gtk
|
||||
),
|
||||
Tab::TOOLTIP
|
||||
);
|
||||
|
||||
// Render
|
||||
|
@ -21,7 +21,8 @@ namespace app::browser
|
||||
Header *header;
|
||||
|
||||
// Defaults
|
||||
const gchar *LABEL = "New tab";
|
||||
const gchar *ICON = "tab-new-symbolic";
|
||||
const gchar *TOOLTIP = "New tab";
|
||||
|
||||
// Constructor
|
||||
Tab(
|
||||
|
Loading…
x
Reference in New Issue
Block a user