gnome-commander r2498 - branches/gcmd-1-3/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2498 - branches/gcmd-1-3/src
- Date: Mon, 30 Mar 2009 18:56:20 +0000 (UTC)
Author: epiotr
Date: Mon Mar 30 18:56:20 2009
New Revision: 2498
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2498&view=rev
Log:
vte: added menu item "Show Terminal"
Modified:
branches/gcmd-1-3/src/gnome-cmd-main-menu.cc
Modified: branches/gcmd-1-3/src/gnome-cmd-main-menu.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-main-menu.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-main-menu.cc Mon Mar 30 18:56:20 2009
@@ -112,6 +112,7 @@
GtkWidget *menu_view_concombo;
GtkWidget *menu_view_buttonbar;
GtkWidget *menu_view_cmdline;
+ GtkWidget *menu_view_terminal;
GtkWidget *menu_view_hidden_files;
GtkWidget *menu_view_backup_files;
GtkWidget *menu_view_back;
@@ -657,6 +658,12 @@
NULL
},
{
+ MENU_TYPE_TOGGLEITEM, _("Show Terminal"), "", NULL,
+ (gpointer) view_terminal, NULL,
+ GNOME_APP_PIXMAP_NONE, NULL,
+ NULL
+ },
+ {
MENU_TYPE_TOGGLEITEM, _("Show Buttonbar"), "", NULL,
(gpointer) view_buttonbar, NULL,
GNOME_APP_PIXMAP_NONE, NULL,
@@ -847,9 +854,10 @@
main_menu->priv->menu_view_conbuttons = view_menu_uiinfo[8].widget;
main_menu->priv->menu_view_concombo = view_menu_uiinfo[9].widget;
main_menu->priv->menu_view_cmdline = view_menu_uiinfo[10].widget;
- main_menu->priv->menu_view_buttonbar = view_menu_uiinfo[11].widget;
- main_menu->priv->menu_view_hidden_files = view_menu_uiinfo[13].widget;
- main_menu->priv->menu_view_backup_files = view_menu_uiinfo[14].widget;
+ main_menu->priv->menu_view_terminal = view_menu_uiinfo[11].widget;
+ main_menu->priv->menu_view_buttonbar = view_menu_uiinfo[12].widget;
+ main_menu->priv->menu_view_hidden_files = view_menu_uiinfo[14].widget;
+ main_menu->priv->menu_view_backup_files = view_menu_uiinfo[15].widget;
main_menu->priv->menu_view_back = view_menu_uiinfo[0].widget;
main_menu->priv->menu_view_forward = view_menu_uiinfo[1].widget;
@@ -869,6 +877,9 @@
GTK_CHECK_MENU_ITEM (main_menu->priv->menu_view_cmdline),
gnome_cmd_data.cmdline_visibility);
gtk_check_menu_item_set_active (
+ GTK_CHECK_MENU_ITEM (main_menu->priv->menu_view_terminal),
+ gnome_cmd_data.terminal_visibility);
+ gtk_check_menu_item_set_active (
GTK_CHECK_MENU_ITEM (main_menu->priv->menu_view_hidden_files),
!gnome_cmd_data.filter_settings.hidden);
gtk_check_menu_item_set_active (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]