diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-02-17 13:06:45 +0700 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-02-17 13:06:45 +0700 |
commit | 50e51d1622c551ebc287861dc4c307b9859a9568 (patch) | |
tree | 326d91cc7319352e2bda8db14ab1bfbbdd66bbee /krusader/Konfigurator/kggeneral.cpp | |
parent | 76ca48c43dcb5d28da7d4ff79fbfe857fa441a2c (diff) | |
download | krusader-50e51d1622c551ebc287861dc4c307b9859a9568.tar.gz krusader-50e51d1622c551ebc287861dc4c307b9859a9568.zip |
Added support for xz archives. This resolve bug 2516.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'krusader/Konfigurator/kggeneral.cpp')
-rw-r--r-- | krusader/Konfigurator/kggeneral.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/krusader/Konfigurator/kggeneral.cpp b/krusader/Konfigurator/kggeneral.cpp index ba0429c..f2a9f36 100644 --- a/krusader/Konfigurator/kggeneral.cpp +++ b/krusader/Konfigurator/kggeneral.cpp @@ -44,7 +44,7 @@ KgGeneral::KgGeneral( bool first, TQWidget* parent, const char* name ) : KonfiguratorPage( first, parent, name ) { -if( first ) +if( first ) slotFindTools(); TQGridLayout *kgGeneralLayout = new TQGridLayout( parent ); @@ -91,11 +91,11 @@ TQFrame *line2 = createLine( generalGrp, "line2" ); TQVBox * vbox = new TQVBox( hbox2 ); new TQLabel( i18n("Default viewer mode:"), vbox); - + KONFIGURATOR_NAME_VALUE_TIP viewMode[] = // name value tooltip {{ i18n( "Generic mode" ), "generic", i18n( "Use the system's default viewer" ) }, - { i18n( "Text mode" ), "text", i18n( "View the file in text-only mode" ) }, + { i18n( "Text mode" ), "text", i18n( "View the file in text-only mode" ) }, { i18n( "Hex mode" ), "hex", i18n( "View the file in hex-mode (better for binary files)" ) } }; createRadioButtonGroup( "General", "Default Viewer Mode", "generic", 0, 3, viewMode, 3, vbox, "myRadio2", false ); @@ -132,8 +132,9 @@ TQFrame *line2 = createLine( generalGrp, "line2" ); defaultAtomicExtensions += ".tar.gz"; defaultAtomicExtensions += ".tar.bz2"; defaultAtomicExtensions += ".moc.cpp"; + defaultAtomicExtensions += ".tar.xz"; - listBox = createListBox( "Look&Feel", "Atomic Extensions", + listBox = createListBox( "Look&Feel", "Atomic Extensions", defaultAtomicExtensions, vbox2, true, false ); TQFrame *line3 = createLine( generalGrp, "line3" ); |