background: Force bigger size for preview rendering
The current code would use the "default" cell renderer size of 16 before scaling the emblem. Make the default size bigger so that the emblems are applied on that bigger size, not on the smaller size. Fixes tiny emblem for slideshows.
This commit is contained in:
parent
db3129ef63
commit
06fd58b90b
2 changed files with 5 additions and 3 deletions
|
@ -67,7 +67,9 @@
|
||||||
<property name="column_spacing">0</property>
|
<property name="column_spacing">0</property>
|
||||||
<property name="margin">0</property>
|
<property name="margin">0</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCellRendererPixbuf" id="pixbuf-renderer"/>
|
<object class="GtkCellRendererPixbuf" id="pixbuf-renderer">
|
||||||
|
<property name="stock_size">6</property>
|
||||||
|
</object>
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="gicon">0</attribute>
|
<attribute name="gicon">0</attribute>
|
||||||
</attributes>
|
</attributes>
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define THUMBNAIL_WIDTH 47
|
#define THUMBNAIL_WIDTH 48
|
||||||
#define THUMBNAIL_HEIGHT 47
|
#define THUMBNAIL_HEIGHT 48
|
||||||
|
|
||||||
#define BG_TYPE_SOURCE bg_source_get_type()
|
#define BG_TYPE_SOURCE bg_source_get_type()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue