Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
xfce4-panel-plugins.907
xfce4-timer-plugin-0.6.1-fix-windows.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-timer-plugin-0.6.1-fix-windows.patch of Package xfce4-panel-plugins.907
diff -urNp xfce4-timer-plugin-0.6.1.orig/src/xfcetimer.c xfce4-timer-plugin-0.6.1/src/xfcetimer.c --- xfce4-timer-plugin-0.6.1.orig/src/xfcetimer.c 2012-02-09 11:49:22.304167161 +0100 +++ xfce4-timer-plugin-0.6.1/src/xfcetimer.c 2012-02-09 11:52:08.257171042 +0100 @@ -123,7 +123,7 @@ static gboolean timeout_function (gpoint if( (strlen(pd->timeout_command)==0) || !pd->nowin_if_alarm ) { gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),1); dialog = gtk_message_dialog_new (NULL, - GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE, _("Beeep! :) \nTime is up!")); @@ -623,6 +623,7 @@ static void add_edit_clicked (GtkButton plugin_data *pd = (plugin_data *)data; + GtkWindow *parent_window; GtkWindow *window; GtkLabel *label; GtkEntry *name,*command; @@ -641,6 +642,9 @@ static void add_edit_clicked (GtkButton adata->pd=pd; gtk_window_set_modal(GTK_WINDOW(window),TRUE); + parent_window = gtk_widget_get_toplevel(buttonn); + if (gtk_widget_is_toplevel(parent_window)) + gtk_window_set_transient_for(GTK_WINDOW(window), GTK_WINDOW(parent_window)); vbox=gtk_vbox_new(FALSE, BORDER); gtk_container_add(GTK_CONTAINER(window),vbox);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor