[yast-commit] r52923 - in /trunk/printer: VERSION package/yast2-printer.changes src/overview.ycp src/printingvianetwork.ycp src/sharing.ycp tools/modify_cupsd_conf
Author: jsmeix
Date: Wed Nov 5 14:00:50 2008
New Revision: 52923
URL: http://svn.opensuse.org/viewcvs/yast?rev=52923&view=rev
Log:
- Fixed bugs in the Share Printers dialog:
Apply settings when the user only changed
"deny remote access" to "allow remote access"
if there is at least one real allow value.
Having only "Listen *:631" in cupsd.conf is sufficient
that the initSharing function sets listen_local to true.
The modify_cupsd_conf tool works with 'Allow 127.0.0.2'
and it logs its changes as comments in cupsd.conf.
(See Novell/Suse Bugzilla bnc#441370)
- Fixed dialog layout of the Share Printers dialog
and of the Printing via Network dialog
that both dialogs work also o.k. in ncurses mode.
- 2.17.32
Modified:
trunk/printer/VERSION
trunk/printer/package/yast2-printer.changes
trunk/printer/src/overview.ycp
trunk/printer/src/printingvianetwork.ycp
trunk/printer/src/sharing.ycp
trunk/printer/tools/modify_cupsd_conf
Modified: trunk/printer/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/VERSION?rev=52923&r1=52922&r2=52923&view=diff
==============================================================================
--- trunk/printer/VERSION (original)
+++ trunk/printer/VERSION Wed Nov 5 14:00:50 2008
@@ -1 +1 @@
-2.17.31
+2.17.32
Modified: trunk/printer/package/yast2-printer.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/package/yast2-printer.changes?rev=52923&r1=52922&r2=52923&view=diff
==============================================================================
--- trunk/printer/package/yast2-printer.changes (original)
+++ trunk/printer/package/yast2-printer.changes Wed Nov 5 14:00:50 2008
@@ -1,4 +1,21 @@
-------------------------------------------------------------------
+Wed Nov 5 11:30:40 CET 2008 - jsmeix@suse.de
+
+- Fixed bugs in the Share Printers dialog:
+ Apply settings when the user only changed
+ "deny remote access" to "allow remote access"
+ if there is at least one real allow value.
+ Having only "Listen *:631" in cupsd.conf is sufficient
+ that the initSharing function sets listen_local to true.
+ The modify_cupsd_conf tool works with 'Allow 127.0.0.2'
+ and it logs its changes as comments in cupsd.conf.
+ (See Novell/Suse Bugzilla bnc#441370)
+- Fixed dialog layout of the Share Printers dialog
+ and of the Printing via Network dialog
+ that both dialogs work also o.k. in ncurses mode.
+- 2.17.32
+
+-------------------------------------------------------------------
Tue Nov 4 13:30:59 CET 2008 - jsmeix@suse.de
- Dialog layout fixes for the Share Printers dialog
Modified: trunk/printer/src/overview.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/src/overview.ycp?rev=52923&r1=52922&r2=52923&view=diff
==============================================================================
--- trunk/printer/src/overview.ycp (original)
+++ trunk/printer/src/overview.ycp Wed Nov 5 14:00:50 2008
@@ -200,13 +200,13 @@
// on the official IPP port, a single error popup when the Overview dialog
// is launched is sufficient.
// The YaST printer modue does not support when the cupsd listens
- // on a non-official port e.g. via "Listen *:9999" and/or "Port 9999"
- // and/or "BrowsePort 9999" settings in /etc/cups/cupsd.conf.
+ // on a non-official port e.g. via "Listen *:1234" and/or "Port 1234"
+ // and/or "BrowsePort 1234" settings in /etc/cups/cupsd.conf.
// Skip this test (and hope for the best) when netcat is not available
- // because in yast2-printer.spec there can be only "Recommends: netcat"
- // because there have been narrow-minded user complaints who insist
- // not to have netcat installed because "netcat is a hacker intrusion tool"
- // (explanations of the difference between netcat and e.g. nmap did not help).
+ // because in yast2-printer.spec there can be only "Recommends: netcat".
+ // There have been user complaints who insist not to have netcat installed
+ // because they insist that "netcat is a hacker intrusion tool" and thorough
+ // explanations of the difference between netcat and e.g. nmap did not help.
if( Printerlib::ExecuteBashCommand( "ps -C cupsd" )
&& Printerlib::ExecuteBashCommand( "type -P netcat" )
)
Modified: trunk/printer/src/printingvianetwork.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/src/printingvianetwork.ycp?rev=52923&r1=52922&r2=52923&view=diff
==============================================================================
--- trunk/printer/src/printingvianetwork.ycp (original)
+++ trunk/printer/src/printingvianetwork.ycp Wed Nov 5 14:00:50 2008
@@ -84,7 +84,7 @@
)
),
`HBox
- ( `HSpacing( 3 ),
+ ( `HSpacing( 4 ),
`VBox
( `Left
( `Label
@@ -114,16 +114,7 @@
// A header for a TextEntry where the user can optionally
// enter specific IP addresses and/or network/netmask
// from where remote printer information is accepted:
- _("Optional Specific IP Addresses or &Network/Netmask")
- )
- ),
- `Left
- ( `Label
- ( `id(`browse_allow_input_label),
- // Label to show the syntax for the TextEntry where the user can
- // enter specific IP addresses and/or network/netmask
- // from where remote printer information is accepted:
- _("(each nnn.nnn.nnn.nnn or nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm separated by one space)")
+ _("Optional Specific IP Addresses or &Network/Netmask (separated by space)")
)
),
`Left
@@ -158,7 +149,6 @@
)
)
),
- `VSpacing( 1 ),
`Left
( `RadioButton
( `id(`client_only_radio_button),
@@ -169,7 +159,7 @@
)
),
`HBox
- ( `HSpacing( 3 ),
+ ( `HSpacing( 4 ),
`HWeight
( 2,
`TextEntry
@@ -796,7 +786,6 @@
browse_allow_input_value = browse_allow_input_value + " ";
initial_browse_allow_input_value = browse_allow_input_value;
UI::ChangeWidget( `id(`browse_allow_input), `Value, browse_allow_input_value );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, false );
UI::ChangeWidget( `id(`client_only_radio_button), `Value, false );
UI::ChangeWidget( `id(`client_conf_server_name_input), `Enabled, false );
initial_server_name_input_value = Printerlib::client_conf_server_name;
@@ -829,7 +818,6 @@
// it is useless to additionally accept it from specific IPs or networks:
if( ! contains( Printerlib::cupsd_conf_browse_allow, "all" ) )
{ UI::ChangeWidget( `id(`browse_allow_input), `Enabled, true );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, true );
}
}
else
@@ -941,7 +929,6 @@
{ UI::ChangeWidget( `id(`browse_allow_label), `Enabled, false );
UI::ChangeWidget( `id(`browse_allow_combo_box), `Enabled, false );
UI::ChangeWidget( `id(`browse_allow_input), `Enabled, false );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, false );
UI::ChangeWidget( `id(`client_conf_server_name_input), `Enabled, false );
UI::ChangeWidget( `id(`test_client_conf_server), `Enabled, false );
UI::ChangeWidget( `id(`connection_wizard), `Enabled, true );
@@ -950,7 +937,6 @@
{ UI::ChangeWidget( `id(`browse_allow_label), `Enabled, true );
UI::ChangeWidget( `id(`browse_allow_combo_box), `Enabled, true );
UI::ChangeWidget( `id(`browse_allow_input), `Enabled, true );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, true );
UI::ChangeWidget( `id(`client_conf_server_name_input), `Enabled, false );
UI::ChangeWidget( `id(`test_client_conf_server), `Enabled, false );
UI::ChangeWidget( `id(`connection_wizard), `Enabled, true );
@@ -960,18 +946,15 @@
{ // If browsing info is accepted from all hosts,
// it is useless to additionally accept it from specific IPs or networks:
UI::ChangeWidget( `id(`browse_allow_input), `Enabled, false );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, false );
}
else
{ UI::ChangeWidget( `id(`browse_allow_input), `Enabled, true );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, true );
}
}
if( `client_only_radio_button == event["ID"]:nil )
{ UI::ChangeWidget( `id(`browse_allow_label), `Enabled, false );
UI::ChangeWidget( `id(`browse_allow_combo_box), `Enabled, false );
UI::ChangeWidget( `id(`browse_allow_input), `Enabled, false );
- UI::ChangeWidget( `id(`browse_allow_input_label), `Enabled, false );
UI::ChangeWidget( `id(`client_conf_server_name_input), `Enabled, true );
UI::ChangeWidget( `id(`test_client_conf_server), `Enabled, true );
UI::ChangeWidget( `id(`connection_wizard), `Enabled, false );
Modified: trunk/printer/src/sharing.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/src/sharing.ycp?rev=52923&r1=52922&r2=52923&view=diff
==============================================================================
--- trunk/printer/src/sharing.ycp (original)
+++ trunk/printer/src/sharing.ycp Wed Nov 5 14:00:50 2008
@@ -24,7 +24,7 @@
* Summary: Print queue sharing and publishing dialog definition
* Authors: Johannes Meixner
participants (1)
-
jsmeix@svn.opensuse.org