亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? navigation.c

?? gtk前端
?? C
字號:
#include "navigation.h"

/* When a row is activated, either move to the desired location or show
 * more information if the file is not a directory. */
void 
on_row_activated (GtkTreeView *treeview,
                  GtkTreePath *path,
                  GtkTreeViewColumn *column) 
{
  GtkTreeModel *model;
  GtkTreeIter iter;
  gchar *file;

  model = gtk_tree_view_get_model (treeview);
  if (gtk_tree_model_get_iter (model, &iter, path))
  {
    gtk_tree_model_get (model, &iter, FILENAME, &file, -1);
    
    /* Move to the parent directory. */
    if (g_ascii_strcasecmp ("..", file) == 0)
    {
      GList *last = g_list_last (current_path);
      store_history ();
      current_path = g_list_remove_link (current_path, last);
      g_list_free_1 (last);
      populate_tree_model (GTK_WIDGET (treeview));
    }
    /* Move to the chosen directory or show more information about the file. */
    else
    {
      gchar *location = path_to_string ();   
      if (g_file_test (g_strconcat (location, "/", file, NULL), G_FILE_TEST_IS_DIR))
      {
        store_history ();
        current_path = g_list_append (current_path, file);
        populate_tree_model (GTK_WIDGET (treeview));
      }
      else
        on_info_clicked (NULL);  
    }
  }
}

/* Go to the address bar location when the button is clicked. */
void 
on_go_clicked (GtkButton *button) 
{
  GtkWidget *entry, *treeview;
  GString *location;
  
  entry = glade_xml_get_widget (xml, "location");
  treeview = glade_xml_get_widget (xml, "treeview");
  location = g_string_new (gtk_entry_get_text (GTK_ENTRY (entry)));
  
  /* If the directory exists, visit the entered location. */
  if (g_file_test (location->str, G_FILE_TEST_IS_DIR))
  {
    store_history ();
    parse_location (location);
    populate_tree_model (GTK_WIDGET (treeview));
  }
  else
    file_manager_error ("The location does not exist!");
  
  g_string_free (location, TRUE);
}

/* Visit the previous location in the history list. */
void 
on_back_clicked (GtkToolButton *item)
{
  GtkWidget *treeview;

  if (history_pos >= 0)
  {
    /* Store the current location at the end of the list. */
    if (history_pos + 1 == history->len)
      store_history();

    treeview = glade_xml_get_widget (xml, "treeview");
    parse_location (g_string_new ((gchar*) history->pdata[history_pos]));
    populate_tree_model (GTK_WIDGET (treeview));

    if (history_pos > 0)
      history_pos--;
  }
}

/* Visit the next location in the history list. */
void
on_forward_clicked (GtkToolButton *item)
{
  GtkWidget *treeview;
  GString *str;

  if (history_pos + 1 < history->len)
  {
    history_pos++;
    treeview = glade_xml_get_widget (xml, "treeview");
    str = g_string_new ((gchar*) g_ptr_array_index (history, history_pos));
    parse_location (str);
    populate_tree_model (GTK_WIDGET (treeview));
  }
}

/* Go to the address bar location when the GtkEntry is activated. */
void
on_location_activate (GtkEntry *entry) 
{
  on_go_clicked (NULL);
}

/* Visit the parent directory of the current location. */
void 
on_up_clicked (GtkToolButton *item)
{
  GtkWidget *entry;
  GString *location;
  GList *temp;
  
  entry = glade_xml_get_widget (xml, "location");  
  location = g_string_new ("/");
  temp = current_path;

  while (temp->next != NULL)
  {
    g_string_append_printf (location, "%s/", (gchar*) temp->data);
    temp = temp->next;
  }

  gtk_entry_set_text (GTK_ENTRY (entry), location->str);
  g_string_free (location, TRUE);
  on_go_clicked (NULL);
}

/* Visit the current user's home directory. */
void 
on_home_clicked (GtkToolButton *item) 
{
  GtkWidget *entry;
  
  entry = glade_xml_get_widget (xml, "location");
  gtk_entry_set_text (GTK_ENTRY (entry), g_get_home_dir ());
  on_go_clicked (NULL);
}

/* Refresh the content of the current location. */
void 
on_refresh_clicked (GtkToolButton *item)
{  GtkWidget *treeview = glade_xml_get_widget (xml, "treeview");
  populate_tree_model (treeview);
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品一二三区| 成人网在线免费视频| 色老汉一区二区三区| 精品成人佐山爱一区二区| 一区二区在线观看免费| 精品一区二区三区影院在线午夜| 欧洲日韩一区二区三区| 亚洲视频中文字幕| 成人午夜av在线| 国产精品久久久久久久久免费丝袜| 久久国产精品露脸对白| 欧美日本一道本在线视频| 日韩av成人高清| 日韩精品一区二区三区在线| 日本不卡不码高清免费观看| 欧美一级一级性生活免费录像| 免费成人在线观看| 国产农村妇女毛片精品久久麻豆| 国产成人av资源| 成人免费在线播放视频| 欧洲日韩一区二区三区| 丝袜亚洲另类丝袜在线| 欧美xxxxx裸体时装秀| 国产一区二区三区四区在线观看| 国产日韩成人精品| 精品视频一区三区九区| 久久成人综合网| 国产日韩欧美激情| 欧美影院一区二区| 国产麻豆9l精品三级站| 国产精品国产三级国产有无不卡 | 伊人婷婷欧美激情| 欧美日韩视频在线一区二区| 国产精品综合在线视频| 亚洲高清在线视频| 久久这里只有精品首页| 日本精品视频一区二区| 狠狠色丁香婷婷综合| 一区二区在线观看视频在线观看| 精品欧美久久久| 欧美亚洲国产一区在线观看网站 | gogo大胆日本视频一区| 免费黄网站欧美| 亚洲第一福利视频在线| 国产精品三级视频| 久久久天堂av| 日韩女同互慰一区二区| 欧美一区二区日韩| 欧美老女人在线| 欧美日韩国产成人在线免费| 国产+成+人+亚洲欧洲自线| 免费高清视频精品| 日本美女一区二区三区| 麻豆成人91精品二区三区| 热久久一区二区| 午夜电影网亚洲视频| 午夜精品久久久久久| 婷婷久久综合九色综合绿巨人| 亚洲精品写真福利| 一区二区三区四区中文字幕| 中文字幕色av一区二区三区| 一区二区三区免费在线观看| 亚洲激情图片qvod| 亚洲h动漫在线| 久久精品国产成人一区二区三区 | 成人爽a毛片一区二区免费| 国产精品一区不卡| 欧美亚洲一区三区| 欧美成人乱码一区二区三区| 久久久久久久久久看片| 国产精品二三区| 亚洲精品va在线观看| 91在线观看美女| 欧美福利一区二区| 国产精品福利一区| 另类人妖一区二区av| 91同城在线观看| 欧美成人一区二区三区片免费| 久久久久久电影| 午夜av电影一区| 色94色欧美sute亚洲线路二| 欧美不卡视频一区| 亚洲一区精品在线| 成人av电影在线| 欧美精品一区二区三区高清aⅴ| 亚洲色图一区二区| 国产aⅴ综合色| 精品少妇一区二区三区日产乱码| 亚洲色图一区二区| av中文一区二区三区| 国产无遮挡一区二区三区毛片日本| 亚洲国产精品久久久久婷婷884| 国产综合久久久久久久久久久久| 欧美日韩中文字幕一区| 亚洲欧洲国产日本综合| 国产大陆a不卡| 在线不卡的av| 亚洲午夜精品在线| 欧美三级在线视频| 亚洲综合久久av| 欧美精品一二三区| 日本女优在线视频一区二区| 欧美一区二区二区| 调教+趴+乳夹+国产+精品| 91视频免费观看| 亚洲一二三级电影| 欧美日韩一区二区三区视频| 一片黄亚洲嫩模| 欧美一二三区精品| 国产一区在线精品| 中文字幕亚洲一区二区av在线| 成人动漫精品一区二区| 一区二区三区四区不卡视频 | 成人午夜精品一区二区三区| 中文字幕免费在线观看视频一区| 成人精品视频一区二区三区尤物| 国产精品高潮久久久久无| 99久久er热在这里只有精品15 | 久久综合色一综合色88| 成人激情电影免费在线观看| 视频在线在亚洲| 中文字幕乱码日本亚洲一区二区| 在线观看免费亚洲| 国产伦精一区二区三区| 亚洲国产欧美在线人成| 国产精品天美传媒| 欧美一级日韩不卡播放免费| 成人黄色av电影| 激情文学综合网| 午夜视频一区在线观看| 1024成人网色www| 久久精品视频在线看| 日韩精品一区二| 在线综合亚洲欧美在线视频| 色综合久久天天| 国产精品亚洲成人| 午夜视频在线观看一区二区| 亚洲三级久久久| 亚洲日韩欧美一区二区在线| 国产欧美久久久精品影院| 日韩欧美久久一区| 在线电影欧美成精品| 欧美日韩专区在线| 欧美色男人天堂| 97久久久精品综合88久久| 国产精品一区免费视频| 国产一区中文字幕| 精品一区二区三区日韩| 狠狠色丁香久久婷婷综合丁香| 日韩精品久久理论片| 免费观看一级欧美片| 国产成人在线免费| 成人av在线网| 在线影院国内精品| 欧美日韩一区二区在线观看视频| 欧美情侣在线播放| 久久综合久久久久88| 欧美激情在线一区二区| 一区二区三区日韩欧美| 免费成人在线视频观看| 国产美女一区二区| av在线不卡电影| 欧美在线制服丝袜| 日韩欧美国产综合| 国产精品三级电影| 天天操天天综合网| 成人不卡免费av| 91精品国产欧美一区二区18| 国产日本亚洲高清| 亚洲国产成人va在线观看天堂| 国产精品一区二区在线播放| 在线欧美小视频| 欧美激情一区二区三区四区 | 欧美精品一区二区三区蜜桃视频 | 国产欧美一区二区三区网站| 一区二区在线免费| 国产精品一品二品| 欧美日韩五月天| 一区二区三区四区中文字幕| 成人在线视频首页| 久久综合狠狠综合久久综合88| 亚洲日本va在线观看| 国产成人午夜视频| 久久久亚洲精品石原莉奈| 亚洲福中文字幕伊人影院| 成人网页在线观看| 国产精品久久看| 国产东北露脸精品视频| 精品欧美一区二区久久| 日韩精品一二三四| 在线观看91精品国产入口| 亚洲欧美日韩中文字幕一区二区三区 | 欧美日韩一区高清| 一级中文字幕一区二区| 欧美性一区二区| 亚洲一级二级三级| 欧美亚洲一区二区三区四区| 亚洲成人动漫在线免费观看| 欧美性videosxxxxx| 欧美aaaaaa午夜精品|