-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2841 use get_icon_filename to deal with missing icon extension tranp…
…arently, but do specify the extension when we know it (ie: splash screen) git-svn-id: https://xpra.org/svn/Xpra/trunk@27002 3bb7dfac-3a0b-4e04-842a-767bc560f471
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# This file is part of Xpra. | ||
# Copyright (C) 2018-2019 Antoine Martin <[email protected]> | ||
# Copyright (C) 2018-2020 Antoine Martin <[email protected]> | ||
# Xpra is released under the terms of the GNU GPL v2, or, at your option, any | ||
# later version. See the file COPYING for details. | ||
|
||
|
@@ -84,7 +84,7 @@ def hide(*_args): | |
self.set_resizable(True) | ||
self.set_decorated(True) | ||
self.set_position(Gtk.WindowPosition.CENTER) | ||
icon = get_icon_pixbuf("xpra") | ||
icon = get_icon_pixbuf("xpra.png") | ||
if icon: | ||
self.set_icon(icon) | ||
add_close_accel(self, self.quit) | ||
|
@@ -258,7 +258,7 @@ def __init__(self): | |
self.set_title("Start Xpra Session") | ||
self.set_position(Gtk.WindowPosition.CENTER) | ||
self.set_size_request(640, 300) | ||
icon = get_icon_pixbuf("xpra") | ||
icon = get_icon_pixbuf("xpra.png") | ||
if icon: | ||
self.set_icon(icon) | ||
self.connect("delete-event", self.close) | ||
|