Add wxART_QUIT icon to Tango art provider
Gnome uses a variant of the "log out" icon for its standard "Exit" icon,
so it should be fine for us to do it too, contrary to what the comment
from back when Tango provider was added in c1d2466a79 (Add wxArtProvider
using Tango icons., 2010-12-31) was saying.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// All files in art/tango in alphabetical order:
|
||||
#include "../../art/tango/application_exit.h"
|
||||
#include "../../art/tango/application_x_executable.h"
|
||||
#include "../../art/tango/dialog_error.h"
|
||||
#include "../../art/tango/dialog_information.h"
|
||||
@@ -185,9 +186,9 @@ wxTangoArtProvider::CreateBitmapBundle(const wxArtID& id,
|
||||
{ wxART_PLUS, BITMAP_DATA(list_add) },
|
||||
{ wxART_MINUS, BITMAP_DATA(list_remove) },
|
||||
|
||||
// Surprisingly Tango doesn't seem to have neither wxART_CLOSE nor
|
||||
// wxART_QUIT. We could use system-log-out for the latter but it
|
||||
// doesn't seem quite right.
|
||||
// Surprisingly Tango doesn't seem to have wxART_CLOSE.
|
||||
|
||||
{ wxART_QUIT, BITMAP_DATA(application_exit) },
|
||||
|
||||
{ wxART_FIND, BITMAP_DATA(edit_find) },
|
||||
{ wxART_FIND_AND_REPLACE, BITMAP_DATA(edit_find_replace) },
|
||||
|
||||
Reference in New Issue
Block a user