summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2005-01-06 12:18:16 +0000
committerBastien Nocera <hadess@src.gnome.org>2005-01-06 12:18:16 +0000
commit8cafbf351e5022dc1c1506f77f7239e834de50e0 (patch)
treeaf17dc475be8eafa01d2320c0ef5cfa7f0debdd4
parent03ee6f33e7b8f9c73b522507c6a69b41101701f3 (diff)
downloadtotem-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--ChangeLog6
-rw-r--r--NEWS9
-rw-r--r--src/totem.c5
3 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e4b68ab75..a77a66b31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/NEWS b/NEWS
index 96f5c2d9d..860822c7b 100644
--- a/NEWS
+++ b/NEWS
@@ -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