Issues with gtk.Entry in Gnome Applet

2009-10-20 Thread Abhishek Mishra
Hi, I've been trying to work out a gnome panel applet since this friday and have finally ended up in weird issue, this might have come due my lack of understanding of applets/gtk+. So I seek some suggestions/pointers/eye-openers. The source of my applet can be checked out here -

Re: Notification or applet?

2009-03-06 Thread Sander Marechal
Ali Abdallah wrote: > Sander Marechal wrote: >> I am wondering how I should program this. I know about Gnome applets but >> it's not really an applet (like Pidgin and Rhythmbox aren't applets but >> full-blown applications). But I have read that the notification ar

Re: Notification or applet?

2009-03-06 Thread Ali Abdallah
ot; Today's Topics: 1. Notification or applet? (Sander Marechal) 2. Re: How to make a window resize as I want? (jcup...@gmail.com) -- Message: 1 Date: Fri, 06 Mar 2009 10:00:17 +0100 From: Sander Marechal Subject: N

Notification or applet?

2009-03-06 Thread Sander Marechal
Hi all, I am working on an application that has a feature in common with Rythmbox, X-Chat, Pidgin and a few other applications: It should sit in the system tray when closed/minimized. I am wondering how I should program this. I know about Gnome applets but it's not really an applet (like P

Disable (set non-sensitive) an item of the popup menu of a GNOME panel applet

2009-02-03 Thread Eugene Arshinov
How can I do that? I can get a BonoboUIComponent corresponding to the popup menu with panel_applet_get_popup_component(), but I do not know how to use the returned object. It would be better if I could get a GtkMenu. I tried to call gtk_menu_get_for_attach_widget() passing my PanelApplet obj

Transparent in a panel applet

2009-01-18 Thread Vadim Peretokin
Hi, How can one write pacified text in an applet that's on the gnome panel? Pango only allows RGB colors, and while searching I didn't find too much information on this. One attempted solution was to use cairo to draw the text (code<http://pastie.org/362502>), however that does n

Re: Basic GNOME applet developement

2008-11-18 Thread James Scott Jr
t, in that your printf's show console output. Your issue may simply be that you never added your widgets to the applet itself. In GTK there is always a top level window/widget which everything gets added to. In a gnome applet the applet itself is that top-level window. This snippet will attach your

Re: Basic GNOME applet developement

2008-11-17 Thread Andrew M.
On Mon, November 17, 2008 7:48 am, Michael Ott wrote: > Hello Andrew! > >> >> I am attempting my first Gnome applet creation and I found a great tutorial at http://projects.gnome.org/ORBit2/appletstutorial.html . Unfortunately, I am stuck where the example goes to load

Re: Basic GNOME applet developement

2008-11-16 Thread Andrew M.
On Sun, November 16, 2008 7:58 pm, Michael Ott wrote: > Hello Andrew! > >> I am attempting my first Gnome applet creation and I found a great >> tutorial at http://projects.gnome.org/ORBit2/appletstutorial.html . >> Unfortunately, I am stuck where the example goes

Basic applet developement

2008-11-15 Thread Andrew M.
Hi all. I am attempting my first Gnome applet creation and I found a great tutorial at http://projects.gnome.org/ORBit2/appletstutorial.html . Unfortunately, I am stuck where the example goes to load an image. I can compile the applet and make it run but when I add it to the Gnome bar it doesn&#

applet and tray in gnome

2008-01-12 Thread Daniel Fetchinson
Forgot the subject line I originally sent this post to the gnome list but nobody replied. I'll try my luck here this time, hopefully it's not too OT. I'm using stalonetray http://stalonetray.sf.net/ as my system tray and can't get the gnome battery charge monitor

Re: Fwd: gnome applet w/ bash

2007-11-10 Thread Matteo Landi
Just another question.. what is the right way to fix the functions for closing the applet? i noticed that if i shutdown the cpu and i've got the applet running, it freezes waiting for killing remaining process; after that i gotta shut it down manually using the front button.. what is the

Re: Fwd: gnome applet w/ bash

2007-11-07 Thread Matteo Landi
well thank you so much for the help you gave me i created my first gnome applet (there is also a cpu graph) and it looks very good! M@ On Mon, 2007-11-05 at 23:50 +1100, Michael Lamothe wrote: > Oh dear, > > #include > > struct utsname name; > uname(&name)

Re: Fwd: gnome applet w/ bash

2007-11-07 Thread Matteo Landi
orked for > > > me, > > > > > > > > > gchar* std_output = NULL; > > > g_spawn_command_line_sync("ls -al", &std_output, NULL, NULL, NULL); > > > printf(std_output); > > > > > > Thanks, > > > > &

Re: Fwd: gnome applet w/ bash

2007-11-07 Thread Matteo Landi
Tnx i think that the first one is the function i'm in need of; by the way i cant' make it work, and my gnome panel crashs everytime i run the applet, so i think there is some problems with memory: well, i've got: const char* data (as argoment of a function) char *std_out (created

Re: Fwd: gnome applet w/ bash

2007-11-05 Thread Michael Lamothe
> > > me, > > > > > > > > > > > > gchar* std_output = NULL; > > > > g_spawn_command_line_sync("ls -al", &std_output, NULL, NULL, > > > > NULL); > > > > printf(std_output); > >

Re: Fwd: gnome applet w/ bash

2007-11-05 Thread Michael Lamothe
> > g_spawn_command_line_sync("ls -al", &std_output, NULL, NULL, NULL); > > printf(std_output); > > > > Thanks, > > > > Michael > > > > > > On 05/11/2007, Matteo Landi <[EMAIL PROTECTED]> wrote: > > > Tnx i

Fwd: gnome applet w/ bash

2007-11-04 Thread Michael Lamothe
L PROTECTED]> wrote: > thank you very much, that solved one of my problems. > here is the second: > i'm using a pipe to catch the output of a specific command and store it > as a label in the panel; the problem is that if the array containing the > output is smaller than the

Applet

2005-10-11 Thread Norberto M. Lopes
I have a menu with some menuitems. Each menuitem is a hbox. One of the menuitems has an entry box. When I do gtk_widget_grab_focus(GTK_WIDGET(entry)) appers a cursor in the entry box as expected, but I can't write a single letter in it... Why? Are there any restrictions to the use of an entry in a

Re: Internationalizing a simple Gnome Panel Applet .........? the solution

2005-09-12 Thread Christophe Combelles
Christophe Combelles a écrit : > I could easily i12ize a simple GTK hello world application, > but I can't do the same for a panel applet. > OK, autoconf gave me the hint : I just forgot -DENABLE_NLS So I summarize the minimum internationalized hello world gnom

Internationalizing a simple Gnome Panel Applet .........?

2005-08-30 Thread Christophe Combelles
Hello, I'm trying to rewrite the openoffice quickstart panel applet for Gnome. You can try it at http://gorfou.fr/contrib/ooqstart-gnome/ooqstart-0.8.9.tgz Ot the Debian Sarge package http://gorfou.fr/contrib/ooqstart-gnome/ooqstart-gnome_0.8.9-1_i386.deb It works well, but it needs i18

panel applet Context menu item

2005-04-06 Thread APR Trainees
Hello people I have created a context menu, attached to a panel applet. Now I need to 1. First set the fore color of this panel applet context menu item, individually. 2. How can I refer to a menu-item name, in my source file. On compilation I am getting an error message that the specified

Executing gnome applet from the commandline!!!!!1

2005-03-18 Thread APR Trainees
Hello friends, We have made a .server file and so our applet coems as aprt of a menu.But we need to use Add to Panel->etc is there a way that we can DIRECTLY get the panel applet on the desktop like the print-manager icon or other icons. Such that its visible to the user on launch its

CANNOT START CORBA for a panel applet

2005-03-14 Thread APR Trainees
Hi, we are trying to develop a panel applet. When we try to run the applet in Gnome, we get the following error: ** WARNING **: Cannot activate a panel object ** WARNING **: Cannot start CORBA In a window the applet says: segmentation fault. PLEASE HELP