summaryrefslogtreecommitdiff
path: root/src/SlideshowPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-10-01 07:17:16 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-10-01 07:17:16 +0200
commit71137cc5832110d91599d68790402cf196762ed3 (patch)
treee7985bbfb6ca50ea738b38a9f852ee51431d48a7 /src/SlideshowPage.vala
parent8ae550d463720d5d1c0e253af29843ff15de1a54 (diff)
parent1e92964463e564bb3359a7110342182fcfdc67f2 (diff)
Merge branch 'release/debian/0.30.1-1'debian/0.30.1-1
Diffstat (limited to 'src/SlideshowPage.vala')
-rw-r--r--src/SlideshowPage.vala14
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"));
}