gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog gui/kde.cpp gui/kdesup.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog gui/kde.cpp gui/kdesup.h
Date: Wed, 06 Feb 2008 13:51:08 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/02/06 13:51:07

Modified files:
        .              : ChangeLog 
        gui            : kde.cpp kdesup.h 

Log message:
        KDE gui: disable no-op movie control menu items (jump,step 
forward,back);
        add Refresh menu item.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5572&r2=1.5573
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde.cpp?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kdesup.h?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5572
retrieving revision 1.5573
diff -u -b -r1.5572 -r1.5573
--- ChangeLog   6 Feb 2008 13:44:05 -0000       1.5572
+++ ChangeLog   6 Feb 2008 13:51:07 -0000       1.5573
@@ -1,5 +1,7 @@
 2008-02-06 Sandro Santilli <address@hidden>
 
+       * gui/kde.cpp, gui/kdesup.h: disable no-op movie control menu items
+         (jump,step forward,back); add Refresh menu item.
        * gui/sdl_agg_glue.cpp: fix compiler warnings
        * testsuite/swfdec/PASSING: string-indexof and stringlength
          tests now succeed for swf > 5

Index: gui/kde.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/kde.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- gui/kde.cpp 21 Jan 2008 20:55:41 -0000      1.28
+++ gui/kde.cpp 6 Feb 2008 13:51:07 -0000       1.29
@@ -338,6 +338,14 @@
     _godfather->menu_restart();
 }
 
+/// \brief force redraw of current frame
+void
+qwidget::menuitem_refresh_callback()
+{
+//    GNASH_REPORT_FUNCTION;
+    _godfather->refreshView();
+}
+
 /// \brief quit complete, and close the application
 void
 qwidget::menuitem_quit_callback()
@@ -427,10 +435,13 @@
     _qmenu.insertItem(_("Pause Movie"), this, SLOT(menuitem_pause_callback()));
     _qmenu.insertItem(_("Stop Movie"), this, SLOT(menuitem_stop_callback()));
     _qmenu.insertItem(_("Restart Movie"), this, 
SLOT(menuitem_restart_callback()));
+#if 0 // Presently disabled
     _qmenu.insertItem(_("Step Forward"), this, 
SLOT(menuitem_step_forward_callback()));
     _qmenu.insertItem(_("Step Backward"), this, SLOT( 
menuitem_step_backward_callback()));
     _qmenu.insertItem(_("Jump Forward"), this, 
SLOT(menuitem_jump_forward_callback()));
     _qmenu.insertItem(_("Jump Backward"), this, 
SLOT(menuitem_jump_backward_callback()));
+#endif
+    _qmenu.insertItem(_("Refresh"), this, SLOT(menuitem_refresh_callback()));
     _qmenu.insertItem(_("Quit Gnash"), this, SLOT(menuitem_quit_callback()));
 
     _godfather = godfather;

Index: gui/kdesup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/kdesup.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- gui/kdesup.h        21 Jan 2008 20:55:42 -0000      1.23
+++ gui/kdesup.h        6 Feb 2008 13:51:07 -0000       1.24
@@ -70,6 +70,7 @@
     void paintEvent (QPaintEvent *event);
 public slots:
     void menuitem_restart_callback();
+    void menuitem_refresh_callback();
     void menuitem_quit_callback();
     void menuitem_play_callback();
     void menuitem_pause_callback();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]