[Xfce4-commits] <ristretto:ristretto-0.0> Remove stuff that is not going to be ready for 0.1.0

Stephan Arts noreply at xfce.org
Sun Oct 23 19:22:40 CEST 2011


Updating branch refs/heads/ristretto-0.0
         to ca420c8020448401b22a125e0530844002cb9574 (commit)
       from 66d3f626989162041657ec69da6ad726267fa57e (commit)

commit ca420c8020448401b22a125e0530844002cb9574
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Jan 9 08:58:15 2010 +0100

    Remove stuff that is not going to be ready for 0.1.0

 src/main_window.c      |    6 ++++++
 src/main_window_ui.xml |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 674c617..9319dc4 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -803,7 +803,9 @@ rstto_main_window_update_buttons (RsttoMainWindow *window)
     {
         case 0: 
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/save-copy"), FALSE);
+            /*
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/print"), FALSE);
+            */
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/close"), FALSE);
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/close-all"), FALSE);
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/edit-menu/delete"), FALSE);
@@ -861,7 +863,9 @@ rstto_main_window_update_buttons (RsttoMainWindow *window)
             break;
         case 1: 
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/save-copy"), TRUE);
+            /*
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/print"), TRUE);
+            */
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/close"), TRUE);
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/close-all"), FALSE);
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/edit-menu/delete"), TRUE);
@@ -921,7 +925,9 @@ rstto_main_window_update_buttons (RsttoMainWindow *window)
             break;
         default: 
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/save-copy"), TRUE);
+            /*
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/print"), TRUE);
+            */
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/close"), TRUE);
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/file-menu/close-all"), TRUE);
             gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( window->priv->ui_manager, "/main-menu/edit-menu/delete"), TRUE);
diff --git a/src/main_window_ui.xml b/src/main_window_ui.xml
index e82e5e5..24f2d3f 100644
--- a/src/main_window_ui.xml
+++ b/src/main_window_ui.xml
@@ -10,8 +10,10 @@
             <placeholder name="placeholder-open-recent"/>
             <separator/>
             <menuitem action="save-copy"/>
+            <!--
             <separator/>
             <menuitem action="print"/>
+            -->
             <separator/>
             <menuitem action="close"/>
             <menuitem action="close-all"/>
@@ -58,7 +60,9 @@
             <placeholder name="placeholder-slideshow" />
         </menu>
         <menu action="help-menu">
+            <!--
             <menuitem action="contents"/>
+            -->
             <menuitem action="about"/>
         </menu>
     </menubar>


More information about the Xfce4-commits mailing list