Robert Moskowitz | 1 Feb 2011 11:09

Re: gthumb 2.12 a pain

On 01/31/2011 03:49 PM, Dr. Michael J. Chudobiak wrote:
>>> Drag does a copy, shift+drag does a move. That might work better for 
>>> you.
>>
>> shift+drag does nothing. Nor does control+drag or shift+control+drag.
>> Only drag works as a copy.
>
> Maybe it's only in git master, I'm not sure. You can always build from 
> git master if you want the latest-and-greatest. It's not that hard:
>
> http://live.gnome.org/gthumb/development

I have other priorities.  Perhaps I will get to it.  Or I will just take 
this to the Fedora testing list  :)

>
>
>> And when I select an image, I get a properties box that eats up half the
>> tree space and I have not figured out how to shut that off, as it eats
>> into showing which directory to drag to!
>
> https://bugzilla.gnome.org/show_bug.cgi?id=631198

Will check into this.

One other 'glich', I can only seem to open one copy of gthumb and view 
one image.  I use to be able to open dozens of copies and view dozen of 
images.  I could have a copy of gthumb in each workspace, or however I 
wanted to slice and dice.
(Continue reading)

LDB | 2 Feb 2011 01:02

GUI Language Issues and Desktop Issues

All:

I need some help to resolve a few issues:

	1) Certain GUIs that I use within Gnome
	have lately been displaying in the language
	Hebrew or Arabic.

	I need this returned back to English.

	Any ideas?

	2) After I reboot I would all my terminal
	Windows to be in place once I login after a
	reboot.

	I chose "Automatically remember running applications when logging out"
	within Control Center, but it does not work.

Any help would be great .. especially the first question.

I am using Gnome 2.30.0 distributed from SuSE BTW ...

Thanks,

LDB
Oscar Salvador | 2 Feb 2011 14:08
Picon

Gtk+Cairo+transparency

 Hi, how are you.

I don't know if this is best site to ask this question. If not, i appreciate you that 
indicate me the better site for this.

Well, i explain my problem.

I'm developing an aplicattion with gtk. 

I'm using Cairo library for make transparent the mainwindow of the aplication, but this 
window has also a "gtk theme" made for me(image background etc). 
If I only put gtk theme in the window i have no problem, all run correctly, but 
when I paint this window with cairo, my gtk theme dissapears.

The code that does this is:


==========================================

gboolean supports_alpha = FALSE;

static gboolean expose(GtkWidget *widget, GdkEventExpose *event, gpointer userdata)
{
    cairo_t *cr = gdk_cairo_create(widget->window);

    if (supports_alpha)
        cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 1); /* transparent */
    else
        cairo_set_source_rgb (cr, 1.0, 1.0, 1.0); /* opaque white */

    /* draw the background */
    cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
    
    cairo_paint (cr);

    cairo_destroy(cr);
    return FALSE;
}


static void screen_changed(GtkWidget *widget, GdkScreen *old_screen, gpointer userdata)
{
    /* To check if the display supports alpha channels, get the colormap */
    GdkScreen *screen = gtk_widget_get_screen(widget);
    GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen);

    if (!colormap)
    {
        printf("Your screen does not support alpha channels!\n");
        colormap = gdk_screen_get_rgb_colormap(screen);
        supports_alpha = FALSE;
    }
    else
    {
        printf("Your screen supports alpha channels!\n");
        supports_alpha = TRUE;
    }

    /* Now we have a colormap appropriate for the screen, use it */
    gtk_widget_set_colormap(widget, colormap);
}



static GtkWidget *set_window_attr(GtkWindow *window)
{
char rc_style[512];
  
gtk_window_set_position(window, GTK_WIN_POS_MOUSE);
gtk_window_set_default_size(window, 300, 200);
gtk_window_set_decorated(window, FALSE);
sprintf(rc_style, "pixmap_path \"/\" \n" "style \"mywindow\" \n" "{\n"
"bg_pixmap[NORMAL]=\"%s\"\n"
"}"
 "class \"GtkWindow\" style \"mywindow\"\n", "player.png");
gtk_rc_parse_string(rc_style);
gtk_widget_set_app_paintable(GTK_WIDGET(window), TRUE);
g_signal_connect(window, "delete-event", G_CALLBACK(delete_event), NULL);
g_signal_connect(window, "expose-event", G_CALLBACK(expose), NULL);
     g_signal_connect(window, "screen-changed", G_CALLBACK(screen_changed), NULL);

    return GTK_WIDGET(window);
}

void player_intf(int c_argc, char **c_argv)
{
    GtkWidget *window;
    int i_args = c_argc;
    char **pp_args  = c_argv;

        gtk_init (&i_args, &pp_args);
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        window = set_window_attr(GTK_WINDOW(window));
        screen_changed(window, NULL, NULL);

        gtk_widget_show_all(window);
        gtk_main();
}


int main(int argc, char **argv)
{
    player_intf(argc, argv);

    return 0;
}


================================================


The part of code that done a transparent window is not mine, i searched how do a transparent windows with gtk in google, and i found this.




Thanks a lot,

Regards
Attachment (maquetacion.c): text/x-csrc, 3603 bytes
_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list
Wil Willis | 2 Feb 2011 20:45
Picon

behavior of gnome-panel

Hey folks, when I double click on a hyperlink  (url) in Thunderbird, I 
have to go to the panel and click on the pulsing blue minimized tab to 
maximize the page.

Isn't there a way to get the focus to behave such that the brower will 
display the tab fully opened?

thanks,

wil
Dennis Prochniak | 2 Feb 2011 21:09
Picon
Gravatar

Re: behavior of gnome-panel

System → Preferences → Preferred Applications [Web Browser]
This is probably where you need to make changes

On 02/02/11 19:45, Wil Willis wrote:
> Hey folks, when I double click on a hyperlink (url) in Thunderbird, I 
> have to go to the panel and click on the pulsing blue minimized tab to 
> maximize the page.
>
> Isn't there a way to get the focus to behave such that the brower will 
> display the tab fully opened?
>
> thanks,
>
> wil
> _______________________________________________
> gnome-list mailing list
> gnome-list <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-list
_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list
Shaun McCance | 2 Feb 2011 23:50
Picon
Gravatar

Re: behavior of gnome-panel

On Wed, 2011-02-02 at 11:45 -0800, Wil Willis wrote:
> Hey folks, when I double click on a hyperlink  (url) in Thunderbird, I 
> have to go to the panel and click on the pulsing blue minimized tab to 
> maximize the page.
> 
> Isn't there a way to get the focus to behave such that the brower will 
> display the tab fully opened?

I think you're describing an intentional (and very annoying)
behavior on the Metacity window manager:

https://bugzilla.gnome.org/show_bug.cgi?id=482354#c115

I have no idea why anybody thinks this is the right way to
do things. It just means I have to click again to confirm
the things I want to do, based on something as arbitrary
as whether or not I happen to already have an application
running.

--
Shaun
Alex Ermakov | 3 Feb 2011 12:36
Picon
Gravatar

gnome usb automounting

Hello. I've found, that by default gnome mounts my usb flash with 'flush' option. To be more specific, this is mount line: 

/dev/sdb1 on /media/578A-F4A7 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)

Using 'flush' options makes copying files to flash very slow. I've tried to mount flash manually without 'flush' and it works fine. So now I want to remove 'flush' option from default mount options. Where can I find related config? If such config is not available, please tell me, which applications mounts flash, I'll take look at its source code. Thanks.

I'm using ArchLinux, Gnome 2.32.1, HAL is removed.

_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list
Olav Vitters | 3 Feb 2011 12:28
Picon

Re: behavior of gnome-panel

On Wed, Feb 02, 2011 at 05:50:06PM -0500, Shaun McCance wrote:
> On Wed, 2011-02-02 at 11:45 -0800, Wil Willis wrote:
> > Hey folks, when I double click on a hyperlink  (url) in Thunderbird, I 
> > have to go to the panel and click on the pulsing blue minimized tab to 
> > maximize the page.
> > 
> > Isn't there a way to get the focus to behave such that the brower will 
> > display the tab fully opened?
> 
> I think you're describing an intentional (and very annoying)
> behavior on the Metacity window manager:

Just caused by the lack of support for statup notification. Based on the
right event (time), metacity will focus it (didn't read the bug).

--

-- 
Regards,
Olav
Wil Willis | 4 Feb 2011 01:22
Picon

Re: behavior of gnome-panel

Thanks to all who replied to this.  I wanted firefox to open a tab and 
display a page when I click on a hyperlink in thunderbird.  Currently 
the tab opens but is minimized and you stay with the mail reader.

SYSTEM->PREFERENCES->APPEARANCE->VISUALS is where I was able to get it 
to work but only sometimes.  It's hard to tell what's in charge of 
display characteristics in this Ubuntu 10.10 / Gnome 2.3.2.0 system.

regards,

wil
Jim Cline | 4 Feb 2011 02:54
Picon

mouse button binding conflict with fvwm

I am running fvwm under gnome (in Ubuntu).  Everything works well except 
that gnome has stolen the bindings for the left and right mouse buttons 
for its own purposes.  Only the middle mouse button works as expected with 
fvwm.  I have looked all over in gconf-editor to find out whether this 
gnome binding can be released, with no success.  --Jim

Gmane