~ubuntu-branches/ubuntu/trusty/gnome-panel/trusty

« back to all changes in this revision

Viewing changes to gnome-panel/panel-run-dialog.c

  • Committer: Package Import Robot
  • Author(s): Tim Lunn, Tim Lunn, Jeremy Bicha
  • Date: 2013-05-28 11:55:23 UTC
  • Revision ID: package-import@ubuntu.com-20130528115523-5xjvb98au715s7zn
Tags: 1:3.6.2-0ubuntu4
[ Tim Lunn ]
* Rebuild for gnome-desktop 3.8 transition (LP: #1184812)
  - debian/patches/git_panel_run_dialog_resurrect_terminal.patch 
    clock_applet_needs_terminal.patch

[ Jeremy Bicha ]
* git-build-with-gweather38.patch:
  - Backport patch to build with gweather 3.8 (LP: #1184168) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 *      Havoc Pennington <hp@pobox.com>
26
26
 *      George Lebl <jirka@5z.com>
27
27
 *      Mark McLoughlin <mark@skynet.ie>
 
28
 *      Tom Tromey (Copyright (C) 1998)
28
29
 */
29
30
 
30
31
#include <config.h>
42
43
#include <gdk/gdkkeysyms.h>
43
44
#include <gmenu-tree.h>
44
45
 
45
 
#include <libgnome-desktop/gnome-desktop-utils.h>
46
 
 
47
46
#include <libpanel-util/panel-error.h>
48
47
#include <libpanel-util/panel-glib.h>
49
48
#include <libpanel-util/panel-gtk.h>
50
49
#include <libpanel-util/panel-keyfile.h>
 
50
#include <libpanel-util/panel-launch.h>
51
51
#include <libpanel-util/panel-show.h>
52
52
#include <libpanel-util/panel-xdg.h>
53
53
 
335
335
         */
336
336
}
337
337
 
 
338
 
 
339
 
338
340
static gboolean
339
341
panel_run_dialog_launch_command (PanelRunDialog *dialog,
340
342
                                 const char     *command,
354
356
        screen = gtk_window_get_screen (GTK_WINDOW (dialog->run_dialog));
355
357
 
356
358
        if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->terminal_checkbox)))
357
 
                gnome_desktop_prepend_terminal_to_vector (&argc, &argv);
 
359
                panel_util_desktop_prepend_terminal_to_vector (&argc, &argv);
358
360
 
359
361
        display = gdk_screen_make_display_name (screen);
360
362