diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:32 +0200 |
commit | 0537caaf4af94a9ead8b292679f6b34c90b55e06 (patch) | |
tree | 6761cfdf959926be7af3147cf770e7f253390fe8 /src/SlideshowPage.vala | |
parent | eca5837e235a356c8db9416bbbc13577db3e6f76 (diff) | |
parent | 5e9f4eea451a77ba3b93db3747841ed2bd969e9f (diff) |
Update upstream source from tag 'upstream/0.30.1'
Update to upstream version '0.30.1'
with Debian dir dc242531effff8d9c6fab093414edee28b403c6a
Diffstat (limited to 'src/SlideshowPage.vala')
-rw-r--r-- | src/SlideshowPage.vala | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/SlideshowPage.vala b/src/SlideshowPage.vala index fcb6430..18fef7f 100644 --- a/src/SlideshowPage.vala +++ b/src/SlideshowPage.vala @@ -41,6 +41,8 @@ class SlideshowPage : SinglePhotoPage { Gtk.CheckButton show_title_button; public SettingsDialog() { + Object (use_header_bar: Resources.use_header_bar()); + double delay = Config.Facade.get_instance().get_slideshow_delay(); set_transient_for(AppWindow.get_fullscreen()); @@ -132,28 +134,28 @@ class SlideshowPage : SinglePhotoPage { // add toolbar buttons Gtk.ToolButton previous_button = new Gtk.ToolButton(null, _("Back")); - previous_button.set_icon_name("go-previous"); + previous_button.set_icon_name("go-previous-symbolic"); previous_button.set_tooltip_text(_("Go to the previous photo")); previous_button.clicked.connect(on_previous_photo); toolbar.insert(previous_button, -1); play_pause_button = new Gtk.ToolButton(null, _("Pause")); - play_pause_button.set_icon_name("media-playback-pause"); + play_pause_button.set_icon_name("media-playback-pause-symbolic"); play_pause_button.set_tooltip_text(_("Pause the slideshow")); play_pause_button.clicked.connect(on_play_pause); toolbar.insert(play_pause_button, -1); Gtk.ToolButton next_button = new Gtk.ToolButton(null, _("Next")); - next_button.set_icon_name("go-next"); + next_button.set_icon_name("go-next-symbolic"); next_button.set_tooltip_text(_("Go to the next photo")); next_button.clicked.connect(on_next_photo); toolbar.insert(next_button, -1); settings_button = new Gtk.ToolButton(null, null); - settings_button.set_icon_name("preferences-system"); + settings_button.set_icon_name("preferences-system-symbolic"); settings_button.set_label(_("Settings")); settings_button.set_tooltip_text(_("Change slideshow settings")); settings_button.clicked.connect(on_change_settings); @@ -240,11 +242,11 @@ class SlideshowPage : SinglePhotoPage { private void on_play_pause() { if (playing) { - play_pause_button.set_icon_name("media-playback-start"); + play_pause_button.set_icon_name("media-playback-start-symbolic"); play_pause_button.set_label(_("Play")); play_pause_button.set_tooltip_text(_("Continue the slideshow")); } else { - play_pause_button.set_icon_name("media-playback-pause"); + play_pause_button.set_icon_name("media-playback-pause-symbolic"); play_pause_button.set_label(_("Pause")); play_pause_button.set_tooltip_text(_("Pause the slideshow")); } |