--- orig/views/plugins/views_plugin_argument_default_raw.inc	2012-03-12 21:06:36.000000000 +0000
+++ new/views/plugins/views_plugin_argument_default_raw.inc	2012-03-12 21:10:55.000000000 +0000
@@ -11,6 +11,7 @@
   function option_definition() {
     $options = parent::option_definition();
     $options['index'] = array('default' => '');
+    $options['use_alias'] = array('default' => '');
 
     return $options;
   }
@@ -26,10 +27,20 @@
       '#options' => range(1, 10),
       '#description' => t('The numbering starts from 1, e.g. on the page admin/structure/types, the 3rd path component is "types".'),
     );
+    $form['use_alias'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Use path alias'),
+      '#default_value' => $this->options['use_alias'],
+      '#description' => t('Use path alias instead of internal path.'),
+    );
   }
 
   function get_argument() {
-    if ($arg = arg($this->options['index'])) {
+    $path = NULL;
+    if ($this->options['use_alias']) {
+      $path = drupal_get_path_alias();
+    }
+    if ($arg = arg($this->options['index'], $path)) {
       return $arg;
     }
   }
