pidgin/win32/pidgin_dll_rc.rc.in

Wed, 10 Oct 2018 14:39:23 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Wed, 10 Oct 2018 14:39:23 -0500
changeset 39253
b0f02ccb06ae
parent 38488
9fe0ca4993ca
child 41305
92438aae2067
permissions
-rw-r--r--

pidgindebug: Provide fallbacks for Gtk < 3.22 functionality

gtk_popover_popup() and gtk_menu_popup_at_widget() snuck their way
into the Pidgin debug window code. This patch uses gtk_widget_show()
as a fallback for the former, which skips the transition, but should
work, and gtk_menu_popup_at_pointer() for the latter, which we have
a compat function for. It's not quite the same functionality, but
it should fix the build with Gtk < 3.22 and should be good enough for
anyone running that old of a Gtk version.

#include <winver.h>
#include "resource.h"

VS_VERSION_INFO VERSIONINFO
  FILEVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
  PRODUCTVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
  FILEFLAGSMASK 0
  FILEFLAGS 0
  FILEOS VOS__WINDOWS32
  FILETYPE VFT_DLL
  FILESUBTYPE VFT2_UNKNOWN
  BEGIN
    BLOCK "StringFileInfo"
    BEGIN
      BLOCK "040904B0"
      BEGIN
        VALUE "CompanyName", "The Pidgin developer community"
        VALUE "FileDescription", "Pidgin UI library"
        VALUE "FileVersion", "@PURPLE_VERSION@"
        VALUE "InternalName", "libpidgin"
        VALUE "LegalCopyright", "Copyright (C) 1998-2014 The Pidgin developer community (See the COPYRIGHT file in the source distribution)."
        VALUE "OriginalFilename", "libpidgin-@PURPLE_API_VERSION@.dll"
        VALUE "ProductName", "Pidgin"
        VALUE "ProductVersion", "@PURPLE_VERSION@"
      END
    END
    BLOCK "VarFileInfo"
    BEGIN
      VALUE "Translation", 0x409, 1200
    END
  END

PIDGIN_TRAY_AVAILABLE_4BIT	ICON "../pixmaps/tray/16/available_4bit.ico"
PIDGIN_TRAY_AWAY_4BIT		ICON "../pixmaps/tray/16/away_4bit.ico"
PIDGIN_TRAY_BUSY_4BIT		ICON "../pixmaps/tray/16/busy_4bit.ico"
PIDGIN_TRAY_XA_4BIT		ICON "../pixmaps/tray/16/extended-away_4bit.ico"
PIDGIN_TRAY_OFFLINE_4BIT	ICON "../pixmaps/tray/16/offline_4bit.ico"
PIDGIN_TRAY_CONNECTING_4BIT	ICON "../pixmaps/tray/16/connecting_4bit.ico"
PIDGIN_TRAY_PENDING_4BIT	ICON "../pixmaps/tray/16/message_4bit.ico"
PIDGIN_TRAY_INVISIBLE_4BIT	ICON "../pixmaps/tray/16/invisible_4bit.ico"

mercurial