[chronojump] code without vbox_presentation



commit 78e0954d050c017b5c272b6fbb181357498bd71d
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 20 09:00:12 2020 +0100

    code without vbox_presentation

 src/gui/app1/icons.cs   | 4 ++--
 src/gui/presentation.cs | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 86a3f79d..9dd2cd3c 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -834,7 +834,7 @@ public partial class ChronoJumpWindow
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameAutoPersonRemoveIcon);
                image_auto_person_remove.Pixbuf = pixbuf;
                                
-               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameLogo320); //changed 
to 270 for the presentation
-               image_presentation_logo.Pixbuf = pixbuf;
+               //pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameLogo320); //changed 
to 270 for the presentation
+               //image_presentation_logo.Pixbuf = pixbuf;
        }
 }
diff --git a/src/gui/presentation.cs b/src/gui/presentation.cs
index 93a75517..2fad3b97 100644
--- a/src/gui/presentation.cs
+++ b/src/gui/presentation.cs
@@ -31,17 +31,19 @@ using Mono.Unix;
 
 public partial class ChronoJumpWindow 
 {
+       /*
        //presentation
        [Widget] Gtk.Box vbox_presentation;
        [Widget] Gtk.Image image_presentation_logo;
        [Widget] Gtk.Label label_presentation_current;
+       */
 
        //static WebKit.WebView presentation;
 
        bool presentationInitialized = false;
 
        void on_menuitem_presentation_activate (object o, EventArgs args) {
-               vbox_presentation.Visible = ! vbox_presentation.Visible;
+               //vbox_presentation.Visible = ! vbox_presentation.Visible;
        }
 
  
@@ -122,10 +124,12 @@ public partial class ChronoJumpWindow
                        presentationOpenStatic("file://" + file + "#" + 
presentation_slide_current.ToString());
        }
 
-       void updatePresentationLabel() {        
+       void updatePresentationLabel() {
+               /*
                label_presentation_current.Text = 
                        (presentation_slide_current +1).ToString() + " / " + 
                        (presentation_slide_max +1).ToString();
+                       */
        }
        
        private void loadInitialPresentation()


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