Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
thunar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
279
Issues
279
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xfce
thunar
Commits
541965a8
Commit
541965a8
authored
Nov 22, 2017
by
Andre Miranda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GObject Introspection support to thunarx
parent
2676fd9a
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
63 additions
and
28 deletions
+63
-28
.gitignore
.gitignore
+2
-0
Makefile.am
Makefile.am
+3
-2
configure.ac.in
configure.ac.in
+5
-0
thunarx/Makefile.am
thunarx/Makefile.am
+27
-0
thunarx/thunarx-config.h.in
thunarx/thunarx-config.h.in
+2
-2
thunarx/thunarx-file-info.h
thunarx/thunarx-file-info.h
+6
-6
thunarx/thunarx-menu-provider.h
thunarx/thunarx-menu-provider.h
+2
-2
thunarx/thunarx-menu.h
thunarx/thunarx-menu.h
+2
-2
thunarx/thunarx-preferences-provider.h
thunarx/thunarx-preferences-provider.h
+2
-2
thunarx/thunarx-private.h
thunarx/thunarx-private.h
+2
-2
thunarx/thunarx-property-page-provider.h
thunarx/thunarx-property-page-provider.h
+2
-2
thunarx/thunarx-property-page.h
thunarx/thunarx-property-page.h
+2
-2
thunarx/thunarx-provider-factory.h
thunarx/thunarx-provider-factory.h
+2
-2
thunarx/thunarx-renamer-provider.h
thunarx/thunarx-renamer-provider.h
+2
-2
thunarx/thunarx-renamer.h
thunarx/thunarx-renamer.h
+2
-2
No files found.
.gitignore
View file @
541965a8
...
...
@@ -120,6 +120,8 @@ thunar/stamp-thunar-*.*
thunar/thunar-dbus-service-infos.h
thunarx/.*.swp
thunarx/*.pc
thunarx/*.gir
thunarx/*.typelib
thunarx/thunarx-alias*.[ch]
thunarx/thunarx-config.h
*.o
...
...
Makefile.am
View file @
541965a8
...
...
@@ -119,5 +119,6 @@ DISTCLEANFILES = \
$(polkit_policy_DATA)
DISTCHECK_CONFIGURE_FLAGS
=
\
--enable-gtk-doc
\
--enable-gen-doc
--enable-gtk-doc
\
--enable-gen-doc
\
--enable-introspection
configure.ac.in
View file @
541965a8
...
...
@@ -156,6 +156,11 @@ XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0])
dnl ******************************
dnl *** GObject Instrospection ***
dnl ******************************
GOBJECT_INTROSPECTION_CHECK([1.30.0])
dnl ********************************************
dnl *** Check for session management support ***
dnl ********************************************
...
...
thunarx/Makefile.am
View file @
541965a8
...
...
@@ -75,6 +75,8 @@ EXTRA_DIST = \
abicheck.sh
\
thunarx.symbols
CLEANFILES
=
$(NULL)
##
## Rules to auto-generate built sources
##
...
...
@@ -97,4 +99,29 @@ endif
# required for gtk-doc
dist-hook
:
all
-include
$(INTROSPECTION_MAKEFILE)
#AM_DEFAULT_VERBOSITY = 1
INTROSPECTION_GIRS
=
INTROSPECTION_SCANNER_ARGS
=
--add-include-path
=
$(srcdir)
-I
..
-DTHUNARX_COMPILATION
INTROSPECTION_COMPILER_ARGS
=
--includedir
=
$(srcdir)
if
HAVE_INTROSPECTION
Thunarx-3.0.gir
:
libthunarx-3.la
Thunarx_3_0_gir_INCLUDES
=
GObject-2.0 Gtk-3.0
Thunarx_3_0_gir_CFLAGS
=
$(INCLUDES)
Thunarx_3_0_gir_LIBS
=
libthunarx-3.la
Thunarx_3_0_gir_FILES
=
$(libthunarx_headers)
INTROSPECTION_GIRS
+=
Thunarx-3.0.gir
girdir
=
$(datadir)
/gir-1.0/
gir_DATA
=
$(INTROSPECTION_GIRS)
typelibdir
=
$(libdir)
/girepository-1.0/
typelib_DATA
=
$(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES
+=
$(gir_DATA)
$(typelib_DATA)
endif
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
thunarx/thunarx-config.h.in
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <glib-object.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
#define THUNARX_MAJOR_VERSION @THUNAR_VERSION_MAJOR@
#define THUNARX_MINOR_VERSION @THUNAR_VERSION_MINOR@
...
...
@@ -58,6 +58,6 @@ const gchar *thunarx_check_version (guint required_major,
#endif /* __GNUC__ */
#endif /* !defined(G_GNUC_WARN_UNUSED_RESULT) */
G_END_DECLS
;
G_END_DECLS
#endif /* !__THUNARX_CONFIG_H__ */
thunarx/thunarx-file-info.h
View file @
541965a8
...
...
@@ -30,12 +30,12 @@
#include <thunarx/thunarx-config.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
/*
*
/*
* File information namespaces available in the #GFileInfo returned by
* thunarx_file_info_get_file_info().
*
*
/
*/
#define THUNARX_FILE_INFO_NAMESPACE \
"access::*," \
"id::filesystem," \
...
...
@@ -51,10 +51,10 @@ G_BEGIN_DECLS;
/*
*
/*
* Filesystem information namespaces available in the #GFileInfo
* returned by thunarx_file_info_get_filesystem_info().
*
*
/
*/
#define THUNARX_FILESYSTEM_INFO_NAMESPACE \
"filesystem::*"
...
...
@@ -158,6 +158,6 @@ GType thunarx_file_info_list_get_type (void) G_GNUC_CONST;
GList
*
thunarx_file_info_list_copy
(
GList
*
file_infos
);
void
thunarx_file_info_list_free
(
GList
*
file_infos
);
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_FILE_INFO_H__ */
thunarx/thunarx-menu-provider.h
View file @
541965a8
...
...
@@ -29,7 +29,7 @@
#include <thunarx/thunarx-file-info.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxMenuProviderIface
ThunarxMenuProviderIface
;
typedef
struct
_ThunarxMenuProvider
ThunarxMenuProvider
;
...
...
@@ -91,6 +91,6 @@ GList *thunarx_menu_provider_get_dnd_menu_items (ThunarxMenuProvider *provide
ThunarxFileInfo
*
folder
,
GList
*
files
)
G_GNUC_MALLOC
G_GNUC_WARN_UNUSED_RESULT
;
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_MENU_PROVIDER_H__ */
thunarx/thunarx-menu.h
View file @
541965a8
...
...
@@ -25,7 +25,7 @@
#include <glib-object.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
/* ThunarxMenu types */
typedef
struct
_ThunarxMenuPrivate
ThunarxMenuPrivate
;
...
...
@@ -110,6 +110,6 @@ void thunarx_menu_item_list_free (GList *items);
void
thunarx_menu_item_set_menu
(
ThunarxMenuItem
*
item
,
ThunarxMenu
*
menu
);
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_MENU_H__ */
thunarx/thunarx-preferences-provider.h
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <gtk/gtk.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxPreferencesProviderIface
ThunarxPreferencesProviderIface
;
typedef
struct
_ThunarxPreferencesProvider
ThunarxPreferencesProvider
;
...
...
@@ -69,6 +69,6 @@ GType thunarx_preferences_provider_get_type (void) G_GNUC_CONST;
GList
*
thunarx_preferences_provider_get_menu_items
(
ThunarxPreferencesProvider
*
provider
,
GtkWidget
*
window
);
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_PREFERENCES_PROVIDER_H__ */
thunarx/thunarx-private.h
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <glib-object.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
#define I_(string) (g_intern_static_string ((string)))
...
...
@@ -38,6 +38,6 @@ void thunarx_object_list_take_reference (GList *object_list,
G_GNUC_INTERNAL
gchar
*
thunarx_param_spec_get_option_name
(
GParamSpec
*
pspec
)
G_GNUC_MALLOC
;
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_PRIVATE_H__ */
thunarx/thunarx-property-page-provider.h
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <thunarx/thunarx-property-page.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxPropertyPageProviderIface
ThunarxPropertyPageProviderIface
;
typedef
struct
_ThunarxPropertyPageProvider
ThunarxPropertyPageProvider
;
...
...
@@ -66,6 +66,6 @@ GType thunarx_property_page_provider_get_type (void) G_GNUC_CONST;
GList
*
thunarx_property_page_provider_get_pages
(
ThunarxPropertyPageProvider
*
provider
,
GList
*
files
);
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_PROPERTY_PAGE_PROVIDER_H__ */
thunarx/thunarx-property-page.h
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <gtk/gtk.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxPropertyPagePrivate
ThunarxPropertyPagePrivate
;
typedef
struct
_ThunarxPropertyPageClass
ThunarxPropertyPageClass
;
...
...
@@ -72,6 +72,6 @@ GtkWidget *thunarx_property_page_get_label_widget (ThunarxPropertyPage *p
void
thunarx_property_page_set_label_widget
(
ThunarxPropertyPage
*
property_page
,
GtkWidget
*
label_widget
);
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_PROPERTY_PAGE_H__ */
thunarx/thunarx-provider-factory.h
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <glib-object.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxProviderFactoryClass
ThunarxProviderFactoryClass
;
typedef
struct
_ThunarxProviderFactory
ThunarxProviderFactory
;
...
...
@@ -46,6 +46,6 @@ ThunarxProviderFactory *thunarx_provider_factory_get_default (void);
GList
*
thunarx_provider_factory_list_providers
(
ThunarxProviderFactory
*
factory
,
GType
type
)
G_GNUC_MALLOC
;
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_PROVIDER_FACTORY_H__ */
thunarx/thunarx-renamer-provider.h
View file @
541965a8
...
...
@@ -27,7 +27,7 @@
#include <thunarx/thunarx-renamer.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxRenamerProviderIface
ThunarxRenamerProviderIface
;
typedef
struct
_ThunarxRenamerProvider
ThunarxRenamerProvider
;
...
...
@@ -65,6 +65,6 @@ GType thunarx_renamer_provider_get_type (void) G_GNUC_CONST;
GList
*
thunarx_renamer_provider_get_renamers
(
ThunarxRenamerProvider
*
provider
)
G_GNUC_MALLOC
;
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_RENAMER_PROVIDER_H__ */
thunarx/thunarx-renamer.h
View file @
541965a8
...
...
@@ -29,7 +29,7 @@
#include <thunarx/thunarx-file-info.h>
G_BEGIN_DECLS
;
G_BEGIN_DECLS
typedef
struct
_ThunarxRenamerPrivate
ThunarxRenamerPrivate
;
typedef
struct
_ThunarxRenamerClass
ThunarxRenamerClass
;
...
...
@@ -130,6 +130,6 @@ GList *thunarx_renamer_get_menu_items (ThunarxRenamer *renamer,
void
thunarx_renamer_changed
(
ThunarxRenamer
*
renamer
);
G_END_DECLS
;
G_END_DECLS
#endif
/* !__THUNARX_RENAMER_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment