diff --git a/common/server_list_icons.go b/common/server_list_icons.go index b42cf4f..5dd419d 100644 --- a/common/server_list_icons.go +++ b/common/server_list_icons.go @@ -12,4 +12,5 @@ package common var SERVER_OFFLINE = `iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9kECQARFtZgmEwAAAnXSURBVFjDjZd5cFXVHce/55y7vCV7SIIsEkJCFiAkBFGWTrDQBdcZOxFFpy2SFqvjTIeGre20dvpHrQWUcfoHFK1jbWuxMzpVCSDI4oKsMWDyXlgSIktIQoBs79171v7xkoAkgmfmznnnvjP3+znfc3+/87vEGINv08qrCQDAchO9VgZaAZQBlCXuST/xrLot3+6ZAEBuB1BeTWA5BGXisRwF5z7XdqoMUKy1ylBKJ1FK+xljXQSIeL631aKy9gv7rXbJzbcC+UaAQeEpsR9PCoScdcZgUV5enszLyw1nZWUjOTkZwUAAcS+Onp4edHZ0oKXlbH9zy1nLGF3LPVnTEHrjzO1ARgQoryYo6KlyMkalvsKY9WRlZaVbUlLCHMeBzSxQxqC0gu95UFrBGMAYA60VYIDGSETt27fPF1K82dcde+5Uytv8myCGAcz4OUGZXJplu2xHYWFh0cKFC4LBQAhJyclwHRcAoJSClBJSCgghwDkHFxyc+4h7HizGwJiF3bs/ikebotF4n/eD02lvdx7bbG4NUF5NUK6XZlkOq6+srMyaMWOGlRQOIz0tA67rQmsNqSSESIhLIcAlh+ASnHvwfA7OPfjch+QCySmpqKurk/v3f9LJPT79VMrbnTc7QW+23XbZjvnzK7NmlJdZqampSE1NhxsIgDEGShkYZYkVUgY61FNQxmBZDIxaIKDQxuDy5Q6UlJRYc+fNzbIca2dBT5UzGE2DzRr64RBkjEp9pbCwqKi8fIYVDAbh2A4IgO07arG9thZpaWl4/PEnMOHOOwECEEJACAUlBG0XL+HzgwfQ1HQSZWXTUTKlBMYYXL7cieml06y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TfLm7//E7xoJ48Ak0FRddLu0Jel8fcTtsbDMP4utu0ywcytdRpDL16nNN7jV1ukcKq698rR99brkH/F/AQ0wdhYSGdHKAAAAAElFTkSuQmCC +` diff --git a/ui/mainwindow_init.go b/ui/mainwindow_init.go index 826d766..56a5838 100644 --- a/ui/mainwindow_init.go +++ b/ui/mainwindow_init.go @@ -355,24 +355,29 @@ func (m *MainWindow) initializeStorages() { // Pixbufs. // Offline server. srv_offline_bytes, _ := base64.StdEncoding.DecodeString(common.SERVER_OFFLINE) - srv_offline_pixbuf := gdkpixbuf.NewLoader() + srv_offline_pixbuf, _ := gdkpixbuf.NewLoaderWithType("png") + srv_offline_pixbuf.SetSize(24, 24) srv_offline_pixbuf.Write(srv_offline_bytes) m.server_offline_pic = srv_offline_pixbuf.GetPixbuf() // Online server. srv_online_bytes, _ := base64.StdEncoding.DecodeString(common.SERVER_ONLINE) - srv_online_pixbuf := gdkpixbuf.NewLoader() + srv_online_pixbuf, _ := gdkpixbuf.NewLoaderWithType("png") + srv_online_pixbuf.SetSize(24, 24) srv_online_pixbuf.Write(srv_online_bytes) m.server_online_pic = srv_online_pixbuf.GetPixbuf() // Private server. srv_private_bytes, _ := base64.StdEncoding.DecodeString(common.SERVER_PRIVATE) - srv_private_pixbuf := gdkpixbuf.NewLoader() + srv_private_pixbuf, _ := gdkpixbuf.NewLoaderWithType("png") + srv_private_pixbuf.SetSize(24, 24) srv_private_pixbuf.Write(srv_private_bytes) m.server_private_pic = srv_private_pixbuf.GetPixbuf() // Public server. srv_public_bytes, _ := base64.StdEncoding.DecodeString(common.SERVER_PUBLIC) - srv_public_pixbuf := gdkpixbuf.NewLoader() + srv_public_pixbuf, _ := gdkpixbuf.NewLoaderWithType("png") + srv_public_pixbuf.SetSize(24, 24) srv_public_pixbuf.Write(srv_public_bytes) m.server_public_pic = srv_public_pixbuf.GetPixbuf() + fmt.Println(srv_public_pixbuf.GetFormat().GetName()) } // Tabs widget initialization, including all child widgets.