diff options
author | Bastien Nocera <hadess@hadess.net> | 2005-01-06 12:18:16 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2005-01-06 12:18:16 +0000 |
commit | 8cafbf351e5022dc1c1506f77f7239e834de50e0 (patch) | |
tree | af17dc475be8eafa01d2320c0ef5cfa7f0debdd4 | |
parent | 03ee6f33e7b8f9c73b522507c6a69b41101701f3 (diff) | |
download | totem-8cafbf351e5022dc1c1506f77f7239e834de50e0.tar.gz |
upd only change the states of the "seekable" widgets if the previous state
2005-01-06 Bastien Nocera <hadess@hadess.net>
* NEWS: upd
* src/totem.c: (update_seekable): only change the states of the
"seekable" widgets if the previous state was different
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 9 | ||||
-rw-r--r-- | src/totem.c | 5 |
3 files changed, 18 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2005-01-06 Bastien Nocera <hadess@hadess.net> + * NEWS: upd + * src/totem.c: (update_seekable): only change the states of the + "seekable" widgets if the previous state was different + +2005-01-06 Bastien Nocera <hadess@hadess.net> + * src/totem-statusbar.c: (totem_statusbar_set_time): only update the time label if the time actually changed @@ -1,5 +1,14 @@ New features and significant updates in version... +???: +* Rise the controls when in fullscreen and a remote's button is pressed +* Speed up frequently called functions by checking the previous state before + updating +* Use GTK+ 2.6 widgets and features +* Install the playlist parser as a library +* Don't crash when a file fails to open (GStreamer) +* Install Totem's .desktop file properly + 0.100: * Implement session management support, remove automatic save/restore of the current playlist diff --git a/src/totem.c b/src/totem.c index dc2e0f523..3d4fe45c2 100644 --- a/src/totem.c +++ b/src/totem.c @@ -1195,6 +1195,9 @@ update_seekable (Totem *totem, gboolean seekable) { GtkWidget *widget; + if (totem->seekable == seekable) + return; + /* Check if the stream is seekable */ gtk_widget_set_sensitive (totem->seek, seekable); gtk_widget_set_sensitive (totem->fs_seek, seekable); @@ -1219,8 +1222,6 @@ update_seekable (Totem *totem, gboolean seekable) gtk_widget_set_sensitive (widget, seekable); if (totem->skipto) totem_skipto_set_seekable (totem->skipto, seekable); - - totem->seekable = seekable; } static void |