mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
* better `info' icon for torrent inspector.
* fix internal.h ifdefs s.t. we can use openssl for SHA1 when using configure.ac
This commit is contained in:
@@ -27,7 +27,7 @@ static void action_cb ( GtkAction * a, gpointer user_data )
|
||||
}
|
||||
|
||||
#if !GTK_CHECK_VERSION(2,8,0)
|
||||
#define GTK_STOCK_INFO NULL
|
||||
#define GTK_STOCK_INFO GTK_STOCK_PROPERTIES
|
||||
#endif
|
||||
|
||||
static GtkRadioActionEntry priority_toggle_entries[] =
|
||||
@@ -70,11 +70,11 @@ static GtkActionEntry entries[] =
|
||||
N_("_Quit"), "<control>Q", NULL, G_CALLBACK(action_cb) },
|
||||
{ "edit-preferences", GTK_STOCK_PREFERENCES,
|
||||
N_("Edit _Preferences"), NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "show-torrent-inspector", GTK_STOCK_PROPERTIES,
|
||||
{ "show-torrent-inspector", GTK_STOCK_INFO,
|
||||
N_("_Torrent Info"), NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "show-about-dialog", GTK_STOCK_ABOUT,
|
||||
N_("_About Transmission"), NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "show-debug-window", GTK_STOCK_INFO,
|
||||
{ "show-debug-window", NULL,
|
||||
N_("Show _Debug Window"), NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "toggle-main-window", "ICON_TRANSMISSION",
|
||||
N_("Show / Hide _Transmission"), NULL, NULL, G_CALLBACK(action_cb) }
|
||||
|
||||
@@ -71,7 +71,7 @@ int vasprintf( char **, const char *, va_list );
|
||||
/* We use OpenSSL whenever possible, since it is likely to be more
|
||||
optimized and it is ok to use it with a MIT-licensed application.
|
||||
Otherwise, we use the included implementation by vi@nwr.jp. */
|
||||
#ifdef HAVE_OPENSSL
|
||||
#if defined(HAVE_OPENSSL) || defined(HAVE_LIBSSL)
|
||||
# undef SHA_DIGEST_LENGTH
|
||||
# include <openssl/sha.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user