summaryrefslogtreecommitdiff
path: root/src/SlideshowPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-09-30 14:09:20 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-09-30 14:09:20 +0200
commit5e9f4eea451a77ba3b93db3747841ed2bd969e9f (patch)
tree75046a38ca68975261d853a2e56ff7bf6b3e1daa /src/SlideshowPage.vala
parent18b52c2983a1b3409011f72d27f15de576c5eb1c (diff)
New upstream version 0.30.1upstream/0.30.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"));
}