search for: setup_menu

Displaying 8 results from an estimated 8 matches for "setup_menu".

2009 Jul 14
1
[PATCH node] Filters out all non-physical networking devices.
...virt-config-networking | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 6d23735..0de7529 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -375,7 +375,9 @@ function setup_menu udi_list=$(hal-find-by-capability --capability net.80203) if [ -n "$udi_list" ]; then for d in $udi_list; do - NICS="$NICS $(hal-get-property --udi "$d" --key net.interface)" + if [[ ! "$(hal-get-property --udi $d --key net.origin...
2006 Feb 19
2
instance variables in components not read by component view?
Hi, I''m trying to write a sidebar menu with dynamic menus, and to do so I would like to define a list of menus to display within my sidebar component controller code and pass that list to the component display view, like so: # menu_controller.rb class Sidebar::MenuController < ActionController::Base uses_component_template_root @menus = %w{admin user help} def display
2009 Jun 05
1
[PATCH node] Menu now says "Management Network Setup". bz#504321
...virt-config-networking | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index d964ee8..7c5d873 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -289,7 +289,7 @@ else setup_menu while true; do - printf "\n\n Networking Configuration\n\n" >&2 + printf "\n\nManagement Network Configuration\n\n" >&2 printf "***** WARNING *****\n" printf "Configuring the network will destroy any existing ne...
2010 Feb 11
3
[PATCH node] remove ipv4 validation for ntp and rely on actual ntp verification
--- scripts/ovirt-config-networking | 13 ++++++------- scripts/ovirt-functions | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index ec154c2..40a2d2c 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -414,12 +414,7 @@ function configure_ntp
2010 May 13
1
Non-functional replacement...
This patch just includes the repo name in the subject.
2010 May 13
0
[PATCH] Replace the HAL calls with udev/systool calls.
...tuptools Requires: libvirt >= 0.6.3 diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..1cfc2db 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -460,16 +460,16 @@ set ${ntproot}/keys /etc/ntp/keys\n\ function setup_menu { NICS="" - udi_list=$(hal-find-by-capability --capability net.80203) - if [ -n "$udi_list" ]; then - for d in $udi_list; do - if [[ ! "$(hal-get-property --udi $d --key net.physical_device)" =~ computer ]]; then - NICS="$NICS $(hal-get-pro...
2010 May 14
3
Replacement patch...
This one incorporates feedback from mburns and apevec to ensure that all multipath devices are excluded in the list of available drives. Only drives with an identified bus are included in the list now.
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...+ + def initialize(*args) + super + @mgr = Wx::AuiManager.new + @mgr.set_managed_window(self) + @perspectives = [] + + # set up default notebook style + @notebook_style = Wx::AUI_NB_DEFAULT_STYLE| + Wx::AUI_NB_TAB_EXTERNAL_MOVE|Wx::NO_BORDER + @notebook_theme = 0 + setup_menu + create_status_bar + get_status_bar.set_status_text("Ready") + set_min_size( Wx::Size.new(400,300) ) + setup_toolbars + setup_panes + setup_perspectives + setup_events + @mgr.update + end + + # + def setup_menu + mb = Wx::MenuBar.new + + file_menu = Wx::M...