summaryrefslogtreecommitdiff
path: root/logview/data
diff options
context:
space:
mode:
Diffstat (limited to 'logview/data')
-rw-r--r--logview/data/Makefile.am36
-rw-r--r--logview/data/logview-filter.ui257
-rw-r--r--logview/data/logview-toolbar.xml33
-rw-r--r--logview/data/mate-system-log.137
-rw-r--r--logview/data/mate-system-log.desktop.in.in15
-rw-r--r--logview/data/mate-system-log.schemas.in80
6 files changed, 458 insertions, 0 deletions
diff --git a/logview/data/Makefile.am b/logview/data/Makefile.am
new file mode 100644
index 00000000..04efb96a
--- /dev/null
+++ b/logview/data/Makefile.am
@@ -0,0 +1,36 @@
+xmldir = $(pkgdatadir)
+xml_DATA = logview-toolbar.xml logview-filter.ui
+
+desktopdir = $(datadir)/applications
+desktop_in_files = mate-system-log.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in)
+ @sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
+@INTLTOOL_DESKTOP_RULE@
+
+man_MANS = mate-system-log.1
+
+schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
+schemas_in_files = mate-system-log.schemas.in
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+@INTLTOOL_SCHEMAS_RULE@
+
+install-data-local: $(schemas_DATA)
+if MATECONF_SCHEMAS_INSTALL
+ if test -z "$(DESTDIR)" ; then \
+ for p in $^ ; do \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $$p 2>&1 > /dev/null; \
+ done \
+ fi
+endif
+
+EXTRA_DIST = \
+ mate-system-log.desktop.in.in \
+ $(xml_DATA) \
+ $(man_MANS) \
+ $(schemas_in_files)
+
+DISTCLEANFILES = \
+ $(desktop_DATA) \
+ $(desktop_in_files) \
+ $(schemas_DATA)
diff --git a/logview/data/logview-filter.ui b/logview/data/logview-filter.ui
new file mode 100644
index 00000000..57e8cb59
--- /dev/null
+++ b/logview/data/logview-filter.ui
@@ -0,0 +1,257 @@
+<?xml version="1.0"?>
+<interface>
+ <requires lib="gtk+" version="2.16"/>
+ <!-- interface-naming-policy project-wide -->
+ <object class="GtkDialog" id="dialog_filter">
+ <property name="border_width">5</property>
+ <property name="modal">True</property>
+ <property name="type_hint">normal</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox2">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkTable" id="table1">
+ <property name="visible">True</property>
+ <property name="n_rows">3</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">12</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Name:</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Regular Expression:</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_name">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_regex">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkTable" id="table2">
+ <property name="visible">True</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">12</property>
+ <property name="row_spacing">12</property>
+ <child>
+ <object class="GtkRadioButton" id="radio_color">
+ <property name="label" translatable="yes">Highlight</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioButton" id="radio_visible">
+ <property name="label" translatable="yes">Hide</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox_color">
+ <property name="visible">True</property>
+ <property name="spacing">5</property>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkCheckButton" id="check_foreground">
+ <property name="label" translatable="yes">Foreground:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkColorButton" id="color_foreground">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox2">
+ <property name="visible">True</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkCheckButton" id="check_background">
+ <property name="label" translatable="yes">Background:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkColorButton" id="color_background">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Effect:</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="y_padding">6</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area2">
+ <property name="visible">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="button1">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button2">
+ <property name="label">gtk-apply</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-6">button1</action-widget>
+ <action-widget response="-10">button2</action-widget>
+ </action-widgets>
+ </object>
+</interface>
diff --git a/logview/data/logview-toolbar.xml b/logview/data/logview-toolbar.xml
new file mode 100644
index 00000000..2ee639d8
--- /dev/null
+++ b/logview/data/logview-toolbar.xml
@@ -0,0 +1,33 @@
+<ui>
+ <menubar name="LogviewMenu">
+ <menu action="FileMenu">
+ <menuitem action="OpenLog"/>
+ <menuitem action="CloseLog"/>
+ <menuitem action="Quit"/>
+ </menu>
+ <menu action="EditMenu">
+ <menuitem action="Copy"/>
+ <menuitem action="SelectAll"/>
+ </menu>
+ <menu action="ViewMenu">
+ <menuitem action="ShowStatusBar"/>
+ <menuitem action="ShowSidebar"/>
+ <separator/>
+ <menuitem action="Search"/>
+ <separator/>
+ <menuitem action="ViewZoomIn"/>
+ <menuitem action="ViewZoomOut"/>
+ <menuitem action="ViewZoom100"/>
+ </menu>
+ <menu action="FilterMenu">
+ <placeholder name="PlaceholderFilters"/>
+ <separator />
+ <menuitem action="FilterMatchOnly" />
+ <menuitem action="FilterManage" />
+ </menu>
+ <menu action="HelpMenu">
+ <menuitem action="HelpContents"/>
+ <menuitem action="AboutAction"/>
+ </menu>
+ </menubar>
+</ui>
diff --git a/logview/data/mate-system-log.1 b/logview/data/mate-system-log.1
new file mode 100644
index 00000000..a54e4299
--- /dev/null
+++ b/logview/data/mate-system-log.1
@@ -0,0 +1,37 @@
+.\" mate-system-log.1 - MATE logfile viewer
+.\" Copyright 2001 Jochen Voss
+.TH mate-system-log 1 "Aug 09 2002" "mate-utils 2.0.0"
+.SH NAME
+mate-system-log \- the MATE System Log Viewer
+.SH SYNOPSIS
+.B mate-system-log
+.sp
+or select
+.B System Log
+from the
+.B System Tools
+submenu of the Applications menu.
+.SH DESCRIPTION
+.B MATE System Log Viewer
+is a simple utility to display system log files.
+.SH AUTHOR
+The
+.B MATE System Log Viewer
+was written by Cesar Miquel <[email protected]>.
+.PP
+This manual page was written by Jochen Voss
+.SH FILES
+.TP
+.I /var/log/messages
+The system's main logfile.
+.TP
+.I /etc/syslog.conf
+Configuration file for syslogd. See
+.BR syslog.conf (5)
+for exact information.
+.SH SEE ALSO
+.BR syslogd (8),
+.BR sysklogd (8),
+.BR syslog.conf (5),
+.BR syslogd-listfiles (8)
diff --git a/logview/data/mate-system-log.desktop.in.in b/logview/data/mate-system-log.desktop.in.in
new file mode 100644
index 00000000..ccd7f5d9
--- /dev/null
+++ b/logview/data/mate-system-log.desktop.in.in
@@ -0,0 +1,15 @@
+[Desktop Entry]
+_Name=Log File Viewer
+_Comment=View or monitor system log files
+Exec=mate-system-log
+Icon=logviewer
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GTK;MATE;System;Monitor;
+OnlyShowIn=MATE;
+X-MATE-DocPath=mate-system-log/mate-system-log.xml
+X-MATE-Bugzilla-Bugzilla=MATE
+X-MATE-Bugzilla-Product=mate-utils
+X-MATE-Bugzilla-Component=logview
+X-MATE-Bugzilla-Version=@VERSION@
diff --git a/logview/data/mate-system-log.schemas.in b/logview/data/mate-system-log.schemas.in
new file mode 100644
index 00000000..7961605f
--- /dev/null
+++ b/logview/data/mate-system-log.schemas.in
@@ -0,0 +1,80 @@
+<mateconfschemafile>
+
+ <schemalist>
+ <schema>
+ <key>/schemas/apps/mate-system-log/logfile</key>
+ <applyto>/apps/mate-system-log/logfile</applyto>
+ <owner>logview</owner>
+ <type>string</type>
+ <default>/var/log/messages</default>
+ <locale name="C">
+ <short>Log file to open up on startup</short>
+ <long>Specifies the log file displayed at startup.
+ The default is either /var/adm/messages or
+ /var/log/messages, depending on your
+ operating system.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-system-log/fontsize</key>
+ <applyto>/apps/mate-system-log/fontsize</applyto>
+ <owner>logview</owner>
+ <type>int</type>
+ <default>10</default>
+ <locale name="C">
+ <short>Size of the font used to display the log</short>
+ <long>Specifies the size of the fixed-width font used
+ to display the log in the main tree view.
+ The default is taken from the default terminal
+ font size.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-system-log/height</key>
+ <applyto>/apps/mate-system-log/height</applyto>
+ <owner>logview</owner>
+ <type>int</type>
+ <default>400</default>
+ <locale name="C">
+ <short>Height of the main window in pixels</short>
+ <long>Specifies the height of the log viewer main window
+ in pixels.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-system-log/width</key>
+ <applyto>/apps/mate-system-log/width</applyto>
+ <owner>logview</owner>
+ <type>int</type>
+ <default>600</default>
+ <locale name="C">
+ <short>Width of the main window in pixels</short>
+ <long>Specifies the width of the log viewer main window
+ in pixels.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-system-log/logfiles</key>
+ <applyto>/apps/mate-system-log/logfiles</applyto>
+ <owner>logview</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <locale name="C">
+ <short>Log files to open up on startup</short>
+ <long>Specifies a list of log files to open up at startup.
+ A default list is created by reading /etc/syslog.conf.
+ </long>
+ </locale>
+ </schema>
+
+ </schemalist>
+
+</mateconfschemafile>