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 312020 Details for
Bug 444711
popup menu overlaps to the panel
[?]
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]
patch without the global variable
scim-1.4.7-menu-pos2.patch (text/plain), 3.05 KB, created by
Akira TAGOH
on 2008-07-17 09:27:42 UTC
(
hide
)
Description:
patch without the global variable
Filename:
MIME Type:
Creator:
Akira TAGOH
Created:
2008-07-17 09:27:42 UTC
Size:
3.05 KB
patch
obsolete
>diff -pruN scim-1.4.7.orig/extras/panel/scim_panel_gtk.cpp scim-1.4.7/extras/panel/scim_panel_gtk.cpp >--- scim-1.4.7.orig/extras/panel/scim_panel_gtk.cpp 2008-07-17 18:12:33.000000000 +0900 >+++ scim-1.4.7/extras/panel/scim_panel_gtk.cpp 2008-07-17 18:22:26.000000000 +0900 >@@ -304,7 +304,9 @@ static PangoAttrList * create_pango_attr > // Action function > static void action_request_help (void); > static void action_toggle_window_stick (void); >-static void action_show_command_menu (void); >+static void action_show_command_menu (GdkWidget *widget, >+ guint button, >+ guint32 time); > > // PanelAgent related functions > static bool initialize_panel_agent (const String &config, const String &display, bool resident); >@@ -1667,7 +1669,7 @@ ui_menu_button_click_cb (GtkButton *butt > cur_time.tv_usec < _last_menu_deactivate_time.tv_usec + 200000)) > return; > >- action_show_command_menu (); >+ action_show_command_menu (GTK_WIDGET (button), 1, gtk_get_current_event_time ()); > } > > static gboolean >@@ -1690,7 +1692,7 @@ ui_factory_button_click_cb (GtkWidget *b > if (bevent->button <= 1) > _panel_agent->request_factory_menu (); > else >- action_show_command_menu (); >+ action_show_command_menu (button, bevent->button, bevent->time); > > return FALSE; > } >@@ -1699,7 +1701,7 @@ static void > ui_tray_icon_popup_menu_cb (GtkStatusIcon *status_icon, guint button, > guint activate_time, gpointer user_data) > { >- action_show_command_menu (); >+ action_show_command_menu (status_icon, button, activate_time); > } > > static void >@@ -1965,7 +1967,7 @@ ui_toolbar_window_click_cb (GtkWidget *w > > return TRUE; > } else if (click_type == 1 && event->button > 1) { >- action_show_command_menu (); >+ action_show_command_menu (window, event->button, event->time); > return TRUE; > } > return FALSE; >@@ -2349,15 +2351,15 @@ action_toggle_window_stick (void) > } > > static void >-action_show_command_menu (void) >+action_show_command_menu (GtkWidget *widget, >+ guint button, >+ guint32 time) > { > if (_command_menu_activated) > return; > > _command_menu_activated = true; > >- guint32 activate_time = gtk_get_current_event_time (); >- > if (_command_menu) { > gtk_widget_destroy (_command_menu); > _command_menu = 0; >@@ -2460,7 +2462,11 @@ action_show_command_menu (void) > 0); > gtk_widget_show_all (menu_item); > >- gtk_menu_popup (GTK_MENU (_command_menu), 0, 0, 0, 0, 2, activate_time); >+ if (GTK_IS_STATUS_ICON (widget)) { >+ gtk_menu_popup (GTK_MENU (_command_menu), 0, 0, gtk_status_icon_position_menu, widget, button, time); >+ } else { >+ gtk_menu_popup (GTK_MENU (_command_menu), 0, 0, 0, 0, 2, activate_time); >+ } > } > > //////////////////////////////////////////////////////////////////////
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 444711
:
312015
| 312020