mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
use icon
This commit is contained in:
parent
3fe3468696
commit
e089acca6c
2 changed files with 11 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue