Re: Controlling which modules are loaded at boot

2005-07-10 Thread Russell Shaw
Doofus wrote: Dell Inspiron sarge/2.4.27 Not strictly a laptop question this, but... The last time I spent my quality time playing with debian this subject mostly came down to the contents of /etc/modules. I've just compiled a new kernel and although it's highly modular and I've emptied

Re: Support of the SIS M760GX Chipset in AMD Turion system in Linux / Debian

2005-07-08 Thread Russell Shaw
Mark Farnell wrote: Hi! I am thinking about getting an ASUS or ACER AMD Turion-based system. How well is Turion supported by Debian Linux, particularly its SIS M760GX Chipset? If I attempt to load Debian Sarge amd64 onto this type of laptop, what extra steps should I take and what extra

Re: X11 config problem

2005-07-07 Thread Russell Shaw
Gregory Babusiaux wrote: Hi, I got an acer aspire 1406 LC with, I think, an ATI radeon video card. I can't get my debian system to display in 1024*768, even though my card can handle this resolution. I opened a console, run dkpg-reconfigure xserver-xfree86, specified the api driver but it

Dell display brightness

2005-07-05 Thread Russell Shaw
Hi, I'm using acpi on a dell c610. What utility is there to change the display brightness? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Dell display brightness

2005-07-05 Thread Russell Shaw
Anders Breindahl wrote: On Tuesday 05 July 2005 09:36, Russell Shaw wrote: Hi, I'm using acpi on a dell c610. What utility is there to change the display brightness? Are Fn+{uparrow,downarrow} not enough? Regards, Anders Breindahl. Aha, i didn't see those ones. I only noticed and tried

Bios HDD spin-down

2005-07-04 Thread Russell Shaw
Hi, In the bios screen, there's settings for hard-disk spin-down times. Does this mean i don't need to worry about setting hdparm? I put debian-sid on a dell C610 latitude. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bios HDD spin-down

2005-07-04 Thread Russell Shaw
Hi, In the bios screen, there's settings for hard-disk spin-down times. Does this mean i don't need to worry about setting hdparm? Should Power Management be enabled in the bios or disabled? (ie: does linux handle it regardless of bios?) I put debian-sid on a dell C610 latitude. -- To

Re: Bios HDD spin-down

2005-07-04 Thread Russell Shaw
Anders Breindahl wrote: On Tuesday 05 July 2005 03:00, Russell Shaw wrote: Hi, In the bios screen, there's settings for hard-disk spin-down times. Does this mean i don't need to worry about setting hdparm? Should Power Management be enabled in the bios or disabled? (ie: does linux handle

APM or ACPI

2005-07-04 Thread Russell Shaw
Which one should i use for a Dell C610 with sid? I've looked thru the scripts in /etc and they seem equally covered. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

ACPI battery meter

2005-07-04 Thread Russell Shaw
Hi, Most of the X battery meters seem to use apm. Is there a good one for acpi? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Files containing the grammar for C and C++

2005-07-01 Thread Russell Shaw
Stephen Torri wrote: I am interested in reading the actual grammar files used for parsing C and C++ programming languages inside gcc. Where are these files located? Stephen gcc-3.4.3/gcc/c-parse.in gcc-3.4.3/gcc/c-parse.y

Re: Statement expression with function-call variable lifetime

2005-06-29 Thread Russell Shaw
Shaun Jackman wrote: Hello, I'm implementing a tiny vfork/exit implementation using setjmp and longjmp. Since the function calling setjmp can't return (if you still want to longjmp to its jmp_buf) I implemented vfork using a statement expression macro. Here's my implementation of vfork.

Re: [avr-gcc-list] stack layout

2005-06-29 Thread Russell Shaw
Marek Michalkiewicz wrote: On Mon, Jun 27, 2005 at 11:03:36AM +0200, Haase Bjoern (PT-BEU/EMT) * wrote: I am presently re-implementing prologue/epilogue by RTL instead of text. I thought about posting it this week-end but weather was too fine and It will probably still take a couple of days

Re: AW: [avr-gcc-list] stack layout

2005-06-24 Thread Russell Shaw
Haase Bjoern (PT-BEU/EMT) * wrote: Joerg Wunsch wrote No, you cannot perform overlap checks for the stack anyway, at not least useful ones. The stack grows dynamically, so it's always the programmer that needs to ensure it doesn't collide with anything else. The compiler (or linker) has no

Re: Porposal: Floating-Point Options

2005-06-14 Thread Russell Shaw
Robert Dewar wrote: Scott Robert Ladd wrote: To support different expectations, I suggest defining the following floating-point options for GCC. This is a conceptual overview; once there's a consensus the categories, I'll propose something more formal. -ffp-correct This option focuses code

Re: Porposal: Floating-Point Options

2005-06-14 Thread Russell Shaw
Robert Dewar wrote: Russell Shaw wrote: The original bug was about testing the equality of doubles. I think that's just plain mathematically bad. Error bands should be used to test for equality, using a band that is in accordance with the minimum precision specified in the compiler

Re: [avr-gcc-list] Legal registers

2005-06-05 Thread Russell Shaw
Ron wrote: Hi All. Does it somewhere specify that avrgcc and its library routines should only use a subset of the AVR registers (say 0,1,18-31), or can the whole 32 be used if required? I ask because it would save a deal of pushing and popping in a preemptive os if you knew for sure register

Re: Best Practices

2005-05-23 Thread Russell Shaw
Ron Hudson wrote: Hi, I am teaching myself C by writing programs. I have some questions about proper practices... Ask in news:comp.lang.c

Re: [avr-gcc-list] AVR-GCC question

2005-05-23 Thread Russell Shaw
Trampas wrote: My dream is for Meta compiler. That is I would like a compiler where I could expand the functionality, such that I write code to write the code for me. For example, lets take a real world example in which I want to run a debug version of my code which keeps track of the stack

Re: [avrdude-dev] Re: [AVR-Chat] AVRDUDE 5.0 BETA Release

2005-05-18 Thread Russell Shaw
Mike Perks wrote: Brian, I sometimes like to use AVRDude as an alternative to AVRProg. However I have found the following problems continue to exist in even the AVRDude 5.0 Beta. This is frank input that I hope will spur you to improve AVRDude. 1. I tried building my own version from source and

Re: Global motion events

2005-05-14 Thread Russell Shaw
Owen Taylor wrote: On Sat, 2005-05-14 at 13:49 +1000, Russell Shaw wrote: 2. The need to have windows to catch mouse events in itself is a problem. It's a frequent GTK+ FAQ, GTK+ widgets like GtkLabel have complex logic for sometimes adding an event widget, and an artificial

Re: Borland software patent restricting GNU compiler development

2005-05-11 Thread Russell Shaw
Florian Weimer wrote: * Ranjit Mathew: Without looking at the patent, I would hazard the guess that it is about Win32 Structured Exception Handling (SEH): http://www.microsoft.com/msj/0197/exception/exception.aspx (The linked-to mail from the GCC mailing list seems to confirm this.) Indeed.

Re: Non-english strings

2005-04-04 Thread Russell Shaw
David Necas (Yeti) wrote: On Sun, Apr 03, 2005 at 01:59:38AM +1000, Russell Shaw wrote: How are gtk apps translated to other languages? Does someone need to rewrite all the gtk_label strings in a program? See gettext: http://www.gnu.org/software/gettext/ All strings obviously have

Non-english strings

2005-04-02 Thread Russell Shaw
Hi, How are gtk apps translated to other languages? Does someone need to rewrite all the gtk_label strings in a program? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: multiple modules: HAVE_CONFIG_H

2005-02-15 Thread Russell Shaw
Carl Nicol wrote: I'm building a project with multiple modules and using AC_CONFIG_HEADERS. It seems to automatically define -DHAVE_CONFIG_H. Is there any way to have it define some other variable to base the inclusions upon? I have three different modules/libraries that I am building separately

Re: newbie question

2005-02-12 Thread Russell Shaw
Globe Trotter wrote: Hi, I have a program which was written in gtk+1.2. What steps do I need to take to convert it to gtk-2? Are there any tools available for such an enterprise? Not really. It's a good excuse and exercise to learn the gtk2 api tho;) Install the devhelp help browser and you can

Re: regarding gtk+ syntax highlighting

2005-02-08 Thread Russell Shaw
subashini wrote: Sir, I 'm a UG student doing a project in GTK+ programming. I need to know about the SYNTAX highlighting in GTK. Please guide me with the necessary details. Awaiting your reply. check out gedit. ___ gtk-devel-list

Re: regarding gtk+ syntax highlighting

2005-02-08 Thread Russell Shaw
subashini wrote: Sir, I 'm a UG student doing a project in GTK+ programming. I need to know about the SYNTAX highlighting in GTK. Please guide me with the necessary details. Awaiting your reply. This is the gtk devel-list NOT the user list. Ask on gtk-app-devel-list.

AC_CACHE

2005-02-07 Thread Russell Shaw
Hi, I'm updating a very old configure.in to a new configure.ac. I don't get what this does: # Check for the tigetstr/tigetnum functions. AC_MSG_CHECKING([for tigetstr/tigetstr]) AC_CACHE_VAL([gotch_cv_have_curses_tigetstr], [dnl

Re: AC_CACHE

2005-02-07 Thread Russell Shaw
Russell Shaw wrote: Hi, I'm updating a very old configure.in to a new configure.ac. I don't get what this does: Don't worry, figured it out;) ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: gtkmm capabilities

2005-02-01 Thread Russell Shaw
Roel Vanhout wrote: On Mon, 2005-01-31 at 13:13 -0700, John Taber wrote: Our concerns in a nutshell: gtkmm: we like the clean c++ syntax but scary library dependencies for static builds, is it cross-platform enough(especially Windows), missing html viewer, is librsvg cross-platform? Unless your

Re: gtk-config with GTK+-2.0

2005-01-07 Thread Russell Shaw
Glen Engels wrote: Hello, I'm a new linux user trying to configure/install a pre-written program. I'm getting this error: checking for gtk-config... no checking for GTK - version = 1.2.0... no *** The gtk-config script installed by GTK could not be found. From this archived post:

Last configure args

2004-12-31 Thread Russell Shaw
Hi, If i've run ./configure CFLAGS=., then is there a way to find what CFLAGS were set to afterwards? I want to find what flags i used last time i configured a program a few weeks ago. ___ Autoconf mailing list Autoconf@gnu.org

Re: Last configure args

2004-12-31 Thread Russell Shaw
Russell Shaw wrote: Hi, If i've run ./configure CFLAGS=., then is there a way to find what CFLAGS were set to afterwards? I want to find what flags i used last time i configured a program a few weeks ago. oops never mind, i just looked in the generated Makefile

Re: Help - Unsubscribe

2004-12-31 Thread Russell Shaw
Bobby King wrote: Help. I need to stop subscribing to the GTK list. That is; I need to be removed from the GTK distribution list. I sent an email with unsubscribe as the subject, which works for many groups, but obviously does not for this one. Will someone be kind enough to inform me how to

Re: dereferencing

2004-12-22 Thread Russell Shaw
Mustafa Sanver wrote: Hi, Any idea how to solve this dereferencing problem? Thank you in advanced. = ERROR GtkNotebookPagegtsrc.c: In function `set_notebook_tab': gtsrc.c:144: error: dereferencing pointer to incomplete type CODE /* This is an internally used function

Re: i know is off of topic, but...

2004-12-14 Thread Russell Shaw
Mario Motta wrote: hi all, someone can tell me why this piece of sw compile and works even if it should not ? $ gcc --version gcc (GCC) 3.3.1 (mingw special 20030804-1) $ gcc impossible.c -o impossible == #include stdio.h int main(int argc,

Re: AC_ARG_WITH

2004-10-22 Thread Russell Shaw
Stepan Kasal wrote: Hello, On Fri, Oct 22, 2004 at 04:20:18AM +1000, Russell Shaw wrote: /configure --with-default-size=5.8 I still think --enable-default-size=5.8 is best suited for your needs. But it's only cosmetic change. Maybe a new macro should be made for setting numerical defaults

AC_ARG_WITH

2004-10-21 Thread Russell Shaw
Hi, I'm learning autoconf packaging. At the configure step, i want to specify: ./configure --with-default-size=5 and have appear in config.h: #define DEFAULT_SZ 5 In configure.ac, i have: AC_ARG_WITH( [border_size], AC_HELP_STRING([--with-default-border-size], [Set

Re: AC_ARG_WITH

2004-10-21 Thread Russell Shaw
Stepan Kasal wrote: Hello, On Thu, Oct 21, 2004 at 04:53:06PM +1000, Russell Shaw wrote: AC_DEFINE(DEFAULT_SZ,$default_size) you already have the short hint. Thus you should do: AC_ARG_WITH(border-size, [AS_HELP_STRING(--with-border-size=n, [Set default border size to `n

Re: Printing in GTK+

2004-10-14 Thread Russell Shaw
Roger Leigh wrote: Carl B. Constantine [EMAIL PROTECTED] writes: I have some data I want to print out in my application. How do I do it? To make things a little different, I *might* print to one of those POS type printers (USB) not a regular printer. Pointers? Which classes do I need to use?

Re: learning gtk - callbacks

2004-09-24 Thread Russell Shaw
greg wolski wrote: Hi there, I am trying to learn gtk and I have a hard time to understand signals. This comes from helloworld in tutorial g_signal_connect (G_OBJECT (window), delete_event, G_CALLBACK (delete_event), NULL); g_signal_connect (G_OBJECT (window), destroy,

Re: MDI (not winMDI) frameworks ... again

2004-09-08 Thread Russell Shaw
Tim wrote: Firstly, I agree with all prior posts that M$ has destroyed the concept of MDI by having the window in window approach using a window menu and having maximized sub windows, tiled or cascaded. This type of MDI is what another user called winMDI and I totally agree that it sucks big

Re: Creating printable reports

2004-07-21 Thread Russell Shaw
Daniel Kasak wrote: Hi all. I'm a newbie Perl developer, and I'm part-way through porting our database front-ends from Access to Perl / Gtk2 ( running on Linux ). We need a few printable reports that I have to rebuild. I've started out doing them in a Perl CGI script, exporting an HTML 'report'

Re: GLIB / Pango install

2004-07-05 Thread Russell Shaw
Andreas Hagele wrote: Russell, running rpm -i glib3-2.4.2-1.i386.rpm produces: file /usr/lib/libglib-2.0.so.0 from install of glib2-2.4.2-1 conflicts with file from package glib2-2.2.1-1 file /usr/lib/libgmodule-2.0.so.0 from install of glib2-2.4.2-1 conflicts with file from

Re: passing 3 widgets as parameters to g_signal_connect

2004-07-05 Thread Russell Shaw
Leslie Harlley Watter wrote: Hi Andrei, Thanks for the answer, but it only changes the error. Now I get: warning: assignment discards qualifiers from pointer target type Ah, BTW I'm using gcc -o calc main.c `pkg-config --cflags --libs gtk+-2.0` main.c: In function `on_vezes_clicked': main.c:217:

Re: passing 3 widgets as parameters to g_signal_connect

2004-07-05 Thread Russell Shaw
Sven Neumann wrote: Hi, Russell Shaw [EMAIL PROTECTED] writes: G_CONST_RETURN gchar *oper1,*oper2; oper1 = gtk_entry_get_text(GTK_ENTRY(elem-op1)); oper2 = gtk_entry_get_text(GTK_ENTRY(elem-op2)); Why would you use G_CONST_RETURN here? The right thing to do is to use the const qualifier

Re: GLIB / Pango install

2004-07-01 Thread Russell Shaw
Andreas Hagele wrote: Hi, I'm new to Linux and try to install Gimp 2.0 onto a RedHat 9 installation with Gnome desktop. Gimp needs a new GTK which needs Pango which in turn needs GLIB = 2.4.0 I can get GLIB installed without any errors but the Pango ./configure can't find it. The configure script

Re: Install GTK+2.4.3 - error required pango and xft

2004-06-30 Thread Russell Shaw
David Stevens wrote: Hi. I have this same problem what had Ori Rosen. During configure GTK+2.4.3 I receive massage: configure: error: Pango 1.2.0 and Xft backend is required for x11 target I check pango and xft: [EMAIL PROTECTED] gtk+-2.4.3]# pkg-config --modversion pango 1.4.0 [EMAIL PROTECTED]

Re: Making an empty TreeView sub-column not take up any space

2004-06-26 Thread Russell Shaw
ERDI Gergo wrote: [Please CC replies to [EMAIL PROTECTED] Hi, I'd like to create a pixbuf sub-column inside a GtkTreeView column that doesn't take up any space when the pixbuf is empty. Currently I'm setting up the view like this: column = gtk_tree_view_column_new (); renderer =

Re: GTK+-2.4.3 installation

2004-06-25 Thread Russell Shaw
Ori Rosen wrote: I have installed the most recent versions of glib, pango and atk. When configuring gtk2.4.3, I am getting the error: Pango 1.2.0 and Xft backend is required for X11 target. Just above that, it was able to find pango 1.4.0, so why does it need pango 1.2.0? Make sure pkg-config

Re: GTK+-2.4.3 installation

2004-06-25 Thread Russell Shaw
Ori Rosen wrote: --- Russell Shaw [EMAIL PROTECTED] wrote: Ori Rosen wrote: I have installed the most recent versions of glib, pango and atk. When configuring gtk2.4.3, I am getting the error: Pango 1.2.0 and Xft backend is required for X11 target. Just above that, it was able to find pango 1.4.0

Re: GTK+-2.4.3 installation

2004-06-25 Thread Russell Shaw
Ori Rosen wrote: --- Russell Shaw [EMAIL PROTECTED] wrote: Ori Rosen wrote: --- Russell Shaw [EMAIL PROTECTED] wrote: Ori Rosen wrote: I have installed the most recent versions of glib, pango and atk. When configuring gtk2.4.3, I am getting the error: Pango 1.2.0 and Xft backend is required

Building gtk docs

2004-06-24 Thread Russell Shaw
Hi, I upgraded all the xml/xsl/sgml packages i could find on my system. I get an error when building the gtk docs (from cvs): ~/SRC/gtk+/docs: make Making all in tutorial make[1]: Entering directory `/home/russell/SRC/gtk+/docs/tutorial' make[1]: Nothing to be done for `all'. make[1]: Leaving

Re: GLists

2004-06-23 Thread Russell Shaw
zze-DEPREZ Olivier FTRD/DMI/SOP wrote: Hello again, Do we need to create a new Glist (or GSList) each time it is called in a function ? Not if it is global. It seems that a call to g_list_nth_data(), even without changing indexes with g_list_next or else, into separate functions causes a

Building glib docs

2004-06-20 Thread Russell Shaw
Hi, When building glib docs from cvs, i get: touch tmpl-build.stamp *** Building XML *** cd . \ gtkdoc-mkdb --module=glib --source-dir=../../.. --output-format=xml --sgml-mode --output-format=xml --ignore-files=trio 100% symbol docs coverage (1264 symbols documented, 6 not documented) See

Re: Building glib docs

2004-06-20 Thread Russell Shaw
Sven Neumann wrote: Hi, Russell Shaw [EMAIL PROTECTED] writes: When building glib docs from cvs, i get: ... ../glib-docs.sgml:69: warning: failed to load external entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd; If your Docbook XML setup was complete (this includes properly setup

Re: custom widget embedding stock widget

2004-06-17 Thread Russell Shaw
mj s wrote: I am attempting to build a custom widget based off of the GtkDial example in the 2.0 tutorial. I wanted to add a vertical progressbar which would float above the dial widget until the user button_releases the mouse. I cannot find any infomation about embedding this stock Progress

Re: Problems with building GTK+ 2.4.3

2004-06-15 Thread Russell Shaw
Michael B. Trausch wrote: On Tue, 15 Jun 2004, Russell Shaw wrote: pkg-config --modversion xft (i have 2.1.2 on debian) You should have something like libfreetype6-dev on the system. Ugh. The problem this time was that I didn't have /usr/X11R6/lib/pkgconfig in $PKG_CONFIG_PATH... My head

Re: Installing GTK/Glib for CHEOPS

2004-06-15 Thread Russell Shaw
Jon Langel wrote: Guys, I'm trying to install CHEOPS and am installing GTK to support it. When I launch the CHEOPS install I get an unsatisfied libgtk.so.1 and libglib.so.1 dependency message. I've installed GTK 1.2.0 and 2.0. CHEOPS says it is 'tested' with the 1.1.x

Re: glib-mkenums: my: command not found

2004-06-15 Thread Russell Shaw
Erik Lorimor wrote: I've tried to build several things and am having this error: /usr/local/bin/glib-mkenums: my: command not found Current program I am trying to build is ATK 1.7 I've built glib 2.4.0, 2.4.1, 2.4.2 on Solaris 9, sparc all with the same results. For ATK my configure results and

Re: On Click event for an image

2004-06-15 Thread Russell Shaw
Chris W wrote: I am thinking that the best way to get the look I want for the calculator simulator I want to create is to have one graphic for keyboard. So I need to respond to clicks and then know where on the image they clicked so I can then figure out what button is at that point.How

Re: /usr/local [was: CPPFLAGS prob]

2004-06-14 Thread Russell Shaw
Hal Snyder wrote: Ralf Corsepius [EMAIL PROTECTED] writes: BTW: Having to pass /usr/local almost always indicates a massively mis-configured toolchain or configure script. Sorry if this is an F.A.Q. I see various ways of doing it but wonder, what is best practice? What are the recommended automake

Re: /usr/local [was: CPPFLAGS prob]

2004-06-14 Thread Russell Shaw
Dan Kegel wrote: Russell Shaw wrote: Hal Snyder wrote: Ralf Corsepius [EMAIL PROTECTED] writes: BTW: Having to pass /usr/local almost always indicates a massively mis-configured toolchain or configure script. Sorry if this is an F.A.Q. I see various ways of doing it but wonder, what is best

Re: Problems with building GTK+ 2.4.3

2004-06-14 Thread Russell Shaw
Michael B. Trausch wrote: Hello there, I've recently obtained the GTK+ library as well as Pango, ATK, and GLib. I was able to successfully build Pango, ATK, and GLib, and they've installed just fine. However, GTK+ absolutely *refuses* to build, and I can't quite make any sense of it,

Re: Problems with building GTK+ 2.4.3

2004-06-14 Thread Russell Shaw
Michael B. Trausch wrote: On Tue, 15 Jun 2004, Russell Shaw wrote: Make sure pkg-config can find its .pc files in /usr/local/lib/pkgconfig. Add this path in the shell: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig: /usr/lib/pkgconfig That had been

Re: Tracing errors

2004-06-13 Thread Russell Shaw
Jean Brfort wrote: Le dim 13/06/2004 07:07, Russell Shaw a crit : Hi, I just compiled gtk and now when i run a gtk prog such as gnumeric, i get: ** (gnumeric:9135): WARNING **: Cannot open font file for font Verdana 10 ** (gnome_segv:9136): WARNING **: Cannot open font file for font Verdana

Re: static linking of gtk+ 2.4.1 and programs

2004-06-12 Thread Russell Shaw
Jean Brfort wrote: Le ven 11/06/2004 06:39, Mirco Mueller a crit : Hello there everybody! After reading the web and one straight day/night of trying out stuff, I cannot figure out why static linking doesn't work. According to the DirectFB-project this seem to be possible

Re: Notebook and Scrolled windows: bug?

2004-06-02 Thread Russell Shaw
Bob McCallister wrote: If I run this program, I can only scroll on the first page of the notebook. In this example I used textviews, but the same problem occurs with treeviews. I've only been working with gtk (pygtk) for a few months, so I may be missing something, but this seems pretty

Calendar app

2004-06-01 Thread Russell Shaw
Hi, Is there a gtk calendar app where you can enter times and dates of meetings etc in to a graphical display of days of the month, and sound an alarm or send an email when the date/time is reached? Any other gtk apps for keeping track of appointments and things?

Re: dead gtk.org?

2004-05-29 Thread Russell Shaw
Sjoerd Linders wrote: I cann't reach it also, so I don't no. I've had no luck getting to http://www.gtk.org for the last couple of days. Is it dead? Thanks, Alan Blount I can get it ok. ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Gtk command line console widget

2004-05-26 Thread Russell Shaw
MAIDA, JAMES C. (JIM) (JSC-SF) (NASA) wrote: I am looking for a command line console for gtk. To do what commands? An xterm clone as a widget that can be embedded into a gtk app? Something that will work on both Linux and Windows. At the very least, I would like to have a text input window (not

Gtk

2004-03-11 Thread Russell Shaw
Hi, Which configure.ac macro should i use for a gtk2 app? AM_PATH_GTK_2_0() PKG_CHECK_MODULES() AC_PATH_LIB() Is there redundancy here, or does one macro supercede the others? Why aren't the first two macros in the archive?: http://www.gnu.org/software/ac-archive/htmldoc/index.html

Re: How to set background/foreground on button, entry, or label?

2004-03-05 Thread Russell Shaw
Tony Denault wrote: On Thu, 4 Mar 2004, Owen Taylor wrote: On Wed, 2004-03-03 at 20:39, Tony Denault wrote: Hi All, After doing some research and hacking, I wrote some code to set the foreground / backgroud color of a button, entry, label. This is still a confusing part of GTK 2.x., an

[pygtk] Table colour

2004-02-20 Thread Russell Shaw
Hi, How do you change a table background colour? In a class, i tried: self.table=gtk.Table(5,5) color=gtk.gdk.color_parse('white') self.table.modify_bg(gtk.STATE_NORMAL,color) ___ pygtk mailing list [EMAIL PROTECTED]

[pygtk] Window existance

2004-02-15 Thread Russell Shaw
Hi, In a class, i have: self.window=gtk.Window(gtk.WINDOW_TOPLEVEL) Later on, there is: if(self.window) self.window.destroy() I get an error: File db.py, line 82 if(self.window) ^ How do i test that the window exists? (or that a pointer is not null)

Re: [pygtk] Window existance

2004-02-15 Thread Russell Shaw
Walter Anger wrote: On Sun, 15 Feb 2004 19:06:10 +1100 Russell Shaw [EMAIL PROTECTED] wrote: Hi, In a class, i have: self.window=gtk.Window(gtk.WINDOW_TOPLEVEL) Later on, there is: if(self.window) self.window.destroy() I get an error: File db.py, line 82 if(self.window) maybe

Re: [pygtk] Window existance

2004-02-15 Thread Russell Shaw
Michal Pasternak wrote: Russell Shaw [Sun, Feb 15, 2004 at 07:06:10PM +1100]: Hi, ... How do i test that the window exists? (or that a pointer is not null) Python doesn't have null pointers. You should do: if self.window is not None: or: if self.window != None

Re: [pygtk] Pango attribute

2004-02-14 Thread Russell Shaw
Malcolm Tredinnick wrote: On Sat, 2004-02-14 at 15:52, Russell Shaw wrote: [...] That didn't work for me: window=gtk.Window(gtk.WINDOW_TOPLEVEL) vbox=gtk.VBox() window.add(vbox) label=gtk.Label(bN/bame) label.set_use_markup(True); vbox.pack_start(label) window.show_all() Cutting

[pygtk] Pango attribute

2004-02-13 Thread Russell Shaw
Hi, I just learnt python and pango. I get this error: python db.py Traceback (most recent call last): File db.py, line 68, in edit_mans attrlist=pango.AttrList() NameError: global name 'pango' is not defined I've imported gtk. Is there something else i should import? (i'm using

Re: [pygtk] Pango attribute

2004-02-13 Thread Russell Shaw
Bryan Clark wrote: On Sat, 2004-02-14 at 01:41 +1100, Russell Shaw wrote: I just learnt python and pango. I get this error: python db.py Traceback (most recent call last): File db.py, line 68, in edit_mans attrlist=pango.AttrList() NameError: global name 'pango' is not defined

Re: [pygtk] Pango attribute

2004-02-13 Thread Russell Shaw
Gonzalo Sainz-Trápaga wrote: Hi Russell, On Fri, 2004-02-13 at 23:43, Russell Shaw wrote: Hi, How do i make the first letter of a gtk_label bold? I tried: label=gtk.Label(Name) attrlist=pango.AttrList() attr=pango.AttrWeight(pango.WEIGHT_BOLD) attrlist.insert(attr) label.set_attributes

Re: [pygtk] Pango attribute

2004-02-13 Thread Russell Shaw
Gonzalo Sainz-Trápaga wrote: Hi Russell, On Fri, 2004-02-13 at 23:43, Russell Shaw wrote: Hi, How do i make the first letter of a gtk_label bold? I tried: label=gtk.Label(Name) attrlist=pango.AttrList() attr=pango.AttrWeight(pango.WEIGHT_BOLD) attrlist.insert(attr) label.set_attributes

Re: gtk+ compliation problem

2004-02-13 Thread Russell Shaw
adam wrote: Hi, I am trying to compile a CVS version of the gnome tree for development alongside my Debian copy. I want to install the tree in /opt I have set these environment variables: BASE=/opt GCCOPTS=-g export CC=gcc $GCCOPTS export CXX=g++ $GCCOPTS export PATH=$BASE/bin:$PATH export

[ADMIN] Debian dump problem

2004-02-10 Thread Russell Shaw
Hi, What does dump refer to in this message? I've deleted any databases i had. apt-get install postgresql Reading Package Lists... Done Building Dependency Tree... Done Suggested packages: libpgperl libpgtcl postgresql-dev pgaccess python-pygresql python-psycopg python-popy python-pgsql

Re: [SQL] Outer join

2004-02-02 Thread Russell Shaw
Tomasz Myrta wrote: Dnia 2004-02-03 07:28, Uytkownik Russell Shaw napisa: Hi, I'm using postgresql 7.3.4 on debian. I get bad results from a two-table left outer join. First table: select * from descriptions; desc_id | description -+- 909097 | cap 107890 | resis

Re: [PHP] Help with mail() function

2004-02-02 Thread Russell Shaw
Pooya Eslami wrote: Hi, I'm new to php and this newsletter. I have a form on my webpage and a php file to email it to me but the contents of the text area are not emailed to me. Can anyone help me with this? here is the code for my html and php files: html headtitleTest/title/head body form

Re: restricting data entry (filters?)

2004-02-02 Thread Russell Shaw
Carl B. Constantine wrote: I posted a note a while back about adding an input filter to a GtkEntry widget. I recieved a couple of responces, but I don't think they are what I need. I want the user to only be able to type numbers in a GtkEntry field. I don't want to have to check the value after

[PHP] Nested PHP

2004-02-01 Thread Russell Shaw
Hi, I have php code embedded in html, that is read by apache. Is nested php code allowable such as: ? $phpcode=? echo \ some html \ ?; ? ... html ... body ? echo $phpcode ? /body /html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Nested PHP

2004-02-01 Thread Russell Shaw
Robby Russell wrote: Russell Shaw wrote: Hi, I have php code embedded in html, that is read by apache. Is nested php code allowable such as: ? $phpcode=? echo \ some html \ ?; ? ... html ... body ? echo $phpcode ? /body /html Not sure what you're trying to do there. I am generating

Re: [PHP] stristr

2004-02-01 Thread Russell Shaw
Liam wrote: I've been trying to make this error logger for hours now, I get my webserver to forward all errors to error.php?message=404 etc.. The source can be found here http://the-bronze.me.uk/ID/error.txt Now Im at my wits end, I want all errors that come internaly eg from the-bronze.me.uk

Re: [PHP] PHP, Windows 2000/IIS MySQL

2004-02-01 Thread Russell Shaw
S Gex wrote: I'm trying to install PHP on my system. I know absolutely nothing about it. I installed MySQL and PHP, (PHP said that it configured IIS) When I attempt to write a PHP statement and an HTML statement, the HTML statement runs, but the PHP does not...Any suggestions? If you embed the php

Re: [ADMIN] Alternative to Money ...

2004-01-30 Thread Russell Shaw
Bruno Wolff III wrote: On Fri, Jan 30, 2004 at 10:55:13 -0800, Chris Gamache [EMAIL PROTECTED] wrote: Well, after living with the (depreciated) Money datatype for 5 years, I think its finally time to say goodbye (and now that we have DROP COLUMN it'll be MUCH easier transition). What's the

Re: gtk+-2.2.4 make fails

2004-01-27 Thread Russell Shaw
[EMAIL PROTECTED] wrote: Is freetype.h on the system and in the search path? The other errors are probably caused by the following implicit declarations. I _knew_ I was asking for a smack in the chops with the bleeding obvious. Thanks for wielding the cluebat :) The final solution was to copy the

Re: gtk+-2.2.4 make fails

2004-01-25 Thread Russell Shaw
[EMAIL PROTECTED] wrote: Apologies if this has already been covered, but I've not been able to find it in the docs, the FAQ or the list archives. I'm trying to build gtk+ on a customised Debian 3.0r2 host, and getting the problem described below. It happens regardless of whether I'm using the

[GENERAL] Multiway associations

2004-01-24 Thread Russell Shaw
Hi, I'm making my first database. I have a list of parts, each of which is sold by multiple vendors. I also have a list of vendors, each of which sell multiple parts. How should i arrange the tables for this that doesn't involve having lots of empty fields just in case ?

Re: OT: Why the net Sucks: Stonehenge

2004-01-13 Thread Russell Shaw
Nano Nano wrote: Watching a program on PBS, I decided I wanted to read about Stonehenge. Off to google, I go, searching for Stonehenge. Didn't like the results. Tried Google directory, Yahoo, and Teoma: didn't like any of them. The experience I wanted was a deep, rich, complete,

Re: problem switching from stable to testing...

2004-01-13 Thread Russell Shaw
enantiomer wrote: I have recently made the switch over to debian (woo hoo!) and am definitely a newbie. I noticed that when using the apt utilities like apt-get and apt-cache, much of the software that I want just isn't available in stable (stable worked fine though). so i moved over to testing

Re: kernel upgrade help (newbie)

2004-01-13 Thread Russell Shaw
James F. Green wrote: I installed woody from a downloaded CD image (I only downloaded the first CD, not the whole set) but alas no support for my network card. After searching Usenet I found that 2.4.21 or higher has support for my hardware. So I seem to need to upgrade my kernel in order to get

Re: hard drive install

2004-01-13 Thread Russell Shaw
Gary Thibeault wrote: Hello and thanks for the free download of Debian 3.0 r2. I'm a newbie who's interested in trying linux and I can't seem to find details on how to install the OS from the iso to the hard drive as I have no cd-rom. Can you help? ... thanks in advance...Gary PS:If the

<    1   2   3   4   5   6   7   >