Compare commits

...

3 Commits

Author SHA1 Message Date
8f79ecdcb4 Create & install 16, 24, 32, 48, 64px icons 2018-09-30 21:52:21 -04:00
8f2ef93db3 Fix Exec field in .desktop 2018-09-30 21:39:15 -04:00
9907cdbbdb Rename icon 2018-09-30 21:37:39 -04:00
9 changed files with 13 additions and 6 deletions

View File

@ -2,8 +2,8 @@
Type=Application
Name=Write.as
Comment=Publish a thought in seconds.
Exec=writeas-gtk
Icon=write-as
Exec=com.github.writeas.writeas-gtk
Icon=com.github.writeas.writeas-gtk
Terminal=false
MimeType=
Categories=GTK;Office;Publishing;

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1,6 +1,13 @@
install_data('icons/write-as.png',
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', '128x128', 'apps')
icon_sizes = ['16', '24', '32', '48', '64', '128']
foreach i : icon_sizes
install_data(
join_paths('icons', i, meson.project_name() + '.png'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps'
)
)
endforeach
install_data('icons/writeas-bright-dark.png',
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', '16x16', 'actions'))

View File

@ -79,7 +79,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
stdout.printf("writeas-gtk v%s\n", version);
set_application(app);
icon_name = "write-as";
icon_name = "com.github.writeas.writeas-gtk";
init_folder();
try {
open_file(draft_file());