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 853429 Details for
Bug 1055633
Remove Worflows tab in Preferences
[?]
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]
A patch removing the tab
0011-Remove-Workflows-tab-in-Preferences.patch (text/plain), 3.01 KB, created by
Jakub Filak
on 2014-01-21 19:42:00 UTC
(
hide
)
Description:
A patch removing the tab
Filename:
MIME Type:
Creator:
Jakub Filak
Created:
2014-01-21 19:42:00 UTC
Size:
3.01 KB
patch
obsolete
>From 6eb3c81faf1809f54334fc69d9916bd7949c1e93 Mon Sep 17 00:00:00 2001 >From: Jakub Filak <jfilak@redhat.com> >Date: Tue, 21 Jan 2014 17:25:58 +0100 >Subject: [LIBREPORT PATCH 11/11] Remove Workflows tab in Preferences > >Closes rhbz#1055633 > >Signed-off-by: Jakub Filak <jfilak@redhat.com> >--- > src/gtk-helpers/config_dialog.c | 19 +++++++++---------- > 1 file changed, 9 insertions(+), 10 deletions(-) > >diff --git a/src/gtk-helpers/config_dialog.c b/src/gtk-helpers/config_dialog.c >index cc98b9b..8276130 100644 >--- a/src/gtk-helpers/config_dialog.c >+++ b/src/gtk-helpers/config_dialog.c >@@ -206,7 +206,8 @@ GtkWidget *create_config_tab_content(const char *column_label, > gtk_tree_view_append_column(GTK_TREE_VIEW(tv), column); > /* "Please draw rows in alternating colors": */ > gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tv), TRUE); >- // TODO: gtk_tree_view_set_headers_visible(FALSE)? We have only one column anyway... >+ /* Hide Column Headers because we have only one - 'Events' - rhbz#1055633 */ >+ gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tv), FALSE); > GtkTreeModel *model = gtk_tree_model_filter_new(GTK_TREE_MODEL(store), NULL); > gtk_tree_model_filter_set_visible_func(GTK_TREE_MODEL_FILTER(model), config_filter_func, NULL, NULL); > >@@ -287,6 +288,9 @@ GtkWindow *create_config_list_window(GHashTable *configs, GtkWindow *parent) > > GtkWidget *main_vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); > GtkWidget *config_nb = gtk_notebook_new(); >+ /* Hide Tabs because we have only one - 'Events' - rhbz#1055633 */ >+ gtk_notebook_set_show_tabs(GTK_NOTEBOOK(config_nb), FALSE); >+ > gtk_box_pack_start(GTK_BOX(main_vbox), config_nb, 1, 1, 0); > > /* we can't use this, because we want the workflows first and hashtable >@@ -295,12 +299,12 @@ GtkWindow *create_config_list_window(GHashTable *configs, GtkWindow *parent) > //g_hash_table_foreach(configs, (GHFunc)add_config_tabs, config_nb); > > gpointer config = g_hash_table_lookup(configs, _("Workflows")); >- if (config != NULL); >- add_config_tabs(_("Workflows"), config, config_nb); >+ if (config != NULL) >+ add_config_tabs(_("Workflows"), config, config_nb); > > config = g_hash_table_lookup(configs, _("Events")); >- if (config != NULL); >- add_config_tabs(_("Events"), config, config_nb); >+ if (config != NULL) >+ add_config_tabs(_("Events"), config, config_nb); > > //buttons > GtkWidget *btn_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL,5); >@@ -344,11 +348,6 @@ void show_config_list_dialog(GtkWindow *parent) > GHashTable *events = load_event_config_data(); > load_event_config_data_from_user_storage(events); > >- GHashTable *workflows = load_workflow_config_data(WORKFLOWS_DIR); >- load_workflow_config_data_from_user_storage(workflows); >- GtkListStore *workflows_store = add_workflows_to_liststore(workflows); >- g_hash_table_insert(confs, _("Workflows"), workflows_store); >- > GtkListStore *events_store = add_events_to_liststore(events); > g_hash_table_insert(confs, _("Events"), events_store); > >-- >1.8.3.1 >
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 1055633
: 853429