Skip to content

Commit 74c51fe

Browse files
authored
Merge pull request #1 from writeas/master
Sync with upstream
2 parents f43e12f + 42102a5 commit 74c51fe

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

data/com.github.writeas.writeas-gtk.appdata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<content_attribute id="language-humor">none</content_attribute>
7070
<content_attribute id="language-discrimination">none</content_attribute>
7171
<content_attribute id="social-chat">none</content_attribute>
72-
<content_attribute id="social-info">none</content_attribute>
72+
<content_attribute id="social-info">moderate</content_attribute>
7373
<content_attribute id="social-audio">none</content_attribute>
7474
<content_attribute id="social-location">none</content_attribute>
7575
<content_attribute id="social-contacts">none</content_attribute>

src/window.vala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ 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);
137+
publish_button.tooltip_text = _("Publish to Write.as on the web");
137138
publish_button.clicked.connect(() => {
138139
canvas.buffer.text += "\n\n" + publish();
139140

@@ -148,7 +149,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
148149
darkmode_button.image = new Gtk.Image.from_icon_name(
149150
icon_theme.has_icon("writeas-bright-dark") ?
150151
"writeas-bright-dark" : "weather-clear-night",
151-
Gtk.IconSize.SMALL_TOOLBAR);
152+
Gtk.IconSize.LARGE_TOOLBAR);
152153
darkmode_button.draw_indicator = false;
153154
var settings = Gtk.Settings.get_default();
154155
darkmode_button.toggled.connect(() => {
@@ -162,7 +163,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
162163

163164
var fonts = new Gtk.MenuButton();
164165
fonts.tooltip_text = _("Change document font");
165-
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);
166167
fonts.popup = new Gtk.Menu();
167168
header.pack_start(fonts);
168169

0 commit comments

Comments
 (0)