From ef0467789bfc8406b57ba553e4d59f4d6c3f9be8 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 14 Dec 2011 10:13:54 +0100 Subject: Moved from Mate-Extra repository --- baobab/data/Makefile.am | 39 ++ baobab/data/baobab-dialog-scan-props.ui | 179 ++++++++ baobab/data/baobab-main-window.ui | 463 +++++++++++++++++++++ baobab/data/baobab.schemas.in | 70 ++++ baobab/data/mate-disk-usage-analyzer.1 | 150 +++++++ baobab/data/mate-disk-usage-analyzer.desktop.in.in | 15 + 6 files changed, 916 insertions(+) create mode 100644 baobab/data/Makefile.am create mode 100644 baobab/data/baobab-dialog-scan-props.ui create mode 100644 baobab/data/baobab-main-window.ui create mode 100644 baobab/data/baobab.schemas.in create mode 100644 baobab/data/mate-disk-usage-analyzer.1 create mode 100644 baobab/data/mate-disk-usage-analyzer.desktop.in.in (limited to 'baobab/data') diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am new file mode 100644 index 00000000..66bbd2b9 --- /dev/null +++ b/baobab/data/Makefile.am @@ -0,0 +1,39 @@ +uidir = $(datadir)/mate-disk-usage-analyzer +ui_DATA = baobab-main-window.ui \ + baobab-dialog-scan-props.ui + +baobabappdir = $(datadir)/applications +baobabapp_in_files = mate-disk-usage-analyzer.desktop.in +baobabapp_DATA = $(baobabapp_in_files:.desktop.in=.desktop) + +$(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in) + sed -e "s|\@VERSION\@|@VERSION@|" $< > $@ + +@INTLTOOL_DESKTOP_RULE@ + +schemasdir = $(MATECONF_SCHEMA_FILE_DIR) +schemas_in_files = baobab.schemas.in +schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) +@INTLTOOL_SCHEMAS_RULE@ + +man_MANS = mate-disk-usage-analyzer.1 + +if MATECONF_SCHEMAS_INSTALL +install-data-local: + if test -z "$(DESTDIR)" ; then \ + MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(schemas_DATA) ; \ + fi +else +install-data-local: +endif + +EXTRA_DIST = \ + $(ui_DATA) \ + mate-disk-usage-analyzer.desktop.desktop.in.in \ + $(schemas_in_files) \ + $(man_MANS) + +CLEANFILES = \ + $(baobabapp_in_files) \ + $(baobabapp_DATA) \ + $(schemas_DATA) diff --git a/baobab/data/baobab-dialog-scan-props.ui b/baobab/data/baobab-dialog-scan-props.ui new file mode 100644 index 00000000..5647d3f0 --- /dev/null +++ b/baobab/data/baobab-dialog-scan-props.ui @@ -0,0 +1,179 @@ + + + + + 5 + 330 + True + Disk Usage Analyzer Preferences + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + True + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + False + + + True + False + 2 + + + True + GTK_BUTTONBOX_END + + + True + True + True + gtk-help + True + GTK_RELIEF_NORMAL + True + + + + + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + + + 0 + False + True + GTK_PACK_END + + + + + 5 + True + False + 6 + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + True + Select _devices to include in filesystem scan: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + tree_view_props + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + 0 + False + False + + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + True + True + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + True + True + True + False + False + False + False + False + + + + + + + 0 + True + True + + + + + True + True + _Monitor changes to your home folder + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + 0 + True + True + + + + + + helpbutton1 + closebutton1 + + + + diff --git a/baobab/data/baobab-main-window.ui b/baobab/data/baobab-main-window.ui new file mode 100644 index 00000000..55f6215c --- /dev/null +++ b/baobab/data/baobab-main-window.ui @@ -0,0 +1,463 @@ + + + + + + + + + menuitem1 + _Analyzer + + + + + gtk-home + menuscanhome + Scan _Home Folder + + + + + + + gtk-harddisk + menuallfs + Scan _Filesystem + + + + + + + gtk-directory + menuscandir + Scan F_older... + + + + + + + gtk-network + menu_scan_rem + S_can Remote Folder... + + + + + + gtk-stop + menustop + + + + + + + gtk-refresh + menurescan + + + + + + + gtk-quit + esci1 + + + + + + edit1 + _Edit + + + + + expand_all + _Expand All + + + + + + collapse_all + _Collapse All + + + + + + gtk-preferences + preferenze1 + + + + + + view1 + _View + + + + + True + view_tb + _Toolbar + + + + + + True + view_sb + St_atusbar + + + + + + True + ck_allocated + All_ocated Space + + + + + + help1 + _Help + + + + + gtk-help + helpcontents + _Contents + + + + + + + gtk-about + about + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + Disk Usage Analyzer + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + False + 800 + 500 + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + + True + False + 0 + + + True + GTK_PACK_DIRECTION_LTR + GTK_PACK_DIRECTION_LTR + + + 0 + False + False + + + + + True + GTK_ORIENTATION_HORIZONTAL + GTK_TOOLBAR_ICONS + True + False + + + True + Scan home folder + Scan Home + True + gtk-home + True + True + True + + + + + + + Scan home folder + + + + + False + True + + + + + True + Scan filesystem + Scan Filesystem + True + gtk-harddisk + True + True + False + + + + False + True + + + + + True + Scan a folder + Scan Folder + True + gtk-directory + True + True + False + + + + False + True + + + + + True + Scan a remote folder + Scan Remote Folder + True + gtk-network + True + True + False + + + + False + True + + + + + True + True + True + True + + + False + False + + + + + True + False + Stop scanning + gtk-stop + True + True + False + + + + + False + True + + + + + True + Refresh + False + gtk-refresh + True + True + False + + + + False + True + + + + + 0 + False + False + + + + + True + False + 0 + + + 2 + True + False + 0 + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.300000011921 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + 5 + False + False + + + + + True + True + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + 500 + True + True + False + True + False + True + False + False + False + + + + + True + False + + + + + + + + 0 + True + True + + + + + 0 + True + True + + + + + True + True + + + 0 + False + False + + + + + + + diff --git a/baobab/data/baobab.schemas.in b/baobab/data/baobab.schemas.in new file mode 100644 index 00000000..10196119 --- /dev/null +++ b/baobab/data/baobab.schemas.in @@ -0,0 +1,70 @@ + + + + /schemas/apps/baobab/ui/toolbar_visible + /apps/baobab/ui/toolbar_visible + baobab + bool + TRUE + + Toolbar is Visible + Whether the toolbar should be visible in main window. + + + + + /schemas/apps/baobab/ui/statusbar_visible + /apps/baobab/ui/statusbar_visible + baobab + bool + FALSE + + Status Bar is Visible + Whether the status bar at the bottom of main window + should be visible. + + + + + /schemas/apps/baobab/properties/enable_home_monitor + /apps/baobab/properties/enable_home_monitor + baobab + bool + FALSE + + Enable monitoring of home directory + Whether any change to the home directory should + be monitored. + + + + + + /schemas/apps/baobab/properties/skip_scan_uri_list + /apps/baobab/properties/skip_scan_uri_list + baobab + list + string + [] + + Excluded partitions URIs + A list of URIs for partitions to be excluded from scanning. + + + + + /schemas/apps/baobab/ui/baobab_subfoldertips_visible + /apps/baobab/ui/baobab_subfoldertips_visible + baobab + bool + TRUE + + Subfolders tooltips visible + Whether the subfolder tooltips of the selected folder + are drawn. + + + + + + diff --git a/baobab/data/mate-disk-usage-analyzer.1 b/baobab/data/mate-disk-usage-analyzer.1 new file mode 100644 index 00000000..6f7a0b05 --- /dev/null +++ b/baobab/data/mate-disk-usage-analyzer.1 @@ -0,0 +1,150 @@ +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to +.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' +.\" expand to `' in nroff, nothing in troff, for use with C<>. +.tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "BAOBAB 1" +.TH BAOBAB 1 +.SH "NAME" +\&\fBBaobab\fR \- A graphical tool to analyse disk usage +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +\&\fBbaobab\fR [directory] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBbaobab\fR is able to scan either specific folders or the whole +filesystem (local and remote), in order to give the user a graphical tree +representation including each directory size or percentage in the branch. +It also auto-detects in real-time any change made to your home directory +as far as any mounted/unmounted device. A graphical treemap window is also +provided for any selected folder. +.PP +A detailed documentation on the program could be read at: +http://www.mate.org/projects/baobab +.SH "AUTHOR" +.IX Header "AUTHOR" +Fabio \s-1MARZOCCA\s0 diff --git a/baobab/data/mate-disk-usage-analyzer.desktop.in.in b/baobab/data/mate-disk-usage-analyzer.desktop.in.in new file mode 100644 index 00000000..c42dd614 --- /dev/null +++ b/baobab/data/mate-disk-usage-analyzer.desktop.in.in @@ -0,0 +1,15 @@ +[Desktop Entry] +_Name=Disk Usage Analyzer +_Comment=Check folder sizes and available disk space +TryExec=mate-disk-usage-analyzer +Exec=mate-disk-usage-analyzer +Icon=baobab +Terminal=false +Type=Application +StartupNotify=true +Categories=GTK;MATE;System;Filesystem; +OnlyShowIn=MATE; +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-utils +X-MATE-Bugzilla-Component=mate-disk-usage-analyzer +X-MATE-Bugzilla-Version=@VERSION@ -- cgit v1.2.1