diff options
author | IOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at> | 2018-02-23 16:22:29 +0100 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at> | 2018-02-23 16:22:29 +0100 |
commit | b3b583be0f50487d478f02ee6c147848bdfcc73c (patch) | |
tree | 4e12aaceedbde1d991260c3fd9cd17675efec2fd /snd-file.c | |
parent | 1b3b1b2aeecc34416aa125e24abecda704a5c8ad (diff) |
New upstream version 18.1
Diffstat (limited to 'snd-file.c')
-rw-r--r-- | snd-file.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1216,6 +1216,18 @@ snd_info *finish_opening_sound(snd_info *sp, bool selected) else superimpose_sound(sp); } } +#if USE_GTK +#if GTK_CHECK_VERSION(3, 0, 0) + if ((listener_exists()) && + (sound_style(ss) != SOUNDS_IN_SEPARATE_WINDOWS)) + { + int hgt; + hgt = widget_height(sound_pane(ss)); + if (hgt > 50) + gtk_paned_set_position(GTK_PANED(sound_pane(ss)), (gint)(hgt * .8)); + } +#endif +#endif return(sp); } |