tomatoers / tomato

A simple, usable, and efficient pomodoro app designed for elementary OS
GNU General Public License v2.0
67 stars 15 forks source link

Moved from GtkWindow to GtkDialog #24

Closed sgpthomas closed 7 years ago

sgpthomas commented 7 years ago

Experimental transitioning from a GtkWindow to a GtkDialog. The purpose of doing this is because the window is transient by nature. It is not meant to be looked at constantly. Instead, the use opens it briefly for short interactions. A dialog is perfect for this.

It also looks pretty cool to have the whole window be one color. However this is not quite ready. Occasionally [FATAL 11:50:51.841958] [Gtk] gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed is printed at every keypress. Though it doesn't seem to break functionality all that much. Still trying to track this down. Also, the theming isn't quite right. Looking closely at the screenshots, you can see a grey line that goes around the body of the dialog, but not the titlebar.

tomato-dialog-1 tomato-dialog-2