[gtk/modern-doc-shooter: 5/8] docs: Avoid focus in gallery images
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/modern-doc-shooter: 5/8] docs: Avoid focus in gallery images
- Date: Tue, 4 Aug 2020 04:40:30 +0000 (UTC)
commit 92cb6296409bc7071b9da3c123547a90094adf53
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 4 00:14:17 2020 -0400
docs: Avoid focus in gallery images
Seeing focus rectangles and selections in these
images is a distraction, and we used to avoid it.
Bring that back.
docs/reference/gtk/images/aboutdialog.png | Bin 20001 -> 19426 bytes
docs/reference/gtk/images/accel-label.png | Bin 3474 -> 3181 bytes
docs/reference/gtk/images/action-bar.png | Bin 2237 -> 2169 bytes
docs/reference/gtk/images/appchooserbutton.png | Bin 5377 -> 5273 bytes
docs/reference/gtk/images/assistant.png | Bin 9441 -> 9435 bytes
docs/reference/gtk/images/button.png | Bin 2777 -> 2498 bytes
docs/reference/gtk/images/check-button.png | Bin 3541 -> 3249 bytes
docs/reference/gtk/images/color-button.png | Bin 3177 -> 2906 bytes
docs/reference/gtk/images/combo-box-entry.png | Bin 3644 -> 3667 bytes
docs/reference/gtk/images/combo-box-text.png | Bin 3880 -> 3607 bytes
docs/reference/gtk/images/combo-box.png | Bin 3433 -> 3154 bytes
docs/reference/gtk/images/entry.png | Bin 2511 -> 2017 bytes
docs/reference/gtk/images/file-button.png | Bin 10239 -> 10278 bytes
docs/reference/gtk/images/filechooser.png | Bin 122242 -> 116355 bytes
docs/reference/gtk/images/flow-box.png | Bin 7293 -> 6926 bytes
docs/reference/gtk/images/font-button.png | Bin 4128 -> 3849 bytes
docs/reference/gtk/images/fontchooser.png | Bin 41298 -> 41294 bytes
docs/reference/gtk/images/frame.png | Bin 2181 -> 2198 bytes
docs/reference/gtk/images/headerbar.png | Bin 4131 -> 4117 bytes
docs/reference/gtk/images/icon-view.png | Bin 7106 -> 7184 bytes
docs/reference/gtk/images/image.png | Bin 4362 -> 4406 bytes
docs/reference/gtk/images/info-bar.png | Bin 2878 -> 2959 bytes
docs/reference/gtk/images/label.png | Bin 1698 -> 1741 bytes
docs/reference/gtk/images/levelbar.png | Bin 2191 -> 2242 bytes
docs/reference/gtk/images/link-button.png | Bin 2139 -> 2181 bytes
docs/reference/gtk/images/list-and-tree.png | Bin 7060 -> 6997 bytes
docs/reference/gtk/images/list-box.png | Bin 6746 -> 6876 bytes
docs/reference/gtk/images/lock-button.png | Bin 3867 -> 3939 bytes
docs/reference/gtk/images/media-controls.png | Bin 4295 -> 4245 bytes
docs/reference/gtk/images/messagedialog.png | Bin 7714 -> 7611 bytes
docs/reference/gtk/images/multiline-text.png | Bin 2872 -> 2812 bytes
docs/reference/gtk/images/notebook.png | Bin 4340 -> 4234 bytes
docs/reference/gtk/images/pagesetupdialog.png | Bin 24390 -> 24482 bytes
docs/reference/gtk/images/panes.png | Bin 4471 -> 4361 bytes
docs/reference/gtk/images/printdialog.png | Bin 38062 -> 38077 bytes
docs/reference/gtk/images/progressbar.png | Bin 2750 -> 2795 bytes
docs/reference/gtk/images/radio-group.png | Bin 5703 -> 5596 bytes
docs/reference/gtk/images/scales.png | Bin 5799 -> 5749 bytes
docs/reference/gtk/images/scrollbar.png | Bin 2357 -> 2397 bytes
docs/reference/gtk/images/scrolledwindow.png | Bin 3774 -> 3665 bytes
docs/reference/gtk/images/search-bar.png | Bin 3969 -> 3890 bytes
docs/reference/gtk/images/search-entry.png | Bin 2365 -> 2418 bytes
docs/reference/gtk/images/separator.png | Bin 4993 -> 4882 bytes
docs/reference/gtk/images/spinbutton.png | Bin 3343 -> 3151 bytes
docs/reference/gtk/images/spinner.png | Bin 3373 -> 3079 bytes
docs/reference/gtk/images/statusbar.png | Bin 3106 -> 3091 bytes
docs/reference/gtk/images/switch.png | Bin 3843 -> 3732 bytes
docs/reference/gtk/images/toggle-button.png | Bin 3244 -> 3227 bytes
docs/reference/gtk/images/video.png | Bin 3606 -> 3633 bytes
docs/reference/gtk/images/window.png | Bin 3330 -> 3372 bytes
docs/tools/shooter.c | 9 +++++++++
51 files changed, 9 insertions(+)
---
diff --git a/docs/reference/gtk/images/aboutdialog.png b/docs/reference/gtk/images/aboutdialog.png
index 131a803bb8..dd324b1880 100644
Binary files a/docs/reference/gtk/images/aboutdialog.png and b/docs/reference/gtk/images/aboutdialog.png
differ
diff --git a/docs/reference/gtk/images/accel-label.png b/docs/reference/gtk/images/accel-label.png
index d39322a496..282ba8c024 100644
Binary files a/docs/reference/gtk/images/accel-label.png and b/docs/reference/gtk/images/accel-label.png
differ
diff --git a/docs/reference/gtk/images/action-bar.png b/docs/reference/gtk/images/action-bar.png
index 34ed711bde..54382c99ab 100644
Binary files a/docs/reference/gtk/images/action-bar.png and b/docs/reference/gtk/images/action-bar.png differ
diff --git a/docs/reference/gtk/images/appchooserbutton.png b/docs/reference/gtk/images/appchooserbutton.png
index 0cb15dd4b4..50c28900ed 100644
Binary files a/docs/reference/gtk/images/appchooserbutton.png and
b/docs/reference/gtk/images/appchooserbutton.png differ
diff --git a/docs/reference/gtk/images/assistant.png b/docs/reference/gtk/images/assistant.png
index e374b26cef..d13d12da2a 100644
Binary files a/docs/reference/gtk/images/assistant.png and b/docs/reference/gtk/images/assistant.png differ
diff --git a/docs/reference/gtk/images/button.png b/docs/reference/gtk/images/button.png
index f598db0bb6..93135534e4 100644
Binary files a/docs/reference/gtk/images/button.png and b/docs/reference/gtk/images/button.png differ
diff --git a/docs/reference/gtk/images/check-button.png b/docs/reference/gtk/images/check-button.png
index c441af8101..d6b1005017 100644
Binary files a/docs/reference/gtk/images/check-button.png and b/docs/reference/gtk/images/check-button.png
differ
diff --git a/docs/reference/gtk/images/color-button.png b/docs/reference/gtk/images/color-button.png
index dc34d26cce..0a576c1f7b 100644
Binary files a/docs/reference/gtk/images/color-button.png and b/docs/reference/gtk/images/color-button.png
differ
diff --git a/docs/reference/gtk/images/combo-box-entry.png b/docs/reference/gtk/images/combo-box-entry.png
index 4105233335..ff030cee8d 100644
Binary files a/docs/reference/gtk/images/combo-box-entry.png and
b/docs/reference/gtk/images/combo-box-entry.png differ
diff --git a/docs/reference/gtk/images/combo-box-text.png b/docs/reference/gtk/images/combo-box-text.png
index d7a7d0ec5a..6c24e0ae65 100644
Binary files a/docs/reference/gtk/images/combo-box-text.png and
b/docs/reference/gtk/images/combo-box-text.png differ
diff --git a/docs/reference/gtk/images/combo-box.png b/docs/reference/gtk/images/combo-box.png
index a090a5ac00..6376f71676 100644
Binary files a/docs/reference/gtk/images/combo-box.png and b/docs/reference/gtk/images/combo-box.png differ
diff --git a/docs/reference/gtk/images/entry.png b/docs/reference/gtk/images/entry.png
index c2c3a276aa..8032301d9e 100644
Binary files a/docs/reference/gtk/images/entry.png and b/docs/reference/gtk/images/entry.png differ
diff --git a/docs/reference/gtk/images/file-button.png b/docs/reference/gtk/images/file-button.png
index 271d39f1ce..45d9f7d734 100644
Binary files a/docs/reference/gtk/images/file-button.png and b/docs/reference/gtk/images/file-button.png
differ
diff --git a/docs/reference/gtk/images/filechooser.png b/docs/reference/gtk/images/filechooser.png
index 2c4e4183cf..f66426ae3a 100644
Binary files a/docs/reference/gtk/images/filechooser.png and b/docs/reference/gtk/images/filechooser.png
differ
diff --git a/docs/reference/gtk/images/flow-box.png b/docs/reference/gtk/images/flow-box.png
index 4e742b9a51..e4c6e6f428 100644
Binary files a/docs/reference/gtk/images/flow-box.png and b/docs/reference/gtk/images/flow-box.png differ
diff --git a/docs/reference/gtk/images/font-button.png b/docs/reference/gtk/images/font-button.png
index b91d3a8622..b5805c8d6b 100644
Binary files a/docs/reference/gtk/images/font-button.png and b/docs/reference/gtk/images/font-button.png
differ
diff --git a/docs/reference/gtk/images/fontchooser.png b/docs/reference/gtk/images/fontchooser.png
index 409d096da6..f0127431e5 100644
Binary files a/docs/reference/gtk/images/fontchooser.png and b/docs/reference/gtk/images/fontchooser.png
differ
diff --git a/docs/reference/gtk/images/frame.png b/docs/reference/gtk/images/frame.png
index 55270e1969..b413869bf4 100644
Binary files a/docs/reference/gtk/images/frame.png and b/docs/reference/gtk/images/frame.png differ
diff --git a/docs/reference/gtk/images/headerbar.png b/docs/reference/gtk/images/headerbar.png
index 0dc50be5cb..53148e8be8 100644
Binary files a/docs/reference/gtk/images/headerbar.png and b/docs/reference/gtk/images/headerbar.png differ
diff --git a/docs/reference/gtk/images/icon-view.png b/docs/reference/gtk/images/icon-view.png
index d2e32db289..ef9d5b91b5 100644
Binary files a/docs/reference/gtk/images/icon-view.png and b/docs/reference/gtk/images/icon-view.png differ
diff --git a/docs/reference/gtk/images/image.png b/docs/reference/gtk/images/image.png
index 59a9775854..36250b869b 100644
Binary files a/docs/reference/gtk/images/image.png and b/docs/reference/gtk/images/image.png differ
diff --git a/docs/reference/gtk/images/info-bar.png b/docs/reference/gtk/images/info-bar.png
index b6ff8e604b..d25cc5dd5b 100644
Binary files a/docs/reference/gtk/images/info-bar.png and b/docs/reference/gtk/images/info-bar.png differ
diff --git a/docs/reference/gtk/images/label.png b/docs/reference/gtk/images/label.png
index 12844e6925..77d35ab9c3 100644
Binary files a/docs/reference/gtk/images/label.png and b/docs/reference/gtk/images/label.png differ
diff --git a/docs/reference/gtk/images/levelbar.png b/docs/reference/gtk/images/levelbar.png
index f08ab5e1c3..7fe38f1b1a 100644
Binary files a/docs/reference/gtk/images/levelbar.png and b/docs/reference/gtk/images/levelbar.png differ
diff --git a/docs/reference/gtk/images/link-button.png b/docs/reference/gtk/images/link-button.png
index 97147c1443..8d1cc35371 100644
Binary files a/docs/reference/gtk/images/link-button.png and b/docs/reference/gtk/images/link-button.png
differ
diff --git a/docs/reference/gtk/images/list-and-tree.png b/docs/reference/gtk/images/list-and-tree.png
index e71df43c65..83132b9a20 100644
Binary files a/docs/reference/gtk/images/list-and-tree.png and b/docs/reference/gtk/images/list-and-tree.png
differ
diff --git a/docs/reference/gtk/images/list-box.png b/docs/reference/gtk/images/list-box.png
index e01e60652b..f79efd0d88 100644
Binary files a/docs/reference/gtk/images/list-box.png and b/docs/reference/gtk/images/list-box.png differ
diff --git a/docs/reference/gtk/images/lock-button.png b/docs/reference/gtk/images/lock-button.png
index a5bf61f30d..4282613bf3 100644
Binary files a/docs/reference/gtk/images/lock-button.png and b/docs/reference/gtk/images/lock-button.png
differ
diff --git a/docs/reference/gtk/images/media-controls.png b/docs/reference/gtk/images/media-controls.png
index 829b131569..d49f88d9c3 100644
Binary files a/docs/reference/gtk/images/media-controls.png and
b/docs/reference/gtk/images/media-controls.png differ
diff --git a/docs/reference/gtk/images/messagedialog.png b/docs/reference/gtk/images/messagedialog.png
index eb310d8408..5b5870f7d9 100644
Binary files a/docs/reference/gtk/images/messagedialog.png and b/docs/reference/gtk/images/messagedialog.png
differ
diff --git a/docs/reference/gtk/images/multiline-text.png b/docs/reference/gtk/images/multiline-text.png
index 89e97169a9..fd64964a29 100644
Binary files a/docs/reference/gtk/images/multiline-text.png and
b/docs/reference/gtk/images/multiline-text.png differ
diff --git a/docs/reference/gtk/images/notebook.png b/docs/reference/gtk/images/notebook.png
index 6bc6951502..3dd1d3cc5d 100644
Binary files a/docs/reference/gtk/images/notebook.png and b/docs/reference/gtk/images/notebook.png differ
diff --git a/docs/reference/gtk/images/pagesetupdialog.png b/docs/reference/gtk/images/pagesetupdialog.png
index 5e7211f260..efc11b83b9 100644
Binary files a/docs/reference/gtk/images/pagesetupdialog.png and
b/docs/reference/gtk/images/pagesetupdialog.png differ
diff --git a/docs/reference/gtk/images/panes.png b/docs/reference/gtk/images/panes.png
index 061cd2f82d..e5e5b0801c 100644
Binary files a/docs/reference/gtk/images/panes.png and b/docs/reference/gtk/images/panes.png differ
diff --git a/docs/reference/gtk/images/printdialog.png b/docs/reference/gtk/images/printdialog.png
index e9e13b4a43..9a536b1654 100644
Binary files a/docs/reference/gtk/images/printdialog.png and b/docs/reference/gtk/images/printdialog.png
differ
diff --git a/docs/reference/gtk/images/progressbar.png b/docs/reference/gtk/images/progressbar.png
index fbf0047b72..8399c3dd18 100644
Binary files a/docs/reference/gtk/images/progressbar.png and b/docs/reference/gtk/images/progressbar.png
differ
diff --git a/docs/reference/gtk/images/radio-group.png b/docs/reference/gtk/images/radio-group.png
index 1a98822f8d..da6245f9f6 100644
Binary files a/docs/reference/gtk/images/radio-group.png and b/docs/reference/gtk/images/radio-group.png
differ
diff --git a/docs/reference/gtk/images/scales.png b/docs/reference/gtk/images/scales.png
index 96799620c4..f03325e247 100644
Binary files a/docs/reference/gtk/images/scales.png and b/docs/reference/gtk/images/scales.png differ
diff --git a/docs/reference/gtk/images/scrollbar.png b/docs/reference/gtk/images/scrollbar.png
index 1703bfe923..6fb1052f09 100644
Binary files a/docs/reference/gtk/images/scrollbar.png and b/docs/reference/gtk/images/scrollbar.png differ
diff --git a/docs/reference/gtk/images/scrolledwindow.png b/docs/reference/gtk/images/scrolledwindow.png
index 2e862b838a..49bf1f6d7b 100644
Binary files a/docs/reference/gtk/images/scrolledwindow.png and
b/docs/reference/gtk/images/scrolledwindow.png differ
diff --git a/docs/reference/gtk/images/search-bar.png b/docs/reference/gtk/images/search-bar.png
index 389a71b04b..b82d4a181b 100644
Binary files a/docs/reference/gtk/images/search-bar.png and b/docs/reference/gtk/images/search-bar.png differ
diff --git a/docs/reference/gtk/images/search-entry.png b/docs/reference/gtk/images/search-entry.png
index f4e93ad059..22549fc093 100644
Binary files a/docs/reference/gtk/images/search-entry.png and b/docs/reference/gtk/images/search-entry.png
differ
diff --git a/docs/reference/gtk/images/separator.png b/docs/reference/gtk/images/separator.png
index 115385394f..b76ec870ab 100644
Binary files a/docs/reference/gtk/images/separator.png and b/docs/reference/gtk/images/separator.png differ
diff --git a/docs/reference/gtk/images/spinbutton.png b/docs/reference/gtk/images/spinbutton.png
index 747205be46..bcb1b5566d 100644
Binary files a/docs/reference/gtk/images/spinbutton.png and b/docs/reference/gtk/images/spinbutton.png differ
diff --git a/docs/reference/gtk/images/spinner.png b/docs/reference/gtk/images/spinner.png
index 2425de3e6c..f74deb7f41 100644
Binary files a/docs/reference/gtk/images/spinner.png and b/docs/reference/gtk/images/spinner.png differ
diff --git a/docs/reference/gtk/images/statusbar.png b/docs/reference/gtk/images/statusbar.png
index 553576b7c1..32add6dd07 100644
Binary files a/docs/reference/gtk/images/statusbar.png and b/docs/reference/gtk/images/statusbar.png differ
diff --git a/docs/reference/gtk/images/switch.png b/docs/reference/gtk/images/switch.png
index fea1addbcd..b714d48f3b 100644
Binary files a/docs/reference/gtk/images/switch.png and b/docs/reference/gtk/images/switch.png differ
diff --git a/docs/reference/gtk/images/toggle-button.png b/docs/reference/gtk/images/toggle-button.png
index 9bc81b197d..b928538d56 100644
Binary files a/docs/reference/gtk/images/toggle-button.png and b/docs/reference/gtk/images/toggle-button.png
differ
diff --git a/docs/reference/gtk/images/video.png b/docs/reference/gtk/images/video.png
index 2ed034fcbc..c044c80058 100644
Binary files a/docs/reference/gtk/images/video.png and b/docs/reference/gtk/images/video.png differ
diff --git a/docs/reference/gtk/images/window.png b/docs/reference/gtk/images/window.png
index 5d6135d240..106f3ca62e 100644
Binary files a/docs/reference/gtk/images/window.png and b/docs/reference/gtk/images/window.png differ
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c
index b112fbb385..bf72d1e471 100644
--- a/docs/tools/shooter.c
+++ b/docs/tools/shooter.c
@@ -137,6 +137,15 @@ main (int argc, char **argv)
gtk_widget_show (info->window);
+ if (info->no_focus)
+ {
+ gtk_root_set_focus (GTK_ROOT (info->window), NULL);
+ gdk_clipboard_set_content (gdk_display_get_primary_clipboard (gdk_display_get_default ()),
+ NULL);
+ }
+
+ //while (1) g_main_context_iteration (NULL, 1);
+
surface = snapshot_widget (info->window);
pixbuf = gdk_pixbuf_get_from_surface (surface, 0, 0,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]