Re: [gnome-flashback] Suppor for hiding maximized window titlebar in Metacity and gnome-applets::WindowPicker



Hi,

@Lanoxx Thanks for the directions.

I've prepared a patch (attached), it's simple but works :-)

Patched packages are at:
* https://launchpad.net/~eugenesan/+archive/ubuntu/ppa/+packages?field.name_filter=gnome-applets&field.status_filter=published&field.series_filter=xenial
* https://launchpad.net/~eugenesan/+archive/ubuntu/ppa/+packages?field.name_filter=metacity&field.status_filter=published&field.series_filter=xenial

P.S.
I've noticed that "Show the application title and close button for maximized windows" is not always working if only one window is open.

Regards.


On Sun, Dec 13, 2015 at 4:27 PM, Sebastian Geiger (Lanoxx) <lanoxx gmx net> wrote:
On 13/12/15 22:14, Eugene San wrote:
Hi,

It would be nice to have an option for hiding titlebars of maximized windows, which is very useful on small screens.

The idea is to hide titlebar in Metacity, I've ported corresponding patch from 2.x series (attached).
To control this functionality, I propose adding "Show titlebar of maximized windows" option to WindowsPicker preferences and toggle introduced in patch "org.gnome.metacity->show-maximized-titlebars".

Since I am not familiar with WindowPicker code it would be nice if someone could do that or at least instruct me.
The window picker code is not too complicated, I recommend you take a look at gnome-applets/windowpicker/src/wp-preferences-dialog. <https://git.gnome.org/browse/gnome-applets/tree/windowpicker/src/wp-preferences-dialog.c>*.

I imagine something like this is needed:

1. Add a checkbox to the ui file
2. Add a property and callback to the .c file
3. In the C file create GSettings object to the respective key and then set it to true

I don't have the time to do that currently, but it should not be too complicated.

Regards



_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list

_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list

Attachment: gnome-applets-3.18.1-show-maximized-titlebars.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]