[PATCH] Clean up gdl-switcher.c and add GDL_SWITCHER_STYLE_NONE

View: New views
3 Messages — Rating Filter:   Alert me  

[PATCH] Clean up gdl-switcher.c and add GDL_SWITCHER_STYLE_NONE

by Debarshi Ray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://rishi.fedorapeople.org/libgdl-2.26.2-switcher.patch

This adds a new GdlSwitcherStyle named GDL_SWITCHER_STYLE_NONE to hide
all the switcher buttons or tabs. I need this in my application [1] to
hide the buttons and tabs during fullscreen. While doing this I
realized that the existing switcher style code was a convoluted mess.
So I took the liberty to clean it up a bit and removed the portions
covered by HAVE_GNOME since those seem to be quite dead.

Right now the patch is against 2.26.2, since that is what I am using
now, but I can rebase it on the current Git head. If you want, I can
break it up into smaller pieces too.

Comments?

Happy hacking,
Debarshi

[1] http://rishi.fedorapeople.org/solang-0.2.png
--
One reason that life is complex is that it has a real part and an
imaginary part.
    -- Andrew Koenig

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel

Re: [PATCH] Clean up gdl-switcher.c and add GDL_SWITCHER_STYLE_NONE

by Debarshi Ray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> http://rishi.fedorapeople.org/libgdl-2.26.2-switcher.patch
>
> This adds a new GdlSwitcherStyle named GDL_SWITCHER_STYLE_NONE to hide
> all the switcher buttons or tabs.

Filed as: http://bugzilla.gnome.org/589317

Happy hacking,
Debarshi
--
One reason that life is complex is that it has a real part and an
imaginary part.
    -- Andrew Koenig

------------------------------------------------------------------------------
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel

Re: [PATCH] Clean up gdl-switcher.c and add GDL_SWITCHER_STYLE_NONE

by Debarshi Ray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> http://rishi.fedorapeople.org/libgdl-2.26.2-switcher.patch
>>
>> This adds a new GdlSwitcherStyle named GDL_SWITCHER_STYLE_NONE to hide
>> all the switcher buttons or tabs.
>
> Filed as: http://bugzilla.gnome.org/589317

Any comments on this idea?

Cheers,
Debarshi
--
One reason that life is complex is that it has a real part and an
imaginary part.
    -- Andrew Koenig

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel