Age | Commit message (Collapse) | Author | Files | Lines |
|
invalid cast from plain struct to GtkWidget was causing a heap
of runtime warnings when saving area screenshot, and no busy cursor
was shown. fallout from 7d859a9e17f0c4f0b790e8b2a3d8ac25481d7fe6...
|
|
no need to mention GTK+3 anymore
|
|
and require mate-panel >= 1.17
|
|
Relying on configure events to resize the preview makes us do more
work than necessary and, in particular, gtk+ sometimes sends us phony
configure events sized 1x1 which make us hit a pretty CPU intensive
resize operation in gdk-pixbuf.
Instead, we can avoid all that by creating the preview pixbuf lazily
on the draw handler using the actual allocated widget size.
https://bugzilla.gnome.org/show_bug.cgi?id=768087
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?id=c21823b
|
|
|
|
* remove deprecated calls to:
- gdk_keyboard_grab
- gdk_pointer_grab
- gdk_keyboard_ungrab
- gdk_pointer_ungrab
GTK+3 Replace on_preview_expose_event
This method used many deprecated calles.
This method was replaced with on_preview_draw,
code taken directly from current gnome-screenshot
|
|
* Add glade ui for gtk+3
* Remove usage of things like GTKHBox, GTKHButtonBox
and other deprecated widgets
|
|
|