forked from AuroraMiddleware/gtk
Drop unused logo resource
The inspector no longer sets a window icon.
This commit is contained in:
parent
10d5705b70
commit
1ac9400712
@ -86,7 +86,6 @@ for f in get_files('inspector', '.ui'):
|
|||||||
xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)
|
xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)
|
||||||
|
|
||||||
xml += '''
|
xml += '''
|
||||||
<file>inspector/logo.png</file>
|
|
||||||
<file>inspector/inspector.css</file>
|
<file>inspector/inspector.css</file>
|
||||||
<file>emoji/en.data</file>
|
<file>emoji/en.data</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
@ -46,7 +46,7 @@ set_texture (GtkWidget *button,
|
|||||||
|
|
||||||
if (gtk_check_button_get_active (GTK_CHECK_BUTTON (button)))
|
if (gtk_check_button_get_active (GTK_CHECK_BUTTON (button)))
|
||||||
{
|
{
|
||||||
texture = gdk_texture_new_from_resource ("/org/gtk/libgtk/inspector/logo.png");
|
texture = gdk_texture_new_from_resource ("/org/gtk/libgtk/icons/32x32/places/network-workgroup.png");
|
||||||
gtk_entry_set_icon_from_paintable (entry, GTK_ENTRY_ICON_SECONDARY, GDK_PAINTABLE (texture));
|
gtk_entry_set_icon_from_paintable (entry, GTK_ENTRY_ICON_SECONDARY, GDK_PAINTABLE (texture));
|
||||||
g_object_unref (texture);
|
g_object_unref (texture);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user