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 305982 Details for
Bug 447147
[PATCH] RFE: Close the window after submit changes
[?]
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]
the patch
logjam-4.5.3-close_when_send.patch (text/plain), 2.84 KB, created by
Andy Shevchenko
on 2008-05-19 16:40:21 UTC
(
hide
)
Description:
the patch
Filename:
MIME Type:
Creator:
Andy Shevchenko
Created:
2008-05-19 16:40:21 UTC
Size:
2.84 KB
patch
obsolete
>diff -up logjam-4.5.3/src/jam.c.close-when-send logjam-4.5.3/src/jam.c >--- logjam-4.5.3/src/jam.c.close-when-send 2008-05-18 09:12:19.000000000 +0300 >+++ logjam-4.5.3/src/jam.c 2008-05-18 10:31:30.000000000 +0300 >@@ -363,6 +363,10 @@ action_cb(GtkWidget *w, JamWin *jw) { > } else { > g_warning("action callback, but no default action?\n"); > } >+#ifdef USE_DOCK >+ if (conf.options.close_when_send && app.docklet) >+ gtk_widget_hide(GTK_WIDGET(jw)); >+#endif > } > > static void >@@ -395,6 +399,10 @@ delete_cb(GtkWidget *w, JamWin *jw) { > } else { > delete_server_entry(jw); > } >+#ifdef USE_DOCK >+ if (conf.options.close_when_send && app.docklet) >+ gtk_widget_hide(GTK_WIDGET(jw)); >+#endif > } > > static void >diff -up logjam-4.5.3/src/conf_xml.c.close-when-send logjam-4.5.3/src/conf_xml.c >--- logjam-4.5.3/src/conf_xml.c.close-when-send 2008-05-18 09:12:19.000000000 +0300 >+++ logjam-4.5.3/src/conf_xml.c 2008-05-18 09:49:33.000000000 +0300 >@@ -183,6 +183,7 @@ parseoptions(Configuration *c, xmlDocPtr > READOPTION(autosave) > READOPTION(cfautostart) > READOPTION(cfusemask) >+ READOPTION(close_when_send) > READOPTION(docklet) > READOPTION(start_in_dock) > READOPTION(cffloat) >@@ -326,6 +327,7 @@ writeoptions(Options *options, xmlNodePt > WRITEOPTION(autosave); > WRITEOPTION(cfautostart); > WRITEOPTION(cfusemask); >+ WRITEOPTION(close_when_send); > WRITEOPTION(docklet); > WRITEOPTION(start_in_dock); > WRITEOPTION(cffloatraise); >diff -up logjam-4.5.3/src/settings.c.close-when-send logjam-4.5.3/src/settings.c >--- logjam-4.5.3/src/settings.c.close-when-send 2008-05-18 09:12:19.000000000 +0300 >+++ logjam-4.5.3/src/settings.c 2008-05-18 09:56:35.000000000 +0300 >@@ -85,6 +85,8 @@ static SettingsWidget settingswidgets[] > { "ui_font", &conf.uifont, > SW_CUSTOM, N_("Entry display font:") }, > #ifndef G_OS_WIN32 >+ { "ui_close_when_send", &conf.options.close_when_send, >+ SW_TOGGLE, N_("Close main window after submit changes") }, > { "ui_docklet", &conf.options.docklet, > SW_TOGGLE, N_("Add icon to system _tray (for GNOME/KDE/etc. dock)") }, > { "ui_start_in_dock", &conf.options.start_in_dock, >@@ -397,6 +399,10 @@ uisettings(JamWin *jw) { > G_CALLBACK(sec_changed_cb), sw); > groupedbox_pack(GROUPEDBOX(post), sw_make("ui_defaultsecurity"), FALSE); > >+#ifdef USE_DOCK >+ groupedbox_pack(GROUPEDBOX(post), sw_make("ui_close_when_send"), FALSE); >+#endif /* USE_DOCK */ >+ > entry = groupedbox_new_with_text(_("Entries")); > gtk_box_pack_start(GTK_BOX(vbox), entry, FALSE, FALSE, 0); > >diff -up logjam-4.5.3/src/conf.h.close-when-send logjam-4.5.3/src/conf.h >--- logjam-4.5.3/src/conf.h.close-when-send 2008-05-18 09:12:19.000000000 +0300 >+++ logjam-4.5.3/src/conf.h 2008-05-18 09:52:36.000000000 +0300 >@@ -51,6 +51,7 @@ typedef struct { > gboolean autosave; > gboolean cfautostart; > gboolean cfusemask; >+ gboolean close_when_send; > gboolean docklet; > gboolean cffloat; > gboolean cffloatraise;
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 447147
: 305982