Skip to content

Commit 42102a5

Browse files
authored
Merge pull request #14 from cassidyjames/patch-1
Use large toolbar icons
2 parents bfe231e + 86671bd commit 42102a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/window.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
133133
set_titlebar(header);
134134

135135
var publish_button = new Gtk.Button.from_icon_name("document-send",
136-
Gtk.IconSize.SMALL_TOOLBAR);
136+
Gtk.IconSize.LARGE_TOOLBAR);
137137
publish_button.tooltip_text = _("Publish to Write.as on the web");
138138
publish_button.clicked.connect(() => {
139139
canvas.buffer.text += "\n\n" + publish();
@@ -149,7 +149,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
149149
darkmode_button.image = new Gtk.Image.from_icon_name(
150150
icon_theme.has_icon("writeas-bright-dark") ?
151151
"writeas-bright-dark" : "weather-clear-night",
152-
Gtk.IconSize.SMALL_TOOLBAR);
152+
Gtk.IconSize.LARGE_TOOLBAR);
153153
darkmode_button.draw_indicator = false;
154154
var settings = Gtk.Settings.get_default();
155155
darkmode_button.toggled.connect(() => {
@@ -163,7 +163,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
163163

164164
var fonts = new Gtk.MenuButton();
165165
fonts.tooltip_text = _("Change document font");
166-
fonts.image = new Gtk.Image.from_icon_name("font-x-generic", Gtk.IconSize.SMALL_TOOLBAR);
166+
fonts.image = new Gtk.Image.from_icon_name("font-x-generic", Gtk.IconSize.LARGE_TOOLBAR);
167167
fonts.popup = new Gtk.Menu();
168168
header.pack_start(fonts);
169169

0 commit comments

Comments
 (0)