my gmail account was hacked

2011-02-28 Thread Saroj Kumar
Hi All,

If you have received any mails from me today morning please ignore those
mails.
My account was hacked, but* now its alright*.

Sorry for the trouble!

Regards,
Saroj
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Drawing area with different layers

2011-02-28 Thread Tadej Borovšak
Hello.

 I'm new to gtk programming so this might be a very dummy question.  I
 use a DrawingArea to draw a map with three layers: the background map,
 the legend window, and app data.  Since the legend layer does not
 change often, can I store it in a pixmap and simply copy it rather
 than redraw it every time the map and app data change?

I would suggest that you use cairo to do all of the drawing. Then you
can store your drawings onto cairo surface and paint it when needed.

Cheers,
Tadej


-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Drawing area with different layers

2011-02-28 Thread Chris
Thanks Tadej.  I spent some time reading cairo document and tried what
you suggested.  I store a cairo surface and use cario_paint to redraw
the surface.  The result, however, is the same as I did with
gdk_draw_drawable: the background is scribled.  The problem might be
that the drawing surface is not properly set to transparent.  Do you
know how to do that?

Bests,

- Chris

On Mon, Feb 28, 2011 at 9:34 AM, Tadej Borovšak tadeb...@gmail.com wrote:
 Hello.

 I'm new to gtk programming so this might be a very dummy question.  I
 use a DrawingArea to draw a map with three layers: the background map,
 the legend window, and app data.  Since the legend layer does not
 change often, can I store it in a pixmap and simply copy it rather
 than redraw it every time the map and app data change?

 I would suggest that you use cairo to do all of the drawing. Then you
 can store your drawings onto cairo surface and paint it when needed.

 Cheers,
 Tadej


 --
 Tadej Borovšak
 tadeboro.blogspot.com
 tadeb...@gmail.com
 tadej.borov...@gmail.com

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Newbie question about gtk

2011-02-28 Thread John Ralls

On Feb 27, 2011, at 3:44 PM, tam2000k2 wrote:

 
 I am trying to go through some steps to get gtk-osx on my G4 PPC and when I
 run the script gtk-osx-build-setup.sh I receive the following error --
 gtk-osx-build-setup.sh: line 65: /usr/local/bin/git: Bad CPU type in
 executable Failed to clone jhbuild
 
 I then searched on the internet for a universal binary of git and it
 installed without errors.
 
 What can I do to remedy this situation?
 

This list isn't for support, and it isn't for gtk-osx. Try 
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users

But before you do, consider that gtk-osx-build-setup.sh doesn't install git, so 
it would seem that your situation is of your own making and is in any case 
resolved.

Regards,
John Ralls

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Grabs and completions

2011-02-28 Thread Federico Mena Quintero
Hi,

I'm trying to understand why bug #639842 happens.  It's pretty easy to
reproduce on 3.0:

1. gtk+/tests/testfilechooser --action=save
2. type /home/ plus the first letter of your username
3. wait for the completion suggestion window to appear
4. hit Tab
5. The focus changes to the next widget, while it should in fact
complete your username (for example).

I have this stack trace of the place where the focus is changing:

#0  gtk_window_focus (widget=0x80ae070, direction=GTK_DIR_TAB_FORWARD)
at gtkwindow.c:5894
#1  0xb7587778 in _gtk_marshal_BOOLEAN__ENUM (closure=0x8098d98,
return_value=0xbfb5c480, n_param_values=2, 
param_values=0x80eb540, invocation_hint=0xbfb5c49c,
marshal_data=0xb77201a1) at gtkmarshalers.c:165
#2  0xb6c8f947 in g_type_class_meta_marshal (closure=0x8098d98,
return_value=0xbfb5c480, n_param_values=2, 
param_values=0x80eb540, invocation_hint=0xbfb5c49c,
marshal_data=0xb0) at gclosure.c:878
#3  0xb6c8f636 in g_closure_invoke (closure=0x8098d98,
return_value=0xbfb5c480, n_param_values=2, param_values=0x80eb540, 
invocation_hint=0xbfb5c49c) at gclosure.c:767
#4  0xb6ca81ad in signal_emit_unlocked_R (node=0x8098df0, detail=0,
instance=0x80ae070, emission_return=0xbfb5c5bc, 
instance_and_params=0x80eb540) at gsignal.c:3290
#5  0xb6ca73c3 in g_signal_emit_valist (instance=0x80ae070,
signal_id=37, detail=0, 
var_args=0xbfb5c690 \244Ƶ\277\364\177\203\267\310Ƶ\277\243\300p
\267) at gsignal.c:2993
#6  0xb6ca7623 in g_signal_emit (instance=0x80ae070, signal_id=37,
detail=0) at gsignal.c:3040
#7  0xb770b10f in gtk_widget_child_focus (widget=0x80ae070,
direction=GTK_DIR_TAB_FORWARD) at gtkwidget.c:9546
#8  0xb74fae65 in gtk_entry_completion_key_press (widget=0x81f8000,
event=0x80df318, user_data=0x80a25e8) at gtkentry.c:9572
#9  0xb758758a in _gtk_marshal_BOOLEAN__BOXED (closure=0x8310430,
return_value=0xbfb5c870, n_param_values=2, 
param_values=0x80eb590, invocation_hint=0xbfb5c88c,
marshal_data=0x0) at gtkmarshalers.c:85
#10 0xb6c8f636 in g_closure_invoke (closure=0x8310430,
return_value=0xbfb5c870, n_param_values=2, param_values=0x80eb590, 
invocation_hint=0xbfb5c88c) at gclosure.c:767
#11 0xb6ca7fe8 in signal_emit_unlocked_R (node=0x8099530, detail=0,
instance=0x81f8000, emission_return=0xbfb5c9ac, 
instance_and_params=0x80eb590) at gsignal.c:3252
#12 0xb6ca73c3 in g_signal_emit_valist (instance=0x81f8000,
signal_id=49, detail=0, 
var_args=0xbfb5ca80 \230ʵ\277p\t\b\001) at gsignal.c:2993
#13 0xb6ca7623 in g_signal_emit (instance=0x81f8000, signal_id=49,
detail=0) at gsignal.c:3040
#14 0xb77050ae in gtk_widget_event_internal (widget=0x81f8000,
event=0x80df318) at gtkwidget.c:6063
#15 0xb770493b in gtk_widget_event (widget=0x81f8000, event=0x80df318)
at gtkwidget.c:5779
#16 0xb74ff16b in gtk_entry_completion_popup_key_event
(widget=0x80e6150, event=0x80df318, user_data=0x80a25e8)
at gtkentrycompletion.c:906

That gtk_entry_completion_popup_key_event() is gtkentrycompletion's
callback for key-press-event on its little popup window.  In turn,
that popup window grabbed the focus and took a GTK grab for events on
the keyboard device (see the end of _gtk_entry_completion_popup()).

For the file chooser's purposes, I'd like to be in charge of the Tab
key, instead of letting gtkentry and gtkentrycompletion decide what to
do.  So I'm wondering how to keep them from processing Tab at all, even
within the special signal handlers for the popup window.  Should I just
add an internal function to let them know not to mess with Tab?  That
seems a bit inelegant, but if it's internals only...

  Federico

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list