Zeeshan Ali Khattak | 14 Dec 2007 17:18

coding style


Hi everyone!

   The only documentation one can find about the gnome coding style
though google is here:

http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html

   according to which:

" Read the (Standards)Writing C info node in the GNU documentation.
Then, get the Linux kernel sources and read the file
linux/Documentation/CodingStyle, and ignore Linus's jokes. These two
documents will give you a good idea of what we recommend for GNOME
code."

  as if these styles resemble each other in any way. This just
confuses a newbie.

"For core GNOME code we prefer the Linux kernel indentation style. Use
8-space tabs for indentation."

   Looking at the gtk+ source code, it doesn't at all seem to follow
that and if gtk+ is not "core GNOME code" then what is?

--

-- 
Regards,

Zeeshan Ali Khattak
FSF member#5124
(Continue reading)

Paa.listas | 17 Dec 2007 17:56
Picon

Applet Menu


Hello,

 

            I am writing an applet that has 2 menus, one is the standard Applet menu whit: Move, Remove from Panel, Lock to panel, About, etc.; and the other is a custom menu (app menu) that should popup when I left click. Now, my applet has only a GtkMenuBar with a gtk_image_menu_item in it. The problem is that when I left o right click the menu, I always get the some menu, the app menu, but never get the standard Applet menu. How can I get these 2 menus (left click->my application menu and right click->standard panel/applet menu) working together.

 

Thanks in advance.

 

Pablo.

 

(Continue reading)

Leandro Marco | 19 Dec 2007 15:46
Picon

gnome-volume-manager doubt


Hi.

First of all, i would like to say that I don't know if this is the
right place for this question. As I couldn't find a more specific
list, I am sending this question here. I am wondering if you could
help or point someone that can.

I work for a company, and here we use a diskless environment (network
boot). People who work here have different levels of computational
knowledge. Some people don't use X, and others are people who use
windows at their home computers.

We use Debian 4.0, and I installed gnome-volume-manager in order to
use pen drives automount. Gnome-volume-manager doesn't require that we
put the mountpoints entries in etc/fstab; But, if I don't put the
entries in fstab the user that don't use X, won't  be able to mount
pendrives without root privilegies. If I put the entries in fstab, gvm
mount the pendrive, but I can't unmount them by clicking on the
unmount option in the context menu. That occurs because i have
something like this on fstab:

/dev/sda1       /mnt/pensda1 auto        noauto,users,umask=000     0       0

When I insert the pendrive, /dev/sda1 is registred on mtab. When I try
to unmount by clicking on the unmount option I get this error:

"umount: /dev/scsi/host0/bus0/target0/lun0/part1 is not mounted
(according to mtab)"

(Continue reading)

Alex Jones | 19 Dec 2007 16:53

Re: gnome-volume-manager doubt


If you're not using X and GNOME, you won't be able to use g-v-m, as g- 
v-m is a session service (I don't know why either). You can still use  
pmount, though, I think.

On 19 Dec 2007, at 14:46, Leandro Marco wrote:

>
> Hi.
>
> First of all, i would like to say that I don't know if this is the
> right place for this question. As I couldn't find a more specific
> list, I am sending this question here. I am wondering if you could
> help or point someone that can.
>
> I work for a company, and here we use a diskless environment (network
> boot). People who work here have different levels of computational
> knowledge. Some people don't use X, and others are people who use
> windows at their home computers.
>
> We use Debian 4.0, and I installed gnome-volume-manager in order to
> use pen drives automount. Gnome-volume-manager doesn't require that we
> put the mountpoints entries in etc/fstab; But, if I don't put the
> entries in fstab the user that don't use X, won't  be able to mount
> pendrives without root privilegies. If I put the entries in fstab, gvm
> mount the pendrive, but I can't unmount them by clicking on the
> unmount option in the context menu. That occurs because i have
> something like this on fstab:
>
> /dev/sda1       /mnt/pensda1 auto        noauto,users,umask=000      
(Continue reading)

Leandro Marco | 21 Dec 2007 15:26
Picon

Re: gnome-volume-manager doubt


Hi, I am not sure if you understood what my problem is.

As we use diskless, the boot is from the network. There is only one
fstab config files for all machines. I need to list the pendrive on
it, so that people who don't use X, can mount ir manually.

I want that gvm allows me to umount (using the context menu) even when
the pendrive is listed on fstab.

Tanks

On Dec 19, 2007 1:53 PM, Alex Jones <alex <at> weej.com> wrote:
> If you're not using X and GNOME, you won't be able to use g-v-m, as g-
> v-m is a session service (I don't know why either). You can still use
> pmount, though, I think.
>
>
> On 19 Dec 2007, at 14:46, Leandro Marco wrote:
>
> >
> > Hi.
> >
> > First of all, i would like to say that I don't know if this is the
> > right place for this question. As I couldn't find a more specific
> > list, I am sending this question here. I am wondering if you could
> > help or point someone that can.
> >
> > I work for a company, and here we use a diskless environment (network
> > boot). People who work here have different levels of computational
(Continue reading)

Madhusudan C.S | 21 Dec 2007 23:21
Picon
Gravatar

Fwd: GLib 2.15.0 released



Hi all,

I am extremely sorry again if I am posting at a wrong a place. Even though the svn trunk at svn.gnome.org consists of GLib 2.15.0 jhbuild uses the branched version of 2.14.5. I have already asked this question a bit differently but haven't got solutions. I am a beginner and I am very much excited about building gnome from source.
When I asked the question related to build errors gnome-hackers mailing list someone told me to ask in Bugzilla. But when I asked in Bugzilla I was told that it was a support forum and its not used to answer build problems. I am already very much disappointed about this. If someone knows the solution please answer me, or tell me where to post the Queries related to build fail Please.

My Question is how to use jhbuild to build gnome as of now if I just say jhbuild build it fails while building gtk+ saying glib-2.0 >= 2.15.0 required but the version present is 2.14.5, and when I type svn info in glib it points to the branch, if I use svn switch it changes the URL but if I again use jhbuild it reverts back to the branch. Also my jhbuildrc is pointing to gnome-2.22. Please Help Me


--
- With Regards
 Madhusudan.C.S

"When liberty is taken away by force it can be restored by force. When it is relinquished voluntarily by default it can never be recovered"
     -  Dorothy Thompson
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
Alex Jones | 22 Dec 2007 02:36

Re: gnome-volume-manager doubt


On 21 Dec 2007, at 14:26, Leandro Marco wrote:

> Hi, I am not sure if you understood what my problem is.
>
> As we use diskless, the boot is from the network. There is only one
> fstab config files for all machines. I need to list the pendrive on
> it, so that people who don't use X, can mount ir manually.
>
> I want that gvm allows me to umount (using the context menu) even when
> the pendrive is listed on fstab.

You shouldn't need to list the pendrive in fstab - hal and g-v-m for  
GNOME users (or pmount for non-GNOME users) should do everything you  
need it to without using fstab static configuration.

Sorry if I'm still missing your point.

>
>
> Tanks
>
> On Dec 19, 2007 1:53 PM, Alex Jones <alex <at> weej.com> wrote:
>> If you're not using X and GNOME, you won't be able to use g-v-m, as  
>> g-
>> v-m is a session service (I don't know why either). You can still use
>> pmount, though, I think.
>>
>>
>> On 19 Dec 2007, at 14:46, Leandro Marco wrote:
(Continue reading)


Gmane