Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157998 Details for
Bug 245916
system-config-samba still uses old gtk-fileselector
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fixed patch
new-filedialog.patch (text/plain), 1.47 KB, created by
drago01
on 2007-06-27 12:39:07 UTC
(
hide
)
Description:
fixed patch
Filename:
MIME Type:
Creator:
drago01
Created:
2007-06-27 12:39:07 UTC
Size:
1.47 KB
patch
obsolete
>diff -ru system-config-samba-1.2.42.orig/src/shareWindow.py system-config-samba-1.2.42/src/shareWindow.py >--- system-config-samba-1.2.42.orig/src/shareWindow.py 2005-04-01 17:35:37.000000000 +0200 >+++ system-config-samba-1.2.42/src/shareWindow.py 2007-06-27 14:37:30.000000000 +0200 >@@ -581,15 +581,25 @@ > return True > > def onBrowseButtonClicked(self, *args): >- fb = gtk.FileSelection(_("Select Directory")) >- fb.set_position(gtk.WIN_POS_CENTER) >- fb.set_icon(mainWindow.iconPixbuf) >- fb.show_all() >- result = fb.run() >- fb.hide() >- >+ dlg = gtk.FileSelection() >+ dlg = gtk.FileChooserDialog (_("Select Directory"), self.share_window, >+ gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, >+ ( >+ gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, >+ gtk.STOCK_OK, gtk.RESPONSE_OK >+ ) >+ ) >+ filename = self.dir_entry.get_text () >+ if filename.strip () != "": >+ dlg.set_filename (filename) >+ >+ result = dlg.run() >+ > if result == gtk.RESPONSE_OK: >- self.dir_entry.set_text(fb.get_filename()) >+ filename = dlg.get_filename() >+ self.dir_entry.set_text(dlg.get_filename()) >+ >+ dlg.destroy() > > def userRadioToggled(self, *args): > self.valid_users_treeview.set_sensitive(self.user_access_radio.get_active()) >Nur in system-config-samba-1.2.42/src: shareWindow.py~.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245916
:
157997
| 157998