Displaying 9 results from an estimated 9 matches for "menu_list".
Did you mean:
mech_list
2011 Aug 05
1
[PATCH 1/2] update comparison for presenting dowgrade/upgrade/install/reinstall options
...e_version, e_release = get_installed_version_number()
e_full_ver = e_version + "-" + e_release
- if e_version <= m_version:
- if e_release < m_release:
- self.menu_list.append(" Upgrade " + e_full_ver + " to " + m_full_ver, 3)
- self.menu_list.append(" ", 4)
- else:
- self.menu_list.append(" Install " + PRODUCT_SHORT + " " + m...
2006 Feb 24
2
how to better generalize a tree?
first some background info:
I have a blog application that has a comments table with the following columns:
id
parent_id
post_id
created_at
body
here''s my model:
class Comment < ActiveRecord::Base
belongs_to :post
acts_as_tree :order => ''created_at''
def print_children (options={})
before = options[:before] ? options[:before]
2008 May 01
20
link_to meta programming question
I am trying to create a dynamic menu using the following construct:
<%- menu_list = [ ''first'', ''second'', ''third''] -%>
<ul>
<%- menu_list.each do |m| -%>
<%= link_to "List All #{m.titlecase.pluralize} <m>_path %>
<%- end -%>
</ul>
What I cannot determine is what I have to...
2012 May 04
3
[GIT PULL] elflink fixes
..._cmd = NULL; //"default" command line
const char *onerror = NULL; //"onerror" command line
+const char *ontimeout = NULL; //"ontimeout" command line
/* Empty refstring */
const char *empty_string;
@@ -79,6 +80,7 @@ struct menu *root_menu, *start_menu, *hide_menu, *menu_list, *default_menu;
int shiftkey = 0; /* Only display menu if shift key pressed */
int hiddenmenu = 0;
long long totaltimeout = 0;
+unsigned int kbdtimeout = 0;
/* Keep track of global default */
static int has_ui = 0; /* DEFAULT only counts if UI is found */
@@ -1081,13 +1083,14 @@ do_include...
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...nChoiceWindow(self.screen, "Configuration Check", "Invalid Hostname", buttons = ['Ok'])
+ self.reset_screen_colors()
def valid_fqdn_or_ipv4(self):
warn = 0
@@ -1143,10 +1144,13 @@ class NodeConfigScreen():
self.menuo = self.menu_list.current()
def process_network_config(self):
- if self.net_hostname.value() != self.current_hostname and is_valid_hostname(self.net_hostname.value()):
+ if self.net_hostname.value() == "":
+ augtool("set", "/files/etc/sysconfig/network...
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000:
Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700)
are available in the git repository at:
git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux
Matt Fleming (1):
ldlinux: Perform auto-boot if NOESCAPE set in config
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and