[gtk/wip/jimmac/app-icon-helpers] App icon helpers
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/app-icon-helpers] App icon helpers
- Date: Mon, 26 Nov 2018 17:22:33 +0000 (UTC)
commit b3f491cd98949edbe0436966f4728a35edc96512
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Nov 26 17:55:45 2018 +0100
App icon helpers
app chooser: use 32px size, outline class
aboutbox: dropshadow class
See issue #1434 for context
gtk/ui/gtkaboutdialog.ui | 3 +++
gtk/ui/gtkappchooserwidget.ui | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/gtk/ui/gtkaboutdialog.ui b/gtk/ui/gtkaboutdialog.ui
index 180151f66e..267859a67d 100644
--- a/gtk/ui/gtkaboutdialog.ui
+++ b/gtk/ui/gtkaboutdialog.ui
@@ -28,6 +28,9 @@
<property name="vexpand">1</property>
<child>
<object class="GtkImage" id="logo_image">
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
<property name="icon-name">image-missing</property>
</object>
</child>
diff --git a/gtk/ui/gtkappchooserwidget.ui b/gtk/ui/gtkappchooserwidget.ui
index d59a042f07..a6bf277b0f 100644
--- a/gtk/ui/gtkappchooserwidget.ui
+++ b/gtk/ui/gtkappchooserwidget.ui
@@ -70,7 +70,12 @@
<object class="GtkCellRendererText" id="secondary_padding"/>
</child>
<child>
- <object class="GtkCellRendererPixbuf" id="app_icon"/>
+ <object class="GtkCellRendererPixbuf" id="app_icon">
+ <style>
+ <class name="lowres-icon"/>
+ </style>
+ <property name="stock-size">5</property>
+ </object>
<attributes>
<attribute name="gicon">1</attribute>
</attributes>
@@ -125,3 +130,4 @@
</child>
</template>
</interface>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]