mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-01-26 11:39:44 +00:00
Enhancement: Fixes #536, shell - implement New menu function
This commit is contained in:
@@ -25,7 +25,14 @@ static GHashTable* s_printers_map = NULL;
|
||||
// FIXME: Temporary, until we display printers
|
||||
//
|
||||
static WinTCShextViewItem s_temp_items[] = {
|
||||
{ "FPO", "printer", TRUE, 0, NULL }
|
||||
{
|
||||
"FPO",
|
||||
"printer",
|
||||
TRUE,
|
||||
0,
|
||||
WINTC_SHEXT_VIEW_ITEM_DEFAULT,
|
||||
NULL
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
28
shell/doctmpls/CMakeLists.txt
Normal file
28
shell/doctmpls/CMakeLists.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
project(
|
||||
wintc-document-templates
|
||||
VERSION 1.0
|
||||
DESCRIPTION "Windows Total Conversion document templates."
|
||||
LANGUAGES C
|
||||
)
|
||||
|
||||
set(PROJECT_ANYARCH true)
|
||||
set(PROJECT_FREESTATUS true)
|
||||
set(PROJECT_MAINTAINER "Rory Fewell <roryf@oddmatics.uk>")
|
||||
|
||||
set(PROJECT_ROOT ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
include(../../packaging/cmake-inc/common/CMakeLists.txt)
|
||||
include(../../packaging/cmake-inc/packaging/CMakeLists.txt)
|
||||
|
||||
# Installation
|
||||
#
|
||||
wintc_configure_and_install_packaging()
|
||||
|
||||
install(
|
||||
DIRECTORY ${PROJECT_ROOT}/res/
|
||||
DESTINATION ${WINTC_ASSETS_INSTALL_DIR}/templates
|
||||
)
|
||||
0
shell/doctmpls/res/application-msword
Normal file
0
shell/doctmpls/res/application-msword
Normal file
BIN
shell/doctmpls/res/application-zip
Normal file
BIN
shell/doctmpls/res/application-zip
Normal file
Binary file not shown.
BIN
shell/doctmpls/res/audio-vnd.wave
Normal file
BIN
shell/doctmpls/res/audio-vnd.wave
Normal file
Binary file not shown.
0
shell/doctmpls/res/image-bmp
Normal file
0
shell/doctmpls/res/image-bmp
Normal file
0
shell/doctmpls/res/text-plain
Normal file
0
shell/doctmpls/res/text-plain
Normal file
BIN
shell/doctmpls/res/text-richtext
Normal file
BIN
shell/doctmpls/res/text-richtext
Normal file
Binary file not shown.
@@ -24,6 +24,7 @@ wintc_resolve_library(libcanberra CANBERRA)
|
||||
wintc_resolve_library(libcanberra-gtk3 CANBERRA_GTK3)
|
||||
wintc_resolve_library(glib-2.0 GLIB)
|
||||
wintc_resolve_library(gtk+-3.0 GTK3)
|
||||
wintc_resolve_library(webkit2gtk-4.1 WEBKITGTK)
|
||||
wintc_resolve_library(wintc-comctl WINTC_COMCTL)
|
||||
wintc_resolve_library(wintc-comgtk WINTC_COMGTK)
|
||||
wintc_resolve_library(wintc-shcommon WINTC_SHCOMMON)
|
||||
@@ -31,20 +32,6 @@ wintc_resolve_library(wintc-shell WINTC_SHELL)
|
||||
wintc_resolve_library(wintc-shellext WINTC_SHELLEXT)
|
||||
wintc_resolve_library(wintc-shlang WINTC_SHLANG)
|
||||
|
||||
# FreeBSD currently does not have webkit2gtk-4.1 -- not a huge problem here
|
||||
# because the only different between 4.0 and 4.1 is apparently usage of
|
||||
# libsoap2 vs. libsoap3, which we don't really care about
|
||||
#
|
||||
# FIXME: Review this again sometime in future, I think there is ongoing
|
||||
# with the webkit2gtk port on FreeBSD so this will probably get sorted
|
||||
# out eventually
|
||||
#
|
||||
if (${WINTC_PKGMGR} STREQUAL "bsdpkg")
|
||||
wintc_resolve_library(webkit2gtk-4.0 WEBKITGTK)
|
||||
else()
|
||||
wintc_resolve_library(webkit2gtk-4.1 WEBKITGTK)
|
||||
endif()
|
||||
|
||||
wintc_compile_resources()
|
||||
|
||||
add_executable(
|
||||
|
||||
@@ -543,7 +543,7 @@ static void wintc_explorer_window_set_property(
|
||||
|
||||
// FIXME: We don't handle extended paths yet!
|
||||
//
|
||||
WinTCShextPathInfo path_info;
|
||||
WinTCShextPathInfo path_info = { 0 };
|
||||
|
||||
wintc_shext_path_info_demangle_uri(
|
||||
&path_info,
|
||||
|
||||
@@ -842,8 +842,8 @@ static void refresh_personal_menu(
|
||||
)
|
||||
);
|
||||
|
||||
g_object_unref(entry_internet);
|
||||
g_object_unref(entry_email);
|
||||
g_clear_object(&entry_internet);
|
||||
g_clear_object(&entry_email);
|
||||
|
||||
// Add separator between defaults & MFU
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user